@media (min-width: 768px) {
  .section {
    padding: 84px 0;
  }

  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    gap: 20px;
  }

  .premium-neighborhood-shortcuts-grid {
    gap: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reasons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .content-grid,
  .location-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.7fr 0.9fr 1.2fr;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 48px;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-gallery .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reasons-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 72px;
  }

  .header-inner {
    width: calc(100% - 24px);
    gap: 10px;
  }

  .site-logo {
    width: min(158px, calc(100vw - 96px));
    height: 68px;
  }

  .mobile-overlay {
    inset-block-start: var(--header-height);
  }

  .mobile-menu {
    padding-inline: 18px;
  }

  body {
    padding-bottom: 80px;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .section.premium-neighborhood-shortcuts-section--compact {
    padding-bottom: 24px;
  }

  .hero-inner {
    padding: 42px 0 52px;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }
}

@media (max-width: 359px) {
  :root {
    --header-height: 68px;
  }

  .site-logo {
    width: min(148px, calc(100vw - 88px));
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  :root {
    --header-height: 78px;
  }

  .header-inner {
    width: calc(100% - 40px);
  }

  .site-logo {
    width: 164px;
    height: 74px;
  }

  .site-nav,
  .header-actions {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  :root {
    --header-height: 80px;
  }

  .header-inner {
    width: calc(100% - 48px);
    max-width: 1360px;
    gap: clamp(12px, 1vw, 16px);
  }

  .site-logo {
    width: 150px;
    height: 74px;
  }

  .site-nav {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: clamp(3px, 0.38vw, 6px);
    white-space: nowrap;
  }

  .site-nav > .nav-link,
  .site-nav .services-toggle {
    min-height: 44px;
    gap: 5px;
    padding: 8px clamp(4px, 0.4vw, 6px);
    font-size: clamp(0.82rem, 0.94vw, 0.9rem);
    line-height: 1.2;
    white-space: nowrap;
  }

  .site-nav .nav-item {
    flex: 0 0 auto;
  }

  .header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
  }

  .header-actions .btn {
    min-height: 44px;
    padding-inline: 14px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .hamburger,
  .mobile-overlay {
    display: none !important;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 24px);
    max-width: var(--container);
  }

  .services-grid {
    gap: 10px;
  }

  .service-card {
    padding: 14px;
  }

  .service-card h3 {
    font-size: 1.08rem;
  }

  .service-card p {
    font-size: 0.88rem;
  }

  .button-row,
  .btn {
    width: 100%;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
  }

  .final-cta {
    padding-bottom: 104px;
  }

  .site-footer {
    padding-bottom: 104px;
  }
}
