/* Responsive breakpoints: 320 / 375 / 425 / 768 / 1024 / 1440+ */

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid .full { grid-column: 1 / -1; }
  .search-panel form { grid-template-columns: repeat(2, 1fr); }
  .filters-bar form { grid-template-columns: repeat(2, 1fr); }
  .footer-loc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
  .two-col { grid-template-columns: 1.1fr 0.9fr; }
  .split-media { grid-template-columns: 1.05fr 0.95fr; }
  .search-panel form { grid-template-columns: repeat(3, 1fr) auto; align-items: end; }
  .filters-bar form { grid-template-columns: repeat(3, 1fr) auto auto; align-items: end; }
  .footer-top { grid-template-columns: 1.35fr 0.9fr 0.9fr 1fr; }
  .footer-loc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .float-whatsapp { bottom: 1.4rem; }
  .mobile-contact-bar { display: none; }
  .footer-bottom { padding-bottom: 1.5rem; }
  .header-cta { display: inline-flex; }
  .reel-card { flex-basis: 240px; }
  .page-hero { min-height: clamp(380px, 48vh, 540px); }
  .page-hero h1 { max-width: 20ch; }
  .location-intro { gap: 2rem; }
}

@media (min-width: 1100px) {
  .menu-toggle { display: none; }
  .nav-desktop { display: flex; }
  .mobile-nav { display: none !important; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .hero {
    min-height: min(92vh, 860px);
  }
  .hero-content {
    margin-bottom: 4rem;
    align-items: flex-start;
  }
  .hero-copy {
    max-width: 540px;
    margin-left: 0;
    margin-right: auto;
  }
  .hero-video,
  .hero-fallback {
    object-position: center center;
  }
  .search-panel form { grid-template-columns: 0.9fr 1.2fr 1fr 1.1fr auto; }
  .footer-loc-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .nav-desktop > a,
  .nav-item > .nav-link { font-size: 0.88rem; padding: 0 0.7rem; }
  .brand-logo { height: 68px; max-height: 68px; }
  .reel-card { flex-basis: 250px; }
}

@media (min-width: 1280px) {
  .footer-top { grid-template-columns: 1.45fr 0.95fr 0.95fr 1.1fr; }
  .mega-panel { transform: translateX(-50%); }
  .nav-desktop > a,
  .nav-item > .nav-link { font-size: 0.9rem; padding: 0 0.75rem; }
  .brand-logo { height: 70px; max-height: 70px; }
  .header-cta .btn { padding: 0 1.05rem; }
  .reel-card { flex-basis: 270px; }
  .hero-copy {
    max-width: 520px;
  }
  .hero-copy h1 {
    max-width: 13ch;
  }
}

@media (max-width: 1099px) {
  .brand-logo {
    height: 54px;
    max-height: 54px;
  }
  :root { --header-h: 72px; }
}

@media (max-width: 767px) {
  .testimonial-card {
    padding: 1.75rem 1.25rem;
    min-height: 240px;
  }

  .testimonial-quote {
    font-size: 1.05rem;
  }

  .footer-locations-head {
    align-items: flex-start;
  }

  .footer-dir-link {
    white-space: normal;
  }

  .reel-mute-btn span {
    display: none;
  }

  .hero {
    min-height: min(100svh, 780px);
    align-items: flex-end;
  }

  .hero-video,
  .hero-fallback {
    object-position: center 40%;
  }

  .hero-content {
    margin-bottom: 1.35rem;
    padding-top: 5.5rem;
    gap: 1.15rem;
    align-items: flex-start;
  }

  .hero-copy {
    max-width: 100%;
    padding: 0;
  }

  .hero-content h1,
  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
    max-width: none;
    color: #fff !important;
  }

  .hero-content .lead,
  .hero-copy .lead,
  .page-hero .lead {
    font-size: 0.98rem;
    max-width: none;
  }

  .hero-copy .btn-group {
    width: 100%;
  }

  .page-hero {
    min-height: 360px;
  }

  .page-hero .container {
    padding: 4.25rem 0 2rem;
  }

  .page-hero .btn-group,
  .hero-content .btn-group {
    gap: 0.65rem;
  }

  .page-hero .btn-group .btn,
  .hero-content .btn-group .btn {
    flex: 1 1 auto;
    min-width: min(100%, 160px);
  }

  .search-panel {
    padding: 0.85rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .location-services .icon-card,
  .location-services .content-block {
    padding: 1.15rem;
  }

  .contact-grid,
  .two-col,
  .split-media {
    gap: 1.25rem;
  }
}

@media (max-width: 374px) {
  .brand-logo {
    height: 48px;
    max-height: 48px;
  }
  .btn { padding: 0.75rem 1.05rem; }
  .hero { min-height: auto; }
  .reel-card { flex-basis: 78vw; }
  .page-hero h1 { font-size: 1.65rem; }
}

/* Prevent horizontal overflow */
html, body { overflow-x: hidden; }

img, video { max-width: 100%; }
