@media (max-width: 1180px) {
  .service-grid,
  .portfolio-grid,
  .feature-grid,
  .testimonial-grid,
  .cards-3,
  .stats-grid,
  .area-grid,
  .footer-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .page-hero-grid,
  .intro-grid,
  .two-col-grid,
  .contact-layout,
  .service-detail {
    grid-template-columns: 1fr;
  }

  #intro .intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  body[data-page="about"] .page-hero-grid {
    gap: 36px;
  }

  body[data-page="about"] .page-hero-art {
    justify-self: start;
  }

  body[data-page="about"] .cards-3 {
    grid-template-columns: 1fr;
  }

  body[data-page="services"] .page-hero-art {
    justify-self: start;
  }

  body[data-page="services"] .service-detail:nth-of-type(even) img {
    order: initial;
  }

  body[data-page="services"] .service-detail > div {
    padding: 30px;
  }

  #intro .intro-visual {
    justify-self: start;
  }

  .about-philosophy {
    grid-template-columns: 1fr;
  }

  .about-philosophy-section .two-col-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image-stack {
    max-width: 640px;
  }

  .cta-inner {
    padding: 48px 32px;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 78px;
  }

  .desktop-nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .section {
    padding: 84px 0;
  }

  .hero-home {
    min-height: auto;
    padding-top: 58px;
  }

  .footer-cta-row,
  .footer-bottom-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 14px;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 142px;
    max-height: 46px;
  }

  .footer-logo {
    width: 178px;
    max-height: 60px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container-width));
  }

  .section {
    padding: 72px 0;
  }

  .stats-grid,
  .service-grid,
  .portfolio-grid,
  .feature-grid,
  .testimonial-grid,
  .cards-3,
  .area-grid,
  .footer-grid,
  .timeline,
  .gallery-strip .portfolio-grid,
  .detail-list {
    grid-template-columns: 1fr;
  }

  .service-detail {
    padding: 20px;
  }

  .hero-home {
    padding: 42px 0 96px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-tags {
    gap: 8px;
  }

  .hero-tags li {
    padding: 8px 11px;
    font-size: 0.82rem;
  }

  .service-overlay,
  .portfolio-item span {
    padding: 20px;
  }

  .hero-art-note {
    left: 14px;
    bottom: 14px;
    padding: 9px 11px;
    font-size: 0.7rem;
  }

  .area-panel,
  .cta-inner,
  .contact-panel,
  .contact-form-wrap,
  .mini-panel,
  .testimonial-card,
  .feature-card,
  .stat-card,
  .timeline-step {
    padding: 24px;
  }

  .mobile-sticky-cta {
    display: grid;
  }

  .whatsapp-float {
    bottom: 170px;
    right: 16px;
  }

  .scroll-top {
    right: 16px;
    bottom: 144px;
  }

  .lightbox {
    padding: 20px;
  }

  .lightbox-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 70px;
    --radius-lg: 26px;
    --radius-md: 20px;
  }

  body { padding-bottom: 60px; }
  .brand-logo { width: 128px; max-height: 40px; }
  .header-row { gap: 12px; }
  .menu-toggle { width: 44px; height: 44px; }
  .mobile-menu { width: min(88vw, 340px); padding: 90px 22px 28px; }
  .mobile-menu-top { top: 18px; right: 22px; left: 22px; }
  .mobile-menu-top img { width: 124px; }
  .mobile-menu-inner { gap: 14px; }
  .mobile-menu a:not(.btn) { padding: 8px 0; font-size: 1.05rem; }
  .section-heading { margin-bottom: 30px; }

  h1 { font-size: clamp(2.35rem, 12vw, 3.35rem); line-height: 1.03; }
  h2 { font-size: clamp(1.9rem, 9vw, 2.55rem); }
  .page-hero,
  body[data-page="about"] .page-hero,
  body[data-page="services"] .page-hero { padding: 48px 0 54px; }
  .breadcrumb { margin-bottom: 18px; font-size: 0.86rem; }
  .hero-text,
  .page-hero p { font-size: 0.98rem; }

  .hero-card,
  .page-hero-art,
  body[data-page="about"] .page-hero-art,
  body[data-page="services"] .page-hero-art { width: 100%; max-width: 440px; justify-self: start; }
  .hero-card img,
  .page-hero-art img,
  body[data-page="about"] .page-hero-art img,
  body[data-page="services"] .page-hero-art img { aspect-ratio: 4 / 5; max-height: none; }

  .area-grid { gap: 14px; }
  .area-card,
  .area-card img { min-height: 210px; }
  .about-highlights,
  .about-image-stack,
  .about-philosophy .detail-list { grid-template-columns: 1fr; }
  .about-image-stack img,
  .about-image-stack img:last-child { height: 250px; transform: none; }
  .philosophy-copy { padding: 26px; }

  body[data-page="services"] .service-detail { min-height: 0; padding: 0; }
  body[data-page="services"] .service-detail,
  body[data-page="services"] .service-detail:nth-of-type(even) {
    grid-template-columns: 1fr;
  }
  body[data-page="services"] .service-detail img { min-height: 240px; height: 240px; }
  body[data-page="services"] .service-detail > div { padding: 26px 22px 28px; }
  body[data-page="services"] .service-detail .btn,
  .footer-cta .btn { width: 100%; }

  .footer-grid { gap: 34px; padding: 42px 0; }
  .footer-cta h2 { font-size: 1.75rem; }
  .whatsapp-float { padding: 12px; }
}

@media (max-width: 380px) {
  .container { width: min(calc(100% - 22px), var(--container-width)); }
  .brand-logo { width: 116px; }
  .section { padding: 58px 0; }
  .hero-tags li { font-size: 0.76rem; }
}
