/* =========================================================
   SF Chiro Sports — Light, Shopify-style theme
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f9fa;
  --bg-muted: #eef4f5;
  --ink: #1e3d6b;            /* navy — from logo */
  --ink-2: #2a4d7b;
  --ink-deep: #13294d;       /* darker navy for dark sections */
  --muted: #6b7a8f;
  --line: #dde5ec;
  --line-2: #eaf0f4;

  --brand: #20b2aa;          /* teal — from logo */
  --brand-700: #168d86;
  --brand-50: #e4f6f5;
  --accent: #1e3d6b;         /* navy accent */
  --accent-50: #e8eff7;
  --blue: #2a4d7b;
  --blue-50: #e8eff7;
  --violet: #4c6fa5;
  --violet-50: #eaf0f8;
  --pink: #3f8fb3;
  --pink-50: #e7f2f7;
  --teal: #20b2aa;
  --teal-50: #e4f6f5;

  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 10px 30px rgba(15, 23, 42, .06);
  --shadow-lg: 0 30px 60px rgba(15, 23, 42, .10);

  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-sans);

  --container: 1500px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-size: 16px;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: .95rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2); }
p  { margin: 0 0 1rem; color: var(--ink-2); }

.container {
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
}

/* Utility */
.text-accent { color: var(--brand); display: block; }
.muted { color: var(--muted); }
.link { color: var(--brand-700); font-weight: 600; }
.link:hover { text-decoration: underline; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-50);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(16,185,129,.18);
}
.eyebrow--light { color: #fff; background: rgba(255,255,255,.12); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--sm { padding: 10px 16px; font-size: .88rem; }
.btn--block { display: flex; width: 100%; }
.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--brand);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost.btn--light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost.btn--light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* Announcement */
.announce {
  background: var(--ink);
  color: #fff;
  font-size: .86rem;
}
.announce__row {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 10px 0;
  flex-wrap: wrap;
  text-align: center;
}
.announce__cta {
  color: var(--brand);
  font-weight: 600;
}
.announce__cta:hover { text-decoration: underline; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand__logo {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
}
.brand__logo--light { height: 64px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__links > a {
  padding: 10px 14px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink-2);
  border-radius: 10px;
}
.nav__links > a:hover { color: var(--ink); background: var(--bg-soft); }
.nav__links > a.btn { padding: 10px 16px; color: #fff; }
.nav__links > a.btn:hover { color: #fff; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background .2s, border-color .2s;
  flex: none;
}
.nav__toggle:hover { background: var(--bg-muted); border-color: var(--ink-2); }
.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .3s ease, opacity .2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero {
  padding: 60px 0 40px;
  background:
    radial-gradient(1000px 500px at 85% -20%, var(--brand-50), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, var(--accent-50), transparent 60%),
    var(--bg);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero__copy h1 em { font-style: normal; }
.lede {
  font-size: 1.1rem;
  color: var(--ink-2);
  max-width: 540px;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 34px;
}
.hero__stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 520px;
}
.hero__stats li {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.hero__stats strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 700;
}
.hero__stats span { color: var(--muted); font-size: .82rem; }

.hero__visual {
  position: relative;
  min-height: 460px;
}
.hero__image {
  position: relative;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.hero__image-inner {
  border-radius: 20px;
  overflow: hidden;
  background: #e8f5f1;
  aspect-ratio: 4 / 4.2;
}
.hero__image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  z-index: 2;
  min-width: 210px;
}
.hero__card--rating {
  bottom: 28px; left: -22px;
  animation: floaty 6s ease-in-out infinite;
}
.hero__card--rating .stars { color: #f59e0b; font-size: 1rem; margin-bottom: 4px; }
.hero__card--rating p { font-size: .9rem; margin: 0 0 2px; font-weight: 600; }
.hero__card--rating small { color: var(--muted); }

/* Sections */
.section {
  padding: 96px 0;
}
.section--muted { background: var(--bg-soft); }
.section--dark {
  background: linear-gradient(180deg, var(--ink-deep), #1a3562);
  color: #fff;
}
.section--dark h2 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.75); }

.section__head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section__head p { color: var(--muted); font-size: 1.05rem; }
.section__head--light p { color: rgba(255,255,255,.7); }

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-muted);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card__media img { transform: scale(1.04); }
.card__body {
  padding: 22px 24px 26px;
}
.card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin: -44px 0 14px;
  background: #fff;
  border: 6px solid #fff;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}
.icon-green  { background: var(--brand-50); color: var(--brand-700); }
.icon-orange { background: var(--accent-50); color: var(--ink); }
.icon-blue   { background: var(--blue-50); color: var(--ink-deep); }
.icon-pink   { background: var(--brand-50); color: var(--brand-700); }
.icon-teal   { background: var(--teal-50); color: var(--brand-700); }
.icon-violet { background: var(--violet-50); color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Split sections */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split--start { align-items: start; }
.split__text h2 { max-width: 520px; }
.split__panel { position: relative; }
.approach-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: -40px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  background: var(--bg-muted);
}
.approach-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.approach-media:hover img { transform: scale(1.03); }
.approach-media__tag {
  position: absolute;
  left: 18px; bottom: 18px;
  background: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.approach-media__tag span { color: #f59e0b; font-weight: 700; }
.approach-media__tag small { color: var(--muted); font-size: .78rem; margin-top: 3px; }
.split__panel .panel {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  margin: 0 20px;
}
.panel__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 8px;
  border-bottom: 1px dashed var(--line-2);
}
.panel__row:last-child { border-bottom: 0; }
.panel__row p { margin: 0; font-weight: 500; }
.pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pill--green  { background: var(--brand-50); color: var(--brand-700); }
.pill--orange { background: var(--accent-50); color: var(--ink); }
.pill--blue   { background: var(--blue-50); color: var(--ink-deep); }
.pill--violet { background: var(--brand-50); color: var(--brand-700); }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-2);
  font-size: .95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2320b2aa'><path d='M7.6 13.2 4.4 10l1.4-1.4 1.8 1.8 5.6-5.6L14.6 6z'/></svg>") center/12px no-repeat;
}

/* Doctor card */
.doc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 18px;
  max-width: 400px;
}
.doc-card__photo {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-muted);
}
.doc-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.doc-card__meta strong { font-family: var(--font-display); font-size: 1.25rem; display: block; }
.doc-card__meta span { color: var(--muted); font-size: .9rem; }
.doc-card__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-2);
}

.quote {
  margin-top: 18px;
  padding: 18px 18px 18px 54px;
  background: var(--brand-50);
  border-radius: 14px;
  position: relative;
  font-weight: 500;
  color: var(--ink);
}
.quote svg { position: absolute; top: 18px; left: 18px; }
.quote p { margin: 0; }

/* Process — dark */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: background .2s, transform .2s;
}
.step:hover { background: rgba(255,255,255,.07); transform: translateY(-2px); }
.step__num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--brand);
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: .05em;
}
.step h3 { color: #fff; margin-bottom: 6px; }
.step p { color: rgba(255,255,255,.72); margin: 0; font-size: .95rem; }

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin: 0;
}
.review .stars { color: #f59e0b; font-size: 1.05rem; margin-bottom: 10px; }
.review blockquote {
  margin: 0 0 14px;
  font-size: 1.02rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.55;
}
.review figcaption { color: var(--muted); font-size: .9rem; }

/* Plans */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.plan h3 { margin-bottom: 6px; font-size: 1.25rem; }
.plan__desc { color: var(--muted); margin-bottom: 18px; }
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
  flex: 1;
}
.plan ul li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
  font-size: .95rem;
}
.plan ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2320b2aa'><path d='M7.6 13.2 4.4 10l1.4-1.4 1.8 1.8 5.6-5.6L14.6 6z'/></svg>") center/16px no-repeat;
}
.plan--featured {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, #fff, #f7fbf9);
  transform: translateY(-6px);
}
.plan__tag {
  position: absolute;
  top: -12px; left: 28px;
  background: var(--ink);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.faq__list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 20px;
  margin-bottom: 12px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.faq__list details[open] {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.faq__list summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brand);
  font-weight: 400;
  transition: transform .25s ease;
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { margin: 0 0 16px; color: var(--muted); }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.info-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.info-list li {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 14px;
}
.info-list__icon {
  width: 40px; height: 40px;
  flex: none;
  display: grid; place-items: center;
  background: var(--brand-50);
  border-radius: 10px;
  font-size: 1.2rem;
}
.info-list strong { display: block; margin-bottom: 3px; }

.contact__form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact__form h3 { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; }
.field > span {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(16,185,129,.12);
}
.form__note {
  margin: 10px 0 0;
  font-size: .9rem;
  color: var(--brand-700);
  min-height: 1.2em;
}

/* Final CTA */
.cta {
  position: relative;
  padding: 80px 0;
  background:
    linear-gradient(100deg, rgba(19,41,77,.94) 0%, rgba(19,41,77,.80) 55%, rgba(32,178,170,.65) 100%),
    url("assets/img/approach.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% 50%, rgba(32,178,170,.25), transparent 60%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; }
.cta__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { color: rgba(255,255,255,.75); margin: 0; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.footer {
  background: #0e2145;
  color: rgba(255,255,255,.78);
  padding: 64px 0 26px;
}
.footer h4 { color: #fff; margin-bottom: 14px; }
.footer p, .footer li { color: rgba(255,255,255,.78); }
.footer a { color: rgba(255,255,255,.82); transition: color .2s; }
.footer a:hover { color: var(--brand); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer__grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.brand--footer { color: #fff; align-items: flex-start; }
.brand--footer .brand__logo {
  background: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  height: 72px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.footer__about {
  font-size: .92rem;
  max-width: 320px;
  margin-top: 18px;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  color: rgba(255,255,255,.62);
  flex-wrap: wrap;
  gap: 8px;
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero { padding: 40px 0 20px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { min-height: 380px; }
  .hero__card--rating { left: 0; }
  .hero__card--hours  { right: 0; }

  .cards, .reviews, .plans, .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .faq, .contact { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links > a { padding: 12px 14px; border-radius: 10px; }
  .nav__links > a.btn { margin-top: 6px; }

  .section { padding: 72px 0; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .brand__logo { height: 44px; }
  .brand__logo--light { height: 56px; }
  .approach-media { margin-bottom: 18px; }
  .split__panel .panel { margin: 0; }
}

@media (max-width: 640px) {
  .cards, .reviews, .plans, .steps { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .hero__trust { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .hero__card { min-width: 180px; }
  h1 { font-size: 2rem; }
  .section__head { margin-bottom: 32px; }
}

/* ============ Animations ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes shine {
  0%   { left: -120%; }
  100% { left: 120%; }
}
@keyframes blobShift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(20px, -10px) scale(1.05); }
}

/* Hero entrance — staggered */
.hero__copy .eyebrow { animation: fadeUp .7s .05s both; }
.hero__copy h1      { animation: fadeUp .7s .15s both; }
.hero__copy .lede   { animation: fadeUp .7s .28s both; }
.hero__ctas         { animation: fadeUp .7s .4s both; }
.hero__stats        { animation: fadeUp .7s .52s both; }
.hero__image        { animation: fadeUp .9s .25s both; }

/* Hero background subtle movement */
.hero { animation: fadeIn .9s ease both; }
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .45;
  pointer-events: none;
  z-index: 0;
}
.hero { position: relative; overflow: hidden; }
.hero::before {
  width: 360px; height: 360px;
  background: var(--brand);
  top: -140px; right: -80px;
  opacity: .12;
  animation: blobShift 10s ease-in-out infinite;
}
.hero::after {
  width: 280px; height: 280px;
  background: var(--accent);
  bottom: -100px; left: -60px;
  opacity: .10;
  animation: blobShift 12s ease-in-out infinite reverse;
}
.hero__grid { position: relative; z-index: 1; }

/* Button hover shine */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn--primary:hover::after { animation: shine .8s ease; }

/* Underline grow on nav links */
.nav__links > a:not(.btn) {
  position: relative;
}
.nav__links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
  border-radius: 2px;
}
.nav__links > a:not(.btn):hover::after { transform: scaleX(1); }

/* Section heading smooth rise (applied via JS observer class) */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: translateY(0); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-delay-1 { transition-delay: .08s; }
.reveal.in-delay-2 { transition-delay: .16s; }
.reveal.in-delay-3 { transition-delay: .24s; }

/* Card hover — smoother lift with glow */
.card { transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease; }
.card:hover { box-shadow: 0 20px 50px rgba(30,61,107,.12); }

/* Doc card float */
.doc-card { transition: transform .4s ease; }
.doc-card:hover { transform: translateY(-4px); }

/* FAQ smooth open */
.faq__list details { transition: border-color .25s, box-shadow .25s, background .25s; }
.faq__list details[open] summary::after { transition: transform .3s ease; }
.faq__list details > p { animation: fadeUp .35s ease both; }

/* Step hover */
.step { transition: background .25s, transform .25s cubic-bezier(.2,.8,.2,1); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
