/* ============================================================
   Universal Gurukul Group — Design System
   Pillars: Preschool = blue · Academy = orange · Wellness = green
   ============================================================ */

:root {
  --bg: #f0f4f8;
  --surface: #ffffff;
  --ink: #16243a;
  --ink-soft: #4a5b73;
  --line: #dfe7f0;

  --blue: #1a6ef5;
  --blue-soft: #e3edfe;
  --blue-deep: #0d4bb5;
  --green: #0f9d58;
  --green-soft: #e2f5ea;
  --orange: #f57c00;
  --orange-soft: #feeeda;

  --accent: var(--blue);
  --accent-soft: var(--blue-soft);

  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(22, 36, 58, .07), 0 4px 14px rgba(22, 36, 58, .05);
  --shadow-md: 0 6px 24px rgba(22, 36, 58, .10);
  --shadow-lg: 0 18px 50px rgba(13, 75, 181, .14);

  --font-display: "Baloo 2", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
ul { padding-left: 1.2rem; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  margin: 0 0 .55em;
  color: var(--ink);
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section--tint { background: var(--surface); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1rem;
}
.section-head { max-width: 640px; margin-bottom: clamp(1.6rem, 4vw, 2.8rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .98rem; line-height: 1; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(26, 110, 245, .32); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-whatsapp { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(15, 157, 88, .3); }
.btn-whatsapp:hover { background: #0b7a44; }
.btn svg { width: 1.05em; height: 1.05em; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #cfdcef; font-size: .84rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; align-items: center; justify-content: space-between; padding-block: .45rem; }
.topbar a { color: #fff; font-weight: 600; }
.topbar-items { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; align-items: center; }
.topbar-items span svg { width: .95em; height: .95em; vertical-align: -.12em; margin-right: .35rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.4rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1.12rem; line-height: 1.05; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .68rem; color: var(--ink-soft); letter-spacing: .06em; }

.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: .3rem;
  padding: .55rem .8rem; border-radius: 10px;
  color: var(--ink); font-weight: 600; font-size: .92rem; background: none; border: 0;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--blue-soft); color: var(--blue-deep); text-decoration: none; }
.nav-link .chev { width: .8em; height: .8em; transition: transform .2s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-link.is-active { color: var(--blue-deep); background: var(--blue-soft); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: .5rem; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a, .dropdown .dd-label {
  display: block; padding: .5rem .8rem; border-radius: 8px;
  color: var(--ink); font-size: .9rem; font-weight: 600;
}
.dropdown a:hover { background: var(--bg); color: var(--blue-deep); text-decoration: none; }
.dd-label { color: var(--ink-soft); font-size: .72rem !important; text-transform: uppercase; letter-spacing: .1em; margin-top: .35rem; }
.dropdown li:first-child .dd-label { margin-top: 0; }

.pill-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: .5rem; vertical-align: .08em; }
.dot-blue { background: var(--blue); } .dot-orange { background: var(--orange); } .dot-green { background: var(--green); }

.header-cta { display: inline-flex; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.4rem, 8vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 .hl { color: var(--blue); }
.hero h1 .hl-o { color: var(--orange); }
.hero h1 .hl-g { color: var(--green); }
.hero-lede { font-size: 1.12rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.9rem; padding: 0; list-style: none; }
.hero-trust li { display: flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
.hero-trust svg { width: 18px; height: 18px; flex: none; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }

.float { animation: float 6s ease-in-out infinite; }
.float-d1 { animation-delay: -1.5s; } .float-d2 { animation-delay: -3s; } .float-d3 { animation-delay: -4.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Pillar cards ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.pillar {
  position: relative; background: var(--surface); border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem 1.7rem; box-shadow: var(--shadow-sm);
  border-top: 6px solid var(--p, var(--blue));
  display: flex; flex-direction: column; gap: .4rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); text-decoration: none; }
.pillar--blue { --p: var(--blue); --ps: var(--blue-soft); }
.pillar--orange { --p: var(--orange); --ps: var(--orange-soft); }
.pillar--green { --p: var(--green); --ps: var(--green-soft); }
.pillar-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--ps); display: grid; place-items: center; margin-bottom: .9rem; }
.pillar-icon svg { width: 30px; height: 30px; }
.pillar h3 { margin-bottom: .25rem; }
.pillar .tagline { font-size: .85rem; font-weight: 700; color: var(--p); letter-spacing: .04em; text-transform: uppercase; margin-bottom: .35rem; }
.pillar ul { list-style: none; padding: 0; margin: .4rem 0 0; color: var(--ink-soft); font-size: .92rem; }
.pillar ul li { padding: .22rem 0 .22rem 1.4rem; position: relative; }
.pillar ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--p); }
.pillar .more { margin-top: auto; padding-top: 1rem; font-weight: 700; color: var(--p); font-size: .95rem; }

/* ---------- Generic cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }

.card {
  background: var(--surface); border-radius: var(--radius-md);
  padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
a.card { color: inherit; display: flex; flex-direction: column; gap: .3rem; }
a.card:hover { text-decoration: none; transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.card .chip {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .25rem .7rem; border-radius: 999px; margin-bottom: .8rem;
}
.chip--blue { background: var(--blue-soft); color: var(--blue-deep); }
.chip--orange { background: var(--orange-soft); color: #b95e00; }
.chip--green { background: var(--green-soft); color: #0a7a44; }
.card h3 { font-size: 1.12rem; }
.card p { font-size: .93rem; }
.card .age { font-size: .82rem; font-weight: 700; color: var(--ink); background: var(--bg); border-radius: 999px; padding: .2rem .7rem; align-self: flex-start; margin-bottom: .5rem; }

/* feature list */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem 1.4rem; }
.feature-list li { display: flex; gap: .7rem; align-items: flex-start; background: var(--surface); border-radius: var(--radius-sm); padding: .85rem 1rem; box-shadow: var(--shadow-sm); font-weight: 600; font-size: .95rem; }
.feature-list svg { width: 22px; height: 22px; flex: none; margin-top: .1em; }

/* checklist used inside program pages */
.checklist { list-style: none; padding: 0; margin: .4rem 0 1.2rem; }
.checklist li { position: relative; padding: .3rem 0 .3rem 1.9rem; color: var(--ink-soft); font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1.15em; height: 1.15em; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a6ef5' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-11'/%3E%3C/svg%3E") center/62% no-repeat;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat { text-align: center; background: var(--surface); border-radius: var(--radius-md); padding: 1.6rem 1rem; box-shadow: var(--shadow-sm); }
.stat .num { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; color: var(--blue); line-height: 1; }
.stat .num.o { color: var(--orange); } .stat .num.g { color: var(--green); }
.stat .lbl { margin-top: .4rem; font-weight: 600; color: var(--ink-soft); font-size: .92rem; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.tcard { background: var(--surface); border-radius: var(--radius-lg); padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.stars { color: var(--orange); letter-spacing: .12em; font-size: 1rem; margin-bottom: .8rem; }
.tcard blockquote { margin: 0 0 1.1rem; font-size: .98rem; color: var(--ink-soft); }
.tcard figcaption { margin-top: auto; display: flex; align-items: center; gap: .8rem; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); color: #fff; flex: none; }
.tcard figcaption strong { display: block; line-height: 1.2; }
.tcard figcaption span { font-size: .82rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq details { background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-bottom: .9rem; overflow: hidden; border: 1px solid transparent; }
.faq details[open] { border-color: var(--blue-soft); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.05rem 1.3rem; font-weight: 700; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--blue); flex: none;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--blue-deep), var(--blue) 55%, #3f8bff);
  border-radius: var(--radius-lg); color: #fff; position: relative; overflow: hidden;
  padding: clamp(2.2rem, 5vw, 3.6rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { color: #d9e6ff; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-end; }
.cta-band .btn-ghost { background: #fff; border-color: #fff; }
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--accent-soft), var(--bg));
  padding: clamp(2.6rem, 6vw, 4.2rem) 0;
}
.page-hero .crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0 0 .9rem; font-size: .85rem; font-weight: 600; }
.page-hero .crumbs li + li::before { content: "›"; margin: 0 .45rem; color: var(--ink-soft); }
.page-hero .crumbs a { color: var(--ink-soft); }
.page-hero .crumbs [aria-current] { color: var(--accent); }
.page-hero p.lede { font-size: 1.1rem; max-width: 44rem; }
.page-hero .meta-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.meta-pill { background: var(--surface); border-radius: 999px; padding: .45rem 1rem; font-weight: 700; font-size: .88rem; box-shadow: var(--shadow-sm); display: inline-flex; gap: .5rem; align-items: center; }
.meta-pill svg { width: 1.05em; height: 1.05em; color: var(--accent); }

/* ---------- Program layout ---------- */
.program-layout { display: grid; grid-template-columns: 1fr 330px; gap: 2.2rem; align-items: start; }
.prose h2 { margin-top: 2rem; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4rem; }
.sidebar { display: grid; gap: 1.2rem; position: sticky; top: calc(var(--header-h) + 16px); }
.sidebar .card h3 { font-size: 1.05rem; margin-bottom: .7rem; }
.sidebar .mini-list { list-style: none; padding: 0; margin: 0; }
.sidebar .mini-list li { border-bottom: 1px solid var(--line); }
.sidebar .mini-list li:last-child { border-bottom: 0; }
.sidebar .mini-list a { display: block; padding: .55rem .2rem; color: var(--ink); font-weight: 600; font-size: .9rem; }
.sidebar .mini-list a:hover { color: var(--accent); text-decoration: none; }
.sidebar .mini-list a[aria-current] { color: var(--accent); }
.info-rows { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.info-rows li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--line); }
.info-rows li:last-child { border-bottom: 0; }
.info-rows span { color: var(--ink-soft); }
.info-rows strong { text-align: right; }

/* ---------- Timeline (events / calendar) ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 1.4rem 2.4rem; }
.timeline li::before { content: ""; position: absolute; left: 3px; top: .35em; width: 19px; height: 19px; border-radius: 50%; background: var(--surface); border: 5px solid var(--accent); }
.timeline strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.timeline span { color: var(--ink-soft); font-size: .93rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.gallery img, .gallery svg { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--surface); font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft);
}
.field .hint { font-size: .8rem; color: var(--ink-soft); }
.form-note { font-size: .85rem; color: var(--ink-soft); }
.form-status { display: none; margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-status.ok { display: block; background: var(--green-soft); color: #0a7a44; }
.form-status.err { display: block; background: #fde8e8; color: #b42318; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 2.4rem; }
.contact-cards .card { text-align: center; }
.contact-cards .pillar-icon { margin-inline: auto; }
.map-frame { border: 0; width: 100%; height: 380px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9c8de; margin-top: clamp(3rem, 7vw, 5rem); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.2rem; padding: clamp(2.6rem, 5vw, 4rem) 0 2rem; }
.site-footer h3 { color: #fff; font-size: 1.02rem; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .5rem; }
.site-footer a { color: #b9c8de; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: .9rem; }
.footer-brand .brand small { color: #8fa3c0; }
.footer-brand p { color: #b9c8de; font-size: .93rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; margin-bottom: .8rem; }
.footer-contact svg { width: 19px; height: 19px; flex: none; margin-top: .15em; color: #6ea3ff; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .08);
  display: grid; place-items: center; transition: background .15s, transform .15s;
}
.socials a:hover { background: var(--blue); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.1rem 0; font-size: .85rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.footer-bottom a { color: #b9c8de; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(18, 140, 78, .45);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .pillars, .grid-3, .testimonials, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .program-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0; top: 0; margin: 0; z-index: 99;
    background: var(--surface);
    padding: calc(var(--header-h) + 1.2rem) 1.4rem 2.5rem;
    overflow-y: auto; transform: translateX(100%);
    transition: transform .28s ease; visibility: hidden;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav-link { width: 100%; justify-content: space-between; font-size: 1.05rem; padding: .85rem 1rem; }
  .dropdown {
    position: static; opacity: 1; visibility: hidden; transform: none; box-shadow: none;
    border: 0; border-left: 3px solid var(--blue-soft); border-radius: 0;
    margin: 0 0 .4rem .9rem; padding: 0 0 0 .4rem; display: none; min-width: 0;
  }
  .dropdown.is-open { display: block; visibility: visible; }
  .nav-toggle { display: inline-flex; position: relative; z-index: 100; }
  .header-cta { display: none; }
  .hero-grid, .split, .cta-band { grid-template-columns: 1fr; }
  .cta-band .actions { justify-content: flex-start; }
  .hero-art { max-width: 460px; margin-inline: auto; order: -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .pillars, .grid-3, .grid-4, .grid-2, .testimonials, .stats, .contact-cards,
  .feature-list, .form-grid, .sidebar { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .topbar-items span.hide-sm { display: none; }
  .btn { width: 100%; }
  .hero-actions .btn, .cta-band .btn { width: auto; flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .wa-float, .cta-band, .site-footer .socials { display: none !important; }
  body { background: #fff; }
}
