/* KTMC Global — Ezy Web Pro hybrid static build
   Design system: accreditation authority. Deep navy + brass gold on cool paper.
   Display: Fraunces. Body/UI: IBM Plex Sans. */

:root {
  --ink: #0b1f3a;
  --ink-2: #12294a;
  --ink-3: #24406b;
  --paper: #f7f9fc;
  --paper-2: #eef2f7;
  --white: #ffffff;
  --gold: #c1963c;
  --gold-2: #a97f2c;
  --gold-soft: #ecdcb4;
  --text: #1a2433;
  --muted: #5a6577;
  --line: #dfe4ec;
  --line-2: #ccd4e0;
  --ok: #137a43;

  --maxw: 1180px;
  --gap: clamp(1rem, 2vw, 2rem);
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 18px 50px -24px rgba(11, 31, 58, 0.35);

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--text);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 550; line-height: 1.12; color: var(--ink); margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 1rem; max-width: 68ch; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--ink { background: var(--ink); color: #dbe4f0; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--paper2 { background: var(--paper-2); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.section--ink .lead { color: #b7c4d6; }

/* Eyebrow — a small kicker with a gold rule, used sparingly (not all-caps template chrome) */
.kicker { display: inline-flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 600; color: var(--gold-2); margin-bottom: 1rem; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; }
.section--ink .kicker { color: var(--gold-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--f-body); font-weight: 600; font-size: 1rem; padding: .85rem 1.5rem; border-radius: var(--radius); border: 1.5px solid transparent; cursor: pointer; transition: transform .12s ease, background .2s ease, color .2s ease, border-color .2s ease; text-decoration: none; white-space: nowrap; }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--ink:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.section--ink .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.section--ink .btn--ghost:hover { border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 50; background: #ffffff; border-bottom: 1px solid var(--line); transition: transform .35s ease, box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 28px -14px rgba(11,31,58,.30); }
.site-header.is-scrolled .nav { padding-block: .45rem; }
.site-header.is-hidden { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; transition: padding .3s ease; }
.nav__logo img { height: 46px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav__menu a { font-weight: 500; font-size: .97rem; color: var(--text); text-decoration: none; padding-block: .4rem; border-bottom: 2px solid transparent; }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }
.nav__cta { display: flex; align-items: center; gap: .6rem; }
.nav__toggle { display: none; background: none; border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: .5rem .6rem; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }

@media (max-width: 940px) {
  .nav__toggle { display: block; }
  .nav__menu, .nav__cta .btn--ghost { display: none; }
  .nav__menu.is-open { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: .5rem 1.5rem 1.5rem; }
  .nav__menu.is-open li { width: 100%; }
  .nav__menu.is-open a { display: block; width: 100%; border-bottom: 1px solid var(--line); }
}

/* Hero */
.hero { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero__body { padding-block: clamp(3rem, 6vw, 5rem); }
.hero h1 { margin-bottom: .4em; }
.hero__accredit { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero__accredit span { font-size: .9rem; color: var(--muted); display: inline-flex; align-items: center; gap: .45rem; }
.hero__accredit strong { color: var(--ink); font-weight: 600; }
.hero__figure { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.hero__figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow); max-height: 520px; width: auto; object-fit: cover; }
.hero__seal { position: absolute; left: -14px; bottom: 34px; background: var(--ink); color: #fff; border: 2px solid var(--gold); border-radius: var(--radius-lg); padding: .8rem 1rem; box-shadow: var(--shadow); }
.hero__seal .n { font-family: var(--f-display); font-size: 1.9rem; font-weight: 600; color: var(--gold-soft); line-height: 1; }
.hero__seal .l { font-size: .75rem; color: #b7c4d6; display: block; margin-top: .2rem; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { display: none; }
}

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stats div { background: var(--white); padding: 1.5rem 1.4rem; }
.section--ink .stats { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.14); }
.section--ink .stats div { background: var(--ink-2); }
.stats .n { font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: var(--ink); display: block; }
.section--ink .stats .n { color: var(--gold-soft); }
.stats .l { font-size: .92rem; color: var(--muted); }
.section--ink .stats .l { color: #b7c4d6; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Generic grids */
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.8rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* Feature blocks (why choose) — bordered, gold rule on top, no uniform drop-shadows */
.feature { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--muted); margin-bottom: 0; font-size: .97rem; }

/* Course / credential index cards */
.course-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .18s ease, transform .18s ease; }
.course-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.course-card__std { font-family: var(--f-body); font-size: .8rem; font-weight: 600; color: var(--gold-2); letter-spacing: .04em; padding: 1.1rem 1.3rem .2rem; }
.course-card h3 { font-size: 1.15rem; padding: 0 1.3rem; margin-bottom: .5rem; }
.course-card p { font-size: .93rem; color: var(--muted); padding: 0 1.3rem; margin-bottom: 1rem; }
.course-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.3rem; border-top: 1px solid var(--line); }
.course-card__price { font-family: var(--f-display); font-weight: 600; color: var(--ink); }
.course-card__price s { color: var(--muted); font-weight: 400; font-size: .85em; margin-right: .35rem; }
.course-card__link { font-weight: 600; font-size: .9rem; color: var(--gold-2); text-decoration: none; }
.course-card__link:hover { color: var(--ink); }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--ink); background: var(--gold-soft); padding: .15rem .5rem; border-radius: 999px; margin-left: .5rem; vertical-align: middle; }

/* Category tabs on courses page */
.cat { margin-bottom: 2.5rem; }
.cat__head { display: flex; align-items: baseline; gap: .8rem; border-bottom: 2px solid var(--ink); padding-bottom: .6rem; margin-bottom: 1.6rem; }
.cat__head h2 { margin: 0; font-size: 1.5rem; }
.cat__head span { color: var(--muted); font-size: .9rem; }

/* Steps (process) — real sequence, numbered */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; color: var(--gold); }
.step h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Testimonials */
.quote { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.quote blockquote { margin: 0 0 1rem; font-size: 1.05rem; line-height: 1.55; color: var(--text); }
.quote cite { font-style: normal; font-weight: 600; color: var(--ink); font-size: .95rem; }
.quote cite span { display: block; color: var(--muted); font-weight: 400; font-size: .88rem; }

/* Prose (articles / long content) */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin-bottom: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose ul li::marker { color: var(--gold-2); }

/* Two-column layout for interior pages */
.split { display: grid; grid-template-columns: 1fr 340px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem 1.5rem; position: sticky; top: 84px; }
.aside-card h3 { font-size: 1.2rem; }
.aside-card .price { font-family: var(--f-display); font-size: 1.8rem; font-weight: 600; color: var(--ink); margin: .3rem 0; }
.aside-card .price s { font-size: .95rem; color: var(--muted); font-weight: 400; }
.aside-card ul { list-style: none; padding: 0; margin: 1rem 0; }
.aside-card li { position: relative; padding-left: 1.5rem; margin-bottom: .55rem; font-size: .95rem; color: var(--text); }
.aside-card li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.05rem; height: 1.05rem; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2020%2020%27%20fill%3D%27none%27%20stroke%3D%27%23a97f2c%27%20stroke-width%3D%272.5%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2010.5l4%204%208-9%27/%3E%3C/svg%3E"); }

/* Accordion (FAQ) */
.accordion details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: .8rem; overflow: hidden; }
.accordion summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600; font-family: var(--f-display); font-size: 1.08rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; width: 1.15rem; height: 1.15rem; flex: none; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2020%2020%27%20fill%3D%27none%27%20stroke%3D%27%23a97f2c%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%208l5%205%205-5%27/%3E%3C/svg%3E"); transition: transform .25s ease; }
.accordion details[open] summary::after { transform: rotate(180deg); }
.accordion .acc-body { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.accordion .acc-body p:last-child { margin-bottom: 0; }

/* Forms */
.lead-form { display: grid; gap: .9rem; }
.lead-form .row { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .lead-form .row { grid-template-columns: 1fr; } }
.lead-form label { font-size: .85rem; font-weight: 600; color: var(--ink); display: block; margin-bottom: .3rem; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; font-family: var(--f-body); font-size: 1rem; padding: .75rem .85rem; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: var(--white); color: var(--text); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(193,150,60,.18); }
.lead-form .hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-status { padding: .85rem 1rem; border-radius: var(--radius); font-size: .95rem; display: none; }
.form-status.is-ok { display: block; background: #e5f6ec; color: var(--ok); border: 1px solid #b6e2c8; }
.form-status.is-err { display: block; background: #fdeaea; color: #b91c1c; border: 1px solid #f2c4c4; }

/* Breadcrumbs */
.crumbs { font-size: .85rem; color: var(--muted); padding-block: 1rem 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--gold-2); margin-inline: .4rem; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.2rem); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b7c4d6; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* Footer */
.site-footer { background: var(--ink); color: #a9b6c9; padding-block: 3.5rem 2rem; }
.site-footer a { color: #cdd7e5; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-family: var(--f-body); font-size: .9rem; font-weight: 600; letter-spacing: .02em; margin-bottom: .9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .5rem; font-size: .93rem; }
.footer-brand img { height: 44px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .93rem; color: #a9b6c9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--ink); padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

/* Mobile-safe header CTA (keeps 'Book a consultation' on one line) */
.btn__sm { display: none; }
@media (max-width: 480px) {
  .nav__logo img { height: 38px; }
  .nav__cta .btn--gold { padding: .62rem .9rem; font-size: .9rem; }
  .btn__lg { display: none; }
  .btn__sm { display: inline; }
}

/* Dual-audience path cards (homepage) */
.path { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 1.9rem 1.7rem; display: flex; flex-direction: column; }
.path .path__for { font-size: .8rem; font-weight: 600; color: var(--gold-2); margin-bottom: .25rem; }
.path h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.path > p { color: var(--muted); font-size: .97rem; }
.path ul { list-style: none; padding: 0; margin: .4rem 0 1.5rem; }
.path li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; color: var(--text); font-size: .97rem; }
.path li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.05rem; height: 1.05rem; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2020%2020%27%20fill%3D%27none%27%20stroke%3D%27%23a97f2c%27%20stroke-width%3D%272.5%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2010.5l4%204%208-9%27/%3E%3C/svg%3E"); }
.path .btn { margin-top: auto; align-self: flex-start; }

/* Ghost buttons on dark backgrounds — ensure legible text */
.section--ink .btn--ghost, .cta-band .btn--ghost, .hero-slider .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.section--ink .btn--ghost:hover, .cta-band .btn--ghost:hover, .hero-slider .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.10); }

/* ============================== Smart-header mobile toggle (SVG) ============================== */
.nav__toggle { display: none; background: none; border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: .4rem; cursor: pointer; line-height: 0; }
.nav__toggle svg { width: 26px; height: 26px; stroke: var(--ink); }
.nav__toggle-close { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-open { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-close { display: block; }
.nav__ico { display: none; }

@media (max-width: 940px) {
  .nav__menu.is-open .nav__ico { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-right: .7rem; color: var(--gold-2); flex: none; }
  .nav__menu.is-open .nav__ico svg { width: 20px; height: 20px; }
  .nav__menu.is-open a { display: flex; align-items: center; }
}

/* ============================== Parallax hero slider ============================== */
.hero-slider { position: relative; overflow: hidden; min-height: clamp(560px, 86vh, 780px); background: var(--ink); border-bottom: 1px solid var(--line); }
.hero-track { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s ease; display: flex; align-items: center; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide__bg { position: absolute; top: -12%; left: 0; right: 0; height: 124%; background-size: cover; background-position: center; will-change: transform; transform: translateY(0); }
.hero-slide__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,22,44,.92) 0%, rgba(8,22,44,.72) 45%, rgba(8,22,44,.42) 100%); }
.hero-slide__inner { position: relative; z-index: 3; padding-block: 3rem; max-width: 760px; }
.kicker--light { color: var(--gold-soft); }
.kicker--light::before { background: var(--gold); }
.hero-slide__title { color: #fff; font-size: clamp(2.1rem, 4.8vw, 3.6rem); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.01em; }
.hero-slide__text { color: #d7e0ee; font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 60ch; margin-bottom: 1.6rem; }

.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: rgba(8,22,44,.35); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s ease, border-color .2s ease; backdrop-filter: blur(4px); }
.hero-nav:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.hero-nav svg { width: 22px; height: 22px; }
.hero-prev { left: clamp(.5rem, 2vw, 1.5rem); }
.hero-next { right: clamp(.5rem, 2vw, 1.5rem); }
.hero-dots { position: absolute; bottom: 1.5rem; left: 0; right: 0; z-index: 5; display: flex; gap: .6rem; justify-content: center; }
.hero-dots button { width: 34px; height: 4px; border-radius: 999px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; transition: background .2s ease; }
.hero-dots button.is-active { background: var(--gold); }

.hero-trust { background: var(--ink-2); color: #cdd7e5; }
.hero-trust .container { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: center; padding-block: 1rem; font-size: .92rem; }
.hero-trust strong { color: #fff; }

@media (max-width: 640px) {
  .hero-nav { display: none; }
  .hero-slide__bg::after { background: linear-gradient(90deg, rgba(8,22,44,.9), rgba(8,22,44,.75)); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-slide__bg { transform: none !important; }
}

/* Payment plan note (course sidebar) */
.pay-note { font-size: .85rem; color: var(--muted); background: var(--paper-2); border-radius: var(--radius); padding: .55rem .75rem; margin: .1rem 0 .9rem; }

/* ============================== Lead-magnet popup ============================== */
.ezy-pop { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 1.2rem; }
.ezy-pop.is-open { display: flex; }
.ezy-pop__overlay { position: absolute; inset: 0; background: rgba(8,18,36,.62); backdrop-filter: blur(3px); animation: ezyFade .25s ease; }
.ezy-pop__card { position: relative; z-index: 2; background: #fff; width: 100%; max-width: 460px; border-radius: var(--radius-lg); box-shadow: 0 30px 80px -30px rgba(8,18,36,.6); padding: clamp(1.6rem, 4vw, 2.4rem); border-top: 4px solid var(--gold); animation: ezyPop .3s cubic-bezier(.2,.8,.3,1); }
.ezy-pop__x { position: absolute; top: .8rem; right: .8rem; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--paper-2); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 0; }
.ezy-pop__x:hover { background: var(--line); }
.ezy-pop__x svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
.ezy-pop__card h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: .4rem; }
.ezy-pop__card > p { color: var(--muted); font-size: .98rem; margin-bottom: 1.1rem; }
.ezy-pop .lead-form { gap: .7rem; }
.ezy-pop__fine { font-size: .78rem; color: var(--muted); margin: .7rem 0 0; }
@keyframes ezyFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ezyPop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ezy-pop__overlay, .ezy-pop__card { animation: none; } }

/* ============================== Per-page hero banner ============================== */
.page-hero { position: relative; background: var(--ink); background-size: cover; background-position: center; padding-block: clamp(2.4rem, 6vw, 4.4rem); border-bottom: 1px solid var(--line); }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,22,44,.9) 0%, rgba(8,22,44,.62) 100%); }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1, .page-hero h2, .page-hero .page-hero-title { color: #fff; }
.page-hero .lead { color: #d7e0ee; }
.page-hero .kicker { color: var(--gold-soft); }
.page-hero .kicker::before { background: var(--gold); }
.page-hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.page-hero .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }
.page-hero .prose, .page-hero .prose li { color: #d7e0ee; }
