/* ==========================================================================
   XP Learning Labs — style.css
   Mobile-first. Breakpoints: 640px (sm) · 980px (md) · 1100px (lg) · 1260px (desktop nav)
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --navy: #101C32;
  --navy-deep: #0B1426;
  --navy-soft: #16274A;
  --blue: #2366B2;
  --blue-600: #1C5596;
  --blue-50: #EAF1FA;
  --teal: #17A6A0;
  --teal-bright: #3CC7C0;
  --teal-700: #0F7C77;
  --teal-50: #E6F6F5;
  --cloud: #F4F7FB;
  --white: #FFFFFF;

  --ink: #101C32;
  --ink-2: #33415A;
  --ink-3: #5A677E;
  --line: #DDE4EE;
  --line-strong: #C9D3E1;

  --on-dark: #E8EEF7;
  --on-dark-2: #A9B6CC;
  --line-dark: rgba(255, 255, 255, 0.1);

  --danger: #B42318;
  --danger-50: #FEF3F2;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(16, 28, 50, .05), 0 1px 3px rgba(16, 28, 50, .07);
  --shadow: 0 12px 32px -14px rgba(16, 28, 50, .22);
  --shadow-lg: 0 28px 64px -24px rgba(16, 28, 50, .38);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --header-h: 72px;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --section-y: clamp(72px, 9vw, 120px);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }

address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(23, 166, 160, .25); }

/* ---------- 3. Utilities ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.eyebrow-light { color: var(--teal-bright); }

.section-title {
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: var(--ink-2);
}

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 56px); }
.section-intro { font-size: 1.0625rem; color: var(--ink-3); }

.text-gradient {
  background: linear-gradient(90deg, #6FB6FF 0%, var(--teal-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 5. Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), translate .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: translate .2s var(--ease); }
.btn:hover .icon-arrow { translate: 3px 0; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1rem; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(35, 102, 178, .7); }
.btn-primary:hover { background: var(--blue-600); color: #fff; translate: 0 -1px; }

.btn-accent { background: var(--teal); color: var(--navy-deep); box-shadow: 0 8px 22px -10px rgba(23, 166, 160, .8); }
.btn-accent:hover { background: var(--teal-bright); color: var(--navy-deep); translate: 0 -1px; }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .32); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); color: #fff; }

.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost-dark:hover { border-color: var(--blue); color: var(--blue); }

.btn-whatsapp { background: #25D366; color: #06281A; }
.btn-whatsapp:hover { background: #3BE07A; color: #06281A; translate: 0 -1px; }

.btn[disabled] { opacity: .7; cursor: progress; translate: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--blue);
}
.link-arrow .icon { width: 16px; height: 16px; transition: translate .2s var(--ease); }
.link-arrow:hover .icon { translate: 4px 0; }

/* ---------- 6. Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
/* Blur sits on a pseudo-element so the fixed mobile menu isn't trapped inside the header */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -16px rgba(16, 28, 50, .25); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 44px; width: auto; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile / tablet menu panel */
.primary-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 16px var(--gutter) 32px;
  background: #fff;
  border-top: 1px solid var(--line);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.primary-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.nav-list { display: flex; flex-direction: column; }
.nav-link {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
}
.nav-link:hover, .nav-link.is-active { color: var(--blue); }
.nav-cta { align-self: stretch; min-height: 52px; }

@media (min-width: 1260px) {
  .nav-toggle { display: none; }
  .primary-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 0;
    background: none;
    border: 0;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav-list { flex-direction: row; align-items: center; gap: 2px; }
  .nav-link {
    position: relative;
    padding: 8px 9px;
    border: 0;
    font-size: .875rem;
    font-weight: 500;
    color: var(--ink-2);
    white-space: nowrap;
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 9px; right: 9px; bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transition: transform .25s var(--ease);
  }
  .nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
  .nav-link.is-active { color: var(--ink); }
  .brand-logo { height: 48px; }
  .nav-cta { align-self: auto; min-height: 42px; padding: 10px 18px; font-size: .875rem; white-space: nowrap; }
}

/* ---------- 7. Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-cloud { background: var(--cloud); }

.section-dark {
  background: var(--navy);
  color: var(--on-dark-2);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead, .section-dark .section-intro { color: var(--on-dark-2); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(35, 102, 178, .45) 0%, transparent 60%),
    radial-gradient(45% 55% at 0% 100%, rgba(23, 166, 160, .28) 0%, transparent 60%),
    linear-gradient(180deg, #101C32 0%, #0D182C 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 30%, #000 10%, transparent 75%);
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.375rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--on-dark);
  max-width: 42ch;
  margin-bottom: 14px;
}
.hero-text {
  font-size: 1.0625rem;
  color: var(--on-dark-2);
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-panel {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .03) 100%);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.panel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 4px rgba(60, 199, 192, .18);
}
.panel-list { display: grid; gap: 10px; }
.panel-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
}
.panel-list strong { display: block; color: #fff; font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.panel-list span:not(.panel-icon) { display: block; font-size: .8125rem; color: var(--on-dark-2); line-height: 1.4; }
.panel-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: rgba(23, 166, 160, .16);
  color: var(--teal-bright);
}
.panel-icon .icon { width: 20px; height: 20px; }
.panel-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.panel-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--on-dark);
  background: rgba(35, 102, 178, .28);
  border: 1px solid rgba(111, 182, 255, .22);
}

/* Statistics */
.stats {
  display: grid;
  gap: 0;
  margin: clamp(48px, 6vw, 72px) 0 0;
  border-top: 1px solid var(--line-dark);
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
}
.stat-value {
  margin: 0;
  font-size: clamp(2.25rem, 4.4vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: .875rem;
  font-weight: 500;
  color: var(--on-dark-2);
}

@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(3, 1fr); border-bottom: 0; }
  .stat { padding: 28px 24px 0 0; border-bottom: 0; }
  .stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-dark); }
}

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; }
}

/* Hero load animation (CSS only, no JS dependency) */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-anim { animation: rise .7s var(--ease) both; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .12s; } .d3 { animation-delay: .2s; }
.d4 { animation-delay: .28s; } .d5 { animation-delay: .36s; } .d6 { animation-delay: .44s; }

/* ---------- 9. About ---------- */
.about-grid { display: grid; gap: 48px; align-items: center; }
.about-copy > p:not(.eyebrow) { color: var(--ink-3); }
.about-copy > .lead { color: var(--ink-2); }

.feature-list { display: grid; gap: 12px; margin-top: 28px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}
.feature-list .icon {
  width: 22px; height: 22px;
  padding: 4px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  stroke-width: 3;
}

/* Bridge visual */
.bridge {
  margin: 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(35, 102, 178, .08), transparent 60%),
    var(--cloud);
}
.bridge-label {
  margin-bottom: 10px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.bridge-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bridge-chips li {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ink-2);
}
.bridge-col-end .bridge-chips li { border-color: rgba(23, 166, 160, .45); background: var(--teal-50); color: var(--teal-700); font-weight: 600; }

.bridge-core { display: flex; flex-direction: column; align-items: center; margin-block: 6px; }
.bridge-line {
  width: 2px; height: 28px;
  background: linear-gradient(var(--line-strong), var(--blue));
}
.bridge-core .bridge-line:last-child { background: linear-gradient(var(--blue), var(--teal)); }
.bridge-node {
  width: 100%;
  padding: 20px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  box-shadow: var(--shadow-lg);
}
.bridge-node-title {
  display: block;
  margin-bottom: 12px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
}
.bridge-node ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bridge-node li {
  position: relative;
  padding-left: 16px;
  font-size: .875rem;
  color: var(--on-dark);
}
.bridge-node li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--teal-bright);
}
.bridge-caption {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-size: .8125rem;
  color: var(--ink-3);
}

@media (min-width: 980px) {
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
}
@media (min-width: 640px) {
  .feature-list { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
}

/* ---------- 10. Cards (shared) ---------- */
.card-grid { display: grid; gap: 20px; }
@media (min-width: 640px) {
  .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 1100px) {
  .card-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: translate .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover {
  translate: 0 -4px;
  box-shadow: var(--shadow);
  border-color: rgba(35, 102, 178, .35);
}
.card h3 { font-size: 1.125rem; line-height: 1.3; }
.card p { color: var(--ink-3); font-size: .9688rem; margin: 0; }
.card .link-arrow { margin-top: auto; padding-top: 8px; }

.card-icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.card-icon .icon { width: 24px; height: 24px; }
.card:hover .card-icon { background: var(--blue); color: #fff; }

.audience-card { position: relative; overflow: hidden; }
.audience-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.audience-card:hover::before { transform: scaleX(1); }
.audience-card .card-icon { background: var(--teal-50); color: var(--teal-700); }
.audience-card:hover .card-icon { background: var(--teal); color: var(--navy-deep); }

/* ---------- 11. Domains ---------- */
#domains {
  background:
    radial-gradient(50% 40% at 100% 0%, rgba(35, 102, 178, .25), transparent 70%),
    var(--navy);
}
.domain-grid { gap: 16px; }
.domain-card {
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .035);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), translate .25s var(--ease);
}
.domain-card:hover {
  translate: 0 -3px;
  border-color: rgba(60, 199, 192, .45);
  background: rgba(255, 255, 255, .06);
}
.domain-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.domain-head h3 { font-size: 1.0625rem; line-height: 1.3; }
.domain-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(23, 166, 160, .15);
  color: var(--teal-bright);
}
.domain-icon .icon { width: 21px; height: 21px; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips li {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .05);
  font-size: .8125rem;
  line-height: 1.4;
  color: var(--on-dark);
}

/* ---------- 12. Certifications ---------- */
.cert-grid { display: grid; gap: 48px; align-items: center; }
.cert-copy > .lead { color: var(--ink-3); }

.cert-steps { display: grid; gap: 14px; margin: 28px 0; }
.cert-steps li { display: flex; gap: 14px; align-items: flex-start; }
.cert-steps strong { display: block; color: var(--ink); font-weight: 600; }
.cert-steps span:not(.cert-step-num) { display: block; font-size: .9375rem; color: var(--ink-3); }
.cert-step-num {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
}

.note {
  margin-bottom: 28px;
  padding: 12px 16px;
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--teal-50);
  font-size: .875rem;
  color: var(--ink-2);
}

.cert-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: clamp(16px, 2.5vw, 28px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 60% at 0% 0%, rgba(23, 166, 160, .22), transparent 70%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  box-shadow: var(--shadow-lg);
}
.cert-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.cert-tile:hover { background: rgba(255, 255, 255, .09); border-color: rgba(60, 199, 192, .5); }
.cert-tile .icon { width: 22px; height: 22px; color: var(--teal-bright); }

@media (min-width: 520px) { .cert-tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) {
  .cert-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; }
}

/* ---------- 13. Trainer network ---------- */
.network {
  background:
    radial-gradient(50% 60% at 100% 100%, rgba(23, 166, 160, .25), transparent 70%),
    linear-gradient(135deg, #101C32 0%, #132649 65%, #0F3048 100%);
}
.network-grid { display: grid; gap: 48px; align-items: center; }

.network-stat {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 28px 0 32px;
  padding: 20px 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  width: fit-content;
}
.network-stat-value {
  font-size: clamp(2.75rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, #fff 0%, var(--teal-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.network-stat-label {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--on-dark-2);
}

.expert-list { display: grid; gap: 12px; }
.expert {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  font-weight: 600;
  color: #fff;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.expert:hover { border-color: rgba(60, 199, 192, .45); background: rgba(255, 255, 255, .08); }
.expert-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 11px;
  background: rgba(35, 102, 178, .35);
  color: #CFE3FF;
}
.expert-icon .icon { width: 20px; height: 20px; }

@media (min-width: 560px) {
  .expert-list { grid-template-columns: 1fr 1fr; }
  .expert-wide { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .network-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
}

/* ---------- 14. Training approach timeline ---------- */
.timeline { position: relative; display: grid; gap: 28px; counter-reset: step; }
.timeline::before {
  content: "";
  position: absolute;
  left: 27px; top: 28px; bottom: 28px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--teal));
  opacity: .35;
}
.step { position: relative; padding-left: 80px; min-height: 56px; }
.step-marker {
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue-50);
  color: var(--blue);
  box-shadow: 0 0 0 6px #fff, var(--shadow);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.step-marker .icon { width: 24px; height: 24px; }
.step:hover .step-marker { background: var(--blue); color: #fff; }
.step-num {
  display: block;
  margin-bottom: 4px;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--teal-700);
}
.step h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.step p { font-size: .9375rem; color: var(--ink-3); margin: 0; }

@media (min-width: 980px) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .timeline::before {
    left: 10%; right: 10%;
    top: 27px; bottom: auto;
    width: auto; height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--teal));
  }
  .step { padding-left: 0; text-align: center; }
  .step-marker { position: relative; margin: 0 auto 20px; }
  .step p { max-width: 24ch; margin-inline: auto; }
}

/* ---------- 15. Contact ---------- */
.contact-grid { display: grid; gap: 24px; align-items: start; }

.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3.5vw, 36px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(35, 102, 178, .45), transparent 70%),
    var(--navy);
  color: var(--on-dark-2);
  box-shadow: var(--shadow-lg);
}
.contact-company { color: #fff; font-size: 1.25rem; margin-bottom: 24px; }
.contact-list { display: grid; gap: 20px; margin-bottom: 28px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: var(--teal-bright);
}
.contact-icon .icon { width: 20px; height: 20px; }
.contact-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.contact-list a, .contact-list address {
  color: #fff;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.contact-list a:hover { color: var(--teal-bright); }
.contact-actions { display: grid; gap: 10px; }
.contact-actions .btn { width: 100%; }

.form-card {
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.form-title { font-size: 1.375rem; margin-bottom: 4px; }
.form-hint { font-size: .875rem; color: var(--ink-3); margin-bottom: 24px; }
.req { color: var(--danger); font-weight: 700; }

.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.field { margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; gap: 0 16px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-size: 1rem; /* 16px avoids iOS zoom on focus */
  line-height: 1.4;
  color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8C97AA; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #AEBBCD; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(35, 102, 178, .15);
}

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 17px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg);
  pointer-events: none;
}

.error {
  min-height: 0;
  margin: 6px 0 0;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--danger);
}
.error:empty { display: none; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }
.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }

.conditional {
  margin: 4px 0 22px;
  padding: 18px 18px 2px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cloud);
  min-width: 0;
}
.conditional[hidden] { display: none; }
.conditional legend {
  padding: 0 8px;
  margin-left: -8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.conditional:not([hidden]) { animation: rise .35s var(--ease) both; }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.privacy-note { margin: 0; font-size: .8125rem; color: var(--ink-3); }

.submit-btn { position: relative; min-width: 200px; }
.spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.submit-btn.is-loading .spinner { display: inline-block; }
.submit-btn.is-loading .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #F5C2BD;
  border-radius: var(--radius-sm);
  background: var(--danger-50);
  font-size: .9375rem;
  color: var(--danger);
}
.form-status[hidden] { display: none; }
.form-status a { color: var(--danger); text-decoration: underline; }

.form-success { padding: clamp(8px, 3vw, 24px) 0; text-align: center; }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.success-icon {
  display: grid;
  place-items: center;
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  animation: rise .5s var(--ease) both;
}
.success-icon .icon { width: 32px; height: 32px; stroke-width: 2.5; }
.form-success h3 { font-size: 1.375rem; margin-bottom: 12px; }
.form-success p { color: var(--ink-3); max-width: 46ch; margin-inline: auto; }
.form-success strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.success-sub { font-size: .9375rem; margin-bottom: 24px !important; }

@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .contact-actions { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .contact-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 32px; }
  .contact-card { position: sticky; top: calc(var(--header-h) + 24px); }
  .contact-actions { grid-template-columns: 1fr; }
}

/* ---------- 16. Footer ---------- */
.site-footer {
  padding: clamp(56px, 7vw, 80px) 0 28px;
  background: var(--navy-deep);
  color: var(--on-dark-2);
  font-size: .9375rem;
}
.footer-grid { display: grid; gap: 36px; }
.footer-logo { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 38ch; }
.footer-tagline { color: var(--teal-bright); font-weight: 600; }
.footer-col h3 {
  margin-bottom: 16px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--on-dark-2); }
.footer-col a:hover { color: #fff; }
.footer-contact li { overflow-wrap: anywhere; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  position: relative;
  margin-top: 48px;
  padding-top: 24px;
  font-size: .8125rem;
}
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: var(--line-dark);
}
.footer-bottom p { margin: 0; }
.footer-legal { flex-basis: 100%; order: 3; color: #7D8AA3; }
.back-to-top { color: var(--on-dark-2); font-weight: 600; }
.back-to-top:hover { color: #fff; }

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
}

/* ---------- 17. Scroll reveal (only when JS is running) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 18. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover, .domain-card:hover, .btn:hover { translate: none; }
}

/* ---------- 19. Print ---------- */
@media print {
  .site-header, .nav-toggle, .hero-bg, .form-card, .contact-actions, .back-to-top { display: none !important; }
  .section-dark, .site-footer, .contact-card { background: #fff !important; color: #000 !important; }
  .section-dark h1, .section-dark h2, .section-dark h3 { color: #000 !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- 20. 404 page ---------- */
.not-found { min-height: 100vh; display: flex; align-items: center; }
.not-found .hero-title { font-size: clamp(2.25rem, 5vw, 3.5rem); }
