/* ============================================================
   Helix Scholars — stylesheet
   Palette: deep navy-blue primary + red accent (DNA double-helix
   strands), on a cool off-white ground.
   NOTE: for backwards-compatibility the variable is still named
   --teal (it now holds the primary BLUE) and --gold (now the RED
   accent). Change the values below to re-theme the whole site.
   ============================================================ */

:root {
  --ink:        #15233D;   /* near-black navy for text         */
  --teal:       #1E3F7A;   /* primary brand BLUE               */
  --teal-deep:  #142B54;   /* darker blue for sections         */
  --teal-soft:  #2E5BA6;   /* hover / lighter blue             */
  --gold:       #C0392B;   /* RED accent (DNA strand)          */
  --gold-deep:  #9C2B20;   /* deeper red for hovers            */
  --paper:      #F6F8FC;   /* page background (cool off-white) */
  --paper-2:    #EBF0F8;   /* alt section background           */
  --card:       #FFFFFF;
  --line:       #DCE3EF;   /* hairline borders                 */
  --muted:      #586377;   /* secondary text                  */
  --shadow:     0 18px 50px -24px rgba(18, 33, 61, 0.40);
  --shadow-sm:  0 8px 24px -16px rgba(18, 33, 61, 0.32);
  --radius:     18px;
  --radius-sm:  12px;
  --maxw:       1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 600; font-size: 0.98rem;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--teal-soft); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-deep); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--small { padding: 9px 16px; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 241, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Fraunces", serif; font-weight: 600; font-size: 1.3rem; color: var(--teal); }
.brand__mark { color: var(--teal); display: inline-flex; }
.brand__name-2 { color: var(--gold-deep); }
.brand__lockup { display: flex; flex-direction: column; line-height: 1; }
.brand__suffix { font-family: "Inter", sans-serif; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.brand--light .brand__suffix { color: #9FB2C9; }
.brand--light, .brand--light .brand__mark { color: #fff; }
.brand--light .brand__name-2 { color: var(--gold); }

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { font-size: 0.95rem; font-weight: 500; color: var(--ink); transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--teal); }
.nav__cta { color: #fff !important; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 60px; background:
  radial-gradient(1200px 500px at 85% -5%, rgba(30,63,122,0.07), transparent 60%),
  radial-gradient(900px 400px at 5% 110%, rgba(192,57,43,0.08), transparent 55%);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero__lead { font-size: 1.13rem; color: var(--muted); max-width: 33em; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.hero__trust { list-style: none; display: flex; gap: 30px; padding: 24px 0 0; margin: 0; border-top: 1px solid var(--line); }
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust strong { font-family: "Fraunces", serif; font-size: 1.5rem; color: var(--teal); line-height: 1; }
.hero__trust span { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }

.hero__media { display: flex; justify-content: center; }
.hero__photo { position: relative; width: min(100%, 420px); }
.hero__photo img {
  width: 100%; border-radius: 26px; object-fit: cover; aspect-ratio: 4/5;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
}
.hero__badge {
  position: absolute; left: -14px; bottom: 26px;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px; font-size: 0.82rem; font-weight: 600;
  box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero__badge-dot { width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 4px rgba(46,204,113,0.18); }

/* ---------- Credential strip ---------- */
.strip { background: var(--teal-deep); color: #EAF3F2; }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 24px; text-align: center; }
.strip__item { font-size: 0.82rem; color: #A9C6C4; display: flex; flex-direction: column; gap: 3px; }
.strip__num { font-family: "Fraunces", serif; font-size: 1.18rem; color: #fff; font-weight: 600; }
.strip__item + .strip__item { border-left: 1px solid rgba(255,255,255,0.10); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--alt { background: var(--paper-2); }
.section__head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section__sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; object-position: center 18%; width: 100%; }
.about__sig {
  position: absolute; right: -10px; bottom: -18px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 18px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.about__sig-name { font-family: "Fraunces", serif; font-weight: 600; color: var(--teal); }
.about__sig-role { font-size: 0.78rem; color: var(--muted); }
.about__copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.about__copy p { color: #3a4453; }
.about__points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.about__points li { position: relative; padding-left: 30px; color: var(--ink); font-weight: 500; }
.about__points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: 0.7rem;
  display: grid; place-items: center;
}

/* Education / credential row */
.edu { margin-top: 60px; padding-top: 38px; border-top: 1px solid var(--line); }
.edu__label { display: block; text-align: center; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.edu__row { display: flex; align-items: flex-start; justify-content: center; gap: 40px; flex-wrap: wrap; }
.edu__item { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 200px; text-align: center; }
.edu__card {
  position: relative; overflow: hidden; flex-shrink: 0;
  width: 172px; height: 90px; border-radius: 14px;
  display: grid; place-items: center; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.edu__mono { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.15rem; color: var(--teal); }
/* When a real logo file exists it loads on top of the monogram; if missing it removes itself */
.edu__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; background: #fff; }
.edu__item figcaption { font-size: 0.85rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 720px) { .edu__row { gap: 26px 30px; } }

/* ---------- Cards / subjects ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.subject__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(140deg, var(--teal), var(--teal-soft));
  color: #fff; font-size: 1.5rem; display: grid; place-items: center; margin-bottom: 16px;
}
.subject__icon svg { width: 26px; height: 26px; }
.subject h3 { font-size: 1.35rem; margin-bottom: 6px; }
.subject p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.subjects__foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 36px; }
.pill { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 0.86rem; font-weight: 500; color: var(--teal); }
.section--alt .pill { background: var(--paper); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { padding: 28px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; }
.step__num { font-family: "Fraunces", serif; font-size: 2.4rem; color: var(--gold); font-weight: 600; line-height: 1; display: block; margin-bottom: 12px; }
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative; }
.price--featured { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-8px); }
.price__flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.price__name { font-size: 1.2rem; margin-bottom: 12px; }
.price__amount { font-family: "Fraunces", serif; font-size: 2.7rem; font-weight: 600; color: var(--ink); line-height: 1; display: flex; align-items: baseline; gap: 2px; }
.price__cur { font-size: 1.4rem; color: var(--teal); }
.price__per { font-family: "Inter", sans-serif; font-size: 0.9rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.price__note { font-size: 0.88rem; color: var(--gold-deep); font-weight: 600; margin: 8px 0 18px; }
.price__note s { color: var(--muted); font-weight: 400; }
.price__list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; }
.price__list li { position: relative; padding-left: 24px; font-size: 0.92rem; color: #3a4747; }
.price__list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.pricing__fineprint { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 28px; }

/* ---------- Booking ---------- */
.book__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: start; }
.scheduler-embed { max-width: 900px; margin: 0 auto; }

.cal { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal__title { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.15rem; }
.cal__nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 1.2rem; cursor: pointer; color: var(--teal); transition: .2s; }
.cal__nav:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__dow span { text-align: center; font-size: 0.72rem; font-weight: 600; color: var(--muted); padding-bottom: 6px; }
.cal__cell { aspect-ratio: 1; border: 1px solid transparent; border-radius: 10px; background: var(--paper); font-size: 0.92rem; font-weight: 500; color: var(--ink); cursor: pointer; transition: .15s; }
.cal__cell:hover:not(:disabled) { background: var(--teal); color: #fff; }
.cal__cell:disabled { color: #C4C9C4; background: transparent; cursor: default; }
.cal__cell.is-empty { background: transparent; border: none; cursor: default; }
.cal__cell.is-selected { background: var(--teal); color: #fff; box-shadow: 0 6px 14px -6px rgba(30,63,122,0.55); }
.cal__cell.is-today { border-color: var(--gold); }

.cal__slots { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.cal__slots-label { font-size: 0.9rem; color: var(--muted); margin-bottom: 12px; }
.cal__slots-label strong { color: var(--teal); }
.cal__slot-list { display: flex; flex-wrap: wrap; gap: 8px; }
.cal__slot { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 16px; font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: .15s; }
.cal__slot:hover { border-color: var(--teal); color: var(--teal); }
.cal__slot.is-selected { background: var(--teal); color: #fff; border-color: var(--teal); }
.cal__hint { font-size: 0.82rem; color: var(--muted); margin: 16px 0 0; }

/* ---------- Form ---------- */
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form label { display: flex; flex-direction: column; font-size: 0.85rem; font-weight: 600; color: var(--ink); gap: 7px; }
.form__full { margin-bottom: 16px; }
.opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  font-family: "Inter", sans-serif; font-size: 0.95rem; font-weight: 400;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30,63,122,0.16); background: #fff;
}
.form input[readonly] { background: #F0F4F3; color: var(--teal); font-weight: 600; }

/* Package picker (cards instead of a dropdown) */
.pkgpick__label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.pkgpick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pkgpick__opt { cursor: pointer; display: block; }
.pkgpick__opt input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.pkgpick__card { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.pkgpick__opt:hover .pkgpick__card { border-color: var(--teal); }
.pkgpick__opt input:checked + .pkgpick__card { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(30,63,122,0.14); }
.pkgpick__opt input:focus-visible + .pkgpick__card { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30,63,122,0.20); }
.pkgpick__name { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.pkgpick__price { font-family: "Fraunces", serif; font-weight: 600; color: var(--teal); font-size: 1.05rem; }
.pkgpick__summary { margin: 12px 0 0; font-size: 0.88rem; color: var(--muted); min-height: 1.2em; }
.pkgpick__summary strong { color: var(--teal); }
@media (max-width: 560px) { .pkgpick { grid-template-columns: repeat(2, 1fr); } }
.form textarea { resize: vertical; }
.form__status { text-align: center; font-size: 0.92rem; font-weight: 600; margin: 14px 0 0; min-height: 1.2em; }
.form__status.is-ok { color: var(--teal); }
.form__status.is-err { color: #c0392b; }
.form__alt { text-align: center; font-size: 0.88rem; color: var(--muted); margin: 12px 0 0; }
.form__alt a { color: var(--teal); font-weight: 600; }
.form__privacy { text-align: center; font-size: 0.78rem; color: var(--muted); margin: 8px 0 0; }

/* ---------- Medicine Pathway ---------- */
.medicine { background: linear-gradient(150deg, var(--teal-deep), var(--teal)); color: #EAF3F2; }
.medicine .section__head { margin-bottom: 44px; }
.medicine h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.7rem); }
.medicine .section__sub { color: #C7DCDA; }
.medicine__intro { max-width: 46em; }
.medicine__scores { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; padding: 0; }
.medicine__scores li { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; padding: 9px 18px; font-size: 0.92rem; color: #EAF1FB; }
.medicine__scores strong { color: var(--gold); font-weight: 700; margin-right: 4px; }
.medicine strong { color: #fff; }

.med-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.med-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: 26px 26px 24px; position: relative; transition: background .2s ease, border-color .2s ease; }
.med-card:hover { background: rgba(255,255,255,0.10); border-color: rgba(192,57,43,0.55); }
.med-card__num { font-family: "Fraunces", serif; font-size: 0.95rem; font-weight: 600; color: var(--gold); }
.med-card h3 { color: #fff; font-size: 1.3rem; margin: 6px 0 8px; }
.med-card p { color: #C7DCDA; font-size: 0.96rem; margin: 0; }

.med-cta { text-align: center; margin-top: 36px; }
.med-prices { list-style: none; margin: 0 auto 22px; padding: 0; max-width: 600px; display: grid; gap: 9px; }
.med-prices li { color: #C7DCDA; font-size: 1rem; }
.med-prices strong { color: var(--gold); font-weight: 700; margin-right: 4px; }

/* Weekend-rate note under the calendar slots */
.cal__rate { margin: 14px 0 0; font-size: 0.84rem; font-weight: 600; color: var(--teal); background: #EAF1FB; border: 1px solid #CFE0F5; border-radius: 10px; padding: 8px 12px; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq__item summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.4rem; color: var(--teal); font-weight: 400; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); margin: 0 0 16px; font-size: 0.96rem; }

/* ---------- Floating WhatsApp button ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(0,0,0,0.4); transition: transform .15s ease; }
.wa-float:hover { transform: scale(1.07); color: #fff; }
@media (max-width: 680px) { .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; } }

/* ---------- Testimonials ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.review__stars { color: #ECA72C; letter-spacing: 2px; font-size: 1.05rem; }
.review blockquote { margin: 0; font-size: 1.02rem; color: #3a4453; line-height: 1.55; font-style: italic; flex: 1; }
.review figcaption { font-size: 0.86rem; font-weight: 600; color: var(--teal); }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ---------- Final CTA ---------- */
.cta { background: var(--paper-2); padding: 80px 0; }
.cta__inner { text-align: center; max-width: 620px; margin: 0 auto; }
.cta h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.cta p { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #B9C9C8; padding: 56px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer__brand p { margin-top: 14px; max-width: 28em; font-size: 0.95rem; }
.footer__col h4 { color: #fff; font-family: "Inter", sans-serif; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.footer__col a, .footer__col span { display: block; font-size: 0.94rem; margin-bottom: 9px; color: #B9C9C8; transition: color .2s; }
.footer__col a:hover { color: var(--gold); }
.footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 22px; font-size: 0.82rem; color: #8FA2A1; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero__inner, .about__grid, .book__grid, .medicine__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__media { order: -1; }
  .hero__photo { width: min(100%, 360px); }
  .about__media { max-width: 360px; margin: 0 auto; }
  .cards, .steps, .pricing { grid-template-columns: repeat(2, 1fr); }
  .price--featured { transform: none; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .strip__item:nth-child(odd) { border-left: none; }
  .strip__item:nth-child(3) { border-left: none; }
  .medicine__art { display: none; }
}

/* Collapse the nav to a hamburger before the links crowd the brand/CTA */
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 70px 0 auto 0;
    background: var(--paper); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 0 18px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transform: translateY(-130%); transition: transform .3s ease; visibility: hidden;
  }
  .nav__links.is-open { transform: translateY(0); visibility: visible; }
  .nav__links a:not(.btn) { padding: 14px 24px; font-size: 1.05rem; }
  .nav__cta { margin: 10px 24px 0; text-align: center; }
  .nav__toggle { display: flex; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 680px) {
  .section { padding: 60px 0; }
  .cards, .steps, .pricing, .form__row, .med-cards { grid-template-columns: 1fr; }
  .hero__trust { gap: 18px; flex-wrap: wrap; }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
}
