@media (max-width: 900px) {
  .hero,
  .about,
  .services,
  .process,
  .tech,
  .work,
  .testimonials,
  .cta-section,
  .contact {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .page-hero {
    min-height: 34vh;
    padding-top: 96px;
    padding-bottom: 44px;
  }

  .section-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: 22px;
  }

  .section-desc {
    font-size: 15px;
    line-height: 1.7;
  }

  .services-header,
  .testimonials-header,
  .tech-header,
  .work-header {
    margin-bottom: 44px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 84px;
    padding-bottom: 56px;
  }

  .hero-tag {
    margin-bottom: 16px;
    letter-spacing: 3px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 10.5vw, 2.8rem);
    line-height: 1.05;
    margin-bottom: 16px;
  }

  .hero-desc {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 22px;
  }

  .hero-buttons {
    gap: 10px;
  }

  .btn-primary,
  .btn-outline {
    padding: 13px 16px;
    font-size: 14px;
  }

  .hero-visual {
    height: 220px;
  }

  .stats-bar {
    padding: 34px 0;
  }

  .stats-grid {
    gap: 22px;
  }

  .stat-item h3 {
    font-size: clamp(1.6rem, 8.5vw, 2.3rem);
  }

  .stat-item p {
    letter-spacing: 2px;
  }

  .marquee-section {
    padding: 26px 0;
  }

  .marquee-track span {
    padding: 0 20px;
    letter-spacing: 2px;
  }

  .service-card,
  .testimonial-card,
  .about-card {
    padding: 28px 20px;
  }

  .service-card h3 {
    font-size: 19px;
  }

  .service-card p,
  .testimonial-text {
    font-size: 14px;
  }

  .process {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .process-timeline::before {
    display: none;
  }

  .process-step {
    padding-top: 42px;
  }

  .process-num {
    top: 0;
    font-size: 30px;
  }

  .tech-visual {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .tech-node {
    padding: 16px;
  }

  .work-header {
    display: block;
  }

  .work-grid {
    gap: 12px;
  }

  .contact {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .contact-grid {
    gap: 26px;
  }

  .contact-form {
    gap: 14px;
  }

  .form-group input,
  .form-group textarea {
    padding: 14px 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p + p {
    margin-top: 8px;
  }

  .chatbot-wrap {
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
  }

  .chatbot-panel {
    width: min(94vw, 340px);
    height: min(50dvh, 340px);
    max-height: min(50dvh, 340px);
  }

  .chatbot-log {
    padding: 10px;
  }

  .chatbot-form {
    padding: 8px;
    gap: 6px;
  }

  .chatbot-input,
  .chatbot-send {
    font-size: 16px;
  }

  .chatbot-send {
    letter-spacing: 0.8px;
    padding: 0 10px;
  }

  .chatbot-toggle {
    width: 52px;
    height: 52px;
  }

  .side-menu {
    padding: 34px 24px 24px;
  }

  .side-menu nav a {
    font-size: clamp(2rem, 12vw, 2.8rem);
    padding: 8px 0;
  }

  .side-menu-footer {
    margin-top: 24px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(1.7rem, 10vw, 2.3rem);
  }

  .hero-desc,
  .page-hero p,
  .section-desc {
    font-size: 13px;
  }

  .btn-primary,
  .btn-outline {
    font-size: 13px;
    padding: 12px 14px;
  }

  .chatbot-panel {
    width: calc(100vw - 16px);
  }
}
