/* MindCare Wellness — Responsive breakpoints (asktia-aligned) */

@media (max-width: 1199.98px) {
  .header-ctas .btn-mc-outline {
    display: none;
  }

  .team-carousel-wrap {
    padding-left: 1.25rem;
  }
}

@media (max-width: 991.98px) {
  :root {
    --mc-header-h: 70px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 3.5rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-visual {
    margin-top: 2rem;
  }

  .hero-image-wrap {
    max-width: 480px;
    margin: 0 auto;
  }

  .section-pad,
  .care-team-section {
    padding: 4.25rem 0;
  }

  .care-team-section {
    padding-bottom: 3rem;
  }

  .membership-card.featured {
    transform: none;
  }
}

@media (max-width: 767.98px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container,
  .container-fluid {
    max-width: 100%;
  }

  /* Horizontal reveal offsets can create temporary body overflow on phones. */
  .reveal.fade-left,
  .reveal.fade-right {
    transform: translateY(24px);
  }

  .reveal.visible.fade-left,
  .reveal.visible.fade-right {
    transform: none;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn-mc {
    width: 100%;
  }

  .insurance-strip {
    text-align: center;
  }

  .insurance-strip .d-flex {
    flex-direction: column;
    gap: 0.65rem !important;
  }

  .clinic-cta {
    padding: 3rem 1.35rem;
    border-radius: 1.25rem;
    min-height: 0;
  }

  .newsletter-box {
    padding: 2rem 1.25rem;
    border-radius: 1.25rem;
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }

  .page-hero {
    padding-top: calc(var(--mc-header-h) + 2.5rem);
    padding-bottom: 2.5rem;
  }

  .page-hero h1 {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .brand-logo {
    height: 40px;
  }

  .team-carousel-item {
    width: min(220px, 70vw);
  }

  .team-carousel-wrap {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .team-carousel {
    max-width: 100%;
    padding-right: 0;
    overscroll-behavior-x: contain;
  }

  .stat-number {
    font-size: 2.35rem;
  }

  .faq-accordion .accordion-button {
    font-size: 1.05rem;
  }
}

@media (max-width: 575.98px) {
  .row {
    --bs-gutter-x: 1.25rem;
  }

  .section-pad,
  .care-team-section {
    padding: 3.25rem 0;
  }

  .service-card.has-photo {
    min-height: 260px;
  }

  .btn-mc {
    padding: 0.8rem 1.25rem;
  }
}

@media (min-width: 1400px) {
  .hero h1 {
    font-size: 4rem;
  }
}
