/* ============================================================
   THE HUFFAZ GROUP — SHARED DESIGN SYSTEM
   One design language across every website in the ecosystem.
   Tokens: Teal #006D77 · Gold #E9C46A · Off-white #FAF9F6
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --teal: #006D77;
  --teal-deep: #05525A;
  --teal-ink: #073B40;
  --teal-soft: #E8F1F1;
  --gold: #E9C46A;
  --gold-deep: #C99B3F;
  --gold-soft: #FBF3DF;
  --off: #FAF9F6;
  --white: #FFFFFF;
  --ink: #1F2D2E;
  --muted: #55696A;
  --line: #E7E3DA;
  --line-teal: #D3E2E2;
  --wa: #1D9E5F;
  --wa-deep: #157A48;
  --danger: #B3423A;
  --shadow-sm: 0 1px 2px rgba(7, 59, 64, .06), 0 2px 8px rgba(7, 59, 64, .05);
  --shadow-md: 0 2px 6px rgba(7, 59, 64, .07), 0 12px 32px rgba(7, 59, 64, .10);
  --shadow-lg: 0 4px 12px rgba(7, 59, 64, .10), 0 24px 56px rgba(7, 59, 64, .14);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --font: "Avenir Next", "Segoe UI", "SF Pro Text", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --topbar-h: 38px;
  --header-h: 72px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--off);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -0.018em; color: var(--teal-ink); font-weight: 700; }
h1 { font-size: clamp(2.05rem, 4.4vw, 3.15rem); letter-spacing: -0.024em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.03rem; }
p { margin: 0 0 1em; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
strong { color: var(--teal-ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--teal-ink); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--teal-ink); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tint { background: var(--teal-soft); }
.section--white { background: var(--white); }
.section--deep { background: var(--teal-ink); color: #DCE9E9; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--gold { background: var(--gold-soft); }
.section--tight { padding: 56px 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.narrow { max-width: 780px; margin: 0 auto; }
.center { text-align: center; }
.sec-head { max-width: 720px; margin: 0 auto 48px; }
.sec-head--left { margin-left: 0; }
.sec-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.sec-head--deep p, .section--deep .sec-head p { color: #B8CDCD; }

/* ---------- Kicker / badges / chips ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.kicker--center { justify-content: center; }
.section--deep .kicker { color: var(--gold); }
.badge {
  display: inline-block; padding: .28rem .8rem; border-radius: 999px;
  font-size: .76rem; font-weight: 700; letter-spacing: .04em;
  background: var(--gold-soft); color: var(--gold-deep); border: 1px solid #EFDDB2;
}
.badge--teal { background: var(--teal-soft); color: var(--teal); border-color: var(--line-teal); }
.badge--muted { background: #F1EFE9; color: var(--muted); border-color: var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem 1rem; font-size: .88rem; font-weight: 600; color: var(--teal-ink);
  box-shadow: var(--shadow-sm);
}
.chip svg { width: 16px; height: 16px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: .95rem; font-weight: 700; letter-spacing: .01em;
  padding: .82rem 1.5rem; border-radius: 12px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  line-height: 1.2; text-align: center;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-deep); }
.btn-gold { background: var(--gold); color: var(--teal-ink); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: #EFD07E; }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal-soft); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: var(--shadow-sm); }
.btn-wa:hover { background: var(--wa-deep); }
.btn-lg { font-size: 1.02rem; padding: 1rem 1.9rem; border-radius: 14px; }
.btn-sm { font-size: .84rem; padding: .55rem 1rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row--center { justify-content: center; }

/* Google button */
.btn-google {
  background: #fff; color: #3C4043; border: 1.5px solid #DADCE0;
  box-shadow: none; font-weight: 600;
}
.btn-google:hover { background: #F7F8F8; }

/* ---------- Top utility bar (network) ---------- */
.topbar { background: var(--teal-ink); color: #C8DADA; font-size: .8rem; }
.topbar__inner { display: flex; align-items: center; gap: 22px; min-height: var(--topbar-h); }
.topbar a { color: #C8DADA; font-weight: 600; padding: 8px 0; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar a[aria-current="true"] { color: var(--gold); }
.topbar__sep { width: 1px; height: 16px; background: rgba(255,255,255,.18); }
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.topbar__right .btn { padding: .3rem .85rem; font-size: .76rem; border-radius: 8px; }
.topbar__label { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; color: #8FB0B0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 26px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; }
.brand__mark { width: 44px; height: 54px; object-fit: contain; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name { font-weight: 800; color: var(--teal-ink); font-size: 1.02rem; letter-spacing: .02em; }
.brand__sub { font-size: .74rem; font-weight: 600; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.main-nav { margin-left: auto; display: flex; align-items: center; }
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .6rem 1.15rem; border-radius: 12px; border: 2px solid transparent;
  font-size: .87rem; font-weight: 700; color: var(--teal);
  line-height: 1.2; white-space: nowrap;
}
.main-nav a:hover { background: var(--teal-soft); color: var(--teal); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--teal); background: var(--teal-soft); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { padding: .6rem 1.15rem; font-size: .87rem; white-space: nowrap; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px; border: 1.5px solid var(--line);
  background: #fff; color: var(--wa); transition: background .15s;
}
.icon-btn:hover { background: #EFF8F3; }
.auth-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: .34rem .8rem .34rem .4rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  font-size: .85rem; font-weight: 700; color: var(--teal-ink);
}
.auth-chip:hover { background: var(--teal-soft); text-decoration: none; }
.auth-chip__avatar {
  width: 27px; height: 27px; border-radius: 50%; background: var(--gold);
  color: var(--teal-ink); display: inline-flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 800;
}
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 11px; border: 1.5px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--teal-ink);
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 120; background: rgba(7,59,64,.45);
}
.mobile-menu.open { display: block; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 92vw);
  background: #fff; padding: 20px 22px 40px; overflow-y: auto;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mobile-menu__close { width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--teal-ink); display: flex; align-items: center; justify-content: center; }
.mobile-menu a.mnav {
  display: block; padding: .8rem .6rem; border-radius: 10px; font-weight: 700; color: var(--teal-ink);
  border-bottom: 1px solid #F1EFE9; font-size: 1rem;
}
.mobile-menu a.mnav:hover { background: var(--teal-soft); text-decoration: none; }
.mobile-menu .mnav-label { margin: 18px 0 8px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mobile-menu .btn { margin-top: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 480px at 88% -10%, rgba(233,196,106,.16), transparent 60%),
    radial-gradient(900px 420px at -8% 110%, rgba(0,109,119,.08), transparent 55%),
    var(--off);
  padding: 92px 0 96px;
  border-bottom: 1px solid var(--line);
}
.hero--pattern::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--pattern-star); background-size: 84px 84px;
  opacity: .5; mask-image: linear-gradient(to left, black, transparent 55%);
  -webkit-mask-image: linear-gradient(to left, black, transparent 55%);
}
.hero__inner { position: relative; z-index: 1; max-width: 760px; }
.hero--center .hero__inner { margin: 0 auto; text-align: center; }
.hero--center .kicker { justify-content: center; }
.hero--center .btn-row, .hero--center .chips { justify-content: center; }
.hero p.lede { font-size: clamp(1.05rem, 1.6vw, 1.24rem); color: var(--muted); max-width: 640px; margin: 0 0 30px; }
.hero--center p.lede { margin-left: auto; margin-right: auto; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .tagline {
  display: inline-flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 22px;
  font-weight: 700; color: var(--teal); font-size: .95rem; letter-spacing: .02em;
}
.hero .tagline span { display: inline-flex; align-items: center; gap: 8px; }
.hero .tagline span::before { content: "✦"; color: var(--gold-deep); font-size: .8em; }
.hero--compact { padding: 64px 0 68px; }
.hero--deep {
  background: radial-gradient(1000px 500px at 85% -20%, rgba(233,196,106,.14), transparent 60%), var(--teal-ink);
  border-bottom: 0; color: #fff;
}
.hero--deep::after { background-image: var(--pattern-star-gold); opacity: .35; }
.hero--deep h1 { color: #fff; }
.hero--deep p.lede { color: #B9CECE; }
.hero--deep .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #E7F0F0; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 28px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .97rem; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: .92rem; }
.card-link::after { content: "→"; transition: transform .15s; }
.card--hover:hover .card-link::after { transform: translateX(4px); }
.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; background: var(--teal-soft); color: var(--teal);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--gold { background: var(--gold-soft); color: var(--gold-deep); }
.icon-badge--arch { border-radius: 999px 999px 12px 12px; }
.card--deep { background: var(--teal-ink); border-color: var(--teal-ink); color: #CFE0E0; }
.card--deep h3 { color: #fff; }
.card--deep p { color: #A9C3C3; }

/* Programme card with arch art */
.prog-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.prog-card__art {
  height: 148px; display: flex; align-items: center; justify-content: center;
  border-radius: 999px 999px 0 0; margin: 18px 18px 0; flex: none;
}
.prog-card__art svg { width: 54px; height: 54px; }
.prog-card__body { padding: 20px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.prog-card__body .card-link { margin-top: auto; }

/* ---------- Numbered steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps li {
  counter-increment: step; position: relative; padding: 0 0 34px 74px; margin: 0;
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 2px solid var(--gold); color: var(--teal-ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem; box-shadow: var(--shadow-sm);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 22px; top: 48px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--gold), rgba(233,196,106,.25));
}
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--muted); margin: 0; font-size: .97rem; }
.steps--deep li::before { background: var(--teal-ink); color: var(--gold); }

/* Horizontal journey */
.journey { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }
.journey .j-step {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1.05rem;
  font-size: .86rem; font-weight: 700; color: var(--teal-ink); box-shadow: var(--shadow-sm);
}
.journey .j-step--gold { background: var(--gold-soft); border-color: #EFDDB2; color: var(--gold-deep); }
.journey .j-arrow { color: var(--gold-deep); font-weight: 800; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 700; color: var(--teal-ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--gold-deep); flex: none;
  transition: transform .2s; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 22px 20px; color: var(--muted); }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ---------- Quote / testimonials ---------- */
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 30px; box-shadow: var(--shadow-sm); position: relative;
}
.quote-card::before {
  content: "“"; position: absolute; top: 6px; left: 22px; font-size: 4rem; color: var(--gold);
  font-family: Georgia, serif; line-height: 1;
}
.quote-card blockquote { margin: 26px 0 18px; color: var(--ink); font-size: 1.02rem; }
.quote-card figcaption { font-size: .88rem; color: var(--muted); font-weight: 600; }
.quote-card .placeholder-note {
  display: inline-block; margin-top: 14px; font-size: .74rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--gold-deep); background: var(--gold-soft);
  border: 1px dashed #E4C97F; border-radius: 8px; padding: .3rem .7rem;
}
.pullquote {
  border-left: 4px solid var(--gold); margin: 0; padding: 6px 0 6px 24px;
  font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-style: italic; color: var(--teal-ink);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: radial-gradient(700px 300px at 90% -30%, rgba(233,196,106,.25), transparent 60%), var(--teal);
  color: #fff; padding: 56px 48px; box-shadow: var(--shadow-md);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--pattern-star-gold); background-size: 76px 76px; opacity: .16;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #D4E4E4; max-width: 560px; }
.cta-band .btn-row { margin-top: 26px; }

/* ---------- Pricing ---------- */
.price-hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: stretch;
}
.price-card {
  background: #fff; border: 2px solid var(--gold); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 38px 36px; position: relative; display: flex; flex-direction: column;
}
.price-card__flag {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--teal-ink); border-radius: 999px;
  padding: .32rem 1.1rem; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}
.price-figure { font-size: 3rem; font-weight: 800; color: var(--teal-ink); letter-spacing: -.03em; line-height: 1; margin: 10px 0 4px; }
.price-figure small { font-size: 1.05rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.price-card ul { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 11px; }
.price-card ul li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .96rem; color: var(--ink); }
.price-card ul li svg { width: 19px; height: 19px; color: var(--teal); flex: none; margin-top: 2px; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table th, .price-table td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.price-table th { background: var(--teal-soft); color: var(--teal-ink); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td b { color: var(--teal-ink); }
.table-wrap { overflow-x: auto; border-radius: var(--r-md); }

/* ---------- Gate (sign-in to view) ---------- */
.gate { position: relative; }
.gate__locked {
  background: #fff; border: 1.5px dashed #D9C68F; border-radius: var(--r-lg);
  padding: 52px 32px; text-align: center; max-width: 560px; margin: 0 auto; box-shadow: var(--shadow-sm);
}
.gate__lockicon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
}
.gate__lockicon svg { width: 28px; height: 28px; }
.gate__locked h3 { font-size: 1.35rem; }
.gate__locked p { color: var(--muted); max-width: 400px; margin: 0 auto 24px; }
.gate__content { animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Forms ---------- */
.form-shell {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 40px; max-width: 760px; margin: 0 auto;
}
.form-progress { display: flex; gap: 8px; margin: 0 0 30px; }
.form-progress span { flex: 1; height: 6px; border-radius: 3px; background: #EDEAE2; transition: background .3s; }
.form-progress span.done { background: var(--gold); }
.form-progress span.active { background: var(--teal); }
.fstep { border: 0; margin: 0 0 8px; padding: 0; }
.fstep[hidden] { display: none; }
.fstep legend { font-size: 1.25rem; font-weight: 700; color: var(--teal-ink); margin-bottom: 4px; padding: 0; }
.fstep .fstep__hint { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: .92rem; color: var(--teal-ink); margin-bottom: 7px; }
.field .req { color: var(--gold-deep); }
.opt-tag {
  display: inline-block; margin-left: 8px; font-size: .68rem; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted); background: #F1EFE9; border-radius: 6px; padding: .14rem .5rem; vertical-align: 2px;
}
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="date"], .field input[type="time"], .field input[type="number"],
.field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: #FDFCFA; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: .78rem 1rem; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,109,119,.12);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field .error-msg { display: none; color: var(--danger); font-size: .84rem; font-weight: 600; margin-top: 6px; }
.field.has-error .error-msg { display: block; }
.field .hint { color: var(--muted); font-size: .84rem; margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checks { display: grid; gap: 10px; }
.checks label {
  display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; color: var(--ink);
  background: #FDFCFA; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: .7rem 1rem; cursor: pointer;
}
.checks label:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.checks input { accent-color: var(--teal); width: 18px; height: 18px; }
.fstep-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 8px 0 0; }
.consent input { margin-top: 4px; accent-color: var(--teal); width: 17px; height: 17px; flex: none; }
.hp-field { position: absolute !important; left: -6000px; opacity: 0; height: 0; overflow: hidden; }
.tz-note {
  display: flex; gap: 12px; align-items: flex-start; background: var(--teal-soft);
  border: 1px solid var(--line-teal); border-radius: var(--r-sm); padding: 14px 16px; font-size: .9rem; color: var(--teal-ink);
}
.tz-note svg { width: 20px; height: 20px; flex: none; color: var(--teal); margin-top: 2px; }
.file-drop {
  border: 2px dashed var(--line-teal); border-radius: var(--r-md); background: #FDFCFA;
  padding: 26px; text-align: center; color: var(--muted); font-size: .92rem;
}
.file-drop input { margin-top: 10px; }
.file-drop .file-name { display: block; margin-top: 8px; font-weight: 700; color: var(--teal); }

/* Success panel */
.success-panel { text-align: center; padding: 26px 10px 10px; }
.success-panel .tick {
  width: 84px; height: 84px; border-radius: 50%; background: var(--teal-soft); color: var(--teal);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px;
}
.success-panel .tick svg { width: 42px; height: 42px; }
.success-panel .ref {
  display: inline-block; background: var(--gold-soft); border: 1px solid #EFDDB2; color: var(--gold-deep);
  font-weight: 800; letter-spacing: .08em; border-radius: 10px; padding: .45rem 1.1rem; margin: 10px 0 18px;
}
.success-panel .next { text-align: left; background: #FDFCFA; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 26px; margin-top: 22px; }
.success-panel .next h4 { margin-bottom: 10px; }
.success-panel .next ol { margin: 0; padding-left: 20px; color: var(--muted); font-size: .93rem; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: none; }
.modal.open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(7,59,64,.55); backdrop-filter: blur(3px); }
.modal__card {
  position: relative; z-index: 1; background: #fff; border-radius: var(--r-lg);
  max-width: 440px; margin: 9vh auto 0; padding: 40px 36px 34px; box-shadow: var(--shadow-lg);
  animation: fadeIn .25s ease;
}
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--muted);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.modal__icon {
  width: 58px; height: 58px; border-radius: 16px 16px 16px 4px; background: var(--teal-soft); color: var(--teal);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.modal__icon svg { width: 28px; height: 28px; }
.modal__card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.modal__card .modal__sub { color: var(--muted); font-size: .95rem; margin-bottom: 24px; }
.modal__card .btn { width: 100%; }
.modal__fine { text-align: center; font-size: .8rem; color: var(--muted); margin: 16px 0 0; }
.spinner {
  width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(0,0,0,.15); border-top-color: #3C4043;
  animation: spin .7s linear infinite; display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn__gtext { opacity: .5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-ink); color: #A9C3C3; margin-top: 0; }
.footer__top { padding: 64px 0 48px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: #8FB0B0; }
.footer__brand p { font-size: .92rem; margin-top: 16px; max-width: 300px; }
.footer__patron { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; font-size: .95rem; }
.footer__patron strong { color: var(--gold); font-weight: 800; }
.footer__patron span { color: #8FB0B0; font-size: .82rem; letter-spacing: .04em; }

/* ---------- Leadership card (Head of Islamic Education) ---------- */
.leadership-card {
  display: flex; gap: 26px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: clamp(24px, 4vw, 34px);
}
.leadership-card__avatar {
  width: 88px; height: 88px; border-radius: 50%; flex: none;
  background: var(--gold-soft); border: 2px solid var(--gold);
  display: grid; place-items: center; padding: 14px;
}
.leadership-card__avatar img { width: 100%; height: 100%; object-fit: contain; }
.leadership-card .kicker { margin-bottom: 6px; }
.leadership-card h2 { font-size: 1.45rem; margin-bottom: 2px; }
.leadership-card__role { font-weight: 700; color: var(--gold-deep); font-size: .95rem; margin-bottom: 12px; }
.leadership-card p.lede { max-width: 62ch; }
@media (max-width: 640px) { .leadership-card { flex-direction: column; } }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: #A9C3C3; font-size: .93rem; }
.footer a:hover { color: #fff; text-decoration: none; }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18);
  display: inline-flex; align-items: center; justify-content: center; color: #A9C3C3;
}
.social-row a:hover { color: var(--gold); border-color: var(--gold); }
.social-row svg { width: 17px; height: 17px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between; font-size: .83rem; }
.footer__bottom a { color: #A9C3C3; }
.footer__goldline { height: 3px; background: linear-gradient(90deg, var(--gold), rgba(233,196,106,.15)); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.sticky-cta .btn { flex: 1; padding: .85rem .5rem; font-size: .9rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--teal-ink); color: #fff; padding: .85rem 1.4rem; border-radius: 12px;
  font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0;
  pointer-events: none; transition: opacity .25s, transform .25s; z-index: 200; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--teal); }
.crumbs .sep { color: var(--gold-deep); }
.crumbs [aria-current] { color: var(--teal-ink); font-weight: 700; }

/* ---------- Misc components ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; text-align: center; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: 1.7rem; color: var(--teal); letter-spacing: -.02em; }
.stat span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.notice {
  display: flex; gap: 14px; background: var(--gold-soft); border: 1px solid #EFDDB2;
  border-radius: var(--r-md); padding: 18px 20px; font-size: .93rem; color: #6B5A2B;
}
.notice svg { width: 22px; height: 22px; flex: none; color: var(--gold-deep); margin-top: 2px; }
.notice--teal { background: var(--teal-soft); border-color: var(--line-teal); color: var(--teal-ink); }
.notice--teal svg { color: var(--teal); }
.pillar { text-align: center; padding: 10px 18px; }
.pillar .icon-badge { margin-left: auto; margin-right: auto; }
.divider-star { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold-deep); margin: 8px 0; }
.divider-star::before, .divider-star::after { content: ""; height: 1px; width: 70px; background: var(--line); }
.tag-list { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-list .badge { font-size: .8rem; }

/* Reveal animation (subtle) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn-primary, .header-actions .header-hide-m { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .price-hero { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .hero { padding: 64px 0 68px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .form-shell { padding: 26px 20px; }
  .cta-band { padding: 42px 26px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 74px; }
  .topbar__inner { gap: 14px; }
  .topbar__label { display: none; }
  .topbar a { font-size: .74rem; }
  .topbar__right .topbar-hide-m { display: none; }
}

/* Auth chip dropdown */
.auth-menu { position: relative; }
.auth-menu summary { list-style: none; cursor: pointer; }
.auth-menu summary::-webkit-details-marker { display: none; }
.auth-menu__panel {
  position: absolute; right: 0; top: calc(100% + 8px); background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md);
  padding: 8px; min-width: 180px; z-index: 110; display: grid; gap: 2px;
}
.auth-menu__panel a, .auth-menu__panel button {
  text-align: left; background: none; border: 0; font-family: inherit; font-size: .9rem;
  font-weight: 600; color: var(--ink); padding: .55rem .8rem; border-radius: 8px; cursor: pointer;
  text-decoration: none;
}
.auth-menu__panel a:hover, .auth-menu__panel button:hover { background: var(--teal-soft); color: var(--teal); }

/* Per-site visual emphasis (one shared system, individual character) */
.site-islamic .prog-card__art { border-radius: 999px 999px 0 0; }
.site-islamic .icon-badge--arch { border-radius: 999px 999px 12px 12px; }
.site-islamic .card { border-top: 3px solid var(--gold); }
.site-conceptlab .card { border-top: 3px solid var(--teal); }
.site-conceptlab .icon-badge { border-radius: 8px; }
.site-mathbridge .card { border-top: 3px solid var(--gold-deep); }
.site-mathbridge .hero { background:
  radial-gradient(1000px 460px at 92% -12%, rgba(0,109,119,.10), transparent 60%),
  linear-gradient(180deg, #FFFDF7, var(--off)); }

/* ---------- Pattern data URIs ---------- */
:root {
  --pattern-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%23006D77' stroke-width='1' opacity='.10'%3E%3Crect x='27' y='27' width='30' height='30'/%3E%3Crect x='27' y='27' width='30' height='30' transform='rotate(45 42 42)'/%3E%3Ccircle cx='42' cy='42' r='4'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-star-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='76' viewBox='0 0 76 76'%3E%3Cg fill='none' stroke='%23E9C46A' stroke-width='1' opacity='.22'%3E%3Crect x='24' y='24' width='28' height='28'/%3E%3Crect x='24' y='24' width='28' height='28' transform='rotate(45 38 38)'/%3E%3C/g%3E%3C/svg%3E");
}


/* ---------- Ayah band (Quranic verse presentation) ---------- */
/* ---------- Ayah band (attached-design style: badge + large teal Arabic) ---------- */
.ayah-band {
  position: relative; overflow: hidden; text-align: center;
  border-radius: var(--r-lg); padding: 46px clamp(20px, 4vw, 40px) 42px;
  background:
    radial-gradient(620px 280px at 50% -60%, rgba(233,196,106,.16), transparent 65%),
    linear-gradient(180deg, #FDFCF7, #F8F4EA);
  border: 1px solid #EFE8D6; box-shadow: var(--shadow-sm);
}
.ayah-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--pattern-star-gold); background-size: 76px 76px; opacity: .18;
}
.ayah-band > * { position: relative; z-index: 1; }
.ayah-band .pill-badge { display: inline-flex; margin-bottom: 16px; }
.ayah-ar {
  direction: rtl; font-family: "Amiri", "Scheherazade New", "Noto Naskh Arabic",
    "Traditional Arabic", "Geeza Pro", "Arabic Typesetting", serif;
  font-size: clamp(1.8rem, 3.8vw, 2.7rem); line-height: 2; color: var(--teal);
  margin: 0 auto 12px; max-width: 820px;
}
.ayah-tr {
  font-family: Georgia, "Times New Roman", serif; font-style: italic;
  color: #6E7B74; font-size: 1.02rem; max-width: 640px; margin: 0 auto;
}
.ayah-band--light { background: linear-gradient(180deg, #FFFFFF, #FBF8F0); }

/* ---------- Badge pill (gold dot + uppercase tag) ---------- */
.pill-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .48rem 1.15rem; box-shadow: 0 4px 14px rgba(20,51,58,.07);
  font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); white-space: nowrap; max-width: 100%;
}
.pill-badge__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none;
}

/* ---------- Media (imagery) ---------- */
.media-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md); background: var(--teal-ink);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame::after {
  content: ""; position: absolute; inset: 10px; border: 1.5px solid rgba(233,196,106,.55);
  border-radius: calc(var(--r-lg) - 8px); pointer-events: none;
}
.media-frame--plain::after { display: none; }
.media-4x3 { aspect-ratio: 4 / 3; }
.media-3x2 { aspect-ratio: 3 / 2; }
.media-16x9 { aspect-ratio: 16 / 9; }
.media-caption {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: rgba(7,59,64,.82); color: #E7F0F0; font-size: .82rem; font-weight: 600;
  border-radius: 999px; padding: .4rem 1rem; backdrop-filter: blur(4px);
}


/* ---------- Duā ribbon (attached-design style: badge + Arabic, under the header) ---------- */
.dua-ribbon {
  position: relative; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, #FDFCF7, #F8F4EA);
  border-bottom: 1px solid #EFE8D6; padding: 18px 18px 20px;
}
.dua-ribbon::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--pattern-star-gold); background-size: 76px 76px; opacity: .18;
}
.dua-ribbon__inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.dua-ribbon__badge { display: flex; justify-content: flex-start; }
.dua-ribbon__ar {
  direction: rtl; font-family: "Amiri", "Scheherazade New", "Noto Naskh Arabic",
    "Traditional Arabic", "Geeza Pro", "Arabic Typesetting", serif;
  font-size: clamp(1.65rem, 3.5vw, 2.5rem); line-height: 1.9;
  color: var(--teal); margin: 14px auto 6px; max-width: 820px;
}
.dua-ribbon__tr {
  font-family: Georgia, "Times New Roman", serif; font-style: italic;
  color: #6E7B74; font-size: .92rem; margin: 0;
}
.dua-ribbon__ref {
  font-style: normal; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  font-size: .66rem; color: var(--gold-deep); margin-left: 10px; white-space: nowrap;
}

/* ---------- Floating WhatsApp chat widget (per attached design) ---------- */
.wa-btn {
  position: fixed; right: 24px; bottom: 24px; width: 64px; height: 64px;
  border-radius: 50%; border: 0; cursor: pointer; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); background: var(--teal);
  box-shadow: 0 6px 20px rgba(0, 109, 119, .35);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.wa-btn:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 109, 119, .42); }
.wa-btn svg { width: 32px; height: 32px; }
.wa-popup {
  position: fixed; right: 24px; bottom: 100px; width: 340px; max-width: calc(100vw - 28px);
  background: var(--teal); border: 2px solid var(--gold); border-radius: 24px;
  padding: 24px; color: #FAF9F6; box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
  z-index: 998; display: none;
}
.wa-popup.active { display: block; animation: waPop .22s ease; }
@keyframes waPop { from { opacity: 0; transform: translateY(8px); } }
.wa-popup__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.wa-popup__head img {
  width: 64px; height: 64px; border-radius: 50%; flex: none;
  border: 2px solid var(--gold); background: #FAF9F6; padding: 6px; object-fit: contain;
}
.wa-popup__head h2 { color: #FAF9F6; font-size: 1.25rem; line-height: 1.2; }
.wa-popup__head p { color: var(--gold); font-size: .875rem; font-weight: 500; margin-top: 2px; }
.wa-popup__close {
  margin-left: auto; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #FAF9F6; border: 0;
  font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.wa-popup__close:hover { background: rgba(255, 255, 255, .26); }
.wa-popup__card {
  background: #FAF9F6; color: #222; border-radius: 16px;
  padding: 18px; box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}
.wa-popup__card h3 { color: var(--teal); font-size: 1.125rem; margin: 0 0 8px; }
.wa-popup__card p { color: #333; font-size: .875rem; line-height: 1.6; margin: 0 0 8px; }
.wa-popup__time { font-size: .813rem; color: var(--gold-deep); font-weight: 700; }
.wa-popup__start {
  display: block; width: 100%; background: var(--gold); color: var(--teal);
  text-align: center; padding: 14px; border-radius: 30px;
  font-weight: 800; font-size: .95rem; margin-top: 10px;
}
.wa-popup__start:hover { background: #F0CE7D; color: var(--teal-dark); }
@media (max-width: 760px) {
  .wa-btn { right: 16px; bottom: calc(96px + env(safe-area-inset-bottom)); width: 58px; height: 58px; }
  .wa-btn svg { width: 29px; height: 29px; }
  .wa-popup { right: 12px; left: 12px; width: auto; bottom: calc(164px + env(safe-area-inset-bottom)); padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-popup.active { animation: none; }
}


/* ---------- Progressive admission journey ---------- */
html[data-hf-stage="new"] .js-lms-gate,
html[data-hf-stage="trial"] .js-lms-gate { display: none !important; }
.stage-note { background: #fff; border: 1.5px solid var(--line-teal); border-radius: var(--r-lg);
  padding: 38px 30px; text-align: center; box-shadow: var(--shadow-sm); }
.stage-note h3 { margin-bottom: 8px; }
.stage-note p { color: var(--muted); max-width: 520px; margin-left: auto; margin-right: auto; }
.stage-note .ref { display: inline-block; background: var(--gold-soft); border: 1px solid #EFDDB2;
  color: var(--gold-deep); font-weight: 800; letter-spacing: .08em; border-radius: 10px; padding: .45rem 1.1rem; }
.redirect-note { margin-top: 16px; font-weight: 700; color: var(--teal); }

/* ---------- Form visibility guards ---------- */
[hidden] { display: none !important; }
#trial-form, #registration-form, .form-shell-wrap { scroll-margin-top: 96px; }


/* ---------- Bare form pages (free trial): header & footer hidden ---------- */
.page-bare .topbar,
.page-bare .site-header,
.page-bare .mobile-menu,
.page-bare .site-footer { display: none !important; }
