/* Reference-layout match (asktia structure) — MindCare logo palette */

:root {
  --mc-blue: #9f3b72;
  --mc-blue-dark: #7d2d59;
  --mc-blue-deep: #3f3540;
  --mc-blue-soft: #f8eaf2;
  --mc-blue-wash: #fff8fb;
  /* Accent follows the coral side of the updated logo. */
  --mc-green: #f08a70;
  --mc-green-dark: #d16d58;
  --mc-green-soft: #fff0ea;
  --mc-gradient: linear-gradient(135deg, #9f3b72 0%, #f08a70 100%);
  --mc-white: #fff;
  --mc-ink: #3f3540;
  --mc-ink-soft: #5b4b55;
  --mc-muted: #776975;
  --mc-line: rgba(63, 53, 64, 0.12);
  --mc-radius: 1rem;
  --mc-radius-lg: 1.25rem;
  --mc-pill: 999px;
  --mc-font: "Instrument Sans", system-ui, sans-serif;
  --mc-display: "Source Serif 4", Georgia, serif;
  --mc-header-h: 72px;
  --mc-ease: 0.28s ease;
}

body {
  font-family: var(--mc-font);
  color: var(--mc-ink-soft);
  background: var(--mc-white);
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

h1, h2, h3, .display {
  font-family: var(--mc-display);
  color: var(--mc-ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.btn-mc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--mc-pill);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: background var(--mc-ease), color var(--mc-ease), border-color var(--mc-ease), transform var(--mc-ease);
  line-height: 1.2;
  cursor: pointer;
}

.btn-mc-solid {
  background: var(--mc-blue);
  color: var(--mc-white);
}
.btn-mc-solid:hover {
  background: var(--mc-green);
  color: var(--mc-white);
}

.btn-mc-ink {
  background: var(--mc-ink);
  color: var(--mc-white);
}
.btn-mc-ink:hover {
  background: var(--mc-blue);
  color: var(--mc-white);
}

.btn-mc-outline {
  background: var(--mc-white);
  color: var(--mc-ink);
  border-color: rgba(10, 47, 74, 0.25);
}
.btn-mc-outline:hover {
  background: var(--mc-ink);
  color: var(--mc-white);
  border-color: var(--mc-ink);
}

.btn-mc-outline-on-dark {
  background: transparent;
  color: var(--mc-white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-mc-outline-on-dark:hover {
  background: var(--mc-white);
  color: var(--mc-ink);
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--mc-header-h);
  z-index: 1050;
  background: var(--mc-white);
  border-bottom: 1px solid var(--mc-line);
  display: flex;
  align-items: center;
}

.site-header .navbar { width: 100%; }
.brand-logo { height: 40px; width: auto; }

.navbar-nav .nav-link {
  color: var(--mc-ink) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.45rem 0.7rem !important;
}
.navbar-nav .nav-link:hover { color: var(--mc-blue) !important; }
.navbar-nav .nav-link .bi-chevron-down { font-size: 0.7rem; opacity: 0.7; }

.header-ctas { display: flex; gap: 0.5rem; align-items: center; }
.header-ctas .btn-mc { padding: 0.5rem 1.15rem; font-size: 0.8125rem; }

/* ========== HERO: left copy / right FULL BLEED image ========== */
.hero-ref {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - var(--mc-header-h));
  margin-top: var(--mc-header-h);
  background: var(--mc-blue-wash);
}

.hero-ref-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.75rem) clamp(1.5rem, 5vw, 4.5rem);
  background: var(--mc-blue-wash);
}

.hero-ref-copy h1 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.06;
  margin-bottom: 1.25rem;
  max-width: 100%;
}

.hero-ref-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.35rem;
}
.hero-ref-bullets li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.45rem;
  font-size: 0.98rem;
  color: var(--mc-ink-soft);
}
.hero-ref-bullets li i { color: var(--mc-green); margin-top: 0.2rem; }

.hero-ref-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-ref-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.hero-ref-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* ========== INSURANCE LOGOS ========== */
.ins-ref {
  position: relative;
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(159, 59, 114, 0.09), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 100%, rgba(240, 138, 112, 0.13), transparent 50%),
    var(--mc-blue-wash);
  text-align: center;
  overflow: hidden;
}
.ins-eyebrow,
.faq-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mc-blue);
  margin-bottom: 0.75rem;
}
.ins-ref h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 0.85rem;
}
.ins-lead {
  max-width: 36rem;
  margin: 0 auto 2.25rem;
  color: var(--mc-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}
.ins-logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
.ins-logo-tile {
  width: 148px;
  height: 80px;
  background: var(--mc-white);
  border: 1px solid var(--mc-line);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  box-shadow: 0 6px 20px rgba(10, 47, 74, 0.04);
  transition: transform var(--mc-ease), box-shadow var(--mc-ease), border-color var(--mc-ease);
}
.ins-logo-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(159, 59, 114, 0.28);
  box-shadow: 0 12px 28px rgba(159, 59, 114, 0.12);
}
.ins-mark {
  width: 100%;
  height: 28px;
  opacity: 0.72;
  transition: opacity var(--mc-ease);
}
.ins-logo-tile:hover .ins-mark { opacity: 1; }
.ins-trust {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
}
.ins-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mc-ink-soft);
}
.ins-trust i {
  color: var(--mc-green);
  font-size: 1.1rem;
}

/* ========== SERVICES IMAGE CARDS ========== */
.svc-ref {
  padding: 5rem 0;
  background: var(--mc-blue-wash);
  text-align: center;
}
.svc-ref h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  margin-bottom: 2.5rem;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  text-align: left;
  margin-bottom: 2rem;
}
.svc-card-img {
  position: relative;
  display: block;
  border-radius: var(--mc-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  text-decoration: none;
  color: var(--mc-white);
  box-shadow: 0 8px 24px rgba(10, 47, 74, 0.1);
}
.svc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.svc-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(10, 47, 74, 0.78) 100%);
}
.svc-card-img:hover img { transform: scale(1.05); }
.svc-card-img .svc-meta {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 2;
}
.svc-card-img h3 {
  color: var(--mc-white);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}
.svc-card-img .svc-link {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--mc-font);
}

/* ========== WHY BAND ========== */
.why-ref {
  padding: 5rem 0;
  background: var(--mc-gradient);
  color: var(--mc-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.why-ref::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06) 0, transparent 35%);
  pointer-events: none;
}
.why-ref h2 {
  color: var(--mc-white);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin-bottom: 2.75rem;
  position: relative;
}
.why-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: left;
  position: relative;
}
.why-stat .num {
  font-family: var(--mc-display);
  font-size: clamp(2.4rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.75rem;
  color: var(--mc-white);
}
.why-stat h3 {
  color: var(--mc-white);
  font-family: var(--mc-font);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.why-stat p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.5;
}

/* ========== SYMPTOMS 3x3 ========== */
.sym-ref {
  padding: 5rem 0;
  background: var(--mc-blue-wash);
  text-align: center;
}
.sym-ref h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin-bottom: 2.25rem;
}
.sym-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  text-align: left;
  margin-bottom: 1.75rem;
}
.sym-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--mc-white);
  border-radius: 0.75rem;
  padding: 1rem 1.15rem;
  text-decoration: none;
  color: var(--mc-ink);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--mc-line);
  transition: background var(--mc-ease), color var(--mc-ease), transform var(--mc-ease);
}
.sym-item i.icon {
  color: var(--mc-blue);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.sym-item .arrow {
  margin-left: auto;
  color: var(--mc-muted);
}
.sym-item:hover {
  background: var(--mc-blue);
  color: var(--mc-white);
  transform: translateY(-2px);
}
.sym-item:hover i { color: var(--mc-white); }
.sym-all {
  font-weight: 600;
  color: var(--mc-blue);
  text-decoration: none;
}
.sym-all:hover { color: var(--mc-green); }

/* ========== HOW IT WORKS 2-col ========== */
.how-ref {
  padding: 5rem 0;
  background: var(--mc-blue-wash);
}
.how-ref .row { align-items: center; }
.how-ref h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.how-lead {
  color: var(--mc-muted);
  margin-bottom: 2rem;
  max-width: 32rem;
}
.how-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.35rem;
}
.how-step .n {
  font-family: var(--mc-display);
  font-weight: 700;
  color: var(--mc-blue);
  font-size: 1rem;
  min-width: 2rem;
}
.how-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
  font-family: var(--mc-font);
  font-weight: 700;
}
.how-step p {
  margin: 0;
  color: var(--mc-muted);
  font-size: 0.95rem;
}
.how-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.how-orbit {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  margin: 0 auto;
}
/* Soft highlighted disc behind the center figure (like reference spotlight) */
.how-orbit-highlight {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68%;
  height: 68%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, var(--mc-blue-soft) 55%, rgba(229, 244, 252, 0.55) 100%);
  box-shadow: 0 0 0 1px rgba(159, 59, 114, 0.08), inset 0 0 40px rgba(240, 138, 112, 0.09);
  z-index: 0;
  pointer-events: none;
}
.how-orbit-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--mc-ink);
  gap: 0.15rem;
}
.how-orbit-figure {
  width: 64px;
  height: auto;
  display: block;
  margin-bottom: 0.15rem;
}
.how-orbit-you {
  font-family: var(--mc-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--mc-ink);
  line-height: 1;
}
.orbit-node {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--mc-white);
  padding: 0.55rem;
  line-height: 1.15;
  transform: translate(-50%, -50%);
  z-index: 1;
  box-shadow: 0 8px 22px rgba(10, 47, 74, 0.14);
}
/* Center is child 1 (highlight) + child 2 (center), nodes start at 3 */
.orbit-node:nth-child(3)  { left: 50%; top: 6%;  background: #9f3b72; }
.orbit-node:nth-child(4)  { left: 78%; top: 18%; background: #f08a70; }
.orbit-node:nth-child(5)  { left: 94%; top: 42%; background: #b64b80; }
.orbit-node:nth-child(6)  { left: 88%; top: 72%; background: #7d2d59; }
.orbit-node:nth-child(7)  { left: 68%; top: 92%; background: #d16d58; }
.orbit-node:nth-child(8)  { left: 32%; top: 92%; background: #f2a18a; }
.orbit-node:nth-child(9)  { left: 12%; top: 72%; background: #6f5f45; }
.orbit-node:nth-child(10) { left: 6%;  top: 42%; background: #d97861; }
.orbit-node:nth-child(11) { left: 22%; top: 18%; background: #8d3a69; }

/* ========== PARTNERS logos left ========== */
.partners-ref {
  padding: 5rem 0;
  background: var(--mc-blue-wash);
}
.partners-logos {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}
.partner-badge {
  font-family: var(--mc-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--mc-ink);
  opacity: 0.7;
}
.partners-ref h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}
.partners-ref p {
  color: var(--mc-muted);
  margin-bottom: 1.5rem;
  max-width: 34rem;
}

/* ========== CARE TEAM collage ========== */
.team-ref {
  padding: 5rem 0;
  background: var(--mc-white);
}
.team-ref h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}
.team-ref .lead {
  color: var(--mc-muted);
  margin-bottom: 1.75rem;
  max-width: 30rem;
}
.team-collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}
.team-collage-item {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  padding: 0.4rem;
}
.team-collage-item:nth-child(1) { grid-column: 1 / 3; background: #d9aec9; }
.team-collage-item:nth-child(2) { grid-column: 3 / 5; background: #f2b5a2; }
.team-collage-item:nth-child(3) { grid-column: 5 / 7; background: #c994b8; }
.team-collage-item:nth-child(4) { grid-column: 2 / 4; background: #e8c4b8; }
.team-collage-item:nth-child(5) { grid-column: 4 / 6; background: #b67aa0; }
.team-collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0.75rem;
  display: block;
}

/* ========== FIND CLINIC map + form ========== */
.clinic-ref {
  padding: 5rem 0;
  background: var(--mc-blue-wash);
}
.clinic-map-wrap {
  background: var(--mc-white);
  border-radius: var(--mc-radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--mc-line);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.clinic-map-wrap svg { width: 100%; max-width: 480px; height: auto; }
.clinic-ref h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}
.clinic-ref p {
  color: var(--mc-muted);
  margin-bottom: 1.25rem;
}
.clinic-select {
  width: 100%;
  max-width: 360px;
  border-radius: var(--mc-pill);
  border: 1px solid var(--mc-line);
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  background: var(--mc-white);
  color: var(--mc-ink);
}
.clinic-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ========== NEWSLETTER ========== */
.news-ref {
  padding: 5rem 0;
  background: var(--mc-white);
  text-align: center;
}
.news-ref h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.news-ref .lead {
  color: var(--mc-muted);
  max-width: 36rem;
  margin: 0 auto 2rem;
}
.news-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}
.news-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.news-fields input {
  border-radius: var(--mc-pill);
  border: 1px solid var(--mc-line);
  padding: 0.85rem 1.2rem;
  width: 100%;
  font-size: 1rem;
}
.news-fields input:focus {
  outline: none;
  border-color: var(--mc-blue);
  box-shadow: 0 0 0 3px rgba(159, 59, 114, 0.15);
}
.form-error { color: #b91c1c; font-size: 0.85rem; display: none; }
.form-success { color: var(--mc-green-dark); font-weight: 600; display: none; margin-top: 0.75rem; }
.form-server-error { color: #b91c1c; font-size: 0.85rem; font-weight: 600; display: none; margin-top: 0.75rem; }
.is-invalid { border-color: #b91c1c !important; }
.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}
button[aria-busy="true"] { cursor: wait; opacity: 0.75; }

/* ========== FAQ ========== */
.faq-ref {
  position: relative;
  padding: 5.5rem 0;
  background:
    radial-gradient(ellipse 55% 50% at 0% 30%, rgba(240, 138, 112, 0.11), transparent 60%),
    radial-gradient(ellipse 45% 40% at 100% 80%, rgba(159, 59, 114, 0.1), transparent 55%),
    var(--mc-white);
  overflow: hidden;
}
.faq-intro h2 {
  text-align: left;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin-bottom: 0.85rem;
}
.faq-lead {
  color: var(--mc-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 28rem;
}
.faq-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 30rem;
  margin-bottom: 1.5rem;
}
.faq-topic-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(159, 59, 114, 0.14);
  background: rgba(255, 248, 251, 0.85);
  color: var(--mc-ink-soft);
  border-radius: var(--mc-pill);
  padding: 0.45rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 700;
}
.faq-topic-list i { color: var(--mc-blue); }
.faq-photo {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
  aspect-ratio: 4 / 5;
  max-width: 340px;
  box-shadow: 0 20px 48px rgba(63, 53, 64, 0.14);
}
.faq-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(63, 53, 64, 0.38));
  pointer-events: none;
}
.faq-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.faq-photo-badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 0.9rem 1rem;
  box-shadow: 0 10px 30px rgba(63, 53, 64, 0.12);
}
.faq-photo-badge strong,
.faq-photo-badge span {
  display: block;
}
.faq-photo-badge strong {
  color: var(--mc-ink);
  font-size: 0.92rem;
}
.faq-photo-badge span {
  color: var(--mc-muted);
  font-size: 0.82rem;
  line-height: 1.35;
  margin-top: 0.15rem;
}
.faq-help-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  max-width: 30rem;
  background: linear-gradient(135deg, var(--mc-blue-soft), var(--mc-green-soft));
  border: 1px solid rgba(159, 59, 114, 0.12);
  border-radius: 1.1rem;
  padding: 1rem;
  margin-bottom: 1.2rem;
}
.faq-help-card > i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mc-white);
  color: var(--mc-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(159, 59, 114, 0.1);
}
.faq-help-card h3 {
  font-family: var(--mc-font);
  font-size: 0.98rem;
  margin: 0 0 0.25rem;
  font-weight: 800;
}
.faq-help-card p {
  margin: 0;
  color: var(--mc-muted);
  line-height: 1.5;
  font-size: 0.9rem;
}
.faq-all-link {
  font-weight: 700;
  color: var(--mc-blue);
  text-decoration: none;
}
.faq-all-link:hover { color: var(--mc-green-dark); }
.faq-panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.faq-panel-heading span {
  color: var(--mc-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.faq-panel-heading p {
  margin: 0;
  max-width: 20rem;
  color: var(--mc-muted);
  font-size: 0.9rem;
  text-align: right;
}
.faq-accordion {
  max-width: none;
  margin: 0;
}
.faq-ref .accordion-item {
  background: var(--mc-white);
  border: 1px solid var(--mc-line) !important;
  border-radius: 1rem !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(63, 53, 64, 0.04);
  transition: border-color var(--mc-ease), box-shadow var(--mc-ease);
}
.faq-ref .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(159, 59, 114, 0.35) !important;
  box-shadow: 0 10px 28px rgba(159, 59, 114, 0.1);
}
.faq-ref .accordion-button {
  font-family: var(--mc-font);
  font-weight: 600;
  font-size: 1rem;
  color: var(--mc-ink);
  background: var(--mc-white);
  box-shadow: none !important;
  padding: 1.05rem 1.15rem;
  gap: 0.85rem;
  align-items: center;
}
.faq-ref .accordion-button:not(.collapsed) {
  color: var(--mc-blue);
  background: linear-gradient(180deg, rgba(248, 234, 242, 0.72), #fff 74%);
}
.faq-ref .accordion-button > span:not(.faq-q-icon) {
  display: grid;
  gap: 0.12rem;
  line-height: 1.25;
}
.faq-ref .accordion-button small {
  color: var(--mc-muted);
  font-family: var(--mc-font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.faq-q-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mc-blue-soft);
  color: var(--mc-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--mc-ease), color var(--mc-ease);
}
.faq-ref .accordion-button:not(.collapsed) .faq-q-icon {
  background: var(--mc-blue);
  color: var(--mc-white);
}
.faq-ref .accordion-button::after {
  width: 1.65rem;
  height: 1.65rem;
  flex-shrink: 0;
  background-color: var(--mc-blue-soft);
  border-radius: 50%;
  background-size: 0.85rem;
  background-position: center;
  margin-left: auto;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239f3b72'%3e%3cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3e%3c/svg%3e");
}
.faq-ref .accordion-button:not(.collapsed)::after {
  background-color: var(--mc-blue);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3e%3c/svg%3e");
  transform: none;
}
.faq-ref .accordion-body {
  color: var(--mc-muted);
  padding: 0 1.35rem 1.25rem 4.9rem;
  line-height: 1.6;
}
.faq-ref .accordion-body p {
  margin: 0 0 0.75rem;
}
.faq-answer-list {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.faq-answer-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--mc-ink-soft);
  font-size: 0.94rem;
}
.faq-answer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mc-green);
}
.faq-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: var(--mc-ink-soft);
  background: var(--mc-green-soft);
  border-radius: 0.8rem;
  padding: 0.65rem 0.8rem;
  font-size: 0.9rem;
  line-height: 1.4;
}
.faq-note i {
  color: var(--mc-green-dark);
  margin-top: 0.1rem;
}
.faq-ref .accordion-body a {
  color: var(--mc-blue);
  font-weight: 600;
  text-decoration: none;
}
.faq-ref .accordion-body a:hover { color: var(--mc-green-dark); }
.faq-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--mc-blue-deep);
  color: var(--mc-white);
}
.faq-action-row strong,
.faq-action-row span {
  display: block;
}
.faq-action-row span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  margin-top: 0.1rem;
}
.faq-action-row .btn-mc {
  flex-shrink: 0;
  background: var(--mc-white);
  border-color: var(--mc-white);
  color: var(--mc-blue-deep);
}
.faq-action-row .btn-mc:hover {
  background: var(--mc-green);
  border-color: var(--mc-green);
  color: var(--mc-white);
}

@media (max-width: 991.98px) {
  .faq-intro h2 { text-align: center; }
  .faq-lead { margin-left: auto; margin-right: auto; text-align: center; }
  .faq-intro { text-align: center; }
  .faq-eyebrow { display: inline-block; }
  .faq-topic-list { justify-content: center; margin-left: auto; margin-right: auto; }
  .faq-help-card { margin-left: auto; margin-right: auto; text-align: left; }
  .faq-photo { margin-left: auto; margin-right: auto; max-width: 280px; aspect-ratio: 16 / 11; }
  .faq-panel-heading {
    display: block;
    text-align: center;
  }
  .faq-panel-heading p {
    margin: 0.3rem auto 0;
    text-align: center;
  }
  .faq-ref .accordion-body {
    padding-left: 1.35rem;
  }
}

@media (max-width: 575.98px) {
  .faq-ref .accordion-button {
    padding: 0.95rem;
    align-items: flex-start;
  }
  .faq-q-icon {
    width: 36px;
    height: 36px;
  }
  .faq-ref .accordion-button::after {
    width: 1.45rem;
    height: 1.45rem;
  }
  .faq-action-row {
    display: grid;
    text-align: center;
  }
  .faq-action-row .btn-mc {
    width: 100%;
  }
}

/* ========== FOOTER ========== */
.footer-ref {
  background: var(--mc-blue-deep);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 4rem;
}
.footer-ref a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 0.9rem; }
.footer-ref a:hover { color: #f3a58d; }
.footer-ref h5 {
  color: var(--mc-white);
  font-family: var(--mc-font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-ref .brand-logo,
.footer-ref .footer-brand-logo {
  height: 48px;
  filter: brightness(0) invert(1);
  background: transparent !important;
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-social { display: flex; gap: 0.65rem; margin-top: 1rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--mc-gradient); border-color: transparent; color: #fff; }
.footer-subscribe input {
  border-radius: var(--mc-pill);
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 0.65rem 1rem;
  width: 100%;
  margin-bottom: 0.65rem;
}
.footer-subscribe input::placeholder { color: rgba(255,255,255,0.5); }
.footer-subscribe .form-error,
.footer-subscribe .form-server-error { color: #ffd3dc; margin: -0.25rem 0 0.65rem; }
.footer-subscribe .form-success { color: #d6ffe9; margin-bottom: 0.65rem; }
.footer-consent { color: rgba(255,255,255,0.65); font-size: 0.72rem; line-height: 1.4; margin: 0.65rem 0 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 3rem;
  padding: 1.25rem 0;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 992px) and (max-height: 760px) {
  .hero-ref-copy {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .hero-ref-copy h1 {
    font-size: clamp(1.9rem, 3.35vw, 2.75rem);
    margin-bottom: 1rem;
  }
  .hero-ref-bullets {
    margin-bottom: 1rem;
  }
  .hero-ref-bullets li {
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
  }
  .hero-ref-ctas .btn-mc {
    padding: 0.7rem 1.15rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 991.98px) {
  .hero-ref {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-top: var(--mc-header-h);
  }
  .hero-ref-media {
    min-height: 340px;
    order: -1;
  }
  .hero-ref-copy {
    padding: 3rem clamp(1.25rem, 6vw, 3rem);
  }
  .hero-ref-copy h1 {
    max-width: 100%;
  }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .why-stats { grid-template-columns: 1fr 1fr; }
  .sym-grid { grid-template-columns: 1fr 1fr; }
  .how-orbit { margin-top: 2.5rem; }
}

@media (max-width: 767.98px) {
  :root {
    --mc-header-h: 66px;
  }
  .brand-logo {
    height: 34px;
  }
  .hero-ref-media {
    min-height: 260px;
  }
  .hero-ref-copy {
    padding: 2.25rem 1.25rem 2.5rem;
  }
  .hero-ref-copy h1 {
    font-size: clamp(2rem, 11vw, 2.85rem);
    max-width: 100%;
  }
  .hero-ref-ctas {
    display: grid;
  }
  .hero-ref-ctas .btn-mc {
    width: 100%;
  }
  .ins-ref,
  .svc-ref,
  .why-ref,
  .sym-ref,
  .how-ref,
  .partners-ref,
  .team-ref,
  .clinic-ref,
  .news-ref,
  .faq-ref {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .svc-grid,
  .why-stats,
  .sym-grid,
  .news-fields {
    grid-template-columns: 1fr;
  }
  .team-collage {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-collage-item:nth-child(n) {
    grid-column: auto;
  }
  .header-ctas .btn-mc-outline { display: none; }
}

@media (max-width: 575.98px) {
  .hero-ref-media {
    min-height: 220px;
  }
  .hero-ref-copy h1 {
    font-size: clamp(1.9rem, 10vw, 2.45rem);
  }
  .hero-ref-bullets li {
    font-size: 0.94rem;
  }
  .ins-logo-tile {
    width: calc(50% - 0.5rem);
    min-width: 132px;
  }
  .how-orbit {
    width: min(100%, 340px);
  }
  .orbit-node {
    width: 76px;
    height: 76px;
    font-size: 0.58rem;
  }
  .clinic-ctas,
  .how-ctas {
    display: grid;
  }
  .clinic-ctas .btn-mc,
  .how-ctas .btn-mc,
  .news-form .btn-mc {
    width: 100%;
  }
}
