/* Robb Health v2 — sections: plans, scott, map, testimonials, faq, contact, footer */

.section { padding: 110px 36px; }
.section-inner { max-width: 1240px; margin: 0 auto; }
.section--dark { background: var(--ink); color: var(--text-on-dark); }
.section-head { margin-bottom: 56px; }
.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.04; letter-spacing: -0.01em; margin-top: 18px;
  text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--green); }
.section--dark .section-title em { color: #8fd48f; }
.section-sub { margin-top: 14px; font-size: 16px; color: var(--text-dim); max-width: 520px; }
.section--dark .section-sub { color: var(--dim-on-dark); }

/* ============ PLANS — numbered expanding rows ============ */
.plans-list { border-top: 1px solid var(--hair-light); }
.plan-row { border-bottom: 1px solid var(--hair-light); }
.plan-row-head {
  width: 100%; display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center; gap: 24px;
  padding: 30px 8px; text-align: left;
  transition: padding 0.3s ease;
}
.plan-num {
  font-family: var(--serif); font-style: italic;
  font-size: 19px; color: var(--text-dim);
  transition: color 0.3s ease;
}
.plan-name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 3vw, 38px); letter-spacing: -0.01em;
  color: var(--ink); transition: color 0.3s ease, transform 0.35s ease;
  transform-origin: left center;
}
.plan-toggle {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--hair-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); transition: background 0.3s ease, color 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.plan-row:hover .plan-toggle { background: var(--green); color: #fff; border-color: var(--green); }
.plan-row:hover .plan-name { color: var(--green-deep); }
.plan-row.open .plan-toggle { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.plan-row.open .plan-num { color: var(--green); }
.plan-body { overflow: hidden; height: 0; }
.plan-body-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px; padding: 6px 8px 44px 88px;
}
.plan-body h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.plan-body p { font-size: 15px; line-height: 1.7; color: var(--text-dim); }
.plan-features { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
.plan-features h4 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.plan-features p { font-size: 14px; line-height: 1.65; }
.plan-points { list-style: none; display: flex; flex-direction: column; gap: 0; }
.plan-points li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500; padding: 12px 0;
  border-bottom: 1px solid var(--hair-light);
}
.plan-points li:first-child { border-top: 1px solid var(--hair-light); }
.plan-points li::before {
  content: "→"; color: var(--green); font-weight: 400;
}

/* ============ SCOTT ============ */
.scott-grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px; align-items: center;
}
.scott-portrait { position: relative; }
.scott-portrait image-slot, .scott-portrait .portrait-ph, .scott-portrait .scott-photo-img {
  width: 100%; aspect-ratio: 4 / 5; border-radius: 16px;
}
.scott-photo-img { display: block; object-fit: cover; }
.portrait-ph {
  background: var(--ink-2); border: 1px solid var(--hair-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.portrait-ph .initials {
  width: 86px; height: 86px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 600;
}
.portrait-ph .ph-label { font-size: 13px; color: var(--dim-on-dark); }
.scott-stamp {
  position: absolute; top: -34px; right: -34px;
  width: 116px; height: 116px; pointer-events: none;
}
.scott-stamp text { font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; fill: #7fc97f; }
.scott-quote {
  font-family: var(--serif); font-size: clamp(26px, 3vw, 40px);
  line-height: 1.18; letter-spacing: -0.01em; margin-top: 24px;
  color: var(--text-on-dark);
}
.scott-quote em { font-style: italic; color: #8fd48f; }
.scott-bio { margin-top: 22px; font-size: 15.5px; line-height: 1.75; color: var(--dim-on-dark); max-width: 560px; }
.scott-bio + .scott-bio { margin-top: 14px; }
.scott-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 44px;
  border-top: 1px solid var(--hair-dark);
}
.stat { padding: 24px 18px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--hair-dark); }
.stat .num { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 52px); color: #fff; line-height: 1; }
.stat .num sup { font-size: 0.5em; color: #8fd48f; }
.stat .lbl { font-size: 12.5px; letter-spacing: 0.04em; color: var(--dim-on-dark); margin-top: 8px; }

/* ============ COVERAGE MAP ============ */
.map-section .section-head { text-align: center; }
.map-section .section-sub { margin-left: auto; margin-right: auto; }
.map-stage { max-width: 980px; margin: 0 auto; }
#usMap { width: 100%; height: auto; overflow: visible; }
#usMap .state-path {
  cursor: pointer;
  fill: #e3eadf; stroke: var(--paper); stroke-width: 1.2; stroke-linejoin: round;
  transform-box: fill-box; transform-origin: center;
  transition: fill 0.18s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1), filter 0.3s ease;
}
#usMap .state-path:hover {
  fill: #d3ded0; transform: scale(1.22);
  filter: drop-shadow(0 6px 14px rgba(14, 31, 22, 0.3));
}
#usMap .state-path.active { fill: var(--green); }
#usMap .state-path.active:hover { fill: var(--green-deep); }
#usMap .state-path.picked { stroke: var(--ink); stroke-width: 1.6; }
#usMap .slabel { font-size: 11px; font-weight: 600; fill: #61725f; letter-spacing: 0.02em; font-family: var(--sans); pointer-events: none; }
#usMap .slabel.on-active { fill: #ffffff; }
#usMap .slabel.ext { font-size: 10px; }
#usMap .leader { stroke: #b6c4b2; stroke-width: 0.6; }
.map-legend { display: flex; gap: 26px; justify-content: center; margin-top: 26px; }
.map-legend span { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-dim); }
.legend-dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.map-panel {
  max-width: 600px; margin: 30px auto 0; text-align: left;
  background: var(--card); border: 1px solid var(--hair-light); border-radius: 16px;
  padding: 30px 34px;
  box-shadow: 0 18px 50px rgba(14, 31, 22, 0.07);
}
.map-panel[hidden] { display: none; }
.map-panel.fade { animation: panelFade 0.35s cubic-bezier(0.2, 0.8, 0.3, 1); }
@keyframes panelFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.map-panel .dyk { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--green); font-weight: 600; margin-bottom: 10px; }
.map-panel h4 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin-bottom: 8px; }
.map-panel p { font-size: 15px; color: var(--text-dim); line-height: 1.7; }
.map-panel .panel-cta { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--green); }
.map-panel .panel-cta:hover { color: var(--green-deep); }
.map-panel .panel-note { font-size: 15px; color: var(--text-dim); line-height: 1.7; }

/* ============ TESTIMONIALS ============ */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tst-card {
  background: rgba(246, 248, 243, 0.04);
  border: 1px solid var(--hair-dark);
  border-radius: 18px; padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.tst-card:hover { transform: translateY(-6px); border-color: rgba(127, 201, 127, 0.45); background: rgba(246, 248, 243, 0.07); }
.tst-stars { display: flex; gap: 3px; color: #8fd48f; margin-bottom: 20px; }
.tst-quote { font-family: var(--serif); font-size: 20px; line-height: 1.4; color: var(--text-on-dark); flex: 1; }
.tst-quote::before { content: "\201C"; }
.tst-quote::after { content: "\201D"; }
.tst-author { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hair-dark); }
.tst-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600;
}
.tst-name { font-size: 14px; font-weight: 600; color: #fff; }
.tst-meta { font-size: 12.5px; color: var(--dim-on-dark); margin-top: 2px; }

/* ============ FAQ ============ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--hair-light); }
.faq-item { border-bottom: 1px solid var(--hair-light); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 4px; text-align: left;
  font-size: 17px; font-weight: 600; color: var(--ink);
}
.faq-q .chev { color: var(--green); transition: transform 0.35s ease; flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.3, 1); }
.faq-a p { font-size: 15px; color: var(--text-dim); line-height: 1.75; padding: 0 4px 24px; max-width: 620px; }
.faq-a ul { list-style: none; padding: 0 4px 24px; margin: 0; max-width: 620px; display: flex; flex-direction: column; gap: 12px; }
.faq-a ul li { font-size: 15px; color: var(--text-dim); line-height: 1.75; }
.faq-a ul li strong { color: var(--ink); }

/* ============ CONTACT ============ */
.contact-wrap {
  background: var(--ink); color: var(--text-on-dark);
  border-radius: 28px; padding: 72px 64px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px;
}
.contact-title { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4vw, 56px); line-height: 1.02; margin-top: 18px; }
.contact-title em { font-style: italic; color: #8fd48f; }
.contact-sub { margin-top: 16px; color: var(--dim-on-dark); font-size: 15.5px; max-width: 380px; }
.value-rows { margin-top: 40px; display: flex; flex-direction: column; }
.value-row { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--hair-dark); }
.value-icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  background: rgba(127, 201, 127, 0.12); color: #8fd48f;
  display: flex; align-items: center; justify-content: center;
}
.value-row .v-label { font-size: 15px; font-weight: 600; color: #fff; }
.value-row .v-desc { font-size: 13.5px; color: var(--dim-on-dark); margin-top: 2px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim-on-dark); font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--hair-dark); border-radius: 10px;
  font-size: 14.5px; font-family: inherit; padding: 12px 14px;
  color: #fff; background: rgba(246, 248, 243, 0.05);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field select { appearance: none; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: #7fc97f; background: rgba(246, 248, 243, 0.08);
}
.form-submit {
  background: var(--green); color: #fff; font-size: 15px; font-weight: 600;
  padding: 16px; border-radius: 100px; margin-top: 6px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.form-submit:hover { background: var(--green-deep); transform: translateY(-2px); }

/* ============ FOOTER ============ */
.footer { padding: 100px 36px 48px; text-align: center; }
.footer-logo { display: inline-flex; flex-direction: column; align-items: center; gap: 18px; }
.footer-logo svg { height: 72px; width: auto; }
.footer-logo .heart-fill { fill: var(--green-deep); }
.footer-logo .ecg-line { stroke: var(--paper); }
.footer-slogan {
  font-family: var(--serif); font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: -0.01em; max-width: 640px; margin: 22px auto 0;
  text-wrap: balance;
}
.footer-slogan em { font-style: italic; color: var(--green); }
.footer-links { display: flex; gap: 28px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.footer-links a { font-size: 13.5px; font-weight: 500; color: var(--text-dim); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--ink); }
.footer-legal { font-size: 12px; color: #9aa89a; margin-top: 44px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav { padding: 14px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero { padding: 110px 20px 0; }
  .hero-sub { font-size: 15.5px; }
  .hero-ecg { bottom: 13vh; }
  .section { padding: 76px 20px; }
  .plan-row-head { grid-template-columns: 40px 1fr auto; gap: 14px; padding: 22px 2px; }
  .plan-body-grid { grid-template-columns: 1fr; gap: 26px; padding: 2px 2px 34px 56px; }
  .scott-grid { grid-template-columns: 1fr; gap: 44px; }
  .scott-stamp { top: -22px; right: -6px; width: 88px; height: 88px; }
  .tst-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-wrap { grid-template-columns: 1fr; padding: 44px 26px; gap: 44px; border-radius: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .stat .num { font-size: 30px; }
  .map-panel { padding: 24px 22px; }
}
