/* ============================================
   RESPONSIVE.CSS — Mobile-first breakpoints
   ============================================ */

/* ── 1280px and below ── */
@media (max-width: 1280px) {
  .container {
    padding: 0 var(--space-8);
  }

  .hero__title {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
  }
}

/* ── 1024px and below ── */
@media (max-width: 1024px) {
  .section {
    padding: var(--space-24) 0;
  }

  .services {
    padding-bottom: calc(var(--space-24) + 60px);
  }

  .cta {
    padding-bottom: calc(var(--space-24) + 60px);
  }

  .testimonials {
    padding-bottom: calc(var(--space-24) + 60px);
  }

  .section__title {
    font-size: var(--fs-3xl);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* ── 900px and below ── */
@media (max-width: 900px) {
  .container {
    padding: 0 var(--space-6);
  }

  .hero__container {
    padding-top: calc(var(--header-height) + var(--space-12));
    padding-bottom: var(--space-20);
  }

  .section__header {
    margin-bottom: var(--space-12);
  }

  /* Location contact bar */
  .location__contact-bar {
    flex-direction: column;
  }

  .location__contact-divider {
    width: 100%;
    height: 1px;
  }

  .location__maps-grid {
    grid-template-columns: 1fr;
  }

  .location__map-frame {
    height: 260px;
  }

  /* CTA */
  .cta__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }
}

/* ── 768px and below ── */
@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .section {
    padding: var(--space-20) 0;
  }

  .services {
    padding-bottom: calc(var(--space-20) + 50px);
  }

  .cta {
    padding-bottom: calc(var(--space-20) + 50px);
  }

  .testimonials {
    padding-bottom: calc(var(--space-20) + 50px);
  }

  .section__title {
    font-size: var(--fs-2xl);
  }

  .section__subtitle {
    font-size: var(--fs-sm);
  }

  /* Hero */
  .hero__buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }

  .hero__btn-primary,
  .hero__btn-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero__badges {
    gap: var(--space-4) var(--space-6);
  }

  /* Mobile Carousels (Services, Testimonials, Locations) */
  .services__grid,
  .testimonials__grid,
  .location__maps-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: var(--space-4);
    padding-bottom: var(--space-4);
  }

  .services__grid::-webkit-scrollbar,
  .testimonials__grid::-webkit-scrollbar,
  .location__maps-grid::-webkit-scrollbar {
    display: none;
  }

  .services__grid > *,
  .testimonials__grid > *,
  .location__maps-grid > * {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }

  /* CTA */
  .cta__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__brand {
    grid-column: 1;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
}

/* ── 640px and below ── */
@media (max-width: 640px) {
  .container {
    padding: 0 var(--space-5);
  }

  .hero__title {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .hero__description {
    font-size: var(--fs-base);
  }

  /* Services single column override not needed, managed by carousel */

  .services__card {
    flex-direction: row;
    align-items: flex-start;
    padding: var(--space-6);
  }

  .services__card-icon {
    flex-shrink: 0;
  }

  /* Testimonials */
  .testimonial__card {
    padding: var(--space-6);
  }

  /* Location */
  .location__contact-item {
    padding: var(--space-4) var(--space-5);
  }

  /* WhatsApp float label hidden on mobile */
  .whatsapp-float__label {
    display: none;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    padding: 0;
    border-radius: var(--radius-full);
    max-width: 58px !important;
  }
}

/* ── 480px and below ── */
@media (max-width: 480px) {
  .hero__label {
    font-size: 10px;
    padding: 0.35rem 0.875rem;
  }

  .hero__badges {
    flex-direction: column;
    align-items: center;
  }

  .cta__trust {
    flex-direction: column;
    gap: var(--space-3);
  }

  .cta__trust-sep {
    display: none;
  }
}
