/* ==========================================================================
   معهد براعم اللوتس للتربية الخاصة — Main stylesheet
   ========================================================================== */

:root {
  --purple: #8B3D7A;
  --purple-dark: #6F2F61;
  --purple-light: #C896B8;
  --purple-tint: #F3E8F0;
  --green: #10A040;
  --green-dark: #0D8334;
  --green-tint: #E3F4E9;
  --teal: #3D7A6B;
  --teal-light: #70B0A0;
  --teal-tint: #E5F1EE;

  --bg: #FAF7FB;
  --bg-dark: #1A0F1F;
  --ink: #2D1F2A;
  --ink-soft: #5D4F5A;
  --paper: #FFFFFF;
  --line: #E8DDE6;

  --gradient: linear-gradient(135deg, #8B3D7A 0%, #10A040 100%);
  --gradient-soft: linear-gradient(135deg, #C896B8 0%, #70B0A0 100%);

  --font: 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs: 1.125rem;

  --r-sm: 8px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --pill: 999px;

  --shadow-sm: 0 2px 8px rgba(139, 61, 122, .08);
  --shadow: 0 10px 30px rgba(139, 61, 122, .12);
  --shadow-lg: 0 24px 60px rgba(139, 61, 122, .18);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --t: 260ms var(--ease);
  --wrap: 1200px;
}

/* ---------- Accessibility modes ---------- */
html.a11y-contrast {
  --purple: #5E1F51;
  --green: #0A6B2B;
  --teal: #234F45;
  --ink: #000;
  --ink-soft: #1d1d1d;
  --bg: #fff;
  --line: #6d5a69;
}
html.a11y-contrast .hero { background: #3a1233; }
html.a11y-contrast a:not(.btn) { text-decoration: underline; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html.a11y-motion .reveal { opacity: 1 !important; transform: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 100%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs);
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--green); }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; color: var(--purple); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--purple); color: #fff; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: clamp(4rem, 9vw, 7rem); position: relative; }
.section-alt { background: var(--paper); }
.skip-link {
  position: absolute; top: -100px; inset-inline-start: 1rem; z-index: 1000;
  background: var(--purple); color: #fff; padding: .6rem 1.2rem; border-radius: var(--r-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem 1rem; border-radius: var(--pill);
  background: var(--purple-tint); color: var(--purple);
  font-size: .875rem; font-weight: 700; margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.sec-head h2 { margin-bottom: .9rem; }
.sec-head p { color: var(--ink-soft); font-size: 1.15rem; margin: 0; }
.text-grad {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.8rem; border: 2px solid transparent; border-radius: var(--pill);
  font: 700 1rem/1.4 var(--font); cursor: pointer; text-decoration: none;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 8px 20px rgba(139,61,122,.28); }
.btn-primary:hover { background: var(--purple-dark); color: #fff; box-shadow: 0 12px 28px rgba(139,61,122,.36); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(16,160,64,.25); }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-white { background: #fff; color: var(--purple); }
.btn-white:hover { color: var(--purple-dark); box-shadow: var(--shadow); }
.btn-ghost { border-color: var(--purple); color: var(--purple); background: transparent; }
.btn-ghost:hover { background: var(--purple); color: #fff; }
.btn-outline-white { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.08rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--bg-dark); color: rgba(255,255,255,.82); font-size: .85rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar a { color: rgba(255,255,255,.88); }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar svg { width: 15px; height: 15px; opacity: .8; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t), border-color var(--t);
}
.header.scrolled { box-shadow: 0 6px 24px rgba(45,31,42,.07); border-color: var(--line); }
.header .wrap { display: flex; align-items: center; gap: 1.2rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: .8rem; color: var(--ink); }
.brand img { width: 62px; height: 62px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.35; white-space: nowrap; }
.brand-text strong { font-size: 1.12rem; font-weight: 800; color: var(--purple); }
.brand-text small { font-size: .82rem; color: var(--teal); font-weight: 600; }
.nav { display: flex; gap: .15rem; margin-inline-start: auto; }
.nav a {
  position: relative; padding: .5rem .8rem; border-radius: var(--pill); white-space: nowrap;
  color: var(--ink); font-weight: 600; font-size: 1rem;
}
.nav a:hover { color: var(--purple); background: var(--purple-tint); }
.nav a.active { color: var(--purple); background: var(--purple-tint); }
.header-cta { display: flex; align-items: center; gap: .6rem; }
.menu-btn {
  display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; color: var(--purple); cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn svg { width: 24px; height: 24px; }

/* Mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(26,15,31,.5); z-index: 190;
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
}
.drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(340px, 86vw);
  background: #fff; z-index: 200; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem;
  transform: translateX(100%); transition: transform 380ms var(--ease); overflow-y: auto;
}
.drawer-open .drawer { transform: none; }
.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer nav { display: flex; flex-direction: column; gap: .25rem; }
.drawer nav a {
  padding: .85rem 1rem; border-radius: var(--r); color: var(--ink); font-weight: 700; font-size: 1.1rem;
  display: flex; justify-content: space-between; align-items: center;
}
.drawer nav a.active, .drawer nav a:hover { background: var(--purple-tint); color: var(--purple); }
.drawer .btn { width: 100%; }
.drawer-contact { margin-top: auto; font-size: .95rem; color: var(--ink-soft); display: grid; gap: .4rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--gradient);
  padding-block: clamp(4rem, 8vw, 6.5rem) clamp(6rem, 11vw, 9rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(255,255,255,.16), transparent 60%),
    radial-gradient(500px 500px at 5% 100%, rgba(26,15,31,.25), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; inset-inline: 0; bottom: .08em; height: .22em;
  background: rgba(255,255,255,.28); border-radius: 8px; z-index: -1;
}
.hero-lead { font-size: 1.22rem; opacity: .95; max-width: 34em; margin-bottom: 2rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  padding: .4rem 1.1rem .4rem .5rem; border-radius: var(--pill); font-weight: 700; font-size: .92rem;
  margin-bottom: 1.4rem; backdrop-filter: blur(6px);
}
.hero-badge .dot {
  width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center;
}
.hero-badge .dot::after {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(16,160,64,.6); } 50% { box-shadow: 0 0 0 8px rgba(16,160,64,0); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.4rem; font-weight: 600; font-size: .98rem; }
.hero-points li { display: flex; align-items: center; gap: .45rem; }
.hero-points svg { width: 20px; height: 20px; color: #fff; background: rgba(255,255,255,.2); border-radius: 50%; padding: 3px; }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 480px; margin-inline: auto; width: 100%; }
.hero-orb {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff 0%, #fff 58%, rgba(255,255,255,.85) 100%);
  box-shadow: 0 30px 80px rgba(26,15,31,.3), inset 0 0 0 10px rgba(255,255,255,.4);
  display: grid; place-items: center;
}
.hero-orb img { width: 78%; height: auto; animation: float 6s ease-in-out infinite; }
.hero-ring {
  position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(255,255,255,.45);
  animation: spin 60s linear infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.float-card {
  position: absolute; background: #fff; color: var(--ink); border-radius: var(--r);
  padding: .75rem 1rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .7rem;
  font-weight: 700; font-size: .95rem; animation: float 7s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 500; color: var(--ink-soft); font-size: .8rem; }
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 22px; height: 22px; }
.float-card.fc-1 { top: 8%; inset-inline-start: -4%; }
.float-card.fc-1 .ic { background: var(--green-tint); color: var(--green); }
.float-card.fc-2 { bottom: 10%; inset-inline-end: -6%; animation-delay: -3s; }
.float-card.fc-2 .ic { background: var(--purple-tint); color: var(--purple); }

.hero-wave { position: absolute; bottom: -1px; inset-inline: 0; width: 100%; height: auto; color: var(--bg); }

/* Inner page hero */
.page-hero {
  position: relative; overflow: hidden; background: var(--gradient); color: #fff;
  padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(5rem, 9vw, 7rem); text-align: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 80% 0%, rgba(255,255,255,.18), transparent 60%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: .8rem; }
.page-hero p { font-size: 1.2rem; opacity: .95; max-width: 640px; margin: 0 auto; }
.crumbs { display: flex; justify-content: center; gap: .5rem; font-size: .92rem; margin-bottom: 1rem; opacity: .9; }
.crumbs a { color: #fff; }
.crumbs span[aria-hidden] { opacity: .6; }
.petal-deco { position: absolute; opacity: .12; color: #fff; pointer-events: none; }
.petal-deco.pd-1 { width: 260px; top: -60px; inset-inline-start: -60px; transform: rotate(-20deg); }
.petal-deco.pd-2 { width: 200px; bottom: -40px; inset-inline-end: -30px; transform: rotate(25deg); }

/* ---------- Feature strip (overlaps hero) ---------- */
.strip { margin-top: -4.5rem; position: relative; z-index: 5; }
.strip-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.strip-item { padding: 1.6rem 1.4rem; display: flex; gap: .9rem; align-items: flex-start; }
.strip-item + .strip-item { border-inline-start: 1px solid var(--line); }
.strip-item .ic {
  width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center;
}
.strip-item .ic svg { width: 24px; height: 24px; }
.strip-item h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: .2rem; }
.strip-item p { font-size: .9rem; color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* Icon color helpers */
.c-purple { background: var(--purple-tint); color: var(--purple); }
.c-green { background: var(--green-tint); color: var(--green); }
.c-teal { background: var(--teal-tint); color: var(--teal); }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split-media { position: relative; }
.media-card {
  position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/4.4;
  background: var(--gradient-soft); display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.media-card .lotus-big { width: 70%; color: #fff; opacity: .95; }
.media-card .media-quote {
  position: absolute; inset-inline: 1.2rem; bottom: 1.2rem; background: rgba(255,255,255,.95);
  border-radius: var(--r); padding: 1rem 1.2rem; font-weight: 700; color: var(--purple); font-size: 1.05rem;
  line-height: 1.6; box-shadow: var(--shadow);
}
.media-card .media-quote small { display: block; color: var(--ink-soft); font-weight: 500; font-size: .85rem; }
.media-tag {
  position: absolute; top: -1.2rem; inset-inline-end: -1rem; background: var(--green); color: #fff;
  border-radius: var(--r); padding: .9rem 1.2rem; font-weight: 800; box-shadow: var(--shadow); text-align: center;
  line-height: 1.4;
}
.media-tag small { display: block; font-weight: 500; font-size: .8rem; opacity: .9; }
.split-body h2 { margin-bottom: 1.1rem; }
.split-body > p { color: var(--ink-soft); font-size: 1.12rem; }
.check-list { display: grid; gap: .8rem; margin: 1.6rem 0 2rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 600; }
.check-list svg {
  width: 26px; height: 26px; flex: none; color: var(--green); background: var(--green-tint);
  border-radius: 50%; padding: 4px; margin-top: 2px;
}

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card {
  position: relative; background: #fff; border-radius: var(--r-lg); padding: 2rem;
  border: 1px solid var(--line); transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .ic {
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 1.3rem;
  transition: transform var(--t);
}
.card:hover .ic { transform: rotate(-6deg) scale(1.05); }
.card .ic svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: .6rem; color: var(--ink); }
.card p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.card .more { margin-top: auto; font-weight: 700; color: var(--green); display: inline-flex; gap: .4rem; align-items: center; }
.card .more svg { width: 18px; height: 18px; transition: transform var(--t); }
.card:hover .more svg { transform: translateX(-4px); }
.card-num {
  position: absolute; top: 1.4rem; inset-inline-end: 1.6rem; font-size: 2.6rem; font-weight: 900;
  color: var(--purple-tint); line-height: 1;
}

/* Program detail card */
.program {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; background: #fff; border-radius: var(--r-lg);
  padding: 2rem; border: 1px solid var(--line); transition: box-shadow var(--t), transform var(--t);
}
.program:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.program .ic { width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; }
.program .ic svg { width: 34px; height: 34px; }
.program h3 { color: var(--ink); margin-bottom: .5rem; }
.program p { color: var(--ink-soft); margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  padding: .25rem .85rem; border-radius: var(--pill); font-size: .85rem; font-weight: 600;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink-soft);
}

/* ---------- Audience pills ---------- */
.audience { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.audience li {
  display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line);
  padding: .8rem 1.4rem; border-radius: var(--pill); font-weight: 700; transition: var(--t);
}
.audience li:hover { border-color: var(--purple-light); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.audience li svg { width: 22px; height: 22px; color: var(--purple); }

/* ---------- Journey / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 38px; inset-inline: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--purple-light) 0 10px, transparent 10px 18px);
}
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step-dot {
  width: 76px; height: 76px; margin: 0 auto 1.2rem; border-radius: 50%; background: #fff;
  border: 2px solid var(--purple-light); display: grid; place-items: center; position: relative;
  color: var(--purple); box-shadow: var(--shadow-sm); transition: var(--t);
}
.step:hover .step-dot { background: var(--purple); color: #fff; border-color: var(--purple); }
.step-dot svg { width: 32px; height: 32px; }
.step-dot::after {
  counter-increment: step; content: counter(step);
  position: absolute; top: -6px; inset-inline-end: -6px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800; font-size: .85rem; display: grid; place-items: center;
  border: 3px solid var(--bg);
}
.section-alt .step-dot::after { border-color: #fff; }
.step h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: .4rem; }
.step p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Quote band ---------- */
.quote-band {
  background: var(--purple-tint); border-radius: var(--r-xl); padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center; position: relative; overflow: hidden;
}
.quote-band blockquote { margin: 0; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 800; color: var(--purple); line-height: 1.6; }
.quote-band cite { display: block; margin-top: 1rem; font-style: normal; color: var(--ink-soft); font-weight: 600; }
.quote-band .qm { width: 56px; height: 56px; color: var(--purple-light); margin: 0 auto 1rem; }

/* ---------- Values / VMV ---------- */
.vmv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.vmv-card {
  border-radius: var(--r-xl); padding: 2.4rem; color: #fff; position: relative; overflow: hidden;
}
.vmv-card h3 { color: #fff; font-size: 1.6rem; margin-bottom: .8rem; display: flex; align-items: center; gap: .7rem; }
.vmv-card h3 svg { width: 34px; height: 34px; background: rgba(255,255,255,.2); border-radius: 12px; padding: 6px; }
.vmv-card p { font-size: 1.12rem; margin: 0; opacity: .96; }
.vmv-card.v1 { background: linear-gradient(140deg, #8B3D7A, #6F2F61); }
.vmv-card.v2 { background: linear-gradient(140deg, #10A040, #3D7A6B); }
.vmv-card .petal-deco { width: 180px; bottom: -50px; inset-inline-end: -40px; opacity: .14; }

/* ---------- CTA banner ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--gradient); color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
}
.cta h2 { color: #fff; margin-bottom: .6rem; }
.cta p { margin: 0; font-size: 1.15rem; opacity: .95; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; position: relative; }
.cta .petal-deco { width: 240px; top: -60px; inset-inline-end: 30%; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: .9rem; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: var(--t);
}
.faq details[open] { border-color: var(--purple-light); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; font-weight: 700; font-size: 1.08rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm {
  width: 32px; height: 32px; border-radius: 50%; flex: none; background: var(--purple-tint); color: var(--purple);
  display: grid; place-items: center; transition: transform var(--t), background var(--t), color var(--t);
}
.faq summary .pm svg { width: 18px; height: 18px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--purple); color: #fff; }
.faq .ans { padding: 0 1.4rem 1.2rem; color: var(--ink-soft); }
.faq .ans p:last-child { margin: 0; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--r-xl); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h2, .form-card h3 { margin-bottom: .4rem; }
.form-card .form-sub { color: var(--ink-soft); margin-bottom: 1.6rem; }
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 700; font-size: .98rem; }
.field label .req { color: var(--purple); }
.field input, .field select, .field textarea {
  width: 100%; font: 500 1rem/1.6 var(--font); color: var(--ink);
  padding: .85rem 1rem; border: 2px solid var(--line); border-radius: var(--r); background: var(--bg);
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple); background: #fff; box-shadow: 0 0 0 4px rgba(139,61,122,.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: .85rem; color: var(--ink-soft); }
.field.invalid input, .field.invalid select { border-color: #C0392B; }
.field .err { font-size: .85rem; color: #B03A2E; display: none; }
.field.invalid .err { display: block; }
.radio-group { display: flex; flex-wrap: wrap; gap: .6rem; }
.radio-group label {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border: 2px solid var(--line);
  border-radius: var(--pill); cursor: pointer; font-weight: 600; font-size: .95rem; transition: var(--t); background: var(--bg);
}
.radio-group input { accent-color: var(--purple); }
.radio-group label:has(input:checked) { border-color: var(--purple); background: var(--purple-tint); color: var(--purple); }
.form-note { font-size: .88rem; color: var(--ink-soft); display: flex; gap: .5rem; align-items: flex-start; }
.form-note svg { width: 18px; height: 18px; flex: none; color: var(--teal); margin-top: 4px; }
.form-success {
  display: none; text-align: center; padding: 2rem 1rem;
}
.form-success.show { display: block; }
.form-success .ok {
  width: 80px; height: 80px; border-radius: 50%; background: var(--green-tint); color: var(--green);
  display: grid; place-items: center; margin: 0 auto 1rem;
}
.form-success .ok svg { width: 40px; height: 40px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem; align-items: start; }
.info-list { display: grid; gap: 1rem; }
.info-item {
  display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem;
  transition: var(--t);
}
.info-item:hover { box-shadow: var(--shadow-sm); border-color: var(--purple-light); }
.info-item .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.info-item .ic svg { width: 24px; height: 24px; }
.info-item h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: .25rem; }
.info-item p, .info-item a { margin: 0; color: var(--ink-soft); font-weight: 600; }
.info-item a:hover { color: var(--purple); }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }
.map-box {
  border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: var(--teal-tint);
  display: grid; place-items: center; text-align: center; color: var(--teal); padding: 2rem;
}
.map-box iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Docs list (admission) ---------- */
.doc-list { display: grid; gap: .8rem; }
.doc-list li {
  display: flex; gap: .9rem; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 1rem 1.2rem; font-weight: 600;
}
.doc-list li svg { width: 24px; height: 24px; color: var(--purple); flex: none; }
.sticky-side { position: sticky; top: 110px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: rgba(255,255,255,.75); padding-top: 4.5rem; margin-top: 0; position: relative; }
.footer::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px; background: var(--gradient);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1.1rem; }
.footer a { color: rgba(255,255,255,.75); }
.footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.footer-brand .logo-badge {
  width: 72px; height: 72px; border-radius: 50%; background: #fff; padding: 4px; flex: none;
}
.footer-brand strong { color: #fff; font-size: 1.15rem; display: block; line-height: 1.4; }
.footer-brand small { color: var(--purple-light); font-weight: 600; }
.footer-links { display: grid; gap: .55rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .4rem; }
.footer-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); opacity: .8; }
.footer-contact { display: grid; gap: .8rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact svg { width: 20px; height: 20px; color: var(--purple-light); flex: none; margin-top: 4px; }
.socials { display: flex; gap: .6rem; margin-top: 1.3rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center;
  transition: var(--t);
}
.socials a:hover { background: var(--purple); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.footer-base {
  margin-top: 3.5rem; border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.4rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem;
}
.footer-tagline { color: var(--purple-light); font-weight: 700; }

/* ---------- Floating widgets ---------- */
.fab-wa {
  position: fixed; bottom: 1.4rem; inset-inline-end: 1.4rem; z-index: 150;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: var(--t);
}
.fab-wa:hover { transform: scale(1.08); color: #fff; }
.fab-wa svg { width: 32px; height: 32px; }
.fab-wa::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366;
  animation: ring 2.2s infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.a11y-btn {
  position: fixed; bottom: 1.4rem; inset-inline-start: 1.4rem; z-index: 150;
  width: 54px; height: 54px; border-radius: 50%; background: var(--purple); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: var(--t);
}
.a11y-btn:hover { transform: scale(1.06); }
.a11y-btn svg { width: 28px; height: 28px; }
.a11y-panel {
  position: fixed; bottom: 5.6rem; inset-inline-start: 1.4rem; z-index: 151; width: 280px;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 1.2rem; border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--t);
}
.a11y-panel.open { opacity: 1; visibility: visible; transform: none; }
.a11y-panel h4 { color: var(--ink); font-size: 1.05rem; margin-bottom: .9rem; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .55rem 0; border-top: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.a11y-row:first-of-type { border-top: 0; }
.a11y-size { display: flex; gap: .35rem; }
.a11y-size button, .a11y-toggle {
  min-width: 38px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg);
  font: 700 .95rem var(--font); cursor: pointer; color: var(--ink);
}
.a11y-toggle { padding-inline: .8rem; }
.a11y-toggle[aria-pressed="true"] { background: var(--purple); color: #fff; border-color: var(--purple); }
.a11y-reset { width: 100%; margin-top: .8rem; height: 40px; border-radius: 10px; border: 0; background: var(--purple-tint); color: var(--purple); font: 700 .95rem var(--font); cursor: pointer; }

.to-top {
  position: fixed; bottom: 6.2rem; inset-inline-end: 1.6rem; z-index: 149; width: 46px; height: 46px; border-radius: 14px;
  background: #fff; color: var(--purple); border: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer;
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--t);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .4s; }  .reveal.d6 { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1220px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header .wrap { gap: 1rem; }
  .header-cta { margin-inline-start: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(3) { border-inline-start: 0; }
  .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .hero .wrap, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 340px; }
  .hero-text { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .steps::before { display: none; }
  .cta { grid-template-columns: 1fr; text-align: center; }
  .cta-actions { justify-content: center; }
  .sticky-side { position: static; }
  #book .form-card { order: -1; }
}
@media (max-width: 640px) {
  :root { --fs: 1.06rem; }
  .topbar-info .hide-sm { display: none; }
  .topbar .socials-mini { display: none; }
  .brand img { width: 50px; height: 50px; }
  .brand-text strong { font-size: 1rem; }
  .brand-text small { display: none; }
  .header .wrap { min-height: 72px; }
  .header-cta .btn { display: none; }
  .grid-3, .grid-2, .vmv, .form-row { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-item + .strip-item { border-inline-start: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .program { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-card { font-size: .82rem; padding: .55rem .75rem; }
  .float-card .ic { width: 34px; height: 34px; }
  .float-card.fc-1 { inset-inline-start: -2%; }
  .float-card.fc-2 { inset-inline-end: -2%; }
  .hero h1 .hl { white-space: normal; }
  .btn-lg { padding: .9rem 1.6rem; }
  .media-tag { inset-inline-end: .5rem; }
  .fab-wa { width: 54px; height: 54px; bottom: 1rem; inset-inline-end: 1rem; }
  .a11y-btn { width: 48px; height: 48px; bottom: 1rem; inset-inline-start: 1rem; }
  .a11y-panel { inset-inline-start: 1rem; bottom: 4.6rem; width: calc(100vw - 2rem); max-width: 300px; }
  .to-top { bottom: 5.2rem; inset-inline-end: 1.2rem; }
}

/* ==========================================================================
   Phase 2 — family centre, media, careers, post page
   ========================================================================== */

/* ---------- Post (news) cards ---------- */
.post-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); color: var(--ink); transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.post-media { position: relative; aspect-ratio: 16/10; background: var(--gradient-soft); overflow: hidden; display: grid; place-items: center; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-ph { width: 42%; color: #fff; opacity: .9; transition: transform .6s var(--ease); }
.post-card:hover .post-ph { transform: scale(1.08) rotate(-3deg); }
.post-cat {
  position: absolute; top: 1rem; inset-inline-start: 1rem; background: rgba(255,255,255,.95); color: var(--purple);
  padding: .25rem .85rem; border-radius: var(--pill); font-size: .82rem; font-weight: 700;
}
.post-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-body time { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; color: var(--ink-soft); margin-bottom: .5rem; }
.post-body time svg { width: 16px; height: 16px; color: var(--teal); }
.post-body h3 { color: var(--ink); font-size: 1.2rem; margin-bottom: .6rem; }
.post-body p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 1rem; }
.post-body .more, .article-card .more { margin-top: auto; font-weight: 700; color: var(--green); display: inline-flex; gap: .4rem; align-items: center; }
.post-body .more svg { width: 18px; height: 18px; transition: transform var(--t); }
.post-card:hover .more svg { transform: translateX(-4px); }

/* ---------- Article cards ---------- */
.article-card { color: var(--ink); }
.article-card:hover { color: var(--ink); }
.article-card .ic { margin-bottom: 1rem; }
.art-cover { margin: -2rem -2rem 1.2rem; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--gradient-soft); }
.art-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.article-card:hover .art-cover img { transform: scale(1.05); }
.article-card.has-cover .ic { display: none; }
.art-meta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; font-size: .85rem; color: var(--ink-soft); margin-bottom: .6rem; }
.art-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.art-meta svg { width: 15px; height: 15px; }
.art-cat { background: var(--purple-tint); color: var(--purple); padding: .15rem .7rem; border-radius: var(--pill); font-weight: 700; }

/* ---------- Filter chips / tabs ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.5rem; }
.filter {
  padding: .55rem 1.3rem; border-radius: var(--pill); border: 2px solid var(--line); background: #fff; color: var(--ink);
  font: 700 .98rem var(--font); cursor: pointer; transition: var(--t); display: inline-flex; align-items: center; gap: .45rem;
}
.filter svg { width: 18px; height: 18px; }
.filter:hover { border-color: var(--purple-light); color: var(--purple); }
.filter[aria-pressed="true"], .filter[aria-selected="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.tabpanel[hidden] { display: none; }
.is-hidden { display: none !important; }

/* ---------- Empty state ---------- */
.empty {
  text-align: center; background: #fff; border: 2px dashed var(--line); border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem; max-width: 720px; margin-inline: auto;
}
.empty .ic { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1.2rem; display: grid; place-items: center; }
.empty .ic svg { width: 36px; height: 36px; }
.empty h3 { color: var(--ink); margin-bottom: .5rem; }
.empty p { color: var(--ink-soft); margin-bottom: 1.4rem; }

/* ---------- Events ---------- */
.event-list { display: grid; gap: 1rem; max-width: 900px; margin-inline: auto; }
.event {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem 1.5rem; transition: var(--t);
}
.event:hover { box-shadow: var(--shadow); border-color: var(--purple-light); }
.event-date {
  width: 84px; text-align: center; border-radius: var(--r); background: var(--gradient); color: #fff; padding: .7rem .4rem; line-height: 1.2;
}
.event-date strong { display: block; font-size: 2rem; font-weight: 900; }
.event-date span { font-size: .82rem; font-weight: 600; }
.event h3 { color: var(--ink); font-size: 1.15rem; margin-bottom: .3rem; }
.event p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.event-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .88rem; color: var(--teal); font-weight: 600; margin-bottom: .3rem; }
.event-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.event-meta svg { width: 15px; height: 15px; }
.event.past { opacity: .65; }
.event.past .event-date { background: var(--ink-soft); }

/* ---------- Gallery + lightbox ---------- */
.gallery { columns: 3 260px; column-gap: 1rem; }
.gallery button {
  display: block; width: 100%; margin: 0 0 1rem; padding: 0; border: 0; border-radius: var(--r); overflow: hidden;
  cursor: zoom-in; position: relative; break-inside: avoid; background: var(--purple-tint);
}
.gallery img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 2rem 1rem .8rem; color: #fff; font-weight: 700; font-size: .95rem;
  background: linear-gradient(transparent, rgba(26,15,31,.75)); text-align: start; opacity: 0; transition: opacity var(--t);
}
.gallery button:hover figcaption, .gallery button:focus-visible figcaption { opacity: 1; }
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(26,15,31,.92); display: none; place-items: center; padding: 4rem 1rem;
}
.lightbox.open { display: grid; }
.lightbox img { max-height: 80vh; width: auto; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.lightbox p { color: #fff; text-align: center; margin-top: 1rem; font-weight: 700; }
.lb-btn {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff;
  display: grid; place-items: center; cursor: pointer; transition: var(--t);
}
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 1.2rem; inset-inline-end: 1.2rem; }
.lb-prev { inset-inline-start: 1.2rem; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb-next { inset-inline-end: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ---------- Milestones tool ---------- */
.ms-tool { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.ms-ages { display: grid; gap: .6rem; }
.ms-age {
  display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-radius: var(--r); border: 2px solid var(--line);
  background: #fff; font: 700 1.05rem var(--font); color: var(--ink); cursor: pointer; text-align: start; transition: var(--t);
}
.ms-age .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--purple-tint); color: var(--purple); font-weight: 900; flex: none; font-size: .95rem; }
.ms-age:hover { border-color: var(--purple-light); }
.ms-age[aria-selected="true"] { border-color: var(--purple); background: var(--purple-tint); color: var(--purple); }
.ms-age[aria-selected="true"] .n { background: var(--purple); color: #fff; }
.ms-panel { background: #fff; border-radius: var(--r-xl); border: 1px solid var(--line); padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow-sm); }
.ms-panel h3 { margin-bottom: .3rem; }
.ms-panel .ms-sub { color: var(--ink-soft); margin-bottom: 1rem; font-size: 1rem; }
.ms-group h4 { font-size: 1rem; color: var(--teal); margin: 1.2rem 0 .6rem; display: flex; align-items: center; gap: .4rem; }
.ms-group h4 svg { width: 18px; height: 18px; }
.ms-item {
  display: flex; gap: .8rem; align-items: flex-start; padding: .75rem 1rem; border-radius: var(--r-sm); cursor: pointer;
  border: 1px solid var(--line); margin-bottom: .5rem; transition: var(--t); font-weight: 600; font-size: 1rem; line-height: 1.6;
}
.ms-item:hover { border-color: var(--purple-light); }
.ms-item input { width: 20px; height: 20px; accent-color: var(--green); margin-top: 3px; flex: none; }
.ms-item:has(input:checked) { background: var(--green-tint); border-color: var(--green); }
.ms-progress { height: 10px; border-radius: var(--pill); background: var(--line); overflow: hidden; margin: 1.4rem 0 .4rem; }
.ms-progress span { display: block; height: 100%; width: 0; background: var(--gradient); transition: width .5s var(--ease); }
.ms-count { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.ms-result { border-radius: var(--r); padding: 1.1rem 1.3rem; margin-top: 1rem; font-weight: 600; display: flex; gap: .8rem; align-items: flex-start; }
.ms-result svg { width: 24px; height: 24px; flex: none; margin-top: 2px; }
.ms-result.ok { background: var(--green-tint); color: #0b6b2b; }
.ms-result.warn { background: var(--purple-tint); color: var(--purple-dark); }
.ms-result .btn { margin-top: .8rem; }
.disclaimer { font-size: .88rem; color: var(--ink-soft); margin-top: 1.2rem; display: flex; gap: .5rem; }
.disclaimer svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--teal); }

/* ---------- Post / article reading page ---------- */
.reading { max-width: 780px; margin-inline: auto; }
.reading-card { background: #fff; border-radius: var(--r-xl); padding: clamp(1.6rem, 5vw, 3.2rem); border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: -4rem; position: relative; z-index: 2; }
.reading-card .cover { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 2rem; }
.prose { font-size: 1.15rem; line-height: 2; color: var(--ink); }
.prose h3 { margin: 2rem 0 .8rem; font-size: 1.35rem; }
.prose ul { padding-inline-start: 0; margin: 0 0 1.2rem; display: grid; gap: .6rem; }
.prose li { position: relative; padding-inline-start: 1.6rem; }
.prose li::before { content: ""; position: absolute; inset-inline-start: 0; top: .8em; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.prose a { color: var(--purple); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--purple-light); }
.post-meta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1rem; font-weight: 600; opacity: .95; }
.post-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.post-meta svg { width: 18px; height: 18px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-weight: 700; }
.share .btn { padding: .55rem 1.1rem; font-size: .92rem; }

/* ---------- Careers ---------- */
.job {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; display: grid; gap: .6rem; transition: var(--t);
}
.job:hover { box-shadow: var(--shadow); border-color: var(--purple-light); }
.job h3 { color: var(--ink); }
.job ul { display: grid; gap: .3rem; color: var(--ink-soft); }
.job li::before { content: "• "; color: var(--green); font-weight: 900; }
.job .btn { justify-self: start; margin-top: .4rem; }
.perk { text-align: center; align-items: center; }

/* ---------- Home: stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 1.8rem 1rem; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 900; line-height: 1.2; }
.stat span { color: var(--ink-soft); font-weight: 600; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.sec-head-row .sec-head { text-align: start; margin: 0; }

@media (max-width: 900px) {
  .ms-tool { grid-template-columns: 1fr; }
  .ms-ages { grid-template-columns: repeat(3, 1fr); }
  .ms-age { flex-direction: column; text-align: center; gap: .4rem; padding: .8rem .4rem; font-size: .9rem; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr; text-align: center; }
  .event-date { margin-inline: auto; }
  .event-meta { justify-content: center; }
}
