/* ============================================================
   Max Health Choices — styles
   ============================================================ */

:root {
  --ink: #10262e;
  --body: #46585f;
  --muted: #6b7d84;
  --brand: #0e9f7e;
  --brand-dark: #0b7f66;
  --brand-deep: #0b2b33;
  --gold: #eab04d;
  --gold-strong: #d99a2b;
  --bg: #ffffff;
  --bg-alt: #f2f7f6;
  --line: #e2ebe9;
  --radius: 16px;
  --shadow-sm: 0 2px 8px rgba(11, 43, 51, 0.07);
  --shadow-md: 0 12px 32px rgba(11, 43, 51, 0.12);
  --font-head: "Sora", "Avenir Next", system-ui, sans-serif;
  --font-body: "Inter", "Helvetica Neue", system-ui, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; font-weight: 700; }

a { color: var(--brand-dark); }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(2.2rem, 5vw, 3.2rem);
  text-align: center;
}
.section-head p:last-child { margin-top: 0.9rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 0.75rem;
}
.eyebrow-gold { color: var(--gold); }

.accent { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-lg { padding: 0.9rem 1.8rem; font-size: 1rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost {
  color: var(--brand-dark);
  border-color: var(--brand);
  background: transparent;
}
.btn-ghost:hover { background: rgba(14, 159, 126, 0.08); }

.btn-light { background: #fff; color: var(--brand-deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
  white-space: nowrap;
}
.brand-accent { color: var(--brand); }
.brand-mark { flex: 0 0 auto; }
.brand-light { color: #fff; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.site-nav > a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav > a:not(.btn):hover { color: var(--brand-dark); }
.site-nav .nav-cta { padding: 0.55rem 1.2rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(14, 159, 126, 0.14), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(11, 110, 143, 0.10), transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.lead { font-size: 1.13rem; margin-top: 1.2rem; max-width: 34rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  margin-top: 1.6rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero-checks li { display: flex; align-items: center; gap: 0.45rem; }
.hero-checks li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 12.5 10 18 20 6"/></svg>') center/11px no-repeat;
}

.hero-media { position: relative; }
.hero-media img {
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.float-card {
  position: absolute;
  left: -18px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 0.85rem 1.1rem;
  max-width: 240px;
  border: 1px solid var(--line);
}
.float-card-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--brand-dark);
}
.float-card-label { font-size: 0.78rem; line-height: 1.35; color: var(--muted); }

/* ---------- Stats ---------- */
.stats {
  background: var(--brand-deep);
  padding: 2.4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--gold);
}
.stat-label { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); letter-spacing: 0.04em; }

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: rgba(14, 159, 126, 0.16);
}
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14, 159, 126, 0.14), rgba(11, 110, 143, 0.14));
  color: var(--brand-dark);
  margin-bottom: 1rem;
}
.step-icon svg, .card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-card p, .card p { margin-top: 0.5rem; font-size: 0.95rem; }
.step-card h3, .card h3 { color: var(--ink); }

/* ---------- Activity cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14, 159, 126, 0.14), rgba(11, 110, 143, 0.14));
  color: var(--brand-dark);
  margin-bottom: 0.9rem;
}

/* Photo strip */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.6rem;
}
.photo-strip figure {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.photo-strip img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.photo-strip figure:hover img { transform: scale(1.05); }
.photo-strip figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 0.9rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(9, 30, 36, 0.85));
}

/* ---------- Rewards (dark) ---------- */
.section-dark {
  background:
    radial-gradient(900px 420px at 110% 0%, rgba(234, 176, 77, 0.10), transparent 55%),
    var(--brand-deep);
}
.section-dark h2 { color: #fff; }
.section-dark .section-head p:last-child { color: rgba(255, 255, 255, 0.72); }

.card-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.card-dark h3 { color: #fff; }
.card-dark p { color: rgba(255, 255, 255, 0.72); }
.card-dark .card-icon {
  background: linear-gradient(135deg, rgba(234, 176, 77, 0.22), rgba(234, 176, 77, 0.08));
  color: var(--gold);
}
.card-dark:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); }

.rewards-grid { grid-template-columns: repeat(3, 1fr); }

.rewards-note {
  margin-top: 2.2rem;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Employers ---------- */
.employer-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.employer-media img {
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.employer-copy > p { margin-top: 0.9rem; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 1.8rem;
  display: grid;
  gap: 0.9rem;
}
.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.97rem;
}
.check-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--brand) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 12.5 10 18 20 6"/></svg>') center/12px no-repeat;
}
.check-list strong { color: var(--ink); }

/* ---------- Testimonials ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.quote-card blockquote {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink);
  position: relative;
}
.quote-card blockquote::before {
  content: "“";
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  line-height: 0.6;
  color: var(--brand);
  margin-bottom: 0.6rem;
}
.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: auto;
}
.quote-card strong { color: var(--ink); }
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #0b6e8f);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(14, 159, 126, 0.35), transparent 60%),
    linear-gradient(120deg, #0b6e8f 0%, var(--brand-deep) 70%);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.8); margin-top: 0.5rem; max-width: 34rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-copy > p { margin-top: 0.9rem; }
.contact-facts {
  list-style: none;
  padding: 0;
  margin-top: 1.6rem;
  display: grid;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.contact-facts li { padding-left: 1.4rem; position: relative; }
.contact-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
}

.contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: grid;
  gap: 1.1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfddd9;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14, 159, 126, 0.18);
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { justify-self: start; }
.form-success { color: var(--brand-dark); font-weight: 600; font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #081f25;
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 2.4rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}
.footer-brand p { margin-top: 0.9rem; max-width: 22rem; }
.footer-nav { display: grid; gap: 0.6rem; }
.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  width: fit-content;
}
.footer-nav a:hover { color: #fff; }
.footer-contact p:first-child { margin-bottom: 1rem; }
.footer-fine {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn, .photo-strip img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .rewards-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .float-card { left: 14px; }
  .employer-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.6rem 4% 1.2rem;
  }
  .site-nav > a { padding: 0.8rem 0.4rem; }
  .site-nav .nav-cta { margin-top: 0.6rem; text-align: center; }
  .site-header.nav-open .site-nav { display: flex; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 620px) {
  .cards-grid, .rewards-grid, .photo-strip, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .float-card { max-width: 210px; bottom: 14px; }
}

/* ---------- Enrollment result page ---------- */
.result-hero {
  padding: clamp(3.5rem, 9vw, 6rem) 0 clamp(4.5rem, 11vw, 7rem);
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(14, 159, 126, 0.14), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(11, 110, 143, 0.10), transparent 60%),
    var(--bg);
}
.result-card {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: clamp(2.2rem, 6vw, 3.4rem);
  text-align: center;
}
.result-card h1 { margin-top: 1.4rem; }
.result-card .lead { margin-inline: auto; margin-bottom: 0.9rem; }
.result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #0b6e8f);
  color: #fff;
  box-shadow: 0 10px 26px rgba(14, 159, 126, 0.35);
}
.result-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.8rem;
}
.result-note {
  margin-top: 1.6rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.footer-simple { text-align: center; }
