/* ==========================================================================
   Tech Brains — style.css
   Brand: Deep Navy #1B2A6B · Vibrant Orange #F26B1D · Accent #E8380D
   Type:  Poppins (display) · Inter (body)
   ========================================================================== */

:root {
  --c-navy: #1B2A6B;
  --c-navy-deep: #121D4C;
  --c-orange: #F26B1D;
  --c-red: #E8380D;
  --c-white: #FFFFFF;
  --c-mist: #F7F8FC;
  --c-ink: #232A44;
  --c-ink-soft: #5A6284;
  --c-line: #E3E7F2;

  --grad-brand: linear-gradient(135deg, var(--c-navy) 0%, var(--c-orange) 100%);
  --grad-soft: linear-gradient(135deg, rgba(27,42,107,.06), rgba(242,107,29,.06));

  --f-display: 'Poppins', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(18, 29, 76, .10);
  --shadow-lg: 0 24px 60px rgba(18, 29, 76, .16);

  --container: 1180px;
  --nav-h: 78px;
  --nav-h-shrunk: 62px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-navy); text-decoration: none; }
a:hover { color: var(--c-orange); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--c-navy);
  line-height: 1.18;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; }
p  { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--c-navy); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--f-display); font-weight: 600; font-size: .98rem;
  padding: .82em 1.5em; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-orange); color: #fff;
  box-shadow: 0 8px 22px rgba(242, 107, 29, .35);
  animation: ctaPulse 2.6s ease-in-out infinite;
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--grad-brand); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(27, 42, 107, .3);
}
.btn--primary .btn__arrow { transition: transform .18s ease; }
.btn--primary:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost {
  background: transparent; color: var(--c-navy);
  border: 2px solid var(--c-navy);
}
.btn--ghost:hover { border-color: var(--c-orange); color: var(--c-orange); }
.btn--light { background: #fff; color: var(--c-navy); }
.btn--light:hover { color: var(--c-red); transform: translateY(-2px); }
.btn--lg { font-size: 1.08rem; padding: 1em 2em; }
.btn--sm { font-size: .88rem; padding: .6em 1.15em; }

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(242,107,29,.35); }
  50%      { box-shadow: 0 8px 30px rgba(242,107,29,.62), 0 0 0 6px rgba(242,107,29,.10); }
}

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 120;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.nav.is-shrunk { box-shadow: 0 6px 24px rgba(18,29,76,.08); border-color: var(--c-line); }
.nav__inner {
  display: flex; align-items: center; gap: 20px;
  height: var(--nav-h); transition: height .25s ease;
}
.nav.is-shrunk .nav__inner { height: var(--nav-h-shrunk); }
.nav__brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__logo { border-radius: 50%; transition: width .25s ease, height .25s ease; }
.nav.is-shrunk .nav__logo { width: 38px; height: 38px; }
.nav__wordmark { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: var(--c-navy); white-space: nowrap; }
.nav__wordmark em { font-style: normal; color: var(--c-orange); }

.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-wrap: nowrap; }
.nav__links a {
  position: relative; padding: 8px 10px; font-size: .9rem; font-weight: 500;
  color: var(--c-ink); white-space: nowrap; flex-shrink: 0; line-height: 1;
}
.nav__links a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: -2px; height: 3px;
  background: var(--grad-brand); border-radius: 3px;
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--c-navy); font-weight: 600; }
.nav__cta { margin-left: 8px; animation: none; font-size: .9rem; padding: .72em 1.3em; flex-shrink: 0; }
.nav__cta--mobile { display: none; }

.nav__burger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav__burger span {
  display: block; width: 24px; height: 2.6px; background: var(--c-navy);
  border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--c-navy-deep);
  color: #fff;
  padding: clamp(70px, 11vw, 130px) 0 clamp(70px, 9vw, 110px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 80% 10%, rgba(242,107,29,.28), transparent 60%),
              radial-gradient(700px 500px at 10% 90%, rgba(27,42,107,.85), transparent 65%);
  pointer-events: none;
}
.hero__canvas { position: absolute; inset: 0; }
.hero__canvas canvas { width: 100%; height: 100%; display: block; }
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px; align-items: center;
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; }

/* ---- HT-EDU framework card (hero right) ---- */
.htedu {
  position: relative;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  padding: 30px 32px;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.htedu__title {
  font-family: var(--f-display); font-weight: 700; font-size: 1.05rem;
  color: #fff; margin: 0 0 4px;
}
.htedu__title .grad {
  background: linear-gradient(120deg, #FFB37A, var(--c-orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.htedu__sub { font-size: .84rem; color: rgba(255,255,255,.65); margin: 0 0 22px; }
.htedu__steps { list-style: none; margin: 0; padding: 0; position: relative; }
.htedu__steps::before {
  content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px;
  background: linear-gradient(180deg, var(--c-orange), rgba(255,255,255,.25));
}
.htedu__step {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 9px 0;
}
.htedu__badge {
  position: relative; z-index: 1; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; color: #fff;
  background: var(--grad-brand);
  border: 2px solid rgba(255,255,255,.35);
  box-shadow: 0 6px 16px rgba(0,0,0,.3);
}
.htedu__name { font-family: var(--f-display); font-weight: 600; color: #fff; font-size: .98rem; display: block; line-height: 1.25; }
.htedu__desc { font-size: .8rem; color: rgba(255,255,255,.6); display: block; }

/* ---- HT-EDU framework section (home page) ---- */
.ht-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.ht-flow::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 34px; height: 3px;
  background: var(--grad-brand); border-radius: 3px; opacity: .35;
}
.ht-flow__step { position: relative; text-align: center; padding: 0 14px; }
.ht-flow__badge {
  position: relative; z-index: 1;
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 10px 24px rgba(27,42,107,.28);
  border: 4px solid var(--c-white);
}
.section--mist .ht-flow__badge { border-color: var(--c-mist); }
.ht-flow__step h3 { font-size: 1.05rem; margin-bottom: .35em; }
.ht-flow__step p { font-size: .88rem; color: var(--c-ink-soft); margin: 0; }

.hero h1 { color: #fff; }
.hero h1 .grad {
  background: linear-gradient(120deg, #FFB37A, var(--c-orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: 1.12rem; color: rgba(255,255,255,.85); max-width: 620px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.hero__ghost:hover { border-color: var(--c-orange); color: #FFB37A; }
.hero__urgency { margin-top: 18px; font-size: .9rem; color: rgba(255,255,255,.7); }
.hero__urgency strong { color: #FFB37A; font-weight: 600; }

/* countdown */
.countdown { display: inline-flex; gap: 10px; margin-top: 14px; }
.countdown__cell {
  min-width: 62px; text-align: center; padding: 8px 6px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
}
.countdown__num { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: #fff; display: block; }
.countdown__lbl { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--grad-brand);
  padding: clamp(56px, 8vw, 90px) 0;
}
.page-hero h1 { color: #fff; max-width: 720px; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 640px; font-size: 1.08rem; }
.page-hero .eyebrow { color: #FFD9BC; }
.page-hero__canvas { position: absolute; inset: 0; opacity: .5; }
.page-hero__canvas canvas { width: 100%; height: 100%; display: block; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .btn--primary { background: #fff; color: var(--c-navy); animation: none; box-shadow: var(--shadow); }
.page-hero .btn--primary:hover { background: #fff; color: var(--c-red); }

/* ---------- Sections ---------- */
.section { padding: clamp(58px, 8vw, 96px) 0; }
.section--mist { background: var(--c-mist); }
.section--navy { background: var(--c-navy-deep); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section__head { max-width: 680px; margin-bottom: 42px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--f-display); font-weight: 600;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-orange); margin-bottom: 10px;
}
.lede { font-size: 1.08rem; color: var(--c-ink-soft); }
.section--navy .lede { color: rgba(255,255,255,.78); }

/* gradient divider with light particle net */
.divider {
  position: relative; height: 120px; overflow: hidden;
  background: var(--grad-brand);
}
.divider canvas { width: 100%; height: 100%; display: block; opacity: .6; }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--c-white); border-bottom: 1px solid var(--c-line);
  padding: 18px 0;
}
.trust__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
}
.trust__assoc { font-weight: 600; color: var(--c-navy); font-size: .95rem; }
.trust__assoc a { color: var(--c-orange); }
.trust__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  font-size: .82rem; font-weight: 600; color: var(--c-navy);
  background: var(--grad-soft); border: 1px solid var(--c-line);
  padding: 6px 14px; border-radius: 999px;
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow);
  border: 1px solid var(--c-line);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--c-orange); font-size: 1.5rem; margin-bottom: 18px;
}
.card p { color: var(--c-ink-soft); font-size: .96rem; flex: 1; }
.card__link { font-weight: 600; font-size: .93rem; color: var(--c-orange); }
.card__link:hover { color: var(--c-red); }

/* animated gradient border for program cards */
.card--program::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg);
  padding: 2px; background: var(--grad-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .25s ease;
  background-size: 200% 200%;
}
.card--program:hover::before { opacity: 1; animation: gradShift 2.4s linear infinite; }
@keyframes gradShift {
  0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; }
}

/* ---------- Stats ---------- */
.stats { position: relative; overflow: hidden; }
.stats__net { position: absolute; inset: 0; opacity: .35; }
.stats__net canvas { width: 100%; height: 100%; display: block; }
.stats .container { position: relative; z-index: 2; }
.stat { text-align: center; }
.stat__num {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.2rem); color: #fff; line-height: 1;
}
.stat__num .plus { color: var(--c-orange); }
.stat__label { color: rgba(255,255,255,.72); font-size: .92rem; margin-top: 8px; }

/* ---------- Tabs (AI page) ---------- */
.tabs__list { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.tabs__btn {
  font-family: var(--f-display); font-weight: 600; font-size: .95rem;
  padding: .7em 1.4em; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--c-line); background: #fff; color: var(--c-ink-soft);
  transition: all .2s ease;
}
.tabs__btn[aria-selected="true"] {
  background: var(--c-navy); border-color: var(--c-navy); color: #fff;
}
.tabs__panel[hidden] { display: none; }

/* pathway cards */
.pathway {
  border-left: 5px solid var(--c-orange);
}
.pathway--builder { border-left-color: var(--c-navy); }
.pathway .tag {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 6px; margin-bottom: 12px;
  background: rgba(242,107,29,.12); color: var(--c-red);
}
.pathway--builder .tag { background: rgba(27,42,107,.1); color: var(--c-navy); }
.pathway ul { padding-left: 18px; color: var(--c-ink-soft); font-size: .95rem; margin: 0; }
.pathway ul li { margin-bottom: 6px; }

/* journey timeline (7 stages) */
.journey { counter-reset: stage; display: grid; gap: 0; position: relative; }
.journey__item {
  position: relative; padding: 18px 0 18px 74px; counter-increment: stage;
  border-left: 2px solid var(--c-line); margin-left: 26px;
}
.journey__item::before {
  content: counter(stage, decimal-leading-zero);
  position: absolute; left: -27px; top: 14px;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: .95rem;
  color: #fff; background: var(--grad-brand);
  box-shadow: 0 6px 16px rgba(27,42,107,.25);
}
.journey__item:last-child { border-left-color: transparent; }
.journey__item h3 { margin-bottom: .25em; font-size: 1.08rem; }
.journey__item p { color: var(--c-ink-soft); font-size: .94rem; margin: 0; }

/* format chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: #fff; border: 1.5px solid var(--c-line); border-radius: 12px;
  padding: 12px 18px; font-weight: 600; font-size: .9rem; color: var(--c-navy);
  transition: border-color .2s ease, transform .2s ease;
}
.chip:hover { border-color: var(--c-orange); transform: translateY(-2px); }
.chip small { display: block; font-weight: 400; color: var(--c-ink-soft); }

/* checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: var(--c-ink); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
  background: var(--grad-brand); color: #fff;
}

/* ---------- Testimonials slider ---------- */
.slider { position: relative; overflow: hidden; }
.slider__track { display: flex; transition: transform .45s ease; }
.slide { flex: 0 0 100%; padding: 8px; }
.quote {
  background: #fff; border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow); border: 1px solid var(--c-line);
  max-width: 720px; margin: 0 auto; text-align: center;
}
.quote__text { font-size: 1.08rem; color: var(--c-ink); font-style: italic; }
.quote__who { font-family: var(--f-display); font-weight: 600; color: var(--c-navy); margin: 0; }
.quote__role { font-size: .85rem; color: var(--c-ink-soft); }
.slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.slider__dot {
  width: 10px; height: 10px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--c-line); transition: background .2s ease, transform .2s ease;
}
.slider__dot[aria-selected="true"] { background: var(--c-orange); transform: scale(1.25); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; color: var(--c-navy);
  padding: 20px 44px 20px 0; position: relative;
}
.faq__q::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--c-orange); transition: transform .25s ease;
}
.faq__item.is-open .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { color: var(--c-ink-soft); padding-bottom: 20px; margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden;
  background: var(--grad-brand); color: #fff; text-align: center;
  padding: clamp(56px, 8vw, 84px) 0;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 26px; }
.cta-banner .btn--primary {
  background: #fff; color: var(--c-navy); animation: none; box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.cta-banner .btn--primary:hover { color: var(--c-red); background: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--c-navy); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--c-ink);
  padding: 12px 14px; border: 1.5px solid var(--c-line); border-radius: 10px;
  background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-orange); box-shadow: 0 0 0 4px rgba(242,107,29,.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.form__hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form__msg { padding: 14px 18px; border-radius: 10px; font-weight: 500; }
.form__msg--ok { background: #E8F7EE; color: #14713D; border: 1px solid #BFE8CF; }
.form__msg--err { background: #FDEBE7; color: #A32B12; border: 1px solid #F5C9BD; }

.contact-card {
  background: var(--c-navy-deep); color: #fff; border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-lg);
}
.contact-card h3 { color: #fff; }
.contact-card a { color: #FFB37A; font-weight: 600; }
.contact-card a:hover { color: #fff; }
.contact-card__row { display: flex; gap: 12px; align-items: baseline; margin-bottom: 14px; }
.contact-card__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); min-width: 70px; }

/* ---------- Floating / sticky elements ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 84px; z-index: 110;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(37,211,102,.4);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 115;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(18,29,76,.97); backdrop-filter: blur(8px);
}
.sticky-cta__note { color: rgba(255,255,255,.8); font-size: .8rem; }

.slidein {
  position: fixed; right: 18px; bottom: 18px; z-index: 130;
  width: min(340px, calc(100vw - 36px));
  background: #fff; border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-lg); border-top: 5px solid var(--c-orange);
  transform: translateY(20px); opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.slidein.is-visible { transform: translateY(0); opacity: 1; }
.slidein__title { font-family: var(--f-display); font-weight: 700; color: var(--c-navy); margin-bottom: 6px; }
.slidein__text { font-size: .88rem; color: var(--c-ink-soft); }
.slidein__close {
  position: absolute; top: 8px; right: 12px; background: none; border: 0;
  font-size: 1.5rem; color: var(--c-ink-soft); cursor: pointer; line-height: 1;
}

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--c-navy-deep); color: rgba(255,255,255,.8); overflow: hidden; }
.footer__net { position: absolute; inset: 0; opacity: .22; }
.footer__net canvas { width: 100%; height: 100%; display: block; }
.footer .container { position: relative; z-index: 2; }
.footer__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px;
  padding: 64px 22px 30px;
}
.footer__wordmark { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: #fff; margin: 14px 0 2px; }
.footer__wordmark em { font-style: normal; color: var(--c-orange); }
.footer__tagline { font-size: .88rem; color: rgba(255,255,255,.6); }
.footer__assoc { font-size: .85rem; }
.footer__assoc a { color: #FFB37A; }
.footer__col h3 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer__col a { display: block; color: rgba(255,255,255,.72); font-size: .92rem; padding: 5px 0; }
.footer__col a:hover { color: #FFB37A; }
.footer__social { display: flex; gap: 10px; margin-top: 14px; }
.footer__social a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; padding: 0;
}
.footer__social a:hover { border-color: var(--c-orange); background: rgba(242,107,29,.15); }
.footer__cta { text-align: center; padding-bottom: 44px; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .85rem; }
.footer__legal p { margin: 0; color: rgba(255,255,255,.5); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* ---------- Logo circuit draw (page load) ---------- */
.circuit { position: absolute; pointer-events: none; }
.circuit path {
  stroke-dasharray: 600; stroke-dashoffset: 600;
  animation: draw 2.4s ease forwards .3s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .htedu { max-width: 480px; }
  .ht-flow { grid-template-columns: repeat(2, 1fr); gap: 30px 14px; }
  .ht-flow::before { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 119;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-lg);
    padding: 10px 22px 22px;
    transform: translateY(-115%); transition: transform .3s ease;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 13px 4px; font-size: 1rem; border-bottom: 1px solid var(--c-mist); white-space: normal; }
  .nav__links a::after { display: none; }
  .nav__cta--mobile { display: inline-flex; margin-top: 16px; justify-content: center; }
}

@media (max-width: 768px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  .wa-float { bottom: 74px; right: 14px; width: 48px; height: 48px; }
  body { padding-bottom: 64px; }
  .slidein { bottom: 74px; }
}

@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .ht-flow { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .countdown__cell { min-width: 54px; }
  .footer__grid { grid-template-columns: 1fr; }
}
