/* ==========================================================================
Gen Alpha Home Tuitions: design system
   Tokens first; components follow in page order.
   ========================================================================== */
:root {
  /* colour tokens */
  --background: #F6F8FD;
  --foreground: #0C1A4B;
  --primary: #1B2A78;
  --secondary: #1D8FE1;
  --accent: #F7A21B;
  --muted: #55608A;
  --border: #DCE2F1;
  --card: #FFFFFF;
  --success: #0B7A55;
  --error: #C22B45;
  /* supporting */
  --ink: #0C1A4B;
  --ink-deep: #070F32;
  --tint: #EDF1FA;
  --blue: #1D8FE1;
  --blue-d: #0F6FC2;
  --emerald: #0E9F6E;
  --emerald-d: #0B7A55;
  --amber: #F7A21B;
  --amber-l: #FFB94D;
  --plum: #5E2CA5;
  --rose: #C4184B;
  --wa: #0B8A57;
  --border-strong: #B7C0DC;
  /* shape + space */
  --r-sm: 12px; --r: 20px; --r-lg: 28px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 72px;
  --shadow-1: 0 1px 2px rgba(12, 26, 75, .06), 0 8px 24px -12px rgba(12, 26, 75, .18);
  --shadow-2: 0 2px 4px rgba(12, 26, 75, .06), 0 24px 48px -20px rgba(12, 26, 75, .35);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
  --spectrum: linear-gradient(90deg, #E31C5F 0 20%, #F58220 20% 40%, #43A047 40% 60%, #1565C0 60% 80%, #5E2CA5 80% 100%);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; font-weight: 450;
  color: var(--foreground); background: var(--background); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

/* Modern thin scrollbar – matches design system */
* {
  scrollbar-width: thin;
  scrollbar-color: #8B9AC7 #F0F3FA;
}
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-track {
  background: #F0F3FA;
  border-radius: 999px;
}
*::-webkit-scrollbar-thumb {
  background: #8B9AC7;
  border-radius: 999px;
  border: 2px solid #F0F3FA;
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover {
  background: #5C6B9A;
}
*::-webkit-scrollbar-corner {
  background: #F0F3FA;
}

img, svg, video { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; max-width: 68ch; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .section--ink :focus-visible, .band :focus-visible, .footer :focus-visible, .split__half--tutor :focus-visible, .chat__head :focus-visible { outline-color: #FFD27A; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section--tint { background: var(--tint); }
.section--ink { background: var(--ink); color: #fff; }
.section-head { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); max-width: 20ch; }
.section-head__sub { margin: 1rem 0 0; color: var(--muted); font-size: 1.125rem; max-width: 52ch; }
.lead { margin: 1rem 0 0; color: var(--muted); font-size: 1.125rem; line-height: 1.65; max-width: 68ch; }
.section-head--light .section-head__sub { color: #C3CCEE; }
.h-sm { font-size: 1.35rem; margin-bottom: 1rem; }
.fineprint { font-size: .9rem; color: var(--muted); margin-top: 1.25rem; }
.fineprint--light { color: #A9B4E0; }
.fineprint a, .link { color: var(--blue-d); font-weight: 600; }
.link { text-decoration-thickness: 2px; }
.spectrum { height: 5px; background: var(--spectrum); }
.callout { margin-top: 2rem; padding: 1rem 1.25rem; border-left: 4px solid var(--amber); background: #fff; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-weight: 600; max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: var(--h); padding: 0 1.4rem;
  border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: .98rem; line-height: 1.1; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s, color .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { --h: 40px; padding: 0 1.05rem; font-size: .9rem; }
.btn--lg { --h: 56px; padding: 0 1.9rem; font-size: 1.05rem; }
.btn__icon { width: 1.15em; height: 1.15em; }
.btn--icon-end { flex-direction: row; }
.btn--icon-end .btn__icon { order: 2; transition: transform .2s var(--ease); }
.btn--icon-end:hover .btn__icon { transform: translateX(4px); }
.btn--primary { background: var(--amber); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(247, 162, 27, .9); }
.btn--primary:hover { background: var(--amber-l); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--primary); }
.btn--outline { border-color: var(--border-strong); background: transparent; color: var(--ink); }
.btn--outline:hover { background: #fff; border-color: var(--ink); }
.btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--glass { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .24); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #097A4C; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; transform: none; }
.btn__spinner { display: none; width: 1.1em; height: 1.1em; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn[aria-busy="true"] .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h); background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--border); transition: background-color .3s, border-color .3s, box-shadow .3s, height .3s; }
main { padding-top: var(--header-h); }
.has-hero main { padding-top: 0; }
.header__bar { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.03em; }
.brand__text small { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav { margin-inline: auto; }
.nav ul { list-style: none; display: flex; align-items: center; gap: clamp(.5rem, 1.3vw, 1.75rem); }
.nav__item { display: flex; align-items: center; position: relative; }
.nav a, .nav__toggle { white-space: nowrap; font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; padding: .55rem .15rem; position: relative; }
.nav a::after { content: ''; position: absolute; left: .15rem; right: .15rem; bottom: .2rem; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav__toggle { background: none; border: 0; cursor: pointer; padding: 0; width: 28px; height: 36px; margin-left: -.1rem; display: grid; place-items: center; }
.nav__toggle .icon { width: 1.1rem; height: 1.1rem; max-width: none; transition: transform .25s var(--ease); }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.header__cta { display: flex; align-items: center; gap: .6rem; flex: none; }
.header__phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .92rem; text-decoration: none; margin-right: .4rem; }
.header__phone .icon { width: 1.05rem; height: 1.05rem; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--border-strong); background: transparent; cursor: pointer; place-items: center; }
.menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: block; }

/* transparent-on-hero state */
.site-header.is-transparent:not(.is-scrolled):not(.is-solid) { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.site-header.is-transparent:not(.is-scrolled):not(.is-solid) .brand__text small { color: #C9D3F5; }
.site-header.is-transparent:not(.is-scrolled):not(.is-solid) .header__phone { color: #fff; }
.site-header.is-transparent:not(.is-scrolled):not(.is-solid) .menu-btn { border-color: rgba(255, 255, 255, .5); color: #fff; }
.site-header.is-transparent:not(.is-scrolled):not(.is-solid) :focus-visible { outline-color: #FFD27A; }
.site-header.is-solid { background: #fff; border-color: var(--border); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(12, 26, 75, .35); }

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 30px 50px -30px rgba(12, 26, 75, .35); color: var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { padding-block: 2rem 1.5rem; }
.mega__cols { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.75rem; }
.mega__col { border-top: 3px solid var(--c, var(--blue)); padding-top: .9rem; }
.mega__col--blue { --c: var(--blue); } .mega__col--indigo { --c: var(--primary); } .mega__col--emerald { --c: var(--emerald); }
.mega__col--amber { --c: var(--amber); } .mega__col--plum { --c: var(--plum); } .mega__col--rose { --c: var(--rose); }
.mega__title { margin: 0 0 .6rem; font-weight: 800; letter-spacing: -0.02em; font-size: 1.05rem; }
.mega__title a { text-decoration: none; }
.mega__col ul { list-style: none; display: grid; gap: .1rem; }
.mega__col li a { display: block; padding: .3rem 0; text-decoration: none; color: var(--muted); font-weight: 550; font-size: .97rem; transition: color .15s, transform .2s var(--ease); }
.mega__col li a:hover { color: var(--ink); transform: translateX(3px); }
.mega__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.mega__all { font-weight: 700; color: var(--blue-d); }

/* mobile menu */
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 85; background: #fff; overflow-y: auto; padding: 1rem var(--gutter) calc(2rem + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 1.5rem; }
.mm__list { list-style: none; }
.mm__link { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 1.05rem .25rem; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; border: 0; border-bottom: 1px solid var(--border); background: none; text-align: left; cursor: pointer; min-height: 56px; }
.mm__link[aria-current="page"] { color: var(--blue-d); }
.mm__link .icon { transition: transform .25s var(--ease); }
.mm__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mm__sub { padding: .5rem 0 1rem .25rem; display: grid; }
.mm__sub a { padding: .7rem .25rem; font-weight: 600; text-decoration: none; min-height: 44px; }
.mm__group { margin: 1rem 0 .25rem; font-size: .8rem; font-weight: 800; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.mm__actions { display: grid; gap: .75rem; margin-top: auto; }
.mm__actions .btn { width: 100%; }
body.menu-open { overflow: hidden; }

@media (max-width: 1499px) { .header__phone { display: none; } }
@media (max-width: 1279px) {
  .header__cta .btn--wa { width: 40px; padding: 0; }
  .header__cta .btn--wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
@media (max-width: 1079px) {
  .nav, .header__cta { display: none; }
  .menu-btn { display: grid; }
  .site-header { --header-h: 64px; }
  :root { --header-h: 64px; }
}
@media (min-width: 1080px) { .mobile-menu { display: none !important; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; background: var(--ink) url('/images/hero-poster.jpg') center / cover no-repeat; }
.hero__media, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__video { object-fit: cover; }
.hero__shade { position: absolute; inset: 0; z-index: 0; background:
  linear-gradient(180deg, rgba(7, 15, 50, .55) 0%, rgba(7, 15, 50, 0) 22%),
  linear-gradient(90deg, rgba(7, 15, 50, .84) 0%, rgba(7, 15, 50, .5) 46%, rgba(7, 15, 50, .12) 100%),
  linear-gradient(0deg, rgba(7, 15, 50, .7) 0%, rgba(7, 15, 50, 0) 40%); }
.hero__content { position: relative; z-index: 1; padding-block: calc(var(--header-h) + 3rem) clamp(5.5rem, 12vh, 8rem); }
.hero h1 { display: flex; flex-direction: column; gap: .85rem; }
.hero__brand { display: inline-flex; align-items: center; gap: .75rem; font-size: clamp(.72rem, 1.2vw, .82rem); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #C9D3F5; }
.hero__brand::before { content: ''; width: 36px; height: 4px; border-radius: 3px; background: var(--spectrum); }
.hero__title { font-size: clamp(2.35rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; max-width: 18ch; text-wrap: balance; }
.hero__sub { font-size: clamp(1rem, 1.55vw, 1.2rem); line-height: 1.55; font-weight: 450; max-width: 38ch; margin: 1.25rem 0 1.85rem; color: #D5DCF5; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero__contact { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 2rem 0 0; }
.hero__contact a { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; text-decoration: none; padding: .3rem 0; min-height: 44px; }
.hero__contact a:hover span { text-decoration: underline; }
.hero__toggle { position: absolute; z-index: 2; left: var(--gutter); bottom: 22px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(7, 15, 50, .35); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.hero__toggle-play { display: none; }
.hero__toggle[aria-pressed="true"] .hero__toggle-play { display: block; }
.hero__toggle[aria-pressed="true"] .hero__toggle-pause { display: none; }
/* one orchestrated entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero__content > *, .hero h1 > * { animation: rise .9s var(--ease) both; }
  .hero__title { animation-delay: .12s; } .hero__sub { animation-delay: .28s; } .hero__ctas { animation-delay: .42s; } .hero__contact { animation-delay: .54s; }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 700px) {
  .hero { min-height: 92svh; }
  .hero__shade { background: linear-gradient(180deg, rgba(7, 15, 50, .55) 0%, rgba(7, 15, 50, .35) 35%, rgba(7, 15, 50, .78) 100%); }
  .hero__ctas .btn { width: 100%; }
  .hero__content { padding-block: calc(var(--header-h) + 1.5rem) 5.5rem; }
  .hero__title { font-size: clamp(2.1rem, 9.5vw, 2.9rem); }
  .hero__sub { font-size: .98rem; max-width: none; margin: 1rem 0 1.4rem; }
  .hero__brand { font-size: .68rem; letter-spacing: .15em; }
  /* Keep dark Academic card readable and sized for mobile */
  .cats__cell--xl .cat { min-height: 200px; padding: 1.4rem; }
  .cats__cell--xl .cat__title { font-size: 1.55rem; }
  .cats__cell--xl .cat__blurb { font-size: .95rem; max-width: none; }
  .cats__cell--xl .cat::after { width: 180px; height: 180px; right: -50px; top: -50px; border-width: 22px; }
  .cats__cell--xl .cat__icon { width: 56px; height: 56px; border-radius: 16px; }
  .cats__cell--xl .cat__icon .icon { width: 28px; height: 28px; }
  .cat { padding: 1.15rem; gap: 1rem; }
  .cat__title { font-size: 1.08rem; }
  .cat__blurb { font-size: .88rem; }
}

/* ---------- categories (bento) ---------- */
.cats { list-style: none; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.cats__cell { display: flex; }
.cats__cell--xl, .cats__cell--wide { grid-column: span 2; }
@media (min-width: 900px) {
  .cats { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(158px, auto); gap: 16px; }
  .cats__cell--xl { grid-row: span 2; }
}
.cat { --c: var(--blue); --t: #E6F3FD; position: relative; overflow: hidden; width: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem; padding: 1.3rem; border-radius: var(--r); background: var(--t); border: 1px solid color-mix(in srgb, var(--c) 18%, transparent); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.cat--blue { --c: #1D8FE1; --t: #E6F3FD; } .cat--emerald { --c: #0E9F6E; --t: #E3F6EE; } .cat--amber { --c: #E48A00; --t: #FFF1D9; }
.cat--rose { --c: #C4184B; --t: #FCE7EE; } .cat--plum { --c: #5E2CA5; --t: #EEE6FA; } .cat--ink { --c: #F7A21B; --t: var(--ink); color: #fff; border-color: transparent; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--c); }
.cat__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--c); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.cat__icon .icon { width: 26px; height: 26px; }
.cat:hover .cat__icon { background: var(--c); color: #fff; transform: rotate(-6deg); }
.cat--amber:hover .cat__icon { color: var(--ink); }
.cat--ink .cat__icon { background: rgba(255, 255, 255, .1); }
.cat--ink:hover .cat__icon { background: var(--amber); color: var(--ink); }
.cat__body { display: flex; flex-direction: column; gap: .25rem; }
.cat__title { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
.cat__blurb { font-size: .92rem; line-height: 1.45; color: var(--muted); }
.cat--ink .cat__blurb { color: #C3CCEE; }
.cats__cell--xl .cat { padding: 1.75rem; }
.cats__cell--xl .cat__title { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.cats__cell--xl .cat__blurb { font-size: 1.05rem; max-width: 26ch; }
.cats__cell--xl .cat__icon { width: 68px; height: 68px; border-radius: 20px; }
.cats__cell--xl .cat__icon .icon { width: 34px; height: 34px; }
.cats__cell--xl .cat::after { content: ''; position: absolute; right: -90px; top: -90px; width: 280px; height: 280px; border-radius: 50%; border: 36px solid rgba(29, 143, 225, .28); pointer-events: none; }
.cats__cell--xl .cat::before { content: ''; position: absolute; right: 30px; top: 30px; width: 90px; height: 90px; border-radius: 50%; background: var(--spectrum); opacity: .0; }
.cats__cta { margin: 2.25rem 0 0; }

/* ---------- pillars ---------- */
.pillars { display: flex; flex-direction: column; gap: 10px; }
.pillar { --pc: var(--blue-d); --pt: #fff; background: var(--pc); color: var(--pt); border-radius: var(--r-lg); overflow: hidden; position: relative; }
.pillar--blue { --pc: #0F6FC2; } .pillar--emerald { --pc: #0B7A55; } .pillar--amber { --pc: #F7A21B; --pt: var(--ink); }
.pillar--rose { --pc: #C4184B; } .pillar--plum { --pc: #5E2CA5; }
.pillar__head { font-size: inherit; letter-spacing: 0; line-height: 1; }
.pillar__head button { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; background: none; border: 0; text-align: left; cursor: pointer; color: inherit; min-height: 68px; }
.pillar__n { font-size: 1rem; font-weight: 800; opacity: .75; font-variant-numeric: tabular-nums; }
.pillar__title { font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 800; letter-spacing: -0.03em; }
.pillar__chev { margin-left: auto; transition: transform .3s var(--ease); }
.pillar.is-open .pillar__chev { transform: rotate(180deg); }
.pillar__body { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s var(--ease), visibility 0s .4s; }
.pillar.is-open .pillar__body { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.pillar__inner { min-height: 0; overflow: hidden; padding: 0 1.4rem; }
.pillar.is-open .pillar__inner { padding-bottom: 1.5rem; }
.pillar__inner ul { list-style: none; display: grid; gap: .35rem; margin-bottom: 1.5rem; }
.pillar__inner li { font-size: clamp(1.2rem, 2.6vw, 1.55rem); font-weight: 700; letter-spacing: -0.02em; }
.pillar__links { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; align-items: center; }
.pillar__more, .pillar__req { font-weight: 700; }
.pillar__req { background: rgba(255, 255, 255, .18); padding: .6rem 1rem; border-radius: 999px; text-decoration: none; }
.pillar--amber .pillar__req { background: rgba(12, 26, 75, .12); }
.pillar__req:hover { background: rgba(255, 255, 255, .3); }
.pillar--amber .pillar__req:hover { background: rgba(12, 26, 75, .2); }
@media (min-width: 960px) {
  .pillars { flex-direction: row; height: clamp(460px, 62vh, 560px); }
  .pillar { flex: 1 1 0; min-width: 0; transition: flex-grow .55s var(--ease); }
  .pillar.is-open { flex-grow: 4.4; }
  .pillar__head { position: absolute; inset: 0 0 auto 0; z-index: 1; }
  .pillar__head button { flex-direction: column; align-items: flex-start; height: 100%; padding: 1.5rem; }
  .pillar:not(.is-open) .pillar__head button { height: 560px; max-height: 100%; }
  /* Collapsed service cards */
  /* COLLAPSED CARDS */
  .pillar:not(.is-open) .pillar__title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    align-self: center;
    margin: auto;
    white-space: nowrap;
  }

  /* EXPANDED CARD */
  .pillar.is-open .pillar__head button {
    height: auto;
    flex-direction: row;
    align-items: baseline;
  }

  .pillar.is-open .pillar__title {
    writing-mode: horizontal-tb;
    transform: none;
    align-self: auto;
    margin: 0;
    font-size: 1.9rem;
    white-space: normal;
  }

  /* CONTENT AREA OF EXPANDED CARD */
  .pillar__body {
    position: absolute;
    top: 100px;
    right: 0;
    bottom: 0;
    left: 0;

    display: block;

    opacity: 0;
    visibility: hidden;

    overflow: hidden;

    transition:
      opacity .3s,
      visibility 0s .3s;
  }

  .pillar.is-open .pillar__body {
    opacity: 1;
    visibility: visible;

    transition:
      opacity .45s .18s,
      visibility 0s 0s;
  }

  .pillar__inner {
    height: 100%;
    padding: 0 1.75rem 1.75rem;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .pillar__inner li {
    font-size: 1.55rem;
  }

  .pillar__chev {
    display: none;
  }
}

/* ---------- parent / tutor split ---------- */
.split { display: grid; grid-template-columns: 1fr; }
.split__half { position: relative; padding: clamp(3.5rem, 8vw, 7rem) var(--gutter); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; min-height: 480px; }
.split__half--parent { background: var(--tint); }
.split__half--tutor { background: var(--primary); color: #fff; }
.split__half--parent::before, .split__half--tutor::before { content: ''; position: absolute; inset: 0; pointer-events: none; }
.split__half--parent::before { background: repeating-radial-gradient(circle at 105% -8%, transparent 0 52px, rgba(29, 143, 225, .16) 52px 54px); }
.split__half--tutor::before { background: repeating-radial-gradient(circle at -5% 108%, transparent 0 52px, rgba(255, 255, 255, .1) 52px 54px); }
.split__content { position: relative; max-width: 30rem; }
.split__half--parent .split__content { margin-left: auto; }
.split__eyebrow { font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--muted); margin-bottom: 1rem; }
.split__half--tutor .split__eyebrow { color: #C9D3F5; }
.split__lead { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 1.25rem; max-width: 18ch; min-height: 3.3em; }
.split__actions { margin-top: 2rem; }
@media (max-width: 899px) { .split__lead { min-height: 0; } }
.split .photo--empty { display: none; }
.split__photo { margin-bottom: 2rem; border-radius: var(--r); position: relative; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split__half { min-height: 620px; padding-inline: clamp(2rem, 5vw, 5rem); }
  .split__half--parent .split__content { margin-left: auto; margin-right: 0; }
}
.photo { display: block; aspect-ratio: var(--ratio, 4 / 5); overflow: hidden; border-radius: var(--r); background: var(--tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.photo--empty { background: linear-gradient(135deg, var(--tint), #DCE6F8); border: 1px dashed var(--border-strong); }

/* ---------- why ---------- */
.why { display: grid; gap: 2.5rem; }
.why__list { list-style: none; display: grid; gap: 0 2.5rem; grid-template-columns: 1fr; }
.why__item { display: flex; gap: 1rem; padding: 1.4rem 0; border-top: 1.5px solid var(--border-strong); }
.why__icon { width: 46px; height: 46px; border-radius: 14px; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; color: var(--blue-d); flex: none; }
.why__item h3 { font-size: 1.1rem; letter-spacing: -0.02em; margin-bottom: .3rem; }
.why__item p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (min-width: 720px) { .why__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .why { grid-template-columns: minmax(280px, 4fr) 7fr; gap: 4rem; } .why__intro { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }

/* ---------- tabs + steps ---------- */
.tabs__list { display: inline-flex; padding: 5px; gap: 4px; background: #fff; border: 1px solid var(--border); border-radius: 999px; margin-bottom: 2.5rem; max-width: 100%; }
.tabs__tab { border: 0; background: transparent; padding: .7rem 1.25rem; border-radius: 999px; font-weight: 700; font-size: .95rem; cursor: pointer; color: var(--muted); transition: background-color .2s, color .2s; min-height: 44px; }
.tabs__tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tabs__tab:not([aria-selected="true"]):hover { color: var(--ink); }
.steps { list-style: none; display: grid; gap: 2rem; grid-template-columns: 1fr; counter-reset: s; }
.step { position: relative; padding-left: 4rem; }
.step__n { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; z-index: 1; }
.step::before { content: ''; position: absolute; left: 21px; top: 44px; bottom: -2rem; width: 2px; background: var(--border-strong); }
.step:last-child::before { display: none; }
.step__t { font-size: 1.15rem; letter-spacing: -0.02em; margin: .55rem 0 .35rem; }
.step__d { margin: 0; color: var(--muted); font-size: .98rem; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 1.75rem; }
  .step { padding: 0; }
  .step::before { left: 56px; right: -1.75rem; top: 21px; bottom: auto; width: auto; height: 2px; }
  .step__n { position: relative; }
  .step__t { margin-top: 1.25rem; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1.5px solid var(--border-strong); }
.faq__item { border-bottom: 1.5px solid var(--border-strong); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; padding: 1.3rem 0; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.015em; min-height: 56px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { transition: transform .3s var(--ease); color: var(--muted); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__item p { padding-bottom: 1.3rem; margin: 0; color: var(--muted); max-width: 62ch; }

/* ---------- CTA band ---------- */
.band { background: linear-gradient(120deg, var(--ink) 0%, var(--primary) 100%); color: #fff; padding-block: clamp(3rem, 7vw, 5rem); }
.band__inner { display: grid; gap: 2rem; align-items: center; }
.band h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: .75rem; }
.band p { margin: 0; color: #D3DAF5; max-width: 46ch; }
.band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 1000px) { .band__inner { grid-template-columns: 1.2fr 1fr; } .band__actions { justify-content: flex-end; } }

/* ---------- testimonials (renders only when real ones exist) ---------- */
.testi { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.testi__item { margin: 0; padding: 1.5rem; background: #fff; border-radius: var(--r); border: 1px solid var(--border); }
.testi blockquote { margin: 0 0 1rem; font-size: 1.1rem; }
.testi figcaption { color: var(--muted); font-weight: 600; font-size: .95rem; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; padding-top: clamp(2rem, 5vw, 4rem); background: radial-gradient(900px 400px at 100% 0%, rgba(29, 143, 225, .14), transparent 70%), linear-gradient(180deg, #fff, var(--background)); }
.page-hero--parent { background: radial-gradient(900px 420px at 100% 0%, rgba(29, 143, 225, .2), transparent 70%), linear-gradient(180deg, #fff, var(--background)); }
.page-hero--tutor { background: radial-gradient(900px 420px at 100% 0%, rgba(14, 159, 110, .18), transparent 70%), linear-gradient(180deg, #fff, var(--background)); }
.page-hero__inner { display: grid; gap: 2.5rem; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); align-items: end; }
.page-hero h1 { font-size: clamp(2.2rem, 5.2vw, 4.1rem); letter-spacing: -0.04em; line-height: 1.04; max-width: 20ch; }
.page-hero__lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); margin: 1.25rem 0 0; max-width: 46ch; line-height: 1.55; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.page-hero__aside { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--shadow-1); }
.aside__t { font-weight: 800; letter-spacing: -0.02em; margin: 0 0 .75rem; font-size: 1.1rem; }
.aside__p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (min-width: 960px) { .page-hero__inner { grid-template-columns: 1fr minmax(280px, 380px); } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .88rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs li + li::before { content: '/'; margin-right: .5rem; opacity: .6; }
.crumbs a { text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.quick { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.quick a { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1rem; border-radius: 999px; border: 1.5px solid var(--border-strong); background: #fff; font-weight: 650; font-size: .95rem; text-decoration: none; transition: border-color .2s, background-color .2s, transform .2s var(--ease); min-height: 44px; }
.quick a:hover { border-color: var(--ink); transform: translateY(-2px); }
.quick .icon { color: var(--blue-d); width: 1.1em; height: 1.1em; }

/* ---------- tags / chips ---------- */
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { padding: .45rem .95rem; background: #fff; border: 1px solid var(--border); border-radius: 999px; font-weight: 600; font-size: .94rem; }
.tags--lg li { padding: .7rem 1.25rem; font-size: 1.02rem; }
.chips-links { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.chip-link { display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.2rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--border-strong); font-weight: 650; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.chip-link:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- about ---------- */
.about { display: grid; gap: 3rem; align-items: center; }
.about__text p { font-size: 1.12rem; }
.about__photo { max-width: 460px; }
.about__photo.photo--empty { display: none; }
.principles { list-style: none; display: grid; gap: 0 3rem; grid-template-columns: 1fr; }
.principles li { padding: 1.5rem 0; border-top: 1.5px solid var(--border-strong); }
.principles h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.principles p { margin: 0; color: var(--muted); }
.duo { display: grid; gap: 3rem; }
.duo__col h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
@media (min-width: 900px) {
  .about { grid-template-columns: 1.3fr .9fr; gap: 5rem; }
  .about:has(.photo--empty) { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr 1fr; }
  .duo { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

/* ---------- services ---------- */
.services-layout { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.services-nav { display: none; }
.svc { padding: 2rem 0; border-top: 1.5px solid var(--border-strong); display: grid; gap: 1.25rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.svc:first-of-type { border-top: 0; padding-top: 0; }
.svc__head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.svc__head p { color: var(--muted); margin: 0; }
.svc__group { margin-bottom: 1.25rem; }
.svc__group h4 { font-size: 1rem; letter-spacing: -0.01em; margin-bottom: .6rem; }
.svc__group h4 a { text-decoration: none; }
.svc__group h4 a:hover { text-decoration: underline; }
.svc__actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 1.5rem; }
@media (min-width: 960px) {
  .services-layout { grid-template-columns: 220px 1fr; gap: 4rem; }
  .services-nav { display: block; position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
  .services-nav__t { font-weight: 800; margin-bottom: .75rem; font-size: .95rem; }
  .services-nav ul { list-style: none; border-left: 2px solid var(--border); }
  .services-nav a { display: block; padding: .5rem 1rem; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
  .services-nav a:hover, .services-nav a.is-active { color: var(--ink); border-left-color: var(--amber); }
  .svc { grid-template-columns: minmax(200px, 1fr) 2fr; gap: 2.5rem; }
}
.overview { display: grid; gap: 2.5rem; }
.overview__text p { font-size: 1.12rem; }
.overview__ask { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 1.5rem; align-self: start; }
.overview__ask h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.overview__ask ul { list-style: none; display: grid; gap: .8rem; }
.overview__ask li { display: flex; gap: .7rem; font-size: .98rem; }
.overview__ask .icon { color: var(--emerald-d); margin-top: .2rem; }
@media (min-width: 900px) { .overview { grid-template-columns: 1.4fr 1fr; gap: 5rem; } }
.sgroups { padding-bottom: 2rem; }
.sgroup { padding-top: 2rem; }
.sgroup > h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.sgroup > h2 a { text-decoration: none; }
.sitems { list-style: none; border-top: 1.5px solid var(--border-strong); }
.sitem { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.2rem 0; border-bottom: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 24px); }
.sitem:target { background: linear-gradient(90deg, rgba(247, 162, 27, .14), transparent); }
.sitem h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
.sitem p { margin: .3rem 0 0; color: var(--muted); font-size: .96rem; }
.sitem__req { flex: none; padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--border-strong); font-weight: 700; font-size: .9rem; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; min-height: 44px; display: inline-flex; align-items: center; }
.sitem__req:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.related { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.related a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; background: var(--tint); font-weight: 650; text-decoration: none; }
.related a:hover { background: var(--ink); color: #fff; }

/* ---------- locations ---------- */
.cities { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.city { display: flex; gap: 1rem; align-items: center; padding: 1.5rem; background: #fff; border-radius: var(--r); border: 1px solid var(--border); text-decoration: none; transition: box-shadow .3s, transform .3s var(--ease); }
.city:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.city > span:last-child { display: flex; flex-direction: column; }
.city strong { font-size: 1.3rem; letter-spacing: -0.02em; }
.city span span { color: var(--muted); font-size: .95rem; }
.city__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--tint); display: grid; place-items: center; color: var(--blue-d); flex: none; }

/* ---------- parent / tutor pages ---------- */
.benefits { list-style: none; display: grid; gap: 2rem 2.5rem; grid-template-columns: 1fr; }
.benefits li { padding-top: 1.25rem; border-top: 1.5px solid var(--border-strong); }
.benefits__icon { width: 46px; height: 46px; border-radius: 14px; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; color: var(--blue-d); margin-bottom: 1rem; }
.benefits h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.benefits p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (min-width: 720px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .benefits { grid-template-columns: repeat(3, 1fr); } .benefits--4 { grid-template-columns: repeat(4, 1fr); } }
.form-layout { display: grid; gap: 2.5rem; }
.form-layout__side h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 1rem; }
.side-help { margin-top: 2rem; display: grid; gap: .75rem; justify-items: start; }
.side-help p { margin: 0; font-weight: 700; }
@media (min-width: 1000px) {
  .form-layout { grid-template-columns: 340px 1fr; gap: 4rem; }
  .form-layout__side { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* ---------- forms ---------- */
.form-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(1.25rem, 3.5vw, 2.5rem); box-shadow: var(--shadow-1); }
.form__intro { color: var(--muted); margin-bottom: 1.5rem; font-size: .98rem; }
.form__group { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.form__group legend { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; padding: 0 0 1rem; width: 100%; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem; }
.form__grid { display: grid; gap: 1.1rem 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: span 2; } }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field label, .field--choice legend { font-weight: 650; font-size: .94rem; }
.field--choice { border: 0; padding: 0; margin: 0; }
.field--choice legend { padding: 0; margin-bottom: .5rem; }
.opt { font-weight: 500; color: var(--muted); font-size: .82rem; margin-left: .25rem; }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem; background: #fff; border: 1.5px solid var(--border-strong); border-radius: var(--r-sm); transition: border-color .2s, box-shadow .2s; font-weight: 500; }
.field textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355608A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.15rem; padding-right: 2.6rem; }
.field input[type="file"] { padding: .6rem; cursor: pointer; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 143, 225, .2); }
.field [aria-invalid="true"], .field--choice[aria-invalid="true"] .chip span { border-color: var(--error) !important; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(194, 43, 69, .18); }
.field__hint { margin: 0; font-size: .85rem; color: var(--muted); }
.field__error { margin: 0; font-size: .88rem; font-weight: 650; color: var(--error); display: flex; gap: .35rem; align-items: flex-start; }
.field__error::before { content: '!'; flex: none; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--error); color: #fff; font-size: .75rem; display: grid; place-items: center; margin-top: .12rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.05rem; border-radius: 999px; border: 1.5px solid var(--border-strong); font-weight: 600; font-size: .94rem; background: #fff; transition: background-color .15s, color .15s, border-color .15s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__consent { font-size: .86rem; color: var(--muted); margin: 0 0 1.25rem; }
.form__actions { display: flex; }
.form__actions .btn { min-width: 220px; }
.form__status { margin-top: 1rem; }
.form__status:not(:empty) { padding: 1rem 1.15rem; border-radius: var(--r-sm); background: #FDECEF; border: 1px solid #F3B9C4; color: #7E1428; font-weight: 600; }
.form__status a { color: inherit; font-weight: 800; }
.form__summary { margin-bottom: 1.5rem; padding: 1rem 1.15rem; border-radius: var(--r-sm); background: #FDECEF; border: 1px solid #F3B9C4; color: #7E1428; }
.form__summary p { margin: 0 0 .4rem; font-weight: 800; }
.form__summary ul { margin: 0; padding-left: 1.2rem; }
.form__summary a { color: inherit; font-weight: 650; }
.form-success { text-align: center; padding: clamp(1.5rem, 5vw, 3rem) 1rem; }
.form-success:focus { outline: none; }
.form-success__icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1.25rem; display: grid; place-items: center; background: #DDF5EA; color: var(--emerald-d); }
.form-success__icon .icon { width: 34px; height: 34px; stroke-width: 2.2; }
.form-success h3 { font-size: 2rem; margin-bottom: .75rem; }
.form-success p { margin: 0 auto 1.75rem; max-width: 44ch; font-size: 1.1rem; }
.form-success__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ---------- contact ---------- */
.contact { display: grid; gap: 3rem; }
.contact__ways { display: grid; gap: 1.5rem; align-content: start; }
.way { display: flex; gap: 1.25rem; padding: 1.5rem; background: #fff; border: 1px solid var(--border); border-radius: var(--r); }
.way__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--tint); color: var(--primary); flex: none; }
.way__icon--wa { background: #DDF5EA; color: var(--emerald-d); }
.way h3 { font-size: 1rem; color: var(--muted); font-weight: 700; letter-spacing: 0; margin-bottom: .25rem; }
.way__big { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 1rem; }
.way__big--sm { font-size: clamp(1.05rem, 2.3vw, 1.35rem); overflow-wrap: anywhere; }
.way__big a { text-decoration: none; }
.way p:last-child { margin: 0; }
.contact__form h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 1.25rem; }
@media (min-width: 1000px) { .contact { grid-template-columns: 5fr 6fr; gap: 4rem; } }

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(4rem, 10vw, 8rem); text-align: left; }
.notfound__code { font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; margin: 0; background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: .5rem 0 1rem; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- footer ---------- */
.footer { background: var(--ink-deep); color: #C7CFEE; }
.footer__grid { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); grid-template-columns: 1fr; }
.footer__brand p { max-width: 30ch; margin-top: 1.25rem; color: #C7CFEE; }
.brand--footer { color: #fff; }
.brand--footer img { width: 56px; height: 56px; }
.brand--footer .brand__text small { color: #AEB9E6; }
.footer__h { font-size: .9rem; font-weight: 800; letter-spacing: .02em; color: #fff; margin-bottom: 1rem; }
.footer ul { list-style: none; display: grid; gap: .15rem; }
.footer a { text-decoration: none; display: inline-flex; align-items: center; gap: .6rem; padding: .35rem 0; min-height: 36px; color: #C7CFEE; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__contact .icon { width: 1.1rem; height: 1.1rem; color: var(--amber); }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 1.5rem 2rem; font-size: .9rem; }
.footer__legal p { margin: 0; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }

/* ---------- floating actions (dock) + chatbot ---------- */
.dock { position: fixed; z-index: 80; right: 20px; bottom: 20px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.dock > * { pointer-events: auto; }
.dock__call { display: none; }
.dock__wa { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: 0 1.2rem 0 1rem; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; box-shadow: 0 10px 26px -8px rgba(11, 138, 87, .7); transition: transform .2s var(--ease), background-color .2s; }
.dock__wa:hover { transform: translateY(-2px); background: #097A4C; }
.chat-launcher { width: 60px; height: 60px; border-radius: 50%; border: 2.5px solid #fff; background: var(--primary); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(12, 26, 75, .7); position: relative; transition: transform .25s var(--ease); }
.chat-launcher:hover { transform: scale(1.06); }
.chat-launcher .icon { width: 28px; height: 28px; }
.chat-launcher::after { content: ''; position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--amber); border: 2.5px solid var(--background); }
.chat-launcher__label { position: absolute; right: 72px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem; padding: .55rem .9rem; border-radius: 12px; box-shadow: var(--shadow-1); opacity: 0; pointer-events: none; transition: opacity .2s; }
.chat-launcher:hover .chat-launcher__label, .chat-launcher:focus-visible .chat-launcher__label { opacity: 1; }
body.chat-open .dock { opacity: 1; visibility: visible; }

.chat { position: fixed; z-index: 120; right: 20px; bottom: 20px; width: min(400px, calc(100vw - 24px)); height: min(680px, calc(100dvh - 40px)); display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); box-shadow: 0 30px 80px -20px rgba(7, 15, 50, .55), 0 0 0 1px rgba(12, 26, 75, .08); overflow: hidden; transform-origin: bottom right; animation: chat-in .28s var(--ease); }
@keyframes chat-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.chat__head { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; background: var(--ink); color: #fff; }
.chat__avatar { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; flex: none; }
.chat__title { flex: 1; min-width: 0; }
.chat__title strong { display: block; font-size: 1.02rem; letter-spacing: -0.01em; }
.chat__title span { display: block; font-size: .8rem; color: #BFC9F0; }
.chat__close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat__close:hover { background: rgba(255, 255, 255, .12); }
.chat__note { margin: 0; padding: .6rem 1rem; background: #FFF6E3; color: #6B4A00; font-size: .8rem; line-height: 1.4; max-width: none; }
.chat__log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; background: var(--background); scroll-behavior: smooth; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: .7rem .95rem; border-radius: 18px; font-size: .96rem; line-height: 1.5; overflow-wrap: anywhere; }
.msg p { margin: 0 0 .5em; max-width: none; } .msg p:last-child { margin: 0; }
.msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 6px; }
.msg--user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 6px; }
.msg__list { margin: .4rem 0 0; padding-left: 1.1rem; }
.msg__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.msg__actions .btn { --h: 40px; font-size: .88rem; padding: 0 1rem; }
.summary { margin: .5rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; font-size: .92rem; }
.summary dt { color: var(--muted); font-weight: 600; } .summary dd { margin: 0; font-weight: 650; }
.chat__replies { display: flex; flex-wrap: wrap; gap: .5rem; padding: .6rem 1rem .2rem; background: var(--background); max-height: 36%; overflow-y: auto; flex: none; }
.qr { display: inline-flex; align-items: center; text-decoration: none; min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--blue); background: #fff; color: var(--blue-d); font-weight: 700; font-size: .9rem; cursor: pointer; transition: background-color .15s, color .15s; }
.qr:hover { background: var(--blue-d); color: #fff; }
.qr--wa { border-color: var(--wa); color: var(--wa); } .qr--wa:hover { background: var(--wa); color: #fff; }
.chat__form { display: flex; gap: .5rem; padding: .75rem 1rem 1rem; background: var(--background); border-top: 1px solid var(--border); }
.chat__form input { flex: 1; min-width: 0; min-height: 48px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--border-strong); background: #fff; }
.chat__form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 143, 225, .2); }
.chat__send { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--amber); color: var(--ink); cursor: pointer; display: grid; place-items: center; flex: none; }
.chat__send:hover { background: var(--amber-l); }
.typing { display: inline-flex; gap: 4px; padding: .3rem 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }

@media (max-width: 760px) {
  body { padding-bottom: 84px; }
  .dock { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; }
  .dock__call { display: inline-flex; align-items: center; gap: .5rem; min-height: 52px; padding: 0 1.1rem; border-radius: 999px; background: #fff; color: var(--ink); border: 1.5px solid var(--border-strong); font-weight: 700; text-decoration: none; box-shadow: 0 10px 26px -8px rgba(12, 26, 75, .55); }
  .dock__wa { min-height: 52px; padding: 0 1.2rem; }
  .chat-launcher { margin-left: auto; }
  .chat-launcher__label { display: none; }
  .chat { inset: auto 0 0 0; width: 100%; height: min(86dvh, 720px); border-radius: var(--r-lg) var(--r-lg) 0 0; }
  body.menu-open .dock { display: none; }
}

/* ---------- scroll reveal (used sparingly) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] > * { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js [data-reveal].is-in > * { opacity: 1; transform: none; }
  .js [data-reveal].is-in > *:nth-child(2) { transition-delay: .06s; } .js [data-reveal].is-in > *:nth-child(3) { transition-delay: .12s; }
  .js [data-reveal].is-in > *:nth-child(4) { transition-delay: .18s; } .js [data-reveal].is-in > *:nth-child(5) { transition-delay: .24s; }
  .js [data-reveal].is-in > *:nth-child(6) { transition-delay: .3s; } .js [data-reveal].is-in > *:nth-child(n+7) { transition-delay: .36s; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}
@media print { .site-header, .dock, .chat, .hero__toggle { display: none !important; } }

   GEN ALPHA — VIDEO-STYLE INTERACTION LAYER
   Visual language inspired by the supplied motion reference.
   This layer changes presentation/motion only; existing content and links stay intact.
   ========================================================================== */
:root{
  --ga-sky:#e9fbff;
  --ga-lilac:#f1edff;
  --ga-pink:#fff0f7;
  --ga-blue:#6f7cff;
  --ga-purple:#9b72ff;
  --ga-cyan:#6de1e8;
  --ga-glass:rgba(255,255,255,.74);
  --ga-glass-strong:rgba(255,255,255,.9);
  --ga-line:rgba(91,111,220,.22);
}

/* soft animated canvas behind the whole site */
body.ga-motion-site{background:
  radial-gradient(700px 420px at 6% 12%,rgba(110,225,232,.20),transparent 70%),
  radial-gradient(650px 420px at 94% 22%,rgba(155,114,255,.16),transparent 70%),
  radial-gradient(720px 520px at 55% 92%,rgba(255,174,214,.13),transparent 70%),
  var(--background);}
body.ga-motion-site::before,
body.ga-motion-site::after{content:"";position:fixed;z-index:-2;pointer-events:none;filter:blur(1px);opacity:.65;}
body.ga-motion-site::before{width:42vw;height:42vw;left:-18vw;top:28vh;border:2px solid rgba(88,159,255,.12);border-radius:42% 58% 65% 35%;box-shadow:inset 0 0 90px rgba(111,124,255,.08);animation:gaBlobA 18s ease-in-out infinite alternate;}
body.ga-motion-site::after{width:36vw;height:36vw;right:-15vw;top:58vh;border:2px solid rgba(230,90,173,.12);border-radius:58% 42% 35% 65%;box-shadow:inset 0 0 90px rgba(109,225,232,.08);animation:gaBlobB 22s ease-in-out infinite alternate;}
@keyframes gaBlobA{to{transform:translate3d(7vw,-4vh,0) rotate(18deg) scale(1.08)}}
@keyframes gaBlobB{to{transform:translate3d(-5vw,5vh,0) rotate(-16deg) scale(1.12)}}

/* floating pastel geometry */
.ga-motion-layer{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;}
.ga-float{position:absolute;display:block;opacity:.52;filter:drop-shadow(0 18px 30px rgba(64,75,140,.10));transform:translate3d(var(--mx,0),var(--my,0),0);will-change:transform;}
.ga-float--cube{width:58px;height:58px;border-radius:13px;background:linear-gradient(145deg,#86e8eb,#8276ff);transform:rotate(18deg) translate3d(var(--mx,0),var(--my,0),0);animation:gaFloat 7s ease-in-out infinite;}
.ga-float--cube::after{content:"";position:absolute;inset:8px;border-radius:9px;background:linear-gradient(145deg,rgba(255,255,255,.5),rgba(255,255,255,0));}
.ga-float--ring{width:90px;height:90px;border:14px solid rgba(118,126,255,.30);border-radius:50%;animation:gaFloat 9s ease-in-out -2s infinite;}
.ga-float--diamond{width:38px;height:38px;border-radius:8px;background:linear-gradient(145deg,#ffd76d,#ff8fc8);transform:rotate(45deg);animation:gaFloat 8s ease-in-out -4s infinite;}
.ga-float--orb{width:72px;height:72px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff,rgba(255,255,255,.55) 18%,rgba(109,225,232,.36) 55%,rgba(155,114,255,.20));animation:gaFloat 10s ease-in-out -1s infinite;}
@keyframes gaFloat{0%,100%{translate:0 0}50%{translate:0 -18px}}

/* video-reference floating header */
.site-header{transition:transform .5s var(--ease),background-color .35s,border-color .35s,box-shadow .35s,height .35s;}
body.ga-motion-site .site-header{top:14px;left:clamp(10px,2vw,28px);right:clamp(10px,2vw,28px);width:auto;height:66px;border:1px solid rgba(113,127,220,.16);border-radius:22px;background:rgba(255,255,255,.82);box-shadow:0 18px 55px rgba(72,84,150,.13);backdrop-filter:blur(22px) saturate(1.25);-webkit-backdrop-filter:blur(22px) saturate(1.25);}
body.ga-motion-site main{padding-top:94px;}
body.ga-motion-site.has-hero main{padding-top:0;}
body.ga-motion-site .header__bar{padding-inline:clamp(.25rem,1vw,.8rem);}
body.ga-motion-site .site-header.is-scrolled{box-shadow:0 18px 55px rgba(72,84,150,.18);transform:translateY(-3px);}
body.ga-motion-site .brand img{transition:transform .45s var(--ease);}
body.ga-motion-site .brand:hover img{transform:rotate(-7deg) scale(1.07);}
body.ga-motion-site .nav a::after{height:3px;border-radius:999px;}

/* page hero becomes the pastel animated stage used in the reference */
body.ga-motion-site .page-hero{isolation:isolate;overflow:hidden;padding-top:clamp(2rem,5vw,4rem);background:
  radial-gradient(520px 300px at 86% 30%,rgba(111,124,255,.18),transparent 70%),
  radial-gradient(460px 280px at 60% 100%,rgba(109,225,232,.20),transparent 70%),
  linear-gradient(135deg,#f8ffff 0%,#f3f0ff 48%,#fff4fa 100%);}
body.ga-motion-site .page-hero::before{content:"";position:absolute;width:240px;height:240px;right:8%;top:8%;border-radius:44% 56% 62% 38%;border:18px solid rgba(111,124,255,.10);transform:rotate(24deg);animation:gaHeroOrbit 12s ease-in-out infinite alternate;z-index:-1;}
body.ga-motion-site .page-hero::after{content:"";position:absolute;width:150px;height:150px;right:25%;bottom:-55px;border-radius:32px;background:linear-gradient(145deg,rgba(109,225,232,.26),rgba(155,114,255,.16));transform:rotate(24deg);animation:gaHeroCube 8s ease-in-out infinite alternate;z-index:-1;}
@keyframes gaHeroOrbit{to{transform:rotate(46deg) translate3d(-22px,18px,0) scale(1.08)}}
@keyframes gaHeroCube{to{transform:rotate(42deg) translate3d(28px,-16px,0)}}
body.ga-motion-site .page-hero__inner{position:relative;min-height:360px;align-items:center;}
body.ga-motion-site .page-hero h1{font-size:clamp(2.8rem,6vw,5rem);max-width:15ch;}
body.ga-motion-site .page-hero__lead{max-width:50ch;}
body.ga-motion-site .crumbs{opacity:.72;}

/* stronger reveal — movement rather than simple fade */
body.ga-motion-site .ga-reveal{opacity:0;transform:translate3d(0,54px,0) scale(.975);filter:blur(5px);transition:opacity .85s var(--ease),transform .95s var(--ease),filter .85s var(--ease);}
body.ga-motion-site .ga-reveal.ga-in{opacity:1;transform:none;filter:none;}
body.ga-motion-site .ga-reveal[data-ga-delay="1"]{transition-delay:.08s}
body.ga-motion-site .ga-reveal[data-ga-delay="2"]{transition-delay:.16s}
body.ga-motion-site .ga-reveal[data-ga-delay="3"]{transition-delay:.24s}
body.ga-motion-site .ga-reveal[data-ga-delay="4"]{transition-delay:.32s}

/* service page — card-grid feel while preserving all existing text */
body.ga-motion-site .services-layout{position:relative;}
body.ga-motion-site .services-list{position:relative;}
body.ga-motion-site .services-list::before{content:"";position:absolute;inset:-4rem -5vw;z-index:-1;background:
  radial-gradient(320px 240px at 12% 18%,rgba(109,225,232,.10),transparent 70%),
  radial-gradient(360px 280px at 90% 54%,rgba(155,114,255,.10),transparent 70%);pointer-events:none;}
body.ga-motion-site .svc{position:relative;padding:clamp(1.4rem,3vw,2.2rem);margin-bottom:18px;border:1px solid rgba(110,125,215,.16);border-radius:26px;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(247,249,255,.72));box-shadow:0 12px 35px rgba(74,87,145,.07);display:grid;gap:1.4rem;overflow:hidden;transition:transform .5s var(--ease),box-shadow .5s var(--ease),border-color .5s var(--ease);}
body.ga-motion-site .svc::before{content:"";position:absolute;width:170px;height:170px;right:-55px;top:-65px;border-radius:50%;border:20px solid rgba(111,124,255,.08);pointer-events:none;transition:transform .7s var(--ease);}
body.ga-motion-site .svc::after{content:"";position:absolute;left:-40px;bottom:-55px;width:110px;height:110px;border-radius:28px;background:linear-gradient(145deg,rgba(109,225,232,.12),rgba(255,173,210,.10));transform:rotate(25deg);pointer-events:none;}
body.ga-motion-site .svc:hover{transform:translate3d(0,-9px,0);box-shadow:0 25px 60px rgba(72,84,150,.15);border-color:rgba(111,124,255,.42);}
body.ga-motion-site .svc:hover::before{transform:translate3d(-16px,18px,0) rotate(24deg) scale(1.1);}
body.ga-motion-site .svc__head h2{font-size:clamp(1.55rem,3vw,2.15rem);}
body.ga-motion-site .svc__body{position:relative;z-index:1;}
body.ga-motion-site .tags{display:flex;flex-wrap:wrap;gap:.55rem;}
body.ga-motion-site .tags li{padding:.48rem .82rem;border:1px solid rgba(102,117,201,.15);border-radius:999px;background:rgba(255,255,255,.76);box-shadow:0 5px 15px rgba(74,87,145,.05);transition:transform .3s var(--ease),border-color .3s,background .3s;}
body.ga-motion-site .tags li:hover{transform:translateY(-3px);border-color:rgba(111,124,255,.45);background:#fff;}
body.ga-motion-site .svc__actions{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem 1rem;margin-top:1.25rem;}
body.ga-motion-site .services-nav{padding:18px;border:1px solid rgba(110,125,215,.14);border-radius:22px;background:rgba(255,255,255,.66);box-shadow:0 14px 40px rgba(74,87,145,.06);backdrop-filter:blur(16px);}
body.ga-motion-site .services-nav ul{border-left-color:rgba(111,124,255,.15);}
body.ga-motion-site .services-nav a{transition:color .25s,background .25s,border-color .25s,transform .25s;border-radius:0 12px 12px 0;}
body.ga-motion-site .services-nav a:hover,body.ga-motion-site .services-nav a.is-active{background:rgba(111,124,255,.08);transform:translateX(4px);}

/* card components throughout the site */
body.ga-motion-site .cat,
body.ga-motion-site .way,
body.ga-motion-site .duo__col,
body.ga-motion-site .principles li,
body.ga-motion-site .why__item,
body.ga-motion-site .step,
body.ga-motion-site .form-wrap,
body.ga-motion-site .photo--empty,
body.ga-motion-site .pillar,
body.ga-motion-site .mega__col{transition:transform .5s var(--ease),box-shadow .5s var(--ease),border-color .4s,background .4s;}
body.ga-motion-site .cat:hover,
body.ga-motion-site .way:hover,
body.ga-motion-site .duo__col:hover,
body.ga-motion-site .principles li:hover,
body.ga-motion-site .why__item:hover,
body.ga-motion-site .step:hover,
body.ga-motion-site .form-wrap:hover{transform:translateY(-7px);box-shadow:0 22px 50px rgba(72,84,150,.13);}
body.ga-motion-site .way,body.ga-motion-site .form-wrap{background:rgba(255,255,255,.82);}
body.ga-motion-site .cat:not(.cat--ink){background:rgba(255,255,255,.78);backdrop-filter:blur(12px);}
body.ga-motion-site .cat.cat--ink,
body.ga-motion-site a.cat--ink{
  background:#0C1A4B !important;
  background-color:#0C1A4B !important;
  color:#fff !important;
}
body.ga-motion-site .cat--ink .cat__title{color:#fff !important;}
body.ga-motion-site .cat--ink .cat__blurb{color:#C3CCEE !important;}
body.ga-motion-site .cat--ink .cat__icon{background:rgba(255,255,255,.12) !important;color:#F7A21B !important;}

/* buttons behave like the reference */
body.ga-motion-site .btn{position:relative;overflow:hidden;isolation:isolate;box-shadow:0 9px 22px rgba(71,83,151,.10);transition:transform .35s var(--ease),box-shadow .35s var(--ease),background-color .3s,border-color .3s;}
body.ga-motion-site .btn::before{content:"";position:absolute;inset:-30% auto -30% -40%;width:35%;transform:skewX(-20deg) translateX(-180%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);transition:transform .7s ease;z-index:-1;}
body.ga-motion-site .btn:hover{transform:translateY(-4px) scale(1.015);box-shadow:0 16px 34px rgba(71,83,151,.18);}
body.ga-motion-site .btn:hover::before{transform:skewX(-20deg) translateX(520%);}
body.ga-motion-site .btn:active{transform:translateY(-1px) scale(.99);}
body.ga-motion-site .btn--primary{background:linear-gradient(135deg,#f7a21b,#ffb94d);}
body.ga-motion-site .btn--wa{background:linear-gradient(135deg,#0b8a57,#16b879);}

/* animated CTA band like the final video scene */
body.ga-motion-site .band{position:relative;overflow:hidden;background:linear-gradient(125deg,#8de9ee 0%,#9a8cff 48%,#f3a6d0 100%);color:#10204e;}
body.ga-motion-site .band::before{content:"";position:absolute;inset:-40%;background:repeating-radial-gradient(ellipse at 20% 60%,transparent 0 58px,rgba(255,255,255,.18) 60px 63px,transparent 65px 110px);animation:gaBandFlow 18s linear infinite;pointer-events:none;}
body.ga-motion-site .band::after{content:"";position:absolute;width:210px;height:210px;right:8%;top:-70px;border-radius:35%;background:linear-gradient(145deg,rgba(255,255,255,.32),rgba(255,255,255,.04));transform:rotate(22deg);animation:gaFloat 8s ease-in-out infinite;pointer-events:none;}
body.ga-motion-site .band__inner{position:relative;z-index:1;}
body.ga-motion-site .band p{color:#273866;}
@keyframes gaBandFlow{to{transform:rotate(8deg) translate3d(40px,-20px,0)}}

/* spectrum / decorative lines */
body.ga-motion-site .spectrum{height:6px;background:linear-gradient(90deg,#5d72ff,#8d6cff,#ec78c1,#72e0df,#5d72ff);background-size:250% 100%;animation:gaSpectrum 7s linear infinite;}
@keyframes gaSpectrum{to{background-position:250% 0}}

/* floating chatbot / WhatsApp control */
body.ga-motion-site .chat-launcher{animation:gaChatFloat 3.8s ease-in-out infinite;box-shadow:0 15px 35px rgba(68,82,160,.28),0 0 0 0 rgba(111,124,255,.28);}
body.ga-motion-site .chat-launcher:hover{animation:none;transform:scale(1.1);box-shadow:0 20px 45px rgba(68,82,160,.34),0 0 0 10px rgba(111,124,255,.08);}
body.ga-motion-site .dock__wa{animation:gaWaPulse 3.5s ease-in-out infinite;}
@keyframes gaChatFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes gaWaPulse{0%,100%{box-shadow:0 10px 26px -8px rgba(11,138,87,.55)}50%{box-shadow:0 14px 34px -5px rgba(11,138,87,.78)}}

/* scroll progress */
.ga-scroll-progress{position:fixed;z-index:120;left:0;top:0;width:100%;height:3px;pointer-events:none;background:transparent;}
.ga-scroll-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#6f7cff,#9b72ff,#ec78c1,#6de1e8);box-shadow:0 0 14px rgba(111,124,255,.35);}

/* cursor glow used by cards */
.ga-cursor-glow{position:fixed;z-index:119;width:180px;height:180px;margin:-90px 0 0 -90px;border-radius:50%;pointer-events:none;background:radial-gradient(circle,rgba(111,124,255,.13),rgba(109,225,232,.06) 35%,transparent 70%);mix-blend-mode:multiply;opacity:0;transition:opacity .25s;}
.ga-cursor-glow.is-visible{opacity:1;}

@media (max-width:1079px){
  body.ga-motion-site .site-header{top:8px;left:8px;right:8px;border-radius:18px;}
  body.ga-motion-site main{padding-top:84px;}
  body.ga-motion-site.has-hero main{padding-top:0;}
}
@media (max-width:700px){
  body.ga-motion-site::before,body.ga-motion-site::after{opacity:.32;}
  .ga-float{opacity:.25;transform:scale(.72);}
  body.ga-motion-site .page-hero__inner{min-height:320px;}
  body.ga-motion-site .svc{border-radius:20px;padding:1.2rem;}
  body.ga-motion-site .svc__actions{align-items:stretch;flex-direction:column;}
  body.ga-motion-site .svc__actions .btn{width:100%;}
  body.ga-motion-site .services-nav{display:none;}
  body.ga-motion-site .band::before{animation-duration:28s;}
  .ga-cursor-glow{display:none;}
}
@media (prefers-reduced-motion:reduce){
  body.ga-motion-site::before,body.ga-motion-site::after,.ga-float,.band::before,.band::after,.spectrum,.chat-launcher,.dock__wa{animation:none!important;}
  body.ga-motion-site .ga-reveal{opacity:1!important;transform:none!important;filter:none!important;transition:none!important;}
}


/* Full Gen Alpha robot artwork is the chat launcher. */
.chat-launcher {
  width: 255px;
  height: 255px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: block;
  cursor: pointer;
  position: relative;
  box-shadow: none;
  overflow: visible;
  transform-origin: 50% 78%;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  filter: blur(10px) brightness(.75) drop-shadow(0 0 0 rgba(39, 190, 255, 0));
  transition: transform .32s cubic-bezier(.2,.85,.2,1), filter .32s ease;
}

/* The robot materializes with a light burst, then settles into a gentle hover. */
.chat-launcher.is-materialized {
  opacity: 1;
  animation: bot-materialize 1.15s cubic-bezier(.16,1,.3,1) both, bot-float 4.4s 1.15s ease-in-out infinite;
}
.chat-launcher::before {
  content: '';
  position: absolute;
  inset: 10% 8% 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48, 202, 255, .34) 0%, rgba(48, 202, 255, .16) 28%, rgba(48, 202, 255, 0) 68%);
  filter: blur(18px);
  opacity: 0;
  transform: scale(.55);
  pointer-events: none;
  z-index: -1;
}
.chat-launcher.is-materialized::before { animation: bot-aura 1.35s .05s ease-out both, aura-pulse 3.8s 1.4s ease-in-out infinite; }
.chat-launcher::after {
  content: '';
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  left: 7%;
  top: 8%;
  border: 1px solid rgba(42, 194, 255, .0);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(42, 194, 255, 0);
  transform: scale(.35) rotate(-25deg);
  pointer-events: none;
}
.chat-launcher.is-materialized::after { animation: portal-ring 4.8s .9s cubic-bezier(.2,.9,.2,1) infinite; }
.chat-launcher:hover {
  animation-play-state: paused;
  transform: translateY(-8px) scale(1.055) rotate(-1deg);
  filter: drop-shadow(0 18px 30px rgba(12, 26, 75, .30)) drop-shadow(0 0 20px rgba(37, 190, 255, .22));
}
.chat-launcher:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 18px; }
.chat-launcher img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 18px 26px rgba(12, 26, 75, .22));
}
.chat-launcher.is-materialized img { animation: robot-energy 4.8s 1.2s ease-in-out infinite; }

.chat-launcher__magic { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.chat-launcher__spark {
  --angle: calc(var(--i) * 36deg);
  position: absolute;
  width: 7px;
  height: 7px;
  left: 50%;
  top: 48%;
  border-radius: 50%;
  background: #6deaff;
  box-shadow: 0 0 7px #6deaff, 0 0 15px rgba(45, 197, 255, .8);
  opacity: 0;
  transform: rotate(var(--angle)) translateY(0) scale(.2);
}
.chat-launcher.is-materialized .chat-launcher__spark { animation: magic-spark 3.8s calc(.12s + var(--i) * .18s) cubic-bezier(.2,.8,.2,1) infinite; }
.chat-launcher__spark:nth-child(2n) { width: 4px; height: 4px; background: #ffd36a; box-shadow: 0 0 7px #ffd36a, 0 0 13px rgba(255, 211, 106, .7); }
@keyframes bot-materialize {
  0% { opacity: 0; transform: translate3d(0, 34px, 0) scale(.58) rotate(-8deg); filter: blur(10px) brightness(.75) drop-shadow(0 0 0 rgba(39, 190, 255, 0)); }
  38% { opacity: 1; transform: translate3d(0, -7px, 0) scale(1.08) rotate(2deg); filter: blur(0) brightness(1.12) drop-shadow(0 0 22px rgba(39, 190, 255, .65)); }
  62% { transform: translate3d(0, 2px, 0) scale(.98) rotate(-1deg); filter: blur(0) brightness(1.02) drop-shadow(0 0 13px rgba(39, 190, 255, .28)); }
  82% { transform: translate3d(0, -3px, 0) scale(1.015) rotate(.5deg); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0); filter: blur(0) brightness(1) drop-shadow(0 18px 26px rgba(12, 26, 75, .22)); }
}
@keyframes bot-aura { 0% { opacity: 0; transform: scale(.55); } 35% { opacity: 1; transform: scale(1.12); } 100% { opacity: .5; transform: scale(1); } }
@keyframes aura-pulse { 0%,100% { opacity: .42; transform: scale(1); } 50% { opacity: .68; transform: scale(1.08); } }
@keyframes portal-ring { 0% { opacity: 0; transform: scale(.35) rotate(-25deg); box-shadow: 0 0 0 0 rgba(42,194,255,.55); border-color: rgba(42,194,255,.75); } 45% { opacity: .9; transform: scale(1.03) rotate(5deg); box-shadow: 0 0 0 16px rgba(42,194,255,0); } 100% { opacity: 0; transform: scale(1.18) rotate(18deg); box-shadow: 0 0 0 25px rgba(42,194,255,0); border-color: rgba(42,194,255,0); } }
@keyframes magic-spark { 0%, 62% { opacity: 0; transform: rotate(var(--angle)) translateY(0) scale(.15); } 68% { opacity: 1; transform: rotate(var(--angle)) translateY(-18px) scale(.65); } 82% { opacity: .9; transform: rotate(var(--angle)) translateY(-72px) scale(1); } 100% { opacity: 0; transform: rotate(var(--angle)) translateY(-125px) scale(.35); } }
@keyframes bot-float { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 25% { transform: translate3d(0, -7px, 0) rotate(.7deg); } 50% { transform: translate3d(0, -13px, 0) rotate(0deg); } 75% { transform: translate3d(0, -6px, 0) rotate(-.7deg); } }
@keyframes robot-energy { 0%, 100% { transform: scale(1); filter: drop-shadow(0 18px 26px rgba(12, 26, 75, .22)) drop-shadow(0 0 0 rgba(39,190,255,0)); } 45% { transform: scale(1.012); filter: drop-shadow(0 18px 26px rgba(12, 26, 75, .22)) drop-shadow(0 0 18px rgba(39,190,255,.22)); } 52% { transform: scale(1.025); filter: drop-shadow(0 18px 26px rgba(12, 26, 75, .22)) drop-shadow(0 0 32px rgba(39,190,255,.48)); } 62% { transform: scale(1.006); filter: drop-shadow(0 18px 26px rgba(12, 26, 75, .22)) drop-shadow(0 0 12px rgba(39,190,255,.16)); } }
.chat-launcher__label { display: none !important; }


/* Exact original site design preserved. Only remove the floating WhatsApp button beside the robot. */
.dock__wa { display: none !important; }

/* FINAL ROBOT SHARPNESS FIX — never blur the robot artwork */
.chat-launcher,
.chat-launcher.is-materialized,
.chat-launcher:hover,
.chat-launcher:focus,
.chat-launcher:active {
  filter: drop-shadow(0 18px 26px rgba(12, 26, 75, .22)) drop-shadow(0 0 0 rgba(39, 190, 255, 0)) !important;
}
.chat-launcher img,
.chat-launcher.is-materialized img {
  filter: drop-shadow(0 18px 26px rgba(12, 26, 75, .22)) !important;
  image-rendering: auto;
}
@media (prefers-reduced-motion: reduce){
  .chat-launcher,
  .chat-launcher.is-materialized,
  .chat-launcher img,
  .chat-launcher.is-materialized img { filter: drop-shadow(0 18px 26px rgba(12, 26, 75, .22)) !important; }
}


/* FINAL ROBOT BACKGROUND FIX + ALL-PAGES VISIBILITY */
.dock { z-index: 9999 !important; }
.chat-launcher,
.chat-launcher:hover,
.chat-launcher:focus,
.chat-launcher:focus-visible,
.chat-launcher:active,
.chat-launcher.is-materialized {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  outline: none;
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
  isolation: isolate;
}
.chat-launcher::before,
.chat-launcher::after {
  background-color: transparent;
}
.chat-launcher img,
.chat-launcher.is-materialized img {
  background: transparent !important;
  background-color: transparent !important;
  filter: drop-shadow(0 18px 26px rgba(12,26,75,.22)) !important;
  -webkit-filter: drop-shadow(0 18px 26px rgba(12,26,75,.22)) !important;
}
/* Keep the robot visible even while the mobile navigation is open. */
body.menu-open .dock { display: flex !important; visibility: visible !important; opacity: 1 !important; }
/* The floating WhatsApp control beside the robot stays removed. */
.dock__wa { display: none !important; }

/* ---------- compact contact page ---------- */
body[data-context="contact"] .contact-normal {
  padding-block: clamp(2.2rem, 5vw, 3.5rem) 1.2rem;
}
body[data-context="contact"] .contact-normal__inner {
  max-width: 820px;
}
body[data-context="contact"] .contact-normal__intro {
  text-align: center;
}
body[data-context="contact"] .contact-normal__intro h1 {
  margin: 0 0 .55rem;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.045em;
}
body[data-context="contact"] .contact-normal__intro p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
}
body[data-context="contact"] .contact-normal-form {
  padding-block: 1.2rem clamp(3rem, 6vw, 4.5rem);
}
body[data-context="contact"] .contact-normal-form__inner {
  max-width: 820px;
}
body[data-context="contact"] .contact-normal-form .contact__form > h2 {
  display: none;
}
body[data-context="contact"] .contact-normal-form .form-wrap {
  padding: clamp(1.15rem, 2.5vw, 1.7rem);
  border-radius: 20px;
}
body[data-context="contact"] .contact-normal-form .form__intro {
  margin-bottom: 1rem;
}
body[data-context="contact"] .contact-normal-form .form__group {
  margin-bottom: 1.25rem;
}
body[data-context="contact"] .contact-normal-form .form__group legend {
  padding-bottom: .7rem;
  margin-bottom: .9rem;
}
body[data-context="contact"] .contact-normal-form .form__grid {
  gap: .85rem 1rem;
}
body[data-context="contact"] .contact-normal-form .field input:not([type="radio"]):not([type="checkbox"]),
body[data-context="contact"] .contact-normal-form .field select {
  min-height: 46px;
  padding: .65rem .9rem;
}
body[data-context="contact"] .contact-normal-form .field textarea {
  min-height: 95px;
}
body[data-context="contact"] .contact-normal-form .form__consent {
  margin-bottom: 1rem;
}
body[data-context="contact"] .contact-normal-form .form__actions .btn {
  min-width: 170px;
}

/* Final brand lockup: single-line GenAlpha TUITIONS */
.brand__text { display: block; white-space: nowrap; line-height: 1; }
.brand__text strong { display: block; white-space: nowrap; }

/* Final logo lockup: GenAlpha tuitions, one line, solid white */
.brand__text{display:block !important;white-space:nowrap !important;line-height:1 !important;color:#fff !important;}
.brand__text strong{display:block !important;white-space:nowrap !important;color:#fff !important;font-weight:800 !important;letter-spacing:-.025em !important;text-transform:none !important;}
.site-header.is-solid .brand__text,
.site-header.is-scrolled .brand__text,
.site-header.is-solid .brand__text strong,
.site-header.is-scrolled .brand__text strong{color:#fff !important;}
.brand__text {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.brand__text strong {
  color: #fff !important;
  display: block !important;
}

.brand__text small {
  color: #c9c6c2 !important;
  display: block !important;
  font-size: 0.55em !important;
  font-weight: 700 !important;
  margin-top: 7px !important;
  text-align: center !important;
}
/* ============================================================================
   GENALPHA FINAL RESPONSIVE / MOBILE POLISH
   Keeps the desktop visual language on touch devices while adapting only size
   and interaction geometry. Chat robot is always viewport-fixed and never
   allowed to cover the chat panel or its input.
   ============================================================================ */

/* Keep the same desktop brand lockup everywhere; only scale it down on narrow screens. */
body.ga-motion-site .brand__text,
body.ga-motion-site .brand__text strong {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
body.ga-motion-site .brand__text {
  display: block !important;
  line-height: 1 !important;
}
body.ga-motion-site .brand__text strong {
  display: block !important;
  font-family: inherit !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: #fff !important;
}
body.ga-motion-site .brand {
  flex-shrink: 0;
}

/* The mobile header keeps the desktop logo treatment legible. */
@media (max-width: 1079px) {
  body.ga-motion-site .site-header {
    background: rgba(8, 18, 55, .84) !important;
    border-color: rgba(255,255,255,.18) !important;
    color: #fff !important;
    box-shadow: 0 14px 38px rgba(7,15,50,.18) !important;
    backdrop-filter: blur(22px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.2) !important;
  }
  body.ga-motion-site .brand img {
    width: 42px;
    height: 42px;
  }
  body.ga-motion-site .brand__text strong {
    font-size: clamp(.98rem, 4.2vw, 1.15rem) !important;
  }
  body.ga-motion-site .menu-btn {
    border-color: rgba(255,255,255,.35) !important;
    color: #fff !important;
    background: rgba(255,255,255,.08) !important;
  }
}

/* Touch devices get visible motion instead of desktop-only hover dependence. */
@media (hover: none), (pointer: coarse) {
  body.ga-motion-site .cat,
  body.ga-motion-site .way,
  body.ga-motion-site .duo__col,
  body.ga-motion-site .principles li,
  body.ga-motion-site .why__item,
  body.ga-motion-site .step,
  body.ga-motion-site .form-wrap,
  body.ga-motion-site .svc,
  body.ga-motion-site .pillar {
    -webkit-tap-highlight-color: transparent;
  }

  body.ga-motion-site .cat:active,
  body.ga-motion-site .way:active,
  body.ga-motion-site .duo__col:active,
  body.ga-motion-site .principles li:active,
  body.ga-motion-site .why__item:active,
  body.ga-motion-site .step:active,
  body.ga-motion-site .form-wrap:active,
  body.ga-motion-site .svc:active,
  body.ga-motion-site .pillar:active {
    transform: translateY(-3px) scale(.995);
    box-shadow: 0 18px 42px rgba(72,84,150,.15);
  }

  body.ga-motion-site .btn:active {
    transform: translateY(-2px) scale(.985) !important;
    box-shadow: 0 12px 28px rgba(71,83,151,.18) !important;
  }
}

/* Keep the animated background visible on phones instead of fading it away. */
@media (max-width: 700px) {
  body.ga-motion-site::before,
  body.ga-motion-site::after {
    opacity: .48 !important;
  }
  body.ga-motion-site .ga-float,
  .ga-float {
    opacity: .40 !important;
    transform: scale(.88);
  }
  body.ga-motion-site .ga-float--cube { animation-duration: 8s; }
  body.ga-motion-site .ga-float--ring { animation-duration: 10s; }
  body.ga-motion-site .ga-float--diamond { animation-duration: 9s; }
  body.ga-motion-site .ga-float--orb { animation-duration: 11s; }

  body.ga-motion-site .page-hero__inner {
    min-height: 340px;
  }
  body.ga-motion-site .page-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.6rem);
    line-height: .98;
  }
  body.ga-motion-site .svc,
  body.ga-motion-site .cat,
  body.ga-motion-site .way,
  body.ga-motion-site .form-wrap,
  body.ga-motion-site .pillar {
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s, background .35s;
  }

  /* Preserve the rich scroll-reveal system on mobile. */
  body.ga-motion-site .ga-reveal {
    transition-duration: .72s, .78s, .72s !important;
  }
}

/* --------------------------------------------------------------------------
   ROBOT / CHAT GEOMETRY
   -------------------------------------------------------------------------- */
body.ga-motion-site .dock {
  z-index: 125 !important;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  left: auto;
  width: auto;
  align-items: flex-end;
}

/* The artwork remains crisp but is intentionally smaller on mobile. */
body.ga-motion-site .chat-launcher {
  flex: 0 0 auto;
  width: 170px;
  height: 170px;
  max-width: 170px;
  max-height: 170px;
}

/* When chat is open, move the robot OUTSIDE the chat instead of letting it sit on it. */
body.ga-motion-site.chat-open .dock {
  right: calc(min(400px, calc(100vw - 40px)) + 38px);
}

body.ga-motion-site.chat-open .chat-launcher {
  animation: gaChatSideFloat 3.8s ease-in-out infinite !important;
}

@keyframes gaChatSideFloat {
  0%,100% { transform: translateY(0) scale(.98); }
  50% { transform: translateY(-5px) scale(1); }
}

/* Mobile: reserve a permanent right-side robot rail. The chat occupies the rest. */
@media (max-width: 760px) {
  body.ga-motion-site .dock {
    right: 8px !important;
    bottom: calc(18px + env(safe-area-inset-bottom)) !important;
    left: auto !important;
    width: 70px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
    pointer-events: none;
  }

  body.ga-motion-site .dock > * {
    pointer-events: auto;
  }

  body.ga-motion-site .dock__call,
  body.ga-motion-site .dock__wa {
    display: none !important;
  }

  body.ga-motion-site .chat-launcher {
    width: 68px !important;
    height: 68px !important;
    max-width: 68px !important;
    max-height: 68px !important;
    margin: 0 !important;
  }

  /* Closed state: robot is visible immediately in the viewport. */
  body.ga-motion-site:not(.chat-open) .chat-launcher {
    transform: translateZ(0) scale(1);
  }

  /* Open state: robot remains in its own right-side rail. */
  body.ga-motion-site.chat-open .dock {
    right: 8px !important;
  }

  body.ga-motion-site.chat-open .chat-launcher {
    transform: translateZ(0) scale(.94);
  }

  /* Chat gets its own column; the robot can never cover its text or input. */
  body.ga-motion-site .chat {
    right: 82px !important;
    left: 8px !important;
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    width: auto !important;
    height: min(82dvh, 680px) !important;
    max-height: calc(100dvh - 92px) !important;
    border-radius: 22px !important;
    transform-origin: bottom left !important;
    z-index: 120 !important;
  }

  body.ga-motion-site .chat__head {
    padding: .72rem .8rem;
  }
  body.ga-motion-site .chat__avatar {
    width: 36px;
    height: 36px;
  }
  body.ga-motion-site .chat__title strong {
    font-size: .94rem;
  }
  body.ga-motion-site .chat__title span {
    font-size: .72rem;
  }
  body.ga-motion-site .chat__note {
    font-size: .74rem;
    padding: .5rem .75rem;
  }
  body.ga-motion-site .chat__log {
    padding: .75rem;
  }
  body.ga-motion-site .chat__form {
    padding: .6rem .65rem calc(.65rem + env(safe-area-inset-bottom));
  }
  body.ga-motion-site .chat__form input {
    min-height: 46px;
    font-size: 16px;
  }
  body.ga-motion-site .chat__send {
    width: 46px;
    height: 46px;
  }

  /* Never hide the robot when the mobile navigation opens. */
  body.menu-open .dock {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Very small phones: preserve enough chat width for comfortable typing. */
@media (max-width: 360px) {
  body.ga-motion-site .dock,
  body.ga-motion-site .chat-launcher {
    width: 62px !important;
  }
  body.ga-motion-site .chat-launcher {
    height: 62px !important;
  }
  body.ga-motion-site .chat {
    right: 72px !important;
    left: 6px !important;
  }
}

/* Ensure the robot image itself never inherits a blur from any parent effect. */
body.ga-motion-site .chat-launcher img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 12px 20px rgba(12,26,75,.22)) !important;
  -webkit-filter: drop-shadow(0 12px 20px rgba(12,26,75,.22)) !important;
}


/* ============================================================================
   GENALPHA MOBILE/RESPONSIVE LOCK — 2026-09-22 BUILD 3
   This block is intentionally last. It does not depend on JavaScript classes,
   so the logo and robot remain correctly styled even during script loading.
   ============================================================================ */

/* Desktop brand lockup: image + GenAlpha / TUITIONS. Mobile uses the same
   lockup, only scaled to fit. */
.brand { min-width: 0 !important; }
.brand__text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  line-height: .9 !important;
  white-space: nowrap !important;
  overflow: visible !important;
}
.brand__text strong {
  display: block !important;
  margin: 0 !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: clamp(1.55rem, 2.2vw, 2.55rem) !important;
  line-height: .92 !important;
  font-weight: 800 !important;
  letter-spacing: -.045em !important;
  text-transform: none !important;
}
.brand__text small {
  display: block !important;
  margin: .28rem 0 0 !important;
  color: #cbd3f7 !important;
  font-family: inherit !important;
  font-size: clamp(.78rem, 1.05vw, 1.02rem) !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  text-align: left !important;
}

/* Keep the mobile header visually connected to the desktop header. */
@media (max-width: 1079px) {
  .site-header,
  .site-header.is-transparent,
  .site-header.is-solid,
  .site-header.is-scrolled {
    background: rgba(8, 18, 55, .94) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,.16) !important;
    box-shadow: 0 12px 35px rgba(7,15,50,.20) !important;
    backdrop-filter: blur(22px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.2) !important;
  }
  .site-header .brand img { width: 48px !important; height: 48px !important; }
  .brand__text strong { font-size: clamp(1.35rem, 6vw, 1.85rem) !important; }
  .brand__text small { font-size: clamp(.68rem, 2.8vw, .86rem) !important; margin-top: .22rem !important; }
  .menu-btn { color: #fff !important; border-color: rgba(255,255,255,.35) !important; background: rgba(255,255,255,.08) !important; }
  .menu-btn:hover, .menu-btn:focus-visible { background: rgba(255,255,255,.14) !important; }
}

/* Never allow the raw robot image to become a normal full-page image. */
.dock {
  position: fixed !important;
  right: 18px !important;
  bottom: calc(18px + env(safe-area-inset-bottom)) !important;
  left: auto !important;
  z-index: 2147483000 !important;
  width: 178px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 10px !important;
  pointer-events: none !important;
}
.dock > * { pointer-events: auto !important; }
.chat-launcher {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 168px !important;
  height: 168px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  overflow: visible !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
.chat-launcher img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: drop-shadow(0 14px 25px rgba(8,20,65,.25)) !important;
}
.chat-launcher__magic { position: absolute !important; inset: 0 !important; pointer-events: none !important; }

/* Mobile: small, immediately visible, right-side robot. */
@media (max-width: 760px) {
  .dock {
    width: 76px !important;
    right: 7px !important;
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    align-items: center !important;
  }
  .chat-launcher {
    width: 70px !important;
    height: 70px !important;
  }
  /* Call + WhatsApp stay visible on mobile — do not hide */
  /* .dock__call, .dock__wa { display: none !important; } */
  body.menu-open .dock { display: flex !important; visibility: visible !important; opacity: 1 !important; }

  /* Chat occupies the left/main area. The 70px robot rail is reserved on the right. */
  .chat {
    position: fixed !important;
    left: 7px !important;
    right: 84px !important;
    bottom: calc(8px + env(safe-area-inset-bottom)) !important;
    width: auto !important;
    height: min(78dvh, 650px) !important;
    max-height: calc(100dvh - 90px) !important;
    border-radius: 20px !important;
    z-index: 2147482000 !important;
  }
  .chat__head { padding: .65rem .72rem !important; }
  .chat__log { padding: .7rem !important; }
  .chat__form { padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom)) !important; }
  .chat__form input { font-size: 16px !important; min-height: 46px !important; }
  .chat__send { width: 46px !important; height: 46px !important; }
}

@media (max-width: 380px) {
  .site-header .brand img { width: 44px !important; height: 44px !important; }
  .brand__text strong { font-size: 1.22rem !important; }
  .brand__text small { font-size: .62rem !important; }
  .chat-launcher { width: 62px !important; height: 62px !important; }
  .dock { width: 68px !important; right: 5px !important; }
  .chat { right: 76px !important; left: 5px !important; }
}

/* Motion stays visible on touch screens; only mouse-specific tilt is omitted. */
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  body.ga-motion-site::before, body.ga-motion-site::after { opacity: .44 !important; }
  body.ga-motion-site .ga-float { opacity: .36 !important; }
  body.ga-motion-site .ga-reveal { transition-duration: .65s !important; }
  .chat-launcher { animation: ga-mobile-robot-float 3.8s ease-in-out infinite !important; }
  @keyframes ga-mobile-robot-float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }
}


/* ==========================================================================
   CHAT + ROBOT + FORM — mobile reliability fixes
   ========================================================================== */
.chat__head {
  background: #0C1A4B !important;
  color: #fff !important;
}
.chat__title strong { color: #fff !important; }
.chat__title span { color: #BFC9F0 !important; }
.chat__close { color: #fff !important; }
.chat__avatar { background: rgba(255,255,255,.12) !important; color: #fff !important; }

.qr {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 40px !important;
  padding: 0 1rem !important;
  border-radius: 999px !important;
  border: 1.5px solid #1D8FE1 !important;
  background: #fff !important;
  color: #0F6FC2 !important;
  font-weight: 700 !important;
  font-size: .9rem !important;
  cursor: pointer !important;
  text-decoration: none !important;
}
.qr:hover, .qr:active {
  background: #0F6FC2 !important;
  color: #fff !important;
}
.qr--wa {
  border-color: #0B8A57 !important;
  color: #0B8A57 !important;
}
.qr--wa:hover, .qr--wa:active {
  background: #0B8A57 !important;
  color: #fff !important;
}

.chat__form input {
  border: 1.5px solid #B7C0DC !important;
  background: #fff !important;
  border-radius: 999px !important;
}
.chat__send {
  background: #F7A21B !important;
  color: #0C1A4B !important;
  border: 0 !important;
  border-radius: 50% !important;
}

/* Keep robot image crisp and sized on mobile */
.chat-launcher img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

/* ==========================================================================
   MOBILE POLISH — logo, dock, hero join, video, robot (2026-09-22)
   ========================================================================== */

/* Center logo wordmark: GenAlpha + tuitions stacked and centered */
.brand__text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  line-height: 1.05 !important;
  white-space: normal !important;
}
.brand__text strong {
  display: block !important;
  text-align: left !important;
}
.brand__text small {
  display: block !important;
  text-align: center !important;
  width: 100% !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

/* Hero join buttons */
.hero__join {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.75rem;
}
.hero__join .btn { min-width: 160px; }

/* Always-visible Call + WhatsApp + larger robot on mobile */
@media (max-width: 1079px) {
  /* Logo: keep tuitions centered under GenAlpha */
  .brand__text {
    align-items: center !important;
  }
  .brand__text strong {
    text-align: center !important;
    font-size: 1.15rem !important;
  }
  .brand__text small {
    text-align: center !important;
    font-size: .65rem !important;
    margin-top: .15rem !important;
  }

  /* Bottom dock: Call + WhatsApp always visible, robot larger */
  body { padding-bottom: 110px !important; }
  .dock {
    position: fixed !important;
    left: 10px !important;
    right: 10px !important;
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    width: auto !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    z-index: 2147483000 !important;
    pointer-events: none !important;
  }
  .dock > * { pointer-events: auto !important; }
  .dock__call {
    display: inline-flex !important;
    align-items: center !important;
    gap: .4rem !important;
    min-height: 48px !important;
    padding: 0 1rem !important;
    border-radius: 999px !important;
    background: #0C1A4B !important;
    color: #fff !important;
    border: 1.5px solid #0C1A4B !important;
    font-weight: 700 !important;
    font-size: .9rem !important;
    text-decoration: none !important;
    box-shadow: 0 10px 26px -8px rgba(12, 26, 75, .55) !important;
  }
  .dock__wa {
    display: inline-flex !important;
    align-items: center !important;
    gap: .4rem !important;
    min-height: 48px !important;
    padding: 0 1rem !important;
    border-radius: 999px !important;
    background: #0B8A57 !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: .9rem !important;
    text-decoration: none !important;
    box-shadow: 0 10px 26px -8px rgba(11, 138, 87, .55) !important;
  }
  /* Robot ~2x larger */
  .chat-launcher {
    width: 140px !important;
    height: 140px !important;
    min-width: 140px !important;
    min-height: 140px !important;
    margin-left: auto !important;
    border: 0 !important;
    background: transparent !important;
    border-radius: 50% !important;
    box-shadow: none !important;
  }
  .chat-launcher img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
  .chat-launcher::after,
  .chat-launcher::before { display: none !important; }

  /* Chat panel leaves room for robot on the right */
  .chat {
    left: 8px !important;
    right: 150px !important;
    width: auto !important;
    bottom: calc(8px + env(safe-area-inset-bottom)) !important;
    height: min(72dvh, 620px) !important;
  }
  body.menu-open .dock {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Video: show left side (teacher + student) */
  .hero__video,
  .hero__media video {
    object-fit: cover !important;
    object-position: 18% center !important;
  }
  .hero {
    background-position: 18% center !important;
  }

  /* Hero join buttons full width stack on small screens */
  .hero__join {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: .7rem !important;
    margin-top: 1.4rem !important;
  }
  .hero__join .btn {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
  }

  /* Pillars: ensure headers stay clickable on mobile */
  .pillar__head button {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 2 !important;
  }
  .pillar__body {
    pointer-events: auto !important;
  }
  /* Reset desktop absolute positioning on mobile */
  .pillar__body {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: grid !important;
    grid-template-rows: 0fr !important;
    opacity: 1 !important;
    overflow: hidden !important;
  }
  .pillar.is-open .pillar__body {
    grid-template-rows: 1fr !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .pillar__inner {
    position: static !important;
    height: auto !important;
    overflow: hidden !important;
  }
  .pillar__title {
    writing-mode: horizontal-tb !important;
    transform: none !important;
    white-space: normal !important;
  }
  .pillar__chev { display: block !important; }

  /* Forms: ensure fieldsets/sections stay interactive */
  .ga-form-page .form__group,
  .ga-form-page fieldset,
  .ga-form-page .field,
  .ga-form-page .chip,
  .ga-form-page input,
  .ga-form-page select,
  .ga-form-page textarea,
  .ga-form-page button {
    pointer-events: auto !important;
  }
  .ga-form-page .form__group > legend {
    cursor: default !important;
  }
}

@media (max-width: 380px) {
  .chat-launcher {
    width: 120px !important;
    height: 120px !important;
    min-width: 120px !important;
    min-height: 120px !important;
  }
  .chat {
    right: 128px !important;
  }
  .dock__call span,
  .dock__wa span {
    font-size: .82rem !important;
  }
}


/* ==========================================================================
   FINAL UI LAYER — navigation, dock, robot (authoritative)
   z-index hierarchy:
     100  = site header + hamburger
     110  = mobile menu panel
     120  = Call / WhatsApp dock
     130  = robot launcher
     140  = chat panel
   ========================================================================== */

/* --- Header always on top and clickable --- */
.site-header {
  z-index: 100 !important;
  pointer-events: auto !important;
}
.site-header .menu-btn,
.site-header .brand,
.site-header .nav,
.site-header .header__cta {
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
}
.mobile-menu {
  z-index: 110 !important;
  pointer-events: auto !important;
}
body.menu-open .site-header {
  z-index: 115 !important;
}

/* --- Form pages: fixed header (override inline relative) --- */
body.ga-form-page .site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 100 !important;
}
body.ga-form-page {
  padding-top: 84px;
  padding-bottom: 120px;
}

/* --- Robot: never clip speech bubble --- */
.chat-launcher {
  overflow: visible !important;
}
.chat-launcher img {
  overflow: visible !important;
  object-fit: contain !important;
  object-position: center bottom !important;
}
.dock {
  overflow: visible !important;
}

/* ========== MOBILE / TABLET (≤1079px) ========== */
@media (max-width: 1079px) {
  /* Header */
  .site-header {
    height: 64px !important;
  }
  .menu-btn {
    display: grid !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    z-index: 5 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }
  .nav, .header__cta { display: none !important; }

  /* Brand proportions */
  .brand img {
    width: 42px !important;
    height: 42px !important;
  }
  .brand__text {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    line-height: 1.05 !important;
  }
  .brand__text strong {
    font-size: 1.12rem !important;
    text-align: center !important;
  }
  .brand__text small {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: .62rem !important;
    letter-spacing: .12em !important;
  }

  /* Fixed bottom action bar: Call | WhatsApp | Robot */
  body { padding-bottom: 108px !important; }

  .dock {
    position: fixed !important;
    left: 10px !important;
    right: 10px !important;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    z-index: 120 !important;
    pointer-events: none !important;
    overflow: visible !important;
  }
  .dock > * { pointer-events: auto !important; }

  .dock__call,
  .dock__wa {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .4rem !important;
    min-height: 48px !important;
    padding: 0 1.05rem !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: .88rem !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 8px 22px -6px rgba(12, 26, 75, .35) !important;
    flex: 0 0 auto !important;
  }
  .dock__call {
    background: #0C1A4B !important;
    color: #fff !important;
    border: 0 !important;
  }
  .dock__wa {
    background: #0B8A57 !important;
    color: #fff !important;
    border: 0 !important;
  }

  /* Robot: larger, full greeting visible, no overlap with Call/WA */
  .chat-launcher {
    position: relative !important;
    width: 112px !important;
    height: 112px !important;
    min-width: 112px !important;
    min-height: 112px !important;
    margin-left: auto !important;
    margin-bottom: 0 !important;
    border: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    z-index: 130 !important;
  }
  .chat-launcher img {
    width: 112px !important;
    height: 112px !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    filter: drop-shadow(0 10px 18px rgba(12,26,75,.22)) !important;
  }
  .chat-launcher::before,
  .chat-launcher::after {
    display: none !important;
  }

  /* Chat panel: leave room for dock + robot */
  .chat {
    position: fixed !important;
    left: 8px !important;
    right: 8px !important;
    bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important;
    height: min(70dvh, 560px) !important;
    max-height: calc(100dvh - 200px) !important;
    z-index: 140 !important;
    border-radius: 18px !important;
  }

  /* Keep dock visible when menu is open */
  body.menu-open .dock {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Video framing: show teacher + student (left) */
  .hero__video,
  .hero__media video {
    object-fit: cover !important;
    object-position: 18% center !important;
  }
  .hero {
    background-position: 18% center !important;
  }

  /* Prevent horizontal scroll */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
}

/* Small phones */
@media (max-width: 380px) {
  .dock__call span,
  .dock__wa span {
    font-size: .8rem !important;
  }
  .dock__call,
  .dock__wa {
    padding: 0 .85rem !important;
    min-height: 44px !important;
  }
  .chat-launcher,
  .chat-launcher img {
    width: 96px !important;
    height: 96px !important;
    min-width: 96px !important;
    min-height: 96px !important;
  }
  .chat {
    bottom: calc(110px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* ========== DESKTOP (≥1080px) ========== */
@media (min-width: 1080px) {
  .menu-btn { display: none !important; }
  .mobile-menu { display: none !important; }

  /* Dock: robot near content, not stuck to far edge */
  .dock {
    position: fixed !important;
    right: max(24px, calc((100vw - 1240px) / 2 + 24px)) !important;
    bottom: 28px !important;
    left: auto !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 12px !important;
    z-index: 120 !important;
    pointer-events: none !important;
    overflow: visible !important;
  }
  .dock > * { pointer-events: auto !important; }

  .dock__call { display: none !important; } /* desktop has header Call */
  .dock__wa {
    display: inline-flex !important;
    min-height: 48px !important;
    padding: 0 1.2rem !important;
  }

  .chat-launcher {
    width: 150px !important;
    height: 150px !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .chat-launcher img {
    width: 150px !important;
    height: 150px !important;
    object-fit: contain !important;
  }
  .chat-launcher::before,
  .chat-launcher::after { display: none !important; }

  /* On home hero: pull robot up into the hero area (beside CTAs), not far bottom-right only */
  body.has-hero .dock {
    bottom: 36px !important;
    right: max(32px, calc((100vw - 1240px) / 2 + 40px)) !important;
  }
  body.has-hero .chat-launcher {
    width: 170px !important;
    height: 170px !important;
  }
  body.has-hero .chat-launcher img {
    width: 170px !important;
    height: 170px !important;
  }

  .chat {
    right: max(24px, calc((100vw - 1240px) / 2 + 24px)) !important;
    bottom: 28px !important;
    width: min(400px, 28vw) !important;
    z-index: 140 !important;
  }
}


/* Force menu panel visibility when open */
body.menu-open .mobile-menu {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 110 !important;
}
.mobile-menu[hidden] {
  display: none !important;
}

/* Ensure dock Call/WA never stay hidden on touch layouts */
@media (max-width: 1079px) {
  .dock__call,
  a.dock__call,
  .dock__wa,
  a.dock__wa {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 121 !important;
  }
  .dock {
    z-index: 120 !important;
  }
  .chat-launcher {
    z-index: 130 !important;
  }
}


/* ==========================================================================
   SMALL FIXED Call + WhatsApp (never scroll away)
   ========================================================================== */
@media (max-width: 1079px) {
  .dock {
    position: fixed !important;
    left: 10px !important;
    right: auto !important;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    z-index: 120 !important;
    pointer-events: none !important;
    transform: none !important;
  }
  .dock > * {
    pointer-events: auto !important;
  }

  /* Compact round icon buttons */
  .dock__call,
  .dock__wa {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 0 !important;
    font-size: 0 !important; /* hide text labels */
    line-height: 0 !important;
    text-decoration: none !important;
    box-shadow: 0 6px 16px -4px rgba(12, 26, 75, .4) !important;
    flex: none !important;
    overflow: hidden !important;
  }
  .dock__call {
    background: #0C1A4B !important;
    color: #fff !important;
  }
  .dock__wa {
    background: #0B8A57 !important;
    color: #fff !important;
  }
  /* Hide label text; keep icon if present, else show initial via aria */
  .dock__call span,
  .dock__wa span {
    display: none !important;
  }
  .dock__call svg,
  .dock__wa svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    flex: none !important;
  }

  /* Robot stays on the right, independent of Call/WA stack */
  .chat-launcher {
    position: fixed !important;
    right: 8px !important;
    left: auto !important;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
    min-height: 100px !important;
    z-index: 130 !important;
  }
  .chat-launcher img {
    width: 100px !important;
    height: 100px !important;
  }

  /* Chat panel clear of left buttons + robot */
  .chat {
    left: 8px !important;
    right: 8px !important;
    bottom: calc(118px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body {
    padding-bottom: 110px !important;
  }
}

/* If SVG icons are missing on some pages, show letter badges */
@media (max-width: 1079px) {
  .dock__call:not(:has(svg))::before {
    content: "C";
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
  }
  .dock__wa:not(:has(svg))::before {
    content: "W";
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
  }
}

/* ==========================================================================
   USER TWEAK 2026-09-22 — small sticky Call/WA, robot left, hide desktop WA
   ========================================================================== */

/* Desktop: remove WhatsApp above robot (header already has Call/WhatsApp) */
@media (min-width: 1080px) {
  .dock__call,
  .dock__wa,
  a.dock__call,
  a.dock__wa {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .dock {
    flex-direction: column !important;
    align-items: flex-end !important;
  }
}

/* Mobile: compact sticky Call + WhatsApp; robot shifted left for full bubble */
@media (max-width: 1079px) {
  .dock {
    position: fixed !important;
    left: 8px !important;
    right: 8px !important;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    z-index: 120 !important;
    pointer-events: none !important;
    overflow: visible !important;
  }
  .dock > * { pointer-events: auto !important; }

  /* Smaller compact pills */
  .dock__call,
  .dock__wa,
  a.dock__call,
  a.dock__wa {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .3rem !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 .75rem !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: .78rem !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 6px 16px -4px rgba(12, 26, 75, .35) !important;
    flex: 0 0 auto !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .dock__call {
    background: #0C1A4B !important;
    color: #fff !important;
    border: 0 !important;
  }
  .dock__wa {
    background: #0B8A57 !important;
    color: #fff !important;
    border: 0 !important;
  }
  .dock__call svg,
  .dock__wa svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
  }

  /* Robot: shift left so full "Hi! I can help you" bubble is on-screen */
  .chat-launcher {
    width: 108px !important;
    height: 108px !important;
    min-width: 108px !important;
    min-height: 108px !important;
    margin-left: auto !important;
    margin-right: 12px !important; /* pull away from right edge */
    overflow: visible !important;
    z-index: 130 !important;
  }
  .chat-launcher img {
    width: 108px !important;
    height: 108px !important;
    object-fit: contain !important;
    object-position: center bottom !important;
  }

  body {
    padding-bottom: 100px !important;
  }
}

@media (max-width: 380px) {
  .dock__call,
  .dock__wa {
    min-height: 36px !important;
    height: 36px !important;
    padding: 0 .6rem !important;
    font-size: .72rem !important;
  }
  .chat-launcher,
  .chat-launcher img {
    width: 96px !important;
    height: 96px !important;
    min-width: 96px !important;
    min-height: 96px !important;
  }
  .chat-launcher {
    margin-right: 8px !important;
  }
}

/* Final polish: icon-only sticky Call/WA + robot inset from right edge */
@media (max-width: 1079px) {
  /* Compact circular sticky action buttons (bottom-left) */
  .dock {
    position: fixed !important;
    left: 10px !important;
    right: auto !important;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    z-index: 120 !important;
    pointer-events: none !important;
  }
  .dock > * { pointer-events: auto !important; }

  .dock__call,
  .dock__wa {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    box-shadow: 0 6px 18px -4px rgba(12, 26, 75, .4) !important;
  }
  .dock__call { background: #0C1A4B !important; color: #fff !important; }
  .dock__wa { background: #0B8A57 !important; color: #fff !important; }
  .dock__call span,
  .dock__wa span { display: none !important; }
  .dock__call svg,
  .dock__wa svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
  }

  /* Robot fixed bottom-right, inset so full bubble is visible */
  .chat-launcher {
    position: fixed !important;
    right: 18px !important;
    left: auto !important;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    width: 110px !important;
    height: 110px !important;
    min-width: 110px !important;
    min-height: 110px !important;
    margin: 0 !important;
    overflow: visible !important;
    z-index: 130 !important;
  }
  .chat-launcher img {
    width: 110px !important;
    height: 110px !important;
    object-fit: contain !important;
  }
}

@media (min-width: 1080px) {
  .dock__call,
  .dock__wa {
    display: none !important;
  }
}

/* ==========================================================================
   DEPLOY FIX — sticky Call/WA visible, robot clear of chat send
   ========================================================================== */

@media (max-width: 1079px) {
  /* Sticky Call + WhatsApp — clear labeled pills, always visible */
  .dock {
    position: fixed !important;
    left: 10px !important;
    right: auto !important;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    z-index: 200 !important;
    pointer-events: none !important;
    overflow: visible !important;
  }
  .dock > * { pointer-events: auto !important; }

  .dock__call,
  .dock__wa,
  a.dock__call,
  a.dock__wa {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .4rem !important;
    min-width: 0 !important;
    width: auto !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: .85rem !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 8px 20px -4px rgba(12, 26, 75, .45) !important;
    visibility: visible !important;
    opacity: 1 !important;
    border: 0 !important;
  }
  .dock__call {
    background: #0C1A4B !important;
    color: #fff !important;
  }
  .dock__wa {
    background: #0B8A57 !important;
    color: #fff !important;
  }
  /* Show labels */
  .dock__call span,
  .dock__wa span {
    display: inline !important;
    font-size: .85rem !important;
    color: inherit !important;
  }
  .dock__call svg,
  .dock__wa svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    flex-shrink: 0 !important;
  }

  /* Robot: stay on screen, bubble fully visible, not flush to edge */
  .chat-launcher {
    position: fixed !important;
    right: 16px !important;
    left: auto !important;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
    min-height: 100px !important;
    margin: 0 !important;
    overflow: visible !important;
    z-index: 190 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  .chat-launcher img {
    width: 100px !important;
    height: 100px !important;
    object-fit: contain !important;
    object-position: center bottom !important;
  }
  .chat-launcher::before,
  .chat-launcher::after { display: none !important; }

  /* Chat panel: full width, above sticky buttons — never under robot */
  .chat {
    position: fixed !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
    height: min(65dvh, 520px) !important;
    max-height: calc(100dvh - 180px) !important;
    z-index: 210 !important;
    border-radius: 16px !important;
  }

  /* When chat is open: hide large robot so send button is free */
  body.chat-open .chat-launcher {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }
  body.chat-open .chat {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    height: min(78dvh, 640px) !important;
    max-height: calc(100dvh - 80px) !important;
    z-index: 210 !important;
  }
  /* Keep Call/WA visible even while chatting */
  body.chat-open .dock {
    z-index: 220 !important;
  }
  body.chat-open .dock__call,
  body.chat-open .dock__wa {
    opacity: 1 !important;
    visibility: visible !important;
  }

  body {
    padding-bottom: 120px !important;
  }
}

@media (max-width: 380px) {
  .dock__call,
  .dock__wa {
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    font-size: .8rem !important;
  }
  .chat-launcher,
  .chat-launcher img {
    width: 88px !important;
    height: 88px !important;
    min-width: 88px !important;
    min-height: 88px !important;
  }
}

/* Desktop: no dock Call/WA (header has them) */
@media (min-width: 1080px) {
  .dock__call,
  .dock__wa {
    display: none !important;
  }
}


/* ==== NUCLEAR MOBILE DOCK (must win) ==== */
@media (max-width: 1079px) {
  body .dock[data-dock],
  body div.dock {
    position: fixed !important;
    left: 10px !important;
    right: auto !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    top: auto !important;
    width: auto !important;
    max-width: 50vw !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    z-index: 9990 !important;
    pointer-events: none !important;
    transform: none !important;
  }
  body .dock[data-dock] > *,
  body div.dock > * {
    pointer-events: auto !important;
  }
  body .dock a.dock__call,
  body .dock a.dock__wa,
  body a.dock__call,
  body a.dock__wa {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 96px !important;
    max-width: none !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 8px 22px rgba(12,26,75,.4) !important;
    border: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  body a.dock__call {
    background: #0C1A4B !important;
    color: #fff !important;
  }
  body a.dock__wa {
    background: #0B8A57 !important;
    color: #fff !important;
  }
  body a.dock__call span,
  body a.dock__wa span {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: inherit !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
    clip: auto !important;
    overflow: visible !important;
  }
  body a.dock__call svg,
  body a.dock__wa svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    flex-shrink: 0 !important;
  }

  /* Robot: bottom-right but inset so bubble stays on-screen */
  body button.chat-launcher,
  body .chat-launcher {
    position: fixed !important;
    right: 12px !important;
    left: auto !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    width: 96px !important;
    height: 96px !important;
    min-width: 96px !important;
    min-height: 96px !important;
    max-width: 96px !important;
    margin: 0 !important;
    z-index: 9980 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  body .chat-launcher img {
    width: 96px !important;
    height: 96px !important;
    object-fit: contain !important;
  }

  /* Chat open: hide robot, free send button */
  body.chat-open .chat-launcher {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  body.chat-open .chat,
  body.chat-open #ga-chat {
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    height: min(78dvh, 640px) !important;
    z-index: 10000 !important;
  }
}

@media (min-width: 1080px) {
  body a.dock__call,
  body a.dock__wa {
    display: none !important;
  }
}

/* ==========================================================================
   Daily Tuition Updates Ticker
   Professional scrolling bar for home-tuition announcements
   ========================================================================== */
:root {
  --ticker-h: 40px;
}

.tuition-ticker {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 80;
  height: var(--ticker-h);
  background: linear-gradient(90deg, #070F32 0%, #0C1A4B 40%, #12245C 100%);
  color: #F4F6FC;
  border-bottom: 1px solid rgba(247, 162, 27, 0.35);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  box-shadow: 0 4px 18px -10px rgba(7, 15, 50, 0.55);
}

.tuition-ticker[hidden] {
  display: none !important;
}

.tuition-ticker__label {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.95rem 0 1rem;
  background: linear-gradient(135deg, #F7A21B 0%, #E8920F 100%);
  color: #0C1A4B;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.tuition-ticker__label::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 0;
  bottom: 0;
  width: 12px;
  background: linear-gradient(135deg, #E8920F 0%, #E8920F 50%, transparent 50%);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.tuition-ticker__label svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.tuition-ticker__track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent);
}

.tuition-ticker__marquee {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: ticker-scroll 45s linear infinite;
  will-change: transform;
  /* Always keep scrolling — do not pause on hover */
}

.tuition-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  color: #E8ECF8;
  white-space: nowrap;
}

.tuition-ticker__item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
  box-shadow: 0 0 0 3px rgba(247, 162, 27, 0.25);
}

.tuition-ticker__sep {
  color: rgba(255, 255, 255, 0.22);
  font-weight: 300;
  padding: 0 0.15rem;
  user-select: none;
}

body.has-ticker main {
  padding-top: calc(var(--header-h) + var(--ticker-h));
}

body.has-ticker .mobile-menu {
  inset: calc(var(--header-h) + var(--ticker-h)) 0 0 0;
}

body.has-ticker.has-hero .hero__content {
  padding-block: calc(var(--header-h) + var(--ticker-h) + 2.5rem) clamp(5.5rem, 12vh, 8rem);
}

html:has(body.has-ticker) {
  scroll-padding-top: calc(var(--header-h) + var(--ticker-h) + 16px);
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .tuition-ticker__marquee {
    animation: none;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    padding-left: 0.5rem;
  }
  .tuition-ticker__item {
    white-space: normal;
    padding: 0.35rem 1rem;
  }
}

@media (max-width: 720px) {
  :root { --ticker-h: 38px; }
  .tuition-ticker__label {
    padding: 0 0.7rem 0 0.75rem;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
  }
  .tuition-ticker__item {
    font-size: 0.8rem;
    padding: 0 1.25rem;
  }
  .tuition-ticker__marquee {
    animation-duration: 38s;
  }
}

@media (max-width: 480px) {
  .tuition-ticker__label {
    padding: 0 0.55rem;
  }
  .tuition-ticker__label span {
    display: none;
  }
}


/* ==========================================================================
   AUTHORITATIVE FIX — 2026-10-01f
   Ticker SAME WIDTH as floating header (same left / right).
   View all always visible. Clear gap under header.
   ========================================================================== */

html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

/*
  Floating header rule (existing):
  body.ga-motion-site .site-header {
    top: 14px;
    left: clamp(10px, 2vw, 28px);
    right: clamp(10px, 2vw, 28px);
    ...
  }
  Ticker MUST use the identical left/right.
*/

body.ga-motion-site.has-ticker .tuition-ticker {
  position: fixed !important;
  left: clamp(10px, 2vw, 28px) !important;
  right: clamp(10px, 2vw, 28px) !important;
  width: auto !important;
  max-width: none !important;
  top: 96px !important; /* 14px + 66px header + 16px gap */
  z-index: 85 !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: stretch !important;
  /* contain removed for click hit-testing */
}

/* Mobile header uses tighter inset (top:8px; left:8px; right:8px) */
@media (max-width: 1079px) {
  body.ga-motion-site.has-ticker .tuition-ticker {
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    top: 86px !important; /* 8 + 64 + 14 gap */
    border-radius: 12px !important;
  }
}

/* Inner layout: LABEL | scrolling track | VIEW ALL */
.tuition-ticker__label {
  flex: 0 0 auto !important;
  z-index: 3 !important;
}

.tuition-ticker__track {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  /* contain removed for click hit-testing */
  mask-image: linear-gradient(90deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent) !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent) !important;
}

.tuition-ticker__marquee {
  width: max-content !important;
  will-change: transform !important;
}

.tuition-ticker__more {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.3rem !important;
  min-width: 92px !important;
  padding: 0 16px 0 14px !important;
  height: 100% !important;
  background: #0C1A4B !important;
  color: #fff !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  z-index: 5 !important;
  position: relative !important;
  pointer-events: auto !important;
  border-left: 1px solid rgba(255,255,255,0.12) !important;
  box-sizing: border-box !important;
}

.tuition-ticker__more span {
  display: inline !important;
  color: #fff !important;
  white-space: nowrap !important;
}

.tuition-ticker__more:hover,
.tuition-ticker__more:hover span {
  color: #FFD27A !important;
}

@media (max-width: 1079px) {
  .tuition-ticker__more {
    min-width: 78px !important;
    padding: 0 12px 0 10px !important;
    font-size: 0.75rem !important;
  }
}

/* Page content offset */
body.ga-motion-site.has-ticker main {
  padding-top: calc(96px + var(--ticker-h, 40px) + 12px) !important;
}
body.ga-motion-site.has-ticker.has-hero main {
  padding-top: 0 !important;
}
body.ga-motion-site.has-ticker.has-hero .hero__content {
  padding-block: calc(96px + var(--ticker-h, 40px) + 1.5rem) clamp(4.5rem, 10vh, 7rem) !important;
}
body.ga-motion-site.has-ticker .page-hero {
  padding-top: calc(96px + var(--ticker-h, 40px) + 1.25rem) !important;
}
body.ga-motion-site.has-ticker .mobile-menu {
  inset: calc(96px + var(--ticker-h, 40px)) 0 0 0 !important;
}

@media (max-width: 1079px) {
  body.ga-motion-site.has-ticker main {
    padding-top: calc(86px + var(--ticker-h, 38px) + 10px) !important;
  }
  body.ga-motion-site.has-ticker.has-hero main {
    padding-top: 0 !important;
  }
  body.ga-motion-site.has-ticker.has-hero .hero__content {
    padding-block: calc(86px + var(--ticker-h, 38px) + 1.25rem) 5.5rem !important;
  }
  body.ga-motion-site.has-ticker .page-hero {
    padding-top: calc(86px + var(--ticker-h, 38px) + 1rem) !important;
  }
  body.ga-motion-site.has-ticker .mobile-menu {
    inset: calc(86px + var(--ticker-h, 38px)) 0 0 0 !important;
  }
}

/* Mobile dock */
@media (max-width: 1079px) {
  body { padding-bottom: 120px !important; }
  .hero__content { padding-bottom: clamp(5.5rem, 18vw, 7.5rem) !important; }
  .dock, .dock[data-dock] {
    position: fixed !important;
    left: 10px !important;
    right: auto !important;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    z-index: 9990 !important;
    pointer-events: none !important;
  }
  .dock > *, .dock[data-dock] > * { pointer-events: auto !important; }
  a.dock__call, a.dock__wa, .dock__call, .dock__wa {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 110px !important;
    height: 44px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(12,26,75,.4) !important;
    border: 0 !important;
  }
  a.dock__call, .dock__call { background: #0C1A4B !important; color: #fff !important; }
  a.dock__wa, .dock__wa { background: #0B8A57 !important; color: #fff !important; }
  a.dock__call span, a.dock__wa span { display: inline !important; color: inherit !important; }
  .chat-launcher {
    position: fixed !important;
    right: 12px !important;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    width: 96px !important;
    height: 96px !important;
    z-index: 9980 !important;
  }
}
@media (min-width: 1080px) {
  a.dock__call, a.dock__wa, .dock__call, .dock__wa { display: none !important; }
}


/* ==========================================================================
   VIEW ALL CLICK FIX — 2026-10-01g
   Marquee was intercepting pointer events over the View all button.
   ========================================================================== */

.tuition-ticker {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 95 !important; /* under header (100), above page content */
}

/* Scrolling text must NOT steal clicks */
.tuition-ticker__track,
.tuition-ticker__marquee,
.tuition-ticker__item,
.tuition-ticker__sep {
  pointer-events: none !important;
}

/* Label is visual only */
.tuition-ticker__label {
  pointer-events: none !important;
}

/* View all — topmost, always receives clicks */
.tuition-ticker__more {
  pointer-events: auto !important;
  position: relative !important;
  z-index: 50 !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent;
}

.tuition-ticker__more * {
  pointer-events: none !important; /* clicks register on the more span itself */
}


/* ==========================================================================
   NOTICE BOARD PANEL — required for View all click to show anything
   ========================================================================== */

html.notice-lock,
html.notice-lock body {
  overflow: hidden !important;
}

.notice-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 20000 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(7, 15, 50, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-sizing: border-box;
}

.notice-overlay.is-open {
  display: flex !important;
}

.notice-panel {
  width: min(520px, 100%);
  max-height: min(80vh, 640px);
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #0C1A4B;
  border-radius: 20px;
  box-shadow: 0 30px 80px -20px rgba(7, 15, 50, 0.55);
  overflow: hidden;
  animation: notice-in 0.25s ease;
}

@keyframes notice-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.notice-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid #DCE2F1;
}

.notice-panel__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0C1A4B;
}

.notice-panel__count {
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #55608A;
}

.notice-panel__close {
  flex: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: #F0F3FA;
  color: #0C1A4B;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.notice-panel__close:hover {
  background: #E4E9F5;
}

.notice-list {
  list-style: none;
  margin: 0;
  padding: 8px 12px;
  overflow-y: auto;
  flex: 1 1 auto;
}

.notice-item {
  padding: 12px;
  border-radius: 14px;
  background: #F6F8FD;
  margin-bottom: 8px;
}

.notice-item:last-child {
  margin-bottom: 0;
}

.notice-item__badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #FFF3D6;
  color: #9A6A00;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.notice-item__text {
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 550;
  color: #0C1A4B;
  white-space: pre-wrap;
  word-break: break-word;
}

.notice-item__text a {
  color: #0F6FC2;
  font-weight: 700;
}

.notice-empty {
  padding: 24px 12px;
  text-align: center;
  color: #55608A;
  font-weight: 550;
}

.notice-panel__foot {
  display: flex;
  gap: 10px;
  padding: 12px 16px 16px;
  border-top: 1px solid #DCE2F1;
  background: #fff;
}

.notice-panel__foot .btn {
  flex: 1 1 0;
  justify-content: center;
}

@media (max-width: 480px) {
  .notice-overlay {
    padding: 10px;
    align-items: flex-end;
  }
  .notice-panel {
    width: 100%;
    max-height: 85vh;
    border-radius: 20px 20px 12px 12px;
  }
}


/* ==========================================================================
   VIEW ALL BUTTON — real <button>, always clickable (2026-10-01h)
   ========================================================================== */

.tuition-ticker {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 95 !important;
}

.tuition-ticker__track,
.tuition-ticker__marquee,
.tuition-ticker__item,
.tuition-ticker__sep,
.tuition-ticker__label {
  pointer-events: none !important;
}

button.tuition-ticker__more,
.tuition-ticker__more {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.3rem !important;
  min-width: 92px !important;
  height: 100% !important;
  padding: 0 16px 0 14px !important;
  background: #0C1A4B !important;
  color: #fff !important;
  font: inherit !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 100 !important;
  border-left: 1px solid rgba(255,255,255,0.12) !important;
  box-sizing: border-box !important;
  -webkit-tap-highlight-color: transparent !important;
  touch-action: manipulation !important;
}

button.tuition-ticker__more span,
.tuition-ticker__more span {
  pointer-events: none !important;
  color: #fff !important;
  display: inline !important;
}

button.tuition-ticker__more svg,
.tuition-ticker__more svg {
  pointer-events: none !important;
  width: 14px !important;
  height: 14px !important;
  flex: none !important;
}

button.tuition-ticker__more:hover,
button.tuition-ticker__more:hover span,
.tuition-ticker__more:hover,
.tuition-ticker__more:hover span {
  color: #FFD27A !important;
}

@media (max-width: 1079px) {
  button.tuition-ticker__more,
  .tuition-ticker__more {
    min-width: 78px !important;
    padding: 0 12px 0 10px !important;
    font-size: 0.75rem !important;
  }
}
