@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .mobile-bottom-nav { display: none; }
  .whatsapp-float { bottom: 24px; }
  .call-float { bottom: 92px; }
  .header-quote { display: inline-flex; }
  .header-phone { display: none; }
  .trust-grid, .trust-grid.five { grid-template-columns: repeat(3, 1fr); }
  .about-duo { grid-template-columns: 1fr 1fr; gap: 24px; }
  .service-row, .service-row.six { grid-template-columns: repeat(3, 1fr); }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-grid .project-card, .work-grid .project-card img { min-height: 240px; }
  .process-line { grid-template-columns: repeat(4, 1fr); }
  .testi-row { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { grid-template-columns: repeat(4, 1fr); max-width: 920px; }
  .hero-call { display: none; }
  .lux-products { padding: 64px 40px; }
  .projects-lux-grid { grid-template-columns: 1.7fr 0.9fr; align-items: stretch; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid.compact { grid-template-columns: repeat(4, 1fr); }
  .project-grid { grid-template-columns: 1.2fr 1fr; }
  .qual-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .split, .smart-layout { grid-template-columns: 1fr 1fr; align-items: center; }
  .form-row.two { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid img, .gallery-grid img.wide { grid-column: auto; height: 260px; }
  .page-home .site-header { background: #fff; }
}

@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
  .menu-trigger { display: none; }
  .header-search { display: inline-flex; }
  .header-sub { display: block; }
  :root { --header-h: 112px; }
  .search-trigger { display: none; }
  .header-phone { display: inline-flex; }
  .search-esc { display: inline-block; }
  .search-cats { grid-template-columns: repeat(4, 1fr); }
  .trust-item { padding-right: 18px; border-right: 1px solid rgba(16, 42, 70,0.18); }
  .trust-item:last-child { border-right: 0; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .project-grid { grid-template-columns: 1.3fr 1fr 0.9fr; }
  .qual-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(6, 1fr); }
  .footer-grid { grid-template-columns: 1.25fr 1fr 1fr 1fr 1.1fr; }
  .hero {
    align-items: center;
    padding-top: var(--header-h);
    min-height: 86svh;
  }
  .hero-layout {
    display: block;
    min-height: calc(86svh - var(--header-h));
  }
  .section-indicator, .social-rail, .hero-vert { display: block; }
  .social-rail {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .social-rail a { color: var(--muted); writing-mode: vertical-rl; font-size: 11px; letter-spacing: 0.18em; }
  .hero-vert { display: block; }
  .trust-grid, .trust-grid.five { grid-template-columns: repeat(6, 1fr); }
  .about-duo { grid-template-columns: 1fr 1.05fr; align-items: start; gap: 40px; }
  .about-steps.four { grid-template-columns: repeat(4, 1fr); }
  .service-row, .service-row.six { grid-template-columns: repeat(3, 1fr); }
  .service-card.tall { min-height: 280px; }
  .process-lux { grid-template-columns: 1.5fr 0.7fr; align-items: end; }
  .why-testi { grid-template-columns: 0.95fr 1.15fr; align-items: start; gap: 28px; }
  .contact-faq { grid-template-columns: 1fr 1fr; gap: 40px; }
  .lux-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 100vh;
  }
  .lux-visual, .lux-visual img { min-height: 100%; height: 100%; }
  .lux-products { display: flex; flex-direction: column; justify-content: center; }
  .services-track {
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
  }
}

@media (min-width: 1200px) {
  .hero h1 { font-size: 58px; }
  .header-phone { display: inline-flex; }
  .project-grid.editorial {
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 280px 280px;
  }
  .project-grid.editorial .project-card:first-child { grid-row: 1 / span 2; }
  .project-grid.editorial .project-card:first-child,
  .project-grid.editorial .project-card:first-child img { min-height: 100%; height: 100%; }
}

@media (min-width: 1600px) {
  :root { --container: 1400px; }
}

@media (max-width: 767px) {
  .desktop-nav { display: none; }
  .footer-desktop { display: none; }
  .section { padding: 52px 0; }
  .page-home .section.tight { padding: 44px 0; }
  .hero { min-height: auto; padding-bottom: 28px; }
  .hero h1 { font-size: clamp(32px, 9vw, 42px); white-space: normal; line-height: 1; }
  .page-home .section-title,
  .final-cta h2 { white-space: normal; }
  .hero-actions .btn { width: 100%; }
  .lux-visual { min-height: 58vh; }
  .lux-visual-copy { padding: 32px 20px 40px; }
  .final-cta { min-height: 64vh; }
  .cta-actions .btn { width: 100%; }
  .search-form input { font-size: 18px; }
  .search-cats { grid-template-columns: 1fr 1fr; }
  .search-results a { grid-template-columns: 1fr auto; }
  .search-result-cat { grid-column: 1; }
  .search-result-title { grid-column: 1; }
  .search-result-go { grid-column: 2; grid-row: 1 / span 2; }
  .search-foot { display: none; }
  .search-overlay { padding-top: 8vh; }
}

@media (min-width: 768px) {
  .back-top { bottom: 160px; right: 16px; }
}
@media (max-width: 379px) {
  .hero h1 { white-space: normal; line-height: 1; }
}
@media (max-width: 479px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .trust-grid { gap: 16px; }
  .product-grid { gap: 10px; }
  .hero-stats { gap: 12px; }
  .hero-stats article strong { font-size: 22px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .desktop-nav { display: none; }
  .menu-trigger { display: grid; }
  .services-track { grid-template-columns: repeat(4, minmax(220px, 1fr)); overflow-x: auto; }
}

@media (hover: none) {
  .custom-cursor { display: none !important; }
  .btn:hover { transform: none; }
}

/* Mobile app shell */
@media (max-width: 767px) {
  :root { --bottom-nav-h: 86px; }
  body { -webkit-tap-highlight-color: transparent; }
  .topbar { display: none; }
  .site-header { border-bottom-color: transparent; }
  .site-header.is-scrolled { box-shadow: 0 4px 18px rgba(16, 42, 70, 0.08); }
  .header-inner { width: calc(100% - 24px); height: 60px; gap: 8px; }
  .logo { gap: 8px; }
  .logo-mark svg { width: 32px; height: 32px; }
  .site-header .logo-img { height: 38px; max-width: 170px; }
  .logo-text strong { font-size: 18px; }
  .logo-text span { font-size: 8.5px; }
  .header-actions { gap: 6px; }
  .header-actions .icon-btn { width: 40px; height: 40px; border-radius: 50%; background: #F2F4F7; }
  .header-actions .header-call { display: grid; background: #FFF4E0; color: var(--gold); }
  .menu-trigger { display: none; }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 14px;
    bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom) + 10px);
  }
  .whatsapp-float svg { width: 24px; height: 24px; }

  .page-hero { padding: 16px 0 26px; }
  .page-hero h1 { font-size: 30px; line-height: 1.15; }
  .breadcrumbs { font-size: 12px; margin-bottom: 12px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
  .breadcrumbs::-webkit-scrollbar { display: none; }
  .section { padding: 40px 0; }
  .section-title { font-size: 26px; }
  .btn { min-height: 48px; border-radius: 12px; }
  .card, .service-card, .product-card, .project-card { border-radius: 18px; }
  input, select, textarea { font-size: 16px; }

  .site-footer { padding-bottom: 8px; }
}
