/* Layout idea: Erickson brand, light and warm — off-white base, deep teal type, sky-blue flame accents,
   one handwritten orange highlight per page, real faces in every section. Levels coded yellow / blue / orange. */
:root {
  --teal: #063f51;
  --ink: #3e3b3a;            /* Erickson charcoal, darkened for web contrast */
  --paper: #fbf9f6;
  --surface: #ffffff;
  --blue: #63b7d3;
  --blue-soft: #e3f2f7;
  --orange: #e88755;
  --orange-ink: #a84c25;
  --btn: #b9582a;
  --btn-hover: #a94e26;
  --yellow: #ebbe34;
  --muted: #6b6866;
  --line: #e7e3de;
  --todo-bg: #fff3c4;
  --todo-line: #d9a400;
  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;
  --radius: 16px;
  --wrap: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 1.02rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--orange-ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--teal); font-weight: 700; line-height: 1.15; text-wrap: balance; margin: 0 0 .55em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; max-width: 66ch; }
.hand { font-family: var(--font-hand); color: var(--orange); font-weight: 700; font-size: 1.25em; letter-spacing: 0; display: inline-block; transform: rotate(-2deg); }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 14px; }

/* Dev bar + placeholders */
.devbar { background: var(--todo-bg); border-bottom: 1px solid var(--todo-line); font-size: .82rem; padding: 6px 0; }
.devbar .wrap { display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.devbar button { font: inherit; background: none; border: 1px solid var(--todo-line); border-radius: 999px; padding: 2px 12px; cursor: pointer; color: var(--ink); }
.todo { background: var(--todo-bg); box-shadow: inset 0 -2px 0 var(--todo-line); padding: 0 .25em; border-radius: 3px; }
.todo-block { background: var(--todo-bg); border: 1.5px dashed var(--todo-line); border-radius: var(--radius); padding: 18px 20px; }
html.hide-todo .todo { background: none; box-shadow: none; padding: 0; }
html.hide-todo .todo-block { background: var(--surface); border: 1px solid var(--line); }
html.hide-todo .todo-note { display: none; }
.todo-note { font-size: .74rem; color: #8a5a00; font-weight: 700; letter-spacing: .04em; display: block; margin-bottom: 6px; text-transform: uppercase; }

/* Header */
.site-header { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { width: min(1340px, 100% - 40px); display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand { flex: none; display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand .bg { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); border-left: 1px solid var(--line); padding-left: 14px; line-height: 1.3; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { white-space: nowrap; text-decoration: none; color: var(--ink); padding: 8px 9px; border-radius: 8px; font-size: .9rem; font-weight: 500; }
.nav a:hover { background: var(--blue-soft); color: var(--teal); }
.nav a[aria-current="page"] { color: var(--teal); font-weight: 700; box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.lang { white-space: nowrap; font-size: .75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; margin-left: 6px; }
.menu-btn { display: none; font: inherit; font-weight: 600; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; color: var(--teal); cursor: pointer; }
@media (max-width: 1199px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 20px 20px; box-shadow: 0 20px 40px rgba(6,63,81,.08); }
  .nav.open { display: flex; }
  .nav .btn { margin-top: 8px; justify-content: center; }
  .nav a[aria-current="page"] { box-shadow: none; }
}
@media (max-width: 480px) { .brand img { height: 38px; } .brand .bg { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; text-decoration: none; border-radius: 999px; padding: 13px 24px; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--btn); color: #fff; box-shadow: 0 6px 18px rgba(185,88,42,.25); }
.btn-primary:hover { background: var(--btn-hover); color: #fff; }
.btn-ghost { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-ghost:hover { background: var(--teal); color: #fff; }
.btn-light { background: #fff; color: var(--teal); }
.nav .btn-primary { padding: 10px 18px; margin-left: 8px; color: #fff; }

/* Sections */
section { padding: clamp(56px, 8vw, 100px) 0; }
.eyebrow { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink); font-weight: 700; margin-bottom: 12px; display: block; }
.lead { font-size: 1.15rem; color: var(--muted); }
.alt { background: var(--surface); }
.tint { background: var(--blue-soft); }
.teal { background: var(--teal); color: #d7e8ec; }
.teal h1, .teal h2, .teal h3 { color: #fff; }
.teal p, .teal .lead { color: #cfe3e8; }
.teal .eyebrow { color: var(--yellow); }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -180px; top: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(99,183,211,.22), rgba(99,183,211,0) 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media { position: relative; }
.hero-media .main { border-radius: 28px; aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; box-shadow: 0 30px 60px rgba(6,63,81,.18); }
.hero-media .float { position: absolute; background: #fff; border-radius: 18px; box-shadow: 0 18px 40px rgba(6,63,81,.16); padding: 14px 16px; display: flex; gap: 12px; align-items: center; font-size: .85rem; line-height: 1.35; }
.hero-media .f1 { left: -28px; bottom: 28px; max-width: 270px; }
.hero-media .f1 img { width: 56px; }
.hero-media .f2 { right: -16px; top: 22px; }
.hero-media .f2 b { display: block; color: var(--teal); font-size: 1.05rem; }
.badges { display: flex; gap: 6px; }
.badges img { width: 48px; }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; font-size: .85rem; color: var(--muted); }
.trust img { height: 40px; width: auto; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-media .f1 { left: 12px; } .hero-media .f2 { right: 12px; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-radius: 22px; box-shadow: 0 10px 30px rgba(6,63,81,.06); border: 1px solid var(--line); }
.stat { padding: 26px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; display: block; color: var(--teal); font-variant-numeric: tabular-nums; line-height: 1.2; }
.stat span { font-size: .88rem; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.source { font-size: .76rem; color: var(--muted); margin-top: 10px; }

/* Grids & cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 4px; }
.card p { color: var(--muted); margin-bottom: .6em; }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head p { margin-bottom: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 13px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }

/* Levels (yellow / blue / orange) */
.level { --lv: var(--yellow); background: var(--surface); border-radius: 20px; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.level.l2 { --lv: var(--blue); } .level.l3 { --lv: var(--orange); }
.level .top { background: color-mix(in srgb, var(--lv) 22%, #fff); border-top: 6px solid var(--lv); padding: 22px 24px 18px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.level .top img { width: 64px; flex: none; }
.level .num { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.level h3 { margin: 4px 0 0; font-size: 1.2rem; }
.level .body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.level .who { color: var(--muted); font-size: .95rem; margin: 0; }
.level .label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.level ul { margin: 0; padding-left: 1.1em; font-size: .93rem; }
.level .creds { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px dashed var(--line); padding-top: 14px; font-size: .8rem; color: var(--muted); }
.level .creds b { display: block; font-size: 1.15rem; color: var(--teal); }
.level .dur { font-size: .85rem; font-weight: 600; color: var(--teal); }

/* Arrow (four questions) */
.arrow-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: q; }
.arrow-step { position: relative; padding: 26px 34px 26px 26px; background: var(--surface); counter-increment: q; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 22px 50%); margin-left: -10px; }
.arrow-step:first-child { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); margin-left: 0; }
.arrow-step:nth-child(1) { background: #fdf3d6; } .arrow-step:nth-child(2) { background: #fbeacc; }
.arrow-step:nth-child(3) { background: #dff0f6; } .arrow-step:nth-child(4) { background: #fbe1d3; }
.arrow-step .stage { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); display: block; padding-left: 14px; }
.arrow-step .q { font-weight: 700; color: var(--teal); font-size: 1.05rem; display: block; padding-left: 14px; line-height: 1.3; margin-top: 4px; }
.arrow-step .crs { font-size: .78rem; color: var(--muted); padding-left: 14px; display: block; margin-top: 8px; }
@media (max-width: 900px) {
  .arrow-row { grid-template-columns: 1fr; gap: 8px; }
  .arrow-step, .arrow-step:first-child { clip-path: none; margin-left: 0; border-radius: 14px; }
}

/* Pillars */
.pillar { border-top: 3px solid var(--blue); padding-top: 18px; }
.pillar h3 { margin-bottom: .3em; }
.pillar p { color: var(--muted); font-size: .95rem; }

/* Split with photo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split .ph { border-radius: 24px; aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Trainers */
.trainer { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.trainer .photo { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 22%; width: 100%; background: var(--blue-soft); }
.trainer .tb { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.trainer h3 { margin: 0; font-size: 1.05rem; }
.trainer .cred { font-size: .82rem; font-weight: 700; color: var(--orange-ink); }
.trainer .mod { font-size: .82rem; color: var(--teal); background: var(--blue-soft); border-radius: 8px; padding: 6px 10px; margin-top: 8px; }
.trainer p { font-size: .9rem; color: var(--muted); margin: 6px 0 0; }
.trainer details { margin-top: 8px; font-size: .88rem; }
.trainer summary { cursor: pointer; font-weight: 700; color: var(--teal); }
.trainer details ul { padding-left: 1.1em; margin: 8px 0 0; color: var(--muted); }

/* Calendar */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .95rem; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; background: #faf8f5; }
tr:last-child td { border-bottom: 0; }
td.date { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; color: var(--teal); }
tr.past td { color: var(--muted); }
tr.past td.date { color: var(--muted); font-weight: 500; }
.who-cell { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.who-cell img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.pill { display: inline-block; font-size: .74rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.pill.open { background: #e2f4ea; color: #1f7a4d; }
.pill.done { background: #efedea; color: var(--muted); }
.pill.soon { background: #fdf0d2; color: #8a5a00; }
.next-card { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; }
.next-card .dt { background: var(--teal); color: #fff; border-radius: 14px; padding: 10px 16px; text-align: center; line-height: 1.15; min-width: 92px; }
.next-card .dt b { font-size: 1.5rem; display: block; }
.next-card .dt span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.next-card h3 { margin: 0 0 2px; }
.next-card p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 700px) { .next-card { grid-template-columns: auto 1fr; } .next-card .btn { grid-column: 1 / -1; justify-content: center; } }

/* Testimonials */
.quote { margin: 0; }
.quote blockquote { margin: 0 0 14px; font-size: 1.02rem; }
.quote figcaption { font-size: .88rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--teal); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 18px; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 36px); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row2 { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: .9rem; display: grid; gap: 6px; color: var(--teal); }
input, select, textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .85rem; color: var(--muted); }
.consent input { width: auto; margin-top: 4px; }
.form-msg { display: none; padding: 14px 16px; border-radius: 10px; background: var(--todo-bg); border: 1px solid var(--todo-line); }
.form-msg.show { display: block; }

/* Page header (inner pages) */
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 3vw, 40px); background: linear-gradient(180deg, var(--blue-soft), var(--paper)); }
.page-head .ph-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.page-head .ph-img { border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: 0 20px 44px rgba(6,63,81,.14); }
@media (max-width: 860px) { .page-head .ph-grid { grid-template-columns: 1fr; } }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }

/* Partner band */
.partner-logos { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.partner-logos img { height: 52px; width: auto; }
.partner-logos .x { color: var(--muted); font-size: 1.4rem; }
.rating { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rating b { white-space: nowrap; font-size: 2rem; font-weight: 800; color: var(--teal); }
.contact-people { display: grid; gap: 14px; }
.person { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); }
.person:last-child { border-bottom: 0; }
.person b { color: var(--teal); }

/* Footer */
.site-footer { background: var(--teal); color: #cfe3e8; padding: 64px 0 28px; font-size: .9rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; }
.foot-grid h3 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-logos { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.foot-logos img { height: 40px; width: auto; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 48px; padding-top: 22px; font-size: .76rem; color: #9fc3cc; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot-legal p { margin: 0; max-width: 84ch; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* CTA band with photo */
.cta-band { position: relative; overflow: hidden; padding: 0; }
.cta-band .inner { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.cta-band .txt { padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px) clamp(48px, 7vw, 88px) 0; display: flex; flex-direction: column; justify-content: center; }
.cta-band .pic { background-size: cover; background-position: center; min-height: 320px; border-radius: 0 0 0 120px; }
.cta-band h2 { max-width: 20ch; }
@media (max-width: 860px) { .cta-band .inner { grid-template-columns: 1fr; } .cta-band .txt { padding-right: 0; } .cta-band .pic { border-radius: 24px; margin-bottom: 40px; } }

.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; max-width: 66ch; }
.prose li { margin-bottom: .35em; }
.two-col { display: grid; grid-template-columns: 1.35fr .65fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.aside { position: sticky; top: 100px; }
.fact { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.fact:last-of-type { border-bottom: 0; }
.fact span { color: var(--muted); }
.fact b { text-align: right; font-weight: 700; color: var(--teal); }
.note { background: var(--blue-soft); border-radius: 16px; padding: 20px 22px; }
.note h3 { margin-bottom: .4em; }
.note dl { margin: 0; display: grid; gap: 8px; }
.note dt { font-weight: 700; color: var(--teal); }
.note dd { margin: 0 0 6px; color: var(--muted); font-size: .94rem; }
.outcomes { columns: 2; column-gap: 32px; padding-left: 1.1em; }
@media (max-width: 640px) { .outcomes { columns: 1; } }
.module-block { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; margin-bottom: 18px; }
.module-block .mh { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: baseline; }
.module-block .ask { font-weight: 700; color: var(--orange-ink); }


/* v3: phase 1 additions */
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; color: var(--teal); }
.text-link:hover { color: var(--orange-ink); text-decoration: underline; }
.hero .ctas { align-items: center; gap: 22px; }
.trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: .88rem; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust li b { color: var(--teal); font-size: 1.05rem; }
.trust .badges img { width: 44px; height: 44px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(40px, 5vw, 64px) 0; }
.split-dates { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .split-dates { grid-template-columns: 1fr; } }
.next-grid { display: grid; gap: 14px; }
.lv-link { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.lv-link:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(6,63,81,.1); color: inherit; }
.site-footer li a { display: inline-block; padding: 6px 0; }
.foot-grid ul { gap: 2px; }
.source { font-size: .82rem; }
.trainer .cred, .trainer .mod { font-size: .875rem; }
.faculty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .faculty { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .faculty { grid-template-columns: 1fr; } }
.fac { display: grid; grid-template-columns: 88px 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; align-items: start; }
.fac img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.fac h3 { font-size: 1rem; margin: 2px 0 2px; }
.fac .cred { font-size: .82rem; font-weight: 700; color: var(--orange-ink); display: block; }
.fac p { font-size: .88rem; color: var(--muted); margin: 6px 0 0; }
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; justify-content: center; align-items: center; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; min-height: 52px; border-radius: 999px; background: var(--btn); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(6,63,81,.25); transform: translateY(140%); transition: transform .25s ease; }
  .sticky-cta.show { transform: none; }
  .sticky-cta:hover { color: #fff; }
  body { padding-bottom: 76px; }
}
/* LeadFit as official partner */
.brand .bg { display: flex; flex-direction: column; gap: 4px; text-transform: none; letter-spacing: 0; }
.brand .bg small { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); line-height: 1.25; }
.brand .bg img { height: 22px; width: auto; }
@media (max-width: 480px) { .brand .bg { display: flex; } .brand .bg small { display: none; } .brand .bg img { height: 18px; } }
.partner-tag { display: inline-flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px 6px 14px; margin-bottom: 18px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); }
.partner-tag img { height: 24px; width: auto; }

.partner-tag span { border-left: 1px solid var(--line); padding-left: 12px; }
@media (max-width: 520px) { .partner-tag { border-radius: 14px; align-items: flex-start; flex-direction: column; gap: 6px; padding: 10px 14px; } .partner-tag span { border: 0; padding: 0; } }
/* all programmes */
.progs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .progs { grid-template-columns: 1fr; } }
.prog { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; scroll-margin-top: 100px; }
.prog-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.prog h3 { font-size: 1.2rem; margin: 6px 0 2px; }
.prog p { color: var(--muted); margin: 0 0 6px; font-size: .95rem; }
.prog .forwho strong { color: var(--teal); }
.prog-meta { font-size: .88rem; font-weight: 600; color: var(--teal); background: var(--blue-soft); border-radius: 10px; padding: 8px 12px; margin: 4px 0 6px; }
.prog-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; padding-top: 10px; border-top: 1px dashed var(--line); }
.who-list { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.who-list .lbl { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); width: 100%; }
.who-chip { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px 3px 3px; }
.who-chip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.who-chip:not(:has(img)) { padding-left: 10px; }
.more-progs { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; }
.more-progs > span { font-weight: 700; color: var(--teal); margin-right: 4px; }
.more-progs a:not(.text-link) { text-decoration: none; color: var(--teal); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; }
.more-progs a:not(.text-link):hover { border-color: var(--blue); }
/* footer logos with divider */
.foot-logos { gap: 18px; align-items: center; flex-wrap: nowrap; }
.foot-logos > img { height: 40px; }
.fl-div { width: 1px; align-self: stretch; min-height: 44px; background: rgba(255,255,255,.25); }
.fl-partner { display: flex; flex-direction: column; gap: 6px; }
.fl-partner small { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: #9fc3cc; line-height: 1.3; }
.fl-partner img { height: 24px; width: auto; }

/* logos as in the earlier version: equal pairs */
.brand img { height: 46px; }
.brand .bg { display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); padding-left: 14px; }
.brand .bg small { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); line-height: 1.25; }
.brand .bg img { height: 22px; width: auto; }
@media (max-width: 480px) { .brand img { height: 38px; } .brand .bg small { display: none; } .brand .bg img { height: 18px; } }
.partner-tag img { height: 24px; }
.partner-logos { gap: 22px; }
.partner-logos img { height: 52px; width: auto; }
.partner-logos .x { width: 1px; height: 44px; background: var(--line); }
.foot-logos > img, .fl-partner img { height: 40px; width: auto; }
.fl-partner small { display: none; }

/* header: LeadFit logo only, same height as Erickson */
.brand { gap: 18px; }
.brand .bg { padding-left: 18px; }
.brand .bg img { height: 46px; }
@media (max-width: 480px) { .brand .bg img { height: 38px; } .brand { gap: 12px; } .brand .bg { padding-left: 12px; } }
@media (max-width: 480px) { .brand img, .brand .bg img { height: 30px; } .menu-btn { padding: 8px 12px; } }
/* Variant B: Erickson leads, LeadFit optically balanced (~74%) */
.brand { gap: 20px; }
.brand .bg { padding-left: 20px; }
.brand .bg img { height: 34px; }
@media (max-width: 480px) { .brand img { height: 32px; } .brand .bg img { height: 24px; } .brand { gap: 12px; } .brand .bg { padding-left: 12px; } }
/* best practices v4 */
.incl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .incl { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .incl { grid-template-columns: 1fr; } }
.incl div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.incl b { color: var(--teal); font-size: 1.15rem; }
.incl span { color: var(--muted); font-size: .93rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: st; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: st; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 4px; position: relative; }
.steps li::before { content: counter(st); width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 6px; }
.steps b { color: var(--teal); }
.steps span { color: var(--muted); font-size: .9rem; }
table.hours td:nth-child(2), table.hours td:nth-child(3) { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--teal); }
.quiz-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .quiz-wrap { grid-template-columns: 1fr; } }
.quiz { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; gap: 16px; }
.quiz fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.quiz legend { font-weight: 700; color: var(--teal); margin-bottom: 8px; font-size: .95rem; }
.quiz label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .9rem; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.quiz label:has(input:checked) { border-color: var(--teal); background: var(--blue-soft); }
.quiz input { width: auto; margin: 0; accent-color: var(--teal); }
.quiz-result { display: none; background: var(--blue-soft); border-radius: 14px; padding: 16px 18px; }
.quiz-result.show { display: block; }
.quiz-result h3 { margin: 0 0 6px; }
.cat-h { font-size: 1.35rem; margin: 40px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.cat-h:first-of-type { margin-top: 8px; }
.next-card.free .dt { background: #2b7a93; }
.bro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .bro { grid-template-columns: 1fr; } }
.bro-form { display: grid; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
/* compact trainer cards + bio dialog */
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .tgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .tgrid { grid-template-columns: 1fr; } }
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tcard > img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; margin-bottom: 8px; border: 4px solid var(--blue-soft); }
.tcard h3 { font-size: 1rem; margin: 0; }
.tcard .cred, .bio .cred { font-size: .8rem; font-weight: 700; color: var(--orange-ink); }
.tcard .mod { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.bio-btn { margin-top: auto; font: inherit; font-size: .85rem; font-weight: 700; color: var(--teal); background: var(--blue-soft); border: 0; border-radius: 999px; padding: 10px 16px; min-height: 40px; cursor: pointer; }
.tcard .mod { margin-bottom: 12px; }
.bio-btn:hover { background: #cfe8f1; }
dialog.bio { border: 0; border-radius: 22px; padding: 0; width: min(560px, 100% - 32px); color: var(--ink); box-shadow: 0 30px 80px rgba(6,63,81,.3); }
dialog.bio::backdrop { background: rgba(6,63,81,.45); }
.bio-in { padding: 28px; position: relative; text-align: left; }
.bio-x { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--teal); }
.bio-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; padding-right: 36px; }
.bio-head img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; }
.bio-head h3 { margin: 0 0 2px; }
.bio-head .mod { display: block; font-size: .82rem; color: var(--muted); margin-top: 4px; }
.bio p { color: var(--ink); }
.bio .checks { font-size: .92rem; }

/* ---------- QA pass (Nov 2026) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h2.h3 { font-size: 1.15rem; line-height: 1.3; margin: 0 0 8px; }
.aside > img, .card > img[alt="LeadFit Global"] { align-self: flex-start; }
a.tel { white-space: nowrap; }
/* contact page people */
.person.pc { display: flex; flex-direction: column; gap: 2px; }
.person.pc .role { color: var(--muted); font-size: .85rem; margin-bottom: 4px; }
.person.pc a { color: var(--ink); text-decoration: none; }
.person.pc a:hover { color: var(--teal); text-decoration: underline; }
/* footer people */
.site-footer li.fp { display: flex; flex-direction: column; margin: 10px 0; line-height: 1.45; }
.site-footer li.fp strong { color: #fff; }
.site-footer li.fp span { color: #a9c8d0; font-size: .82rem; margin-bottom: 2px; }
.site-footer li.fp a { padding: 1px 0; }
/* partner logo pair stays side by side on small screens */
@media (max-width: 560px) {
  .partner-logos { flex-wrap: nowrap; gap: 14px; }
  .partner-logos img { height: 34px; }
  .partner-logos .x { height: 30px; }
  .tgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tcard > img { width: 84px; height: 84px; }
  .tcard { padding: 16px 12px; }
}
@media (min-width: 1200px) and (max-width: 1299px) {
  html[lang="bg"] .menu-btn { display: block; }
  html[lang="bg"] .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 20px 20px; box-shadow: 0 20px 40px rgba(6,63,81,.08); }
  html[lang="bg"] .nav.open { display: flex; }
  html[lang="bg"] .nav .btn { margin-top: 8px; justify-content: center; }
  html[lang="bg"] .nav a[aria-current="page"] { box-shadow: none; }
}
.card > img:first-child { align-self: flex-start; width: auto; max-width: 100%; }
/* language switch stays visible when the menu is collapsed */
.hdr-tools { display: none; align-items: center; gap: 8px; }
.lang-m { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; margin: 0; font-weight: 600; color: var(--teal); text-decoration: none; }
@media (max-width: 1199px) { .hdr-tools { display: flex; } .nav .lang { display: none; } }
@media (min-width: 1200px) and (max-width: 1299px) { html[lang="bg"] .hdr-tools { display: flex; } html[lang="bg"] .nav .lang { display: none; } }

/* ---------- positioning pass ---------- */
.proof { background: var(--teal); color: #d9eaee; padding: 34px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proof-grid div { display: flex; flex-direction: column; gap: 4px; border-left: 2px solid rgba(255,255,255,.18); padding-left: 16px; }
.proof-grid b { color: #fff; font-size: 2rem; line-height: 1.1; font-weight: 800; }
.proof-grid span { font-size: .9rem; line-height: 1.4; }
@media (max-width: 860px) { .proof-grid { grid-template-columns: 1fr 1fr; } }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-grid .card { padding: 22px; }
.why-grid .q { display: block; font-weight: 700; color: var(--teal); font-size: 1.05rem; margin-bottom: 8px; }
.why-grid p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.milestones { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.milestones li { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--orange, #e88755); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.milestones b { color: var(--teal); font-size: 1.3rem; }
@media (max-width: 760px) { .milestones { grid-template-columns: 1fr; } }
/* clickable LeadFit logos */
.brand-home { display: flex; align-items: center; }
.lf-link { display: inline-flex; align-items: center; align-self: flex-start; text-decoration: none; transition: opacity .15s; }
.brand .lf-link, .partner-logos .lf-link { align-self: center; }
.lf-link:hover { opacity: .8; }
.lf-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ---------- feedback pass (Ralitsa) ---------- */
/* WCAG: handwritten slogan >= 3:1 (large text), eyebrows via --orange-ink >= 4.5:1 */
.hand { color: #c25f2b; }
/* reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; max-width: 1000px; }
.review { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink); position: relative; padding-top: 18px; }
.review blockquote::before { content: "“"; position: absolute; top: -14px; left: -4px; font-size: 3rem; color: var(--orange); font-family: Georgia, serif; line-height: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review figcaption b { display: block; color: var(--teal); }
.review figcaption small { color: var(--muted); }
.review .av { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-soft); color: var(--teal); display: grid; place-items: center; font-weight: 700; flex: none; overflow: hidden; }
.review .av img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }
/* calendar: rows become cards on small screens */
@media (max-width: 700px) {
  .table-wrap { overflow: visible; border: 0; background: none; }
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap td { display: block; width: 100%; min-width: 0; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap tr { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; }
  .table-wrap td { border: 0 !important; padding: 0 !important; }
  .table-wrap td[data-label="Дати"], .table-wrap td[data-label="Dates"] { grid-column: 1; font-weight: 700; color: var(--teal); }
  .table-wrap td[data-label="Статус"], .table-wrap td[data-label="Status"] { grid-column: 2; grid-row: 1; text-align: right; }
  .table-wrap td[data-label="Модул"], .table-wrap td[data-label="Module"], .table-wrap td[data-label="Формат"], .table-wrap td[data-label="Format"], .table-wrap td[data-label="Фасилитатор"], .table-wrap td[data-label="Trainer"] { grid-column: 1 / -1; }
  .table-wrap td[data-label="Формат"]::before, .table-wrap td[data-label="Format"]::before, .table-wrap td[data-label="Фасилитатор"]::before, .table-wrap td[data-label="Trainer"]::before { content: attr(data-label) ": "; color: var(--muted); font-size: .85rem; }
  .table-wrap tr.past { opacity: .75; }
}
@media (max-width: 400px) { .lang-m { padding: 0 8px; min-height: 36px; } .hdr-tools { gap: 6px; } .site-header .wrap { gap: 10px; } }
.levels-lead { max-width: 720px; margin: 10px 0 0; font-size: 1.05rem; }

/* Pre-launch QA: larger tap targets */
.site-footer li.fp a { padding: 6px 0; display: inline-block; }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; accent-color: var(--teal, #063f51); flex: none; }

/* HubSpot contact form embed + email-only brochure */
.hs-wrap { padding: 24px; min-height: 520px; }
.hs-wrap .hs-form-frame { width: 100%; }
.bro-form #bro-msg .btn { margin-top: 10px; }
