/* ==========================================================================
   TECHNOVO — Design System
   Fortifying Cyberspace Together
   Brand colors sampled directly from the TECHNOVO logo master files.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Core brand — sampled from logo */
  --navy-900: #011C3A;
  --navy-800: #012449;
  --navy-700: #023164;   /* logo navy */
  --navy-600: #064280;
  --navy-500: #0A549E;
  --navy-400: #2E7BC4;
  --navy-100: #E4EDF7;
  --navy-50:  #F2F7FC;

  --gold-600: #C67F05;
  --gold-500: #FDAD17;   /* logo gold */
  --gold-400: #FDC14F;
  --gold-100: #FFF3DC;

  --ink:      #0F1720;
  --body:     #4A5666;
  --muted:    #7A8798;
  --line:     #E3E9F0;
  --surface:  #FFFFFF;
  --canvas:   #F7F9FC;

  --ok:       #12855A;
  --warn:     #B4690E;

  /* Type */
  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Space & shape */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(9, 30, 66, .06), 0 2px 8px rgba(9, 30, 66, .05);
  --shadow-md: 0 4px 12px rgba(9, 30, 66, .08), 0 12px 32px rgba(9, 30, 66, .07);
  --shadow-lg: 0 18px 50px rgba(1, 28, 58, .18);
  --shadow-gold: 0 10px 30px rgba(253, 173, 23, .32);

  --container: 1200px;
  --header-h: 74px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.022em;
  font-weight: 700;
}
h1 { font-size: clamp(2.15rem, 5.2vw, 3.65rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.32rem); }
p  { text-wrap: pretty; }

::selection { background: var(--gold-500); color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--navy-400); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(64px, 8vw, 108px) 0; }
.section--tight { padding: clamp(48px, 6vw, 76px) 0; }
.section--canvas { background: var(--canvas); }
.section--navy { background: var(--navy-900); color: #C6D4E6; }
.section--navy h2, .section--navy h3 { color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--navy-700); color: #fff; padding: 10px 18px;
  border-radius: var(--r-sm); transition: top .2s;
}
.skip-link:focus { top: 14px; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-size: .74rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--navy-600);
  background: var(--navy-50); border: 1px solid var(--navy-100);
  padding: 7px 15px; border-radius: 100px; margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-500); box-shadow: 0 0 0 3px rgba(253,173,23,.22);
}
.section--navy .eyebrow { color: var(--gold-400); background: rgba(253,173,23,.1); border-color: rgba(253,173,23,.24); }

.section-head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 58px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.06rem; margin-top: 16px; }
.section--navy .section-head p { color: #A9BCD3; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: 14px 26px; border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
  white-space: nowrap; line-height: 1.2;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary { background: var(--navy-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--navy-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold-500); color: var(--navy-900); box-shadow: var(--shadow-gold); }
.btn--gold:hover { background: var(--gold-400); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy-700); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy-700); background: var(--navy-50); transform: translateY(-2px); }
.btn--onDark { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.24); backdrop-filter: blur(8px); }
.btn--onDark:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: .86rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.textlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600; font-size: .89rem;
  color: var(--navy-600); transition: gap .2s, color .2s;
}
.textlink::after { content: "→"; transition: transform .2s; }
.textlink:hover { color: var(--gold-600); }
.textlink:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 22px rgba(9,30,66,.07); }
.header__inner { display: flex; align-items: center; gap: 28px; width: 100%; }

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 38px; width: auto; }
.brand__text { display: none; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list a {
  display: block; padding: 9px 15px; border-radius: 100px;
  font-family: var(--font-display); font-size: .93rem; font-weight: 500;
  color: var(--ink); transition: background .2s, color .2s;
}
.nav__list a:hover { background: var(--navy-50); color: var(--navy-600); }
.nav__list a[aria-current="page"] { color: var(--navy-700); font-weight: 600; background: var(--navy-50); }
.header__cta { flex: none; }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center; flex: none;
}
.burger span { position: relative; width: 19px; height: 2px; background: var(--ink); border-radius: 2px; display: block; transition: background .2s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: transform .25s;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 190;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 14px 22px 26px; box-shadow: var(--shadow-md);
  display: none;
}
.mobile-nav.is-open { display: block; animation: slideDown .24s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.mobile-nav a {
  display: block; padding: 14px 4px; font-family: var(--font-display);
  font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(64px, 8vw, 104px);
  background:
    radial-gradient(1000px 620px at 78% -8%, rgba(10,84,158,.55), transparent 62%),
    radial-gradient(760px 520px at 4% 100%, rgba(253,173,23,.14), transparent 60%),
    linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 52%, #012A54 100%);
  color: #C6D4E6;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 62% 32%, #000 0%, transparent 76%);
  pointer-events: none;
}
.hero__grid {
  position: relative; display: grid; gap: clamp(40px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400);
  background: rgba(253,173,23,.1); border: 1px solid rgba(253,173,23,.26);
  padding: 8px 16px; border-radius: 100px; margin-bottom: 24px;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold-500); }
.hero__lede { font-size: clamp(1.02rem, 1.5vw, 1.14rem); color: #B4C6DA; max-width: 60ch; margin-bottom: 32px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 38px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12);
}
.hero__trust div { display: flex; align-items: center; gap: 9px; font-size: .89rem; color: #9FB4CC; }
.hero__trust svg { width: 17px; height: 17px; color: var(--gold-500); flex: none; }

/* Hero security console card */
.console {
  position: relative; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: var(--shadow-lg); backdrop-filter: blur(14px);
  overflow: hidden;
}
.console__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px; border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.16);
}
.console__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.22); }
.console__dot--g { background: var(--gold-500); }
.console__title {
  margin-left: 8px; font-family: var(--font-display); font-size: .76rem;
  letter-spacing: .1em; text-transform: uppercase; color: #91A7C0;
}
.console__body { padding: 22px; }
.console__row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 0; border-bottom: 1px dashed rgba(255,255,255,.1);
  font-size: .89rem;
}
.console__row:last-child { border-bottom: 0; }
.console__row span:first-child { color: #AFC2D8; }
.console__row strong { font-family: var(--font-display); color: #fff; font-weight: 600; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display);
  font-size: .72rem; font-weight: 600; padding: 4px 11px; border-radius: 100px;
  letter-spacing: .04em; white-space: nowrap;
}
.pill--ok   { background: rgba(18,133,90,.2);  color: #56D6A0; border: 1px solid rgba(86,214,160,.3); }
.pill--gold { background: rgba(253,173,23,.18); color: var(--gold-400); border: 1px solid rgba(253,173,23,.32); }
.pill--navy { background: var(--navy-50); color: var(--navy-600); border: 1px solid var(--navy-100); }
.console__meter { margin-top: 20px; }
.console__meter-label {
  display: flex; justify-content: space-between; font-size: .8rem;
  color: #9FB4CC; margin-bottom: 8px;
}
.console__track { height: 7px; border-radius: 100px; background: rgba(255,255,255,.12); overflow: hidden; }
.console__fill {
  height: 100%; border-radius: 100px;
  background: linear-gradient(90deg, var(--navy-400), var(--gold-500));
  width: 0; transition: width 1.4s cubic-bezier(.22,1,.36,1);
}

/* ---------- Logo strip / marquee ---------- */
.strip { border-block: 1px solid var(--line); background: #fff; padding: 26px 0; overflow: hidden; }
.strip__label {
  text-align: center; font-family: var(--font-display); font-size: .74rem;
  letter-spacing: .17em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px;
}
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 56px; padding-right: 56px; animation: scroll 26s linear infinite; flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-100%); } }
.marquee__item {
  display: flex; align-items: center; gap: 10px; flex: none;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--navy-700); opacity: .72;
}
.marquee__item svg { width: 19px; height: 19px; color: var(--gold-500); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 28px 26px;
  transition: transform .22s ease, box-shadow .28s ease, border-color .22s ease;
  height: 100%; display: flex; flex-direction: column;
}
.card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--navy-600), var(--gold-500));
  border-radius: 0 0 var(--r-md) var(--r-md);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--navy-100); }
.card:hover::after { transform: scaleX(1); }

.card__icon {
  width: 50px; height: 50px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-500));
  color: #fff; box-shadow: 0 6px 16px rgba(2,49,100,.24);
  transition: transform .3s ease;
}
.card:hover .card__icon { transform: scale(1.07) rotate(-4deg); }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 9px; }
.card p { font-size: .94rem; }
.card__foot { margin-top: auto; padding-top: 18px; }

.card--gold .card__icon { background: linear-gradient(145deg, var(--gold-500), var(--gold-600)); color: var(--navy-900); box-shadow: 0 6px 16px rgba(253,173,23,.3); }

/* Feature card w/ left border */
.card--edge { border-left: 3px solid var(--gold-500); }

/* Numbered process */
.process { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); counter-reset: step; }
.step {
  position: relative; padding: 30px 26px 30px 0;
  border-top: 2px solid var(--line); counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 1.5rem; color: var(--gold-500); margin-bottom: 12px; letter-spacing: -.02em;
}
.step::after {
  content: ""; position: absolute; top: -2px; left: 0; width: 0; height: 2px;
  background: var(--gold-500); transition: width .5s ease;
}
.step:hover::after { width: 100%; }
.step h3 { margin-bottom: 9px; font-size: 1.12rem; }
.step p { font-size: .93rem; }
.step + .step { padding-left: 26px; }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--r-md); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.section:not(.section--navy) .stat { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.stat__num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.7rem);
  line-height: 1; color: var(--navy-700); letter-spacing: -.03em;
}
.section--navy .stat__num { color: var(--gold-500); }
.stat__label {
  margin-top: 10px; font-family: var(--font-display); font-size: .79rem;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.section--navy .stat__label { color: #93A9C2; }

/* ---------- Training cards ---------- */
.course {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: transform .22s ease, box-shadow .28s ease, border-color .22s;
}
.course:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--navy-100); }
.course__top {
  padding: 22px 24px 0; display: flex; align-items: flex-start;
  justify-content: space-between; gap: 14px;
}
.course__body { padding: 16px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.course__body h3 { margin-bottom: 9px; }
.course__body p { font-size: .93rem; flex: 1; }
.course__meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0;
  padding-top: 16px; border-top: 1px dashed var(--line);
  font-size: .84rem; color: var(--muted);
}
.course__meta span { display: flex; align-items: center; gap: 7px; }
.course__meta svg { width: 15px; height: 15px; color: var(--navy-500); }
.course__price {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  color: var(--navy-700); letter-spacing: -.02em; line-height: 1;
}
.course__price small { font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.course__cta { margin-top: 20px; }

/* ---------- Checklist ---------- */
.checks { display: grid; gap: 14px; }
.checks--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.check { display: flex; gap: 13px; align-items: flex-start; font-size: .95rem; }
.check svg { width: 21px; height: 21px; flex: none; color: var(--ok); margin-top: 3px; }
.section--navy .check { color: #B4C6DA; }
.section--navy .check svg { color: var(--gold-500); }
.check strong { color: var(--ink); font-weight: 600; font-family: var(--font-display); }
.section--navy .check strong { color: #fff; }

/* ---------- Split feature ---------- */
.split { display: grid; gap: clamp(36px, 5vw, 66px); grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; }
.split__media {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-500));
  padding: 34px; color: #C6D4E6; box-shadow: var(--shadow-lg);
}
.split__media::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px; opacity: .8;
}
.split__media > * { position: relative; }

/* ---------- Industry / portfolio tiles ---------- */
.tile {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  padding: 30px 26px; min-height: 210px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600));
  color: #C6D4E6; border: 1px solid var(--navy-700);
  transition: transform .25s ease, box-shadow .3s ease;
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tile::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 220px at 88% 6%, rgba(253,173,23,.22), transparent 68%);
}
.tile > * { position: relative; }
.tile h3 { color: #fff; margin-bottom: 8px; }
.tile p { font-size: .91rem; color: #A9BCD3; }
.tile__icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: auto;
  display: grid; place-items: center; background: rgba(253,173,23,.16);
  border: 1px solid rgba(253,173,23,.3); color: var(--gold-500);
}
.tile__icon svg { width: 22px; height: 22px; }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 30px 28px; height: 100%; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.quote__stars { display: flex; gap: 3px; margin-bottom: 16px; color: var(--gold-500); }
.quote__stars svg { width: 17px; height: 17px; }
.quote blockquote { font-size: 1rem; color: var(--ink); flex: 1; }
.quote__who { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-500)); color: #fff;
}
.quote__name { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .95rem; }
.quote__role { font-size: .84rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.faq__item[open] { border-color: var(--navy-100); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.01rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--gold-500);
  line-height: 1; flex: none; transition: transform .25s;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 24px 22px; font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  padding: clamp(40px, 5.5vw, 68px);
  background:
    radial-gradient(720px 420px at 88% 8%, rgba(10,84,158,.6), transparent 62%),
    radial-gradient(520px 320px at 0% 100%, rgba(253,173,23,.2), transparent 60%),
    linear-gradient(150deg, var(--navy-900), var(--navy-700));
  color: #C6D4E6; text-align: center; box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; margin-bottom: 16px; }
.cta p { max-width: 60ch; margin: 0 auto 30px; color: #AFC2D8; }
.cta .btn-row { justify-content: center; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-display); font-size: .86rem; font-weight: 600; color: var(--ink); }
.field label .req { color: #C0392B; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); background: #fff; transition: border-color .2s, box-shadow .2s;
  font-size: .96rem;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 4px rgba(10,84,158,.11);
}
.field__hint { font-size: .8rem; color: var(--muted); }
.form__note { font-size: .83rem; color: var(--muted); }

.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.info-card__icon { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--navy-50); color: var(--navy-700); border: 1px solid var(--navy-100); }
.info-card__icon svg { width: 21px; height: 21px; }
.info-card h3 { font-size: 1rem; margin-bottom: 5px; }
.info-card a:hover { color: var(--navy-600); text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #93A9C2; padding: clamp(56px, 6vw, 76px) 0 0; }
.footer__grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); }
.footer__brand img { height: 40px; margin-bottom: 18px; }
.footer__brand p { font-size: .93rem; max-width: 38ch; }
.footer h4 {
  color: #fff; font-family: var(--font-display); font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px;
}
.footer__links { display: grid; gap: 11px; }
.footer__links a { font-size: .93rem; transition: color .2s, padding-left .2s; }
.footer__links a:hover { color: var(--gold-500); padding-left: 4px; }
.footer__contact { display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .93rem; }
.footer__contact svg { width: 17px; height: 17px; color: var(--gold-500); flex: none; margin-top: 3px; }
.footer__bottom {
  margin-top: clamp(40px, 5vw, 58px); padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between;
  font-size: .86rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__legal a:hover { color: var(--gold-500); }

/* ---------- Page hero (subpages) ---------- */
.pagehero {
  position: relative; overflow: hidden; color: #C6D4E6;
  padding: calc(var(--header-h) + clamp(46px, 6vw, 74px)) 0 clamp(46px, 6vw, 72px);
  background:
    radial-gradient(820px 480px at 82% -12%, rgba(10,84,158,.55), transparent 62%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
}
.pagehero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(circle at 70% 40%, #000, transparent 76%);
}
.pagehero__inner { position: relative; max-width: 780px; }
.pagehero h1 { color: #fff; margin-bottom: 16px; }
.pagehero p { font-size: clamp(1rem, 1.5vw, 1.1rem); color: #B4C6DA; }
.crumbs { display: flex; gap: 9px; align-items: center; font-size: .85rem; color: #8FA6C0; margin-bottom: 20px; }
.crumbs a:hover { color: var(--gold-500); }
.crumbs span { opacity: .5; }

/* ---------- Utilities ---------- */
/* .reveal is animated by motion.css */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 14px; }
.mt-3 { margin-top: 22px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 44px; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.08rem; }
.small { font-size: .88rem; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Floating WhatsApp */
.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 180;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff;
  box-shadow: 0 10px 28px rgba(37,211,102,.42);
  transition: transform .22s ease;
}
.float-wa:hover { transform: scale(1.09); }
.float-wa svg { width: 27px; height: 27px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
}
@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .console { order: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .mobile-nav .btn, .course__cta .btn { width: 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .step + .step { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .header, .mobile-nav, .float-wa, .hero__trust { display: none; }
  body { color: #000; }
}
