/* Rotech × PICE Training Center
   Brand: Rotech Brand Guidelines (Primary Blue #2D6CDF, Off White, Charcoal, Warm Gray, Inter)
   Accent: gold from the Rotech Training Center logo. */
:root {
  --blue: #2D6CDF;
  --blue-700: #1F52B3;
  --blue-900: #0E2A5C;
  --blue-50: #EEF3FD;
  --gold: #E0A21B;
  --gold-600: #C9850A;
  --gold-50: #FDF5E3;
  --ink: #1A1A1A;
  --muted: #6B6B6B;
  --bg: #F9F9F7;
  --surface: #FFFFFF;
  --line: #E6E6E1;
  --navy: #0B1A33;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .06);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* side-sliding animations never cause horizontal scroll */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1.5px solid transparent;
  font-weight: 600; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-700); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-gold { background: var(--gold); color: #1A1A1A; border: 0; }
.btn-gold:hover { background: #F0B330; }
.btn-ghost-light { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249, 249, 247, .9); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { height: 36px; width: auto; }
.brand-x { color: var(--muted); font-weight: 500; }
.brand-pice { font-weight: 800; letter-spacing: .06em; color: var(--blue-900); }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: 10px 12px; border-radius: 8px;
}
.nav-menu a:not(.btn):hover { background: var(--blue-50); color: var(--blue); }
.nav-menu .btn { margin-left: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
/* Hero: real photo of the Rotech × PICE computer lab under a navy overlay */
.hero { padding: 0 0 32px; position: relative; }
.hero-bg {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  padding: 96px 0 120px; background: #07122A;
}
/* Photo sits on its own layer so it can zoom in on load and drift on scroll */
.hero-media {
  position: absolute; inset: -80px 0 -80px; z-index: -2; will-change: transform;
  background: url("assets/training-lab.jpg") center 40% / cover no-repeat;
  background: image-set(url("assets/training-lab.webp") type("image/webp"), url("assets/training-lab.jpg") type("image/jpeg")) center 40% / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, transparent 70%, rgba(7,18,42,.5)),
    linear-gradient(100deg, rgba(7,18,42,.92) 0%, rgba(11,26,51,.78) 40%, rgba(14,42,92,.32) 72%, rgba(14,42,92,.12) 100%);
}
/* Slow floating glow over the photo */
.hero-glow {
  position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; pointer-events: none;
  right: 8%; top: -120px; filter: blur(40px);
  background: radial-gradient(closest-side, rgba(45,108,223,.35), transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px;
  background: rgba(224,162,27,.16); border: 1px solid rgba(224,162,27,.45); color: #FFD77A;
  font-weight: 600; font-size: .875rem; margin-bottom: 20px; backdrop-filter: blur(6px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(224,162,27,.25); }
h1 { font-size: clamp(2.25rem, 5.4vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hl { color: #7FAAF5; }
.lead { font-size: 1.125rem; color: #DCE4F2; max-width: 60ch; }
.lead strong { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.hero .btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); color: #fff; backdrop-filter: blur(6px); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; color: #fff; }
.hero-phone { color: #B9C6DE; font-size: .95rem; }
.hero-phone a { font-weight: 700; text-decoration: none; color: #FFD77A; }
.hero-photo-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  font-size: .8rem; color: #B9C6DE;
}
.hero-photo-tag svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 2; }

.hero-card {
  background: rgba(11,26,51,.62); color: #fff; border-radius: 20px; padding: 28px;
  border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 20px 50px rgba(0,0,0,.35); position: relative; overflow: hidden;
}
.hero-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
  border: 18px solid rgba(224,162,27,.18);
}
.hc-label { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #A9B8D6; font-weight: 600; }
.path { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.path li {
  display: flex; align-items: center; gap: 14px; font-size: 1.25rem; font-weight: 700;
  padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,.05);
}
.path li span { font-size: .75rem; color: var(--gold); font-weight: 700; width: 22px; }
.path li:last-child { background: linear-gradient(90deg, rgba(224,162,27,.25), rgba(224,162,27,.05)); }
.hc-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
.hc-foot div { display: flex; flex-direction: column; font-size: .85rem; }
.hc-foot small { color: #A9B8D6; font-size: .7rem; }
.hc-foot i { color: var(--gold); font-style: normal; }

.stats {
  list-style: none; margin: -56px 0 0; padding: 0; position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.stats li { padding: 22px 24px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--blue-900); letter-spacing: -.02em; }
.stats span { color: var(--muted); font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--surface); border-block: 1px solid var(--line); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .sub, .section-dark p { color: #C3CEE3; }
.section-dark .kicker { color: var(--gold); }
.kicker {
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.sub { color: var(--muted); max-width: 62ch; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.fine { font-size: .85rem; color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* About */
.partner-cards { display: grid; gap: 16px; }
.partner { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.partner img { height: 40px; width: auto; margin-bottom: 14px; }
.partner p:last-child { margin: 0; color: #3A3A3A; }
.pice-mark { font-size: 1.75rem; font-weight: 800; letter-spacing: .12em; color: var(--blue-900); margin: 0; }
.pice-sub { font-size: .8rem; color: var(--muted); margin-bottom: 12px; }
.mou { text-align: center; color: var(--muted); font-size: .9rem; margin: 0; }

/* Who */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.who { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s, transform .2s; }
.who:hover { border-color: var(--blue); }
.who p { color: var(--muted); margin: 0; font-size: .95rem; }
.who-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); margin-bottom: 16px; }
.who-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Programs */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; min-height: 40px;
}
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.programs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.program {
  text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 24px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.program:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.program[hidden] { display: none; }
.program { overflow: hidden; padding-top: 0; }
.p-img {
  display: block; margin: 0 -24px 14px; aspect-ratio: 1240 / 326; overflow: hidden;
  background: var(--blue-900); border-bottom: 1px solid var(--line);
}
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.program:hover .p-img img { transform: scale(1.04); }
.dlg-img { width: calc(100% + 64px); max-width: none; margin: -32px -32px 20px; aspect-ratio: 1240 / 326; object-fit: cover; }
.p-code { font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--gold-600); }
.p-title { font-weight: 700; font-size: 1.075rem; line-height: 1.3; }
.p-tag { color: var(--muted); font-size: .9rem; }
.p-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.p-meta span { font-size: .75rem; padding: 3px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: #444; }
.p-meta .warn { background: var(--gold-50); border-color: #F3DDA8; color: #7A5200; }
/* Price: one clean figure + "one-time payment" */
.p-price { margin-top: auto !important;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
}
.pp-amount {
  font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; line-height: 1;
  color: var(--blue-900); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.pp-cur { font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--blue); margin-right: 5px; vertical-align: 3px; }
.pp-terms { text-align: right; font-size: .8rem; font-weight: 700; color: var(--gold-600); line-height: 1.3; }
.pp-terms small { font-weight: 500; color: var(--muted); font-size: .75rem; }
.p-foot { font-size: .8rem !important; color: var(--muted); }

.dlg-price { margin: 20px 0 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.dp-main { display: flex; align-items: center; gap: 18px; padding: 18px 20px; background: var(--bg); flex-wrap: wrap; }
.dp-main .pp-amount { font-size: 2rem; }
.dp-terms { flex: 1; min-width: 200px; font-size: .9rem; color: #3A3A3A; }
.dp-terms strong { color: var(--gold-600); }
.dp-other { list-style: none; margin: 0; padding: 4px 20px; }
.dp-other li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: .9rem; border-top: 1px solid var(--line); }
.dp-other li:first-child { border-top: 0; }
.dp-other span { color: var(--muted); }
.dp-other strong { color: var(--blue-900); white-space: nowrap; }
.dlg-price .dlg-note { margin: 0; padding: 10px 20px 14px; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); }
.p-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; font-size: .9rem; }
.p-foot strong { color: var(--blue-900); }
.p-more { color: var(--blue); font-weight: 600; }

/* Schedule */
.shifts { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 16px; margin-top: 28px; }
.shift { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 24px; }
.shift h3 { color: #fff; }
.shift p { margin: 0; }
.shift .days { color: #A9B8D6; font-size: .9rem; }
.shift .time { color: #fff !important; font-weight: 700; font-size: 1.1rem; margin-top: 12px; }
.shift .extra { font-size: .85rem; }
.shift .hrs { margin-top: 14px; display: inline-block; font-size: .75rem; font-weight: 600; color: var(--gold) !important; letter-spacing: .04em; }
.intake { margin-top: 24px; background: linear-gradient(135deg, var(--blue), var(--blue-700)); border-radius: 18px; padding: 28px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: center; }
.intake h3 { color: #fff; font-size: 1.5rem; margin: 0 0 4px; }
.countdown { color: #FFE3A3 !important; font-weight: 600; margin: 0; }
.intake-rows { display: grid; gap: 10px; }
.intake-row { display: grid; grid-template-columns: 1.1fr auto auto auto; gap: 14px; align-items: center; background: rgba(255,255,255,.1); border-radius: 12px; padding: 14px 18px; }
.intake-row span { color: #DCE6FA; font-size: .9rem; }
.intake-row em { font-style: normal; color: var(--gold); }
.intake-row strong { white-space: nowrap; }

/* Pathways */
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 16px; }
.path-grid article { border-top: 3px solid var(--blue); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); padding: 24px; box-shadow: var(--shadow); }
.path-grid article:nth-child(2) { border-top-color: var(--gold); }
.path-grid article:nth-child(3) { border-top-color: var(--blue-900); }
.path-grid p { color: #3A3A3A; margin: 0; font-size: .95rem; }

/* Steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps li { counter-increment: s; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; color: #3A3A3A; font-size: .95rem; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.steps strong { color: var(--ink); }
.elig { margin-top: 24px; background: var(--gold-50); border: 1px solid #F3DDA8; border-radius: var(--radius); padding: 22px 26px; }
.elig h3 { margin-bottom: 6px; }
.elig p { margin: 0; color: #4A3A10; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 24px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq details[open] { border-color: var(--blue); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 18px 32px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: #3A3A3A; padding-bottom: 18px; margin: 0; }

/* Register */
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.contact-list li { display: grid; grid-template-columns: 80px 1fr; gap: 12px; color: #fff; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-list span { color: #A9B8D6; font-size: .85rem; padding-top: 2px; }
.contact-list a { color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.reg-form { background: var(--surface); color: var(--ink); border-radius: 18px; padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.field { display: grid; gap: 6px; }
.field.full, .full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; min-height: 48px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(45,108,223,.15); }
.form-error { grid-column: 1 / -1; color: #B42318 !important; font-size: .9rem; margin: 0; min-height: 0; }
.form-error:empty { display: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-actions .btn-ghost-light { color: var(--ink); border-color: var(--line); }
.form-actions .btn-ghost-light:hover { border-color: var(--blue); color: var(--blue); }

/* Footer */
.site-footer { background: #07122A; color: #A9B8D6; padding: 56px 0 24px; font-size: .9rem; }
.foot { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 32px; }
.foot-logo { height: 34px; width: auto; filter: brightness(0) invert(1); margin-bottom: 14px; }
.site-footer a { color: #fff; font-weight: 700; text-decoration: none; }
.site-footer strong { color: #fff; }
.site-footer .fine { color: #7F8EAD; }
.copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 32px; padding-top: 20px; font-size: .8rem; color: #7F8EAD; }

/* Dialog */
.dialog { border: 0; border-radius: 18px; padding: 32px; width: min(720px, calc(100% - 32px)); max-height: calc(100vh - 48px); box-shadow: 0 30px 80px rgba(0,0,0,.35); color: var(--ink); }
.dialog::backdrop { background: rgba(11,26,51,.55); backdrop-filter: blur(3px); }
.dlg-close-wrap { position: absolute; right: 14px; top: 14px; }
.dlg-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 1.4rem; line-height: 1; }
.dialog h3 { font-size: 1.4rem; padding-right: 40px; }
.dlg-meta { color: var(--muted); font-size: .9rem; }
.mod-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.mod-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--line); }
.mod-table td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.mod-table td small { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.mod-table .r { text-align: right; padding-left: 16px; font-variant-numeric: tabular-nums; }
.dlg-cap { font-size: .95rem; color: #3A3A3A; }
.dlg-reg { width: 100%; }

/* Reveal */
/* ---------- Selling point: hero perks ---------- */
.hero-perks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; max-width: 560px; }
.hero-perks li {
  display: flex; align-items: center; gap: 12px; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; padding: 10px 14px; backdrop-filter: blur(6px);
}
.hero-perks span {
  flex: none; font-size: .7rem; font-weight: 800; letter-spacing: .08em;
  padding: 4px 9px; border-radius: 6px; background: var(--gold); color: #1A1A1A;
}
.hero-perks li:nth-child(2) span { background: var(--blue); color: #fff; }

/* ---------- Selling point: After Training section ---------- */
.future { background: linear-gradient(180deg, var(--bg) 0%, #FFF 100%); position: relative; overflow: hidden; }
.future::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 900px; height: 900px; transform: translate(-50%, -55%);
  background: radial-gradient(closest-side, rgba(224,162,27,.12), transparent); pointer-events: none;
}
.future-head { text-align: center; max-width: 760px; margin: 0 auto; position: relative; }
.future-head .sub { margin-inline: auto; font-size: 1.075rem; }
.hl-dark { color: var(--blue); }
.future-flow {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin: 32px 0 36px; flex-wrap: wrap;
}
.future-flow span {
  font-weight: 700; font-size: .9rem; padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.future-flow span.split { background: var(--ink); color: #fff; border-color: var(--ink); }
.future-flow i { width: 40px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 6px, transparent 6px 10px); border-radius: 2px; }

.future-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; position: relative; }
.fpath {
  position: relative; border-radius: 20px; padding: 32px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(16,24,40,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.fpath:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(16,24,40,.14); }
.fpath::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; }
.fpath-biz::before { background: linear-gradient(90deg, var(--gold), #F6C85F); }
.fpath-job::before { background: linear-gradient(90deg, var(--blue), #6B9BF0); }
.fpath h3 { font-size: 1.5rem; margin-bottom: 10px; }
.fpath > p { color: #3A3A3A; }
.fpath-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.fpath-biz .fpath-label { color: var(--gold-600); }
.fpath-job .fpath-label { color: var(--blue); }
.fpath-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.fpath-ic svg { width: 28px; height: 28px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fpath-biz .fpath-ic { background: var(--gold-50); }
.fpath-biz .fpath-ic svg { stroke: var(--gold-600); }
.fpath-job .fpath-ic { background: var(--blue-50); }
.fpath-job .fpath-ic svg { stroke: var(--blue); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; color: #3A3A3A; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}
.fpath .ticks { margin-top: 18px; }
.fpath-biz .ticks li::before { background-color: var(--gold-600); }
.free-badge {
  position: absolute; top: 22px; right: 22px; font-size: .75rem; font-weight: 800; letter-spacing: .06em;
  padding: 6px 12px; border-radius: 999px; background: var(--gold); color: #1A1A1A;
  box-shadow: 0 6px 16px rgba(224,162,27,.35);
}
.free-badge-blue { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(45,108,223,.35); }
.future-or { display: grid; place-items: center; }
.future-or span {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-weight: 800; text-transform: uppercase; font-size: .8rem; letter-spacing: .06em;
  box-shadow: 0 0 0 8px var(--bg);
}
.future-cta {
  margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--navy); color: #fff; border-radius: 18px; padding: 24px 28px;
}
.future-cta p { margin: 0; color: #C3CEE3; font-size: 1.05rem; }
.future-cta strong { color: #fff; }

@media (max-width: 860px) {
  .future-grid { grid-template-columns: 1fr; }
  .future-or span { width: 44px; height: 44px; }
  .fpath { padding: 26px 22px; }
  .free-badge { top: 18px; right: 18px; }
}

/* ---------- Motion ---------- */
/* Scroll progress bar under the header */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform-origin: 0 50%; transform: scaleX(0);
}
/* Rotating gold ring on the hero card */
.hero-card::after { animation: spin 28s linear infinite; border-top-color: rgba(224,162,27,.55); }
@keyframes spin { to { transform: rotate(360deg); } }
/* Live dot pulse in the hero eyebrow */
.dot { animation: pulse 2s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(224,162,27,.6); }
  100% { box-shadow: 0 0 0 10px rgba(224,162,27,0); }
}
/* Hero headline split into words by script.js */
.word { display: inline-block; white-space: pre; }
/* Animated underline for nav links */
.nav-menu a:not(.btn) { position: relative; }
.nav-menu a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-menu a:not(.btn):hover::after, .nav-menu a.active::after { transform: scaleX(1); }
.nav-menu a.active { color: var(--blue); }
/* Lift on hover */
.who, .shift, .path-grid article, .steps li, .partner { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.who:hover, .path-grid article:hover, .steps li:hover, .partner:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(16,24,40,.10); }
.shift:hover { transform: translateY(-4px); border-color: rgba(224,162,27,.5); }
.btn-primary, .btn-gold { position: relative; overflow: hidden; }
.btn-primary::after, .btn-gold::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-primary:hover::after, .btn-gold:hover::after { left: 120%; }
/* FAQ answer slide */
.faq details[open] p { animation: faqIn .35s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
/* Dialog entrance */
.dialog[open] { animation: dlgIn .35s cubic-bezier(.2,.8,.2,1); }
.dialog[open]::backdrop { animation: fadeIn .3s ease; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .who-grid, .shifts { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .intake { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a:not(.btn) { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-menu .btn { margin: 12px 0 0; }
  .hero-grid, .two-col, .covers, .foot { grid-template-columns: 1fr; }
  .hero-grid { gap: 32px; }
  .hero-bg { padding: 56px 0 96px; }
  .hero-media { background-position: 65% center; }
  .hero-glow { width: 320px; height: 320px; right: -60px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .path-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .brand img { height: 28px; }
  .brand-x, .brand-pice { font-size: .9rem; }
  .who-grid, .shifts, .steps { grid-template-columns: 1fr; }
  .programs { grid-template-columns: 1fr; }
  .reg-form { grid-template-columns: 1fr; padding: 22px; }
  .intake-row { grid-template-columns: 1fr auto 1fr; }
  .intake-row span { grid-column: 1 / -1; }
    .dialog { padding: 24px 20px; }
  .dlg-img { width: calc(100% + 40px); margin: -24px -20px 16px; }
  .hc-foot { flex-wrap: wrap; }
  .hc-foot i { display: none; }
  .hc-foot div { width: calc(50% - 6px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Backend-connected form ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field.invalid input, .field.invalid select { border-color: #D92D20; background: #FEF3F2; }
.reg-form button[disabled] { opacity: .7; cursor: progress; }
.form-success { text-align: left; }
.form-success h3 { font-size: 1.35rem; margin: 6px 0 10px; }
.form-success p { color: #3A3A3A !important; }
.fs-icon { width: 56px; height: 56px; border-radius: 50%; background: #E8F7EE; display: grid; place-items: center; animation: fsPop .5s cubic-bezier(.2,1.4,.4,1); }
.fs-icon svg { width: 30px; height: 30px; fill: none; stroke: #12A150; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: fsDraw .5s .25s ease forwards; }
.fs-ref { background: var(--bg); border: 1px dashed var(--line); border-radius: 10px; padding: 10px 14px; }
@keyframes fsPop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fsDraw { to { stroke-dashoffset: 0; } }
.load-error { grid-column: 1 / -1; background: var(--gold-50); border: 1px solid #F3DDA8; border-radius: var(--radius); padding: 20px; color: #4A3A10; }

/* ---------- Contact details from admin settings ---------- */
[hidden] { display: none !important; }
.contact-list li > div { display: grid; gap: 4px; }
.contact-list .cl-val { color: #fff; }
.contact-list a { word-break: break-word; }
.contact-list .cl-map { font-size: .85rem !important; font-weight: 600 !important; color: #FFD77A !important; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--gold); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; fill: #fff; }
.socials a:hover svg { fill: #1A1A1A; }
.socials-foot { margin-top: 14px; }
.socials-foot a { width: 36px; height: 36px; border-radius: 10px; }
.foot-contact { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }

/* Social icons: brand colour on hover */
.socials a.sm-whatsapp:hover { background: #25D366; }
.socials a.sm-telegram:hover { background: #229ED9; }
.socials a.sm-facebook:hover { background: #1877F2; }
.socials a.sm-instagram:hover { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.socials a.sm-tiktok:hover, .socials a.sm-x:hover { background: #000; }
.socials a.sm-youtube:hover { background: #FF0000; }
.socials a.sm-linkedin:hover { background: #0A66C2; }
.socials a.sm-website:hover { background: var(--blue); }
.socials a:hover svg { fill: #fff; }


/* Icons with no link yet: same look, not clickable */
.socials span { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.socials-foot span { width: 36px; height: 36px; border-radius: 10px; }
.socials span svg { width: 20px; height: 20px; fill: #fff; opacity: .85; }
