:root {
  --navy: #102a43;
  --navy-deep: #091c2c;
  --navy-soft: #183b56;
  --red: #ff5a5f;
  --red-dark: #e8474c;
  --cream: #f5f0e8;
  --paper: #fffdf9;
  --ink: #12263a;
  --muted: #5f7080;
  --line: rgba(16,42,67,.13);
  --green: #54d6a3;
  --shadow: 0 22px 70px rgba(9, 28, 44, .14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "DM Sans", system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.skip-link { position: absolute; left: -9999px; top: 1rem; z-index: 100; background: white; color: var(--ink); padding: .8rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 1rem; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section-pad { padding: 104px 0; }

.site-header { position: absolute; z-index: 20; width: 100%; color: white; border-bottom: 1px solid rgba(255,255,255,.12); }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; }
.brand-mark-logo { position: relative; overflow: hidden; border-radius: 50%; background: white; box-shadow: 0 3px 14px rgba(0,0,0,.16); }
.brand-mark-logo img { position: absolute; width: 84px; max-width: none; left: -21px; top: -4px; }
.brand strong { display: block; font: 800 1.06rem/1 "Manrope", sans-serif; letter-spacing: -.03em; }
.brand small { display: block; margin-top: 5px; text-transform: uppercase; letter-spacing: .19em; font-size: .6rem; opacity: .7; }
nav { display: flex; align-items: center; gap: 2rem; font-size: .89rem; }
nav a { opacity: .76; transition: opacity .2s; }
nav a:hover, nav a:focus-visible { opacity: 1; }

.button { border: 0; border-radius: 100px; min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, .card-link:focus-visible, .text-button:focus-visible { outline: 3px solid rgba(255,90,95,.4); outline-offset: 3px; }
.button-small { min-height: 42px; padding: 0 18px; font-size: .82rem; }
.button-dark { background: rgba(255,255,255,.1); color: white; border: 1px solid rgba(255,255,255,.23); backdrop-filter: blur(10px); }
.button-primary { color: white; background: var(--red); box-shadow: 0 12px 28px rgba(255, 90, 95, .24); }
.button-primary:hover { background: var(--red-dark); box-shadow: 0 15px 32px rgba(255, 90, 95, .31); }
.button-light { color: var(--navy); background: white; }
.button-light:disabled { opacity: .38; cursor: not-allowed; transform: none; }
.button-full { width: 100%; }

.hero { min-height: 790px; display: grid; align-items: center; position: relative; overflow: hidden; background: var(--navy); color: white; padding-top: 165px; padding-bottom: 85px; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .19; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, #000, transparent 80%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(3px); pointer-events: none; }
.hero-glow-one { width: 650px; height: 650px; right: -200px; top: -150px; background: radial-gradient(circle, rgba(255,90,95,.18), transparent 68%); }
.hero-glow-two { width: 500px; height: 500px; left: -260px; bottom: -300px; background: radial-gradient(circle, rgba(84,214,163,.11), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: .69rem; color: rgba(255,255,255,.66); }
.eyebrow > span { width: 22px; height: 2px; background: var(--red); }
.eyebrow-dark { color: var(--muted); }
.hero h1, .section-heading h2, .finder-intro h2, .about-copy h2, .faq-heading h2, .contact-strip h2 { font-family: "Manrope", sans-serif; letter-spacing: -.055em; }
.hero h1 { margin: 20px 0 22px; font-size: clamp(3.55rem, 7vw, 6.6rem); line-height: .91; font-weight: 800; }
.hero h1 em, .section-heading h2 em, .about-copy h2 em { color: var(--red); font-style: normal; }
.hero-lead { max-width: 600px; margin: 0; font-size: 1.14rem; line-height: 1.72; color: rgba(255,255,255,.72); }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 34px; }
.text-link { font-size: .9rem; font-weight: 700; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.35); }
.hero-trust { display: flex; gap: 35px; margin-top: 46px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.13); }
.hero-trust > div { display: flex; gap: 11px; align-items: flex-start; }
.hero-trust p { margin: 0; }
.hero-trust strong, .hero-trust small { display: block; }
.hero-trust strong { font-size: .83rem; }
.hero-trust small { font-size: .72rem; margin-top: 2px; color: rgba(255,255,255,.48); }
.check { color: var(--green); font-weight: 700; }

.hero-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.brand-showcase { width: min(420px, 88%); position: relative; z-index: 3; padding: 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 30px; background: white; box-shadow: 0 35px 80px rgba(0,0,0,.25); transform: rotate(1.5deg); }
.brand-showcase::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(16,42,67,.08); border-radius: 21px; pointer-events: none; }
.brand-showcase img { display: block; width: 100%; height: auto; border-radius: 18px; }
.mini-card { position: absolute; z-index: 5; border: 1px solid rgba(255,255,255,.18); border-radius: 15px; padding: 15px 18px; background: rgba(10,31,48,.82); box-shadow: 0 18px 50px rgba(0,0,0,.2); backdrop-filter: blur(12px); }
.mini-card strong, .mini-card span { display: block; }
.mini-card strong { color: var(--red); font: 800 1.1rem "Manrope"; }
.mini-card span { font-size: .66rem; color: rgba(255,255,255,.58); margin-top: 2px; }
.mini-card-one { left: 0; top: 105px; }
.mini-card-two { right: -5px; bottom: 85px; }
.pulse-ring { position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.ring-one { width: 500px; height: 500px; }
.ring-two { width: 610px; height: 610px; }

.training { background: var(--cream); }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; margin-bottom: 48px; }
.section-heading h2, .about-copy h2 { margin: 14px 0 0; font-size: clamp(2.35rem, 4.2vw, 4.25rem); line-height: 1.01; }
.section-heading > p { max-width: 410px; margin: 0 0 4px; color: var(--muted); line-height: 1.75; }
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.class-card { position: relative; padding: 31px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); min-height: 470px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; overflow: hidden; }
.class-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(16,42,67,.09); }
.class-card-featured { background: var(--navy); color: white; border-color: var(--navy); }
.class-card-featured::before { content: ""; position: absolute; width: 230px; height: 230px; border-radius: 50%; background: rgba(255,90,95,.13); top: -120px; right: -100px; }
.featured-label { position: absolute; right: 20px; top: 20px; padding: 6px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: .1em; font-size: .56rem; font-weight: 700; color: var(--green); background: rgba(84,214,163,.1); }
.class-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 1.35rem; color: var(--red); background: rgba(255,90,95,.09); }
.first-aid-icon { color: var(--navy); background: rgba(16,42,67,.08); }
.bls-icon { position: relative; z-index: 1; font: 800 1.2rem "Manrope"; color: var(--green); background: rgba(84,214,163,.1); }
.class-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.class-card-featured .class-meta { color: rgba(255,255,255,.48); }
.class-card h3 { margin: 14px 0 13px; font: 800 2rem/1.1 "Manrope"; letter-spacing: -.04em; }
.class-card p { margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.7; }
.class-card-featured p { color: rgba(255,255,255,.65); }
.class-card ul { list-style: none; padding: 0; margin: 22px 0 28px; color: var(--muted); font-size: .78rem; }
.class-card-featured ul { color: rgba(255,255,255,.6); }
.class-card li { margin: 8px 0; padding-left: 18px; position: relative; }
.class-card li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); position: absolute; left: 0; top: .63em; }
.card-link { margin-top: auto; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: .78rem; font-weight: 700; text-align: left; cursor: pointer; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; }
.class-card-featured .card-link { color: white; border-color: rgba(255,255,255,.12); }
.card-link span { color: var(--red); font-size: 1rem; }

.finder { margin-top: 90px; display: grid; grid-template-columns: .83fr 1.17fr; background: var(--navy); color: white; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); }
.finder-intro { position: relative; padding: 58px 52px; background: linear-gradient(145deg, var(--navy-soft), var(--navy-deep)); overflow: hidden; }
.finder-intro::after { content: "?"; position: absolute; right: -12px; bottom: -80px; font: 800 18rem/1 "Manrope"; color: rgba(255,255,255,.025); }
.finder-intro h2 { font-size: 3rem; line-height: 1.02; margin: 18px 0; }
.finder-intro p { max-width: 330px; color: rgba(255,255,255,.63); }
.step-markers { display: flex; gap: 8px; margin-top: 42px; }
.step-markers i { display: block; width: 30px; height: 3px; border-radius: 10px; background: rgba(255,255,255,.16); }
.step-markers i.active { background: var(--red); }
.finder-panel { padding: 52px; min-height: 520px; }
.finder-panel form { height: 100%; display: flex; flex-direction: column; }
.finder-step { display: none; border: 0; padding: 0; margin: 0; }
.finder-step.active { display: block; animation: fadeSlide .28s ease; }
.finder-step legend { font: 700 1.55rem "Manrope"; letter-spacing: -.025em; }
.step-hint { margin: 6px 0 26px; color: rgba(255,255,255,.5); font-size: .82rem; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.option { position: relative; min-height: 105px; padding: 18px 18px 18px 48px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; cursor: pointer; transition: border .2s, background .2s, transform .2s; }
.option:hover { border-color: rgba(255,255,255,.32); transform: translateY(-2px); }
.option:has(input:checked) { background: rgba(255,90,95,.09); border-color: var(--red); }
.option input { position: absolute; opacity: 0; }
.option-check { position: absolute; width: 18px; height: 18px; left: 18px; top: 20px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.option:has(input:checked) .option-check { border: 5px solid var(--red); background: white; }
.option strong, .option small { display: block; }
.option strong { font-size: .84rem; }
.option small { margin-top: 5px; color: rgba(255,255,255,.48); font-size: .7rem; }
.finder-controls { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 30px; }
.finder-controls .button { margin-left: auto; }
.text-button { border: 0; color: rgba(255,255,255,.65); background: transparent; cursor: pointer; font-weight: 700; font-size: .8rem; padding: 10px 0; }
.finder-result { animation: fadeSlide .3s ease; }
.result-kicker { color: var(--green); text-transform: uppercase; letter-spacing: .12em; font-size: .65rem; font-weight: 700; }
.finder-result h3 { margin: 12px 0 13px; font: 800 2.8rem/1 "Manrope"; letter-spacing: -.045em; }
.finder-result > p { color: rgba(255,255,255,.65); max-width: 540px; }
.result-notes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.result-notes span { border: 1px solid rgba(255,255,255,.13); padding: 7px 11px; border-radius: 100px; color: rgba(255,255,255,.66); font-size: .68rem; }
.result-actions { display: flex; gap: 20px; align-items: center; margin-top: 38px; }

.about-contact { background: var(--paper); padding-bottom: 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-lead { max-width: 550px; color: var(--muted); line-height: 1.8; }
.about-points { margin-top: 38px; display: grid; gap: 26px; }
.about-points > div { display: grid; grid-template-columns: 36px 1fr; gap: 15px; }
.about-points > div > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,90,95,.1); color: var(--red); font: 700 .62rem "Manrope"; }
.about-points p { margin: 0; }
.about-points strong, .about-points small { display: block; }
.about-points strong { font-size: .88rem; }
.about-points small { color: var(--muted); margin-top: 5px; line-height: 1.55; }
.inquiry-card { scroll-margin-top: 30px; padding: 42px; background: var(--cream); border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 28px 70px rgba(16,42,67,.09); }
.inquiry-heading > span { color: var(--red); text-transform: uppercase; letter-spacing: .13em; font-weight: 700; font-size: .64rem; }
.inquiry-heading h3 { margin: 8px 0; font: 800 2rem "Manrope"; letter-spacing: -.045em; }
.inquiry-heading p { margin: 0 0 26px; color: var(--muted); font-size: .82rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.inquiry-card label { display: block; font-size: .7rem; font-weight: 700; margin-bottom: 13px; }
.inquiry-card label > span { color: var(--muted); font-weight: 400; }
.inquiry-card input, .inquiry-card select, .inquiry-card textarea { width: 100%; margin-top: 6px; border: 1px solid rgba(16,42,67,.15); border-radius: 10px; background: white; padding: 13px 14px; color: var(--ink); outline: none; font-size: .82rem; transition: border-color .2s, box-shadow .2s; }
.inquiry-card input:focus, .inquiry-card select:focus, .inquiry-card textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,90,95,.1); }
.inquiry-card textarea { resize: vertical; }
.form-note { text-align: center; color: var(--muted); font-size: .65rem; margin: 13px 0 0; }
.form-status { min-height: 20px; text-align: center; font-size: .75rem; color: var(--red-dark); margin-top: 4px; }

.faq-wrap { margin-top: 105px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; padding: 80px 0; border-top: 1px solid var(--line); }
.faq-heading h2 { font-size: 2.6rem; line-height: 1.05; margin: 15px 0 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-weight: 700; font-size: .9rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--red); font-size: 1.2rem; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -3px 35px 22px 0; color: var(--muted); font-size: .83rem; line-height: 1.7; }
.contact-strip { margin-top: 15px; padding: 54px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 45px; color: white; background: var(--navy); border-radius: 28px 28px 0 0; }
.contact-label { color: var(--green); text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; font-weight: 700; }
.contact-strip h2 { margin: 10px 0 0; max-width: 610px; font-size: 2.4rem; line-height: 1.08; }
.contact-details { padding-left: 45px; border-left: 1px solid rgba(255,255,255,.14); }
.contact-details a { font-weight: 700; font-size: 1.05rem; }
.contact-details a span { color: var(--red); }
.contact-details p { color: rgba(255,255,255,.48); font-size: .72rem; margin: 8px 0 0; }

footer { background: var(--navy-deep); color: white; padding: 30px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer-inner > p { margin: 0; color: rgba(255,255,255,.42); font-size: .68rem; }
.footer-inner > p:last-child { text-align: right; }
.app-dock { display: none; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; max-width: min(90vw, 430px); padding: 12px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 100px; color: white; background: rgba(16,42,67,.96); box-shadow: 0 15px 45px rgba(0,0,0,.25); opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: opacity .25s, transform .25s; font-size: .75rem; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.brand-footer { transform: scale(.86); transform-origin: left center; }

@keyframes fadeSlide { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }

@media (max-width: 980px) {
  .section-pad { padding: 82px 0; }
  nav { display: none; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: clamp(3.4rem, 8vw, 5.5rem); }
  .hero-visual { min-height: 450px; }
  .ring-two { width: 500px; height: 500px; }
  .class-grid { grid-template-columns: 1fr 1fr; }
  .class-card-featured { grid-column: 1 / -1; min-height: 390px; }
  .finder { grid-template-columns: 1fr; }
  .finder-intro { padding: 45px; }
  .step-markers { margin-top: 25px; }
  .about-grid { gap: 45px; }
  .inquiry-card { padding: 30px; }
  .faq-wrap { gap: 45px; }
}

@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .shell { width: min(100% - 28px, 620px); }
  .site-header .button-small { display: none; }
  .nav-wrap { min-height: 74px; }
  .hero { padding-top: 125px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.35rem, 17vw, 5.3rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-trust { gap: 20px; }
  .hero-visual { min-height: 470px; margin-top: 20px; }
  .mini-card-one { left: -5px; }
  .mini-card-two { right: -4px; }
  .ring-one { width: 400px; height: 400px; }
  .ring-two { width: 480px; height: 480px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 22px; }
  .class-grid { grid-template-columns: 1fr; }
  .class-card-featured { grid-column: auto; }
  .class-card { min-height: 430px; }
  .finder { margin-top: 60px; }
  .finder-intro, .finder-panel { padding: 34px 24px; }
  .finder-intro h2 { font-size: 2.35rem; }
  .finder-panel { min-height: 600px; }
  .option-grid { grid-template-columns: 1fr; }
  .option { min-height: 88px; }
  .result-actions { align-items: stretch; flex-direction: column; }
  .about-grid { grid-template-columns: 1fr; }
  .inquiry-card { padding: 28px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .faq-wrap { grid-template-columns: 1fr; margin-top: 75px; padding: 60px 0; }
  .contact-strip { grid-template-columns: 1fr; padding: 38px 26px; }
  .contact-strip h2 { font-size: 1.9rem; }
  .contact-details { padding: 24px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .brand-footer { justify-self: center; transform-origin: center; }
  .footer-inner > p:last-child { text-align: center; }
  .app-dock { position: fixed; inset: auto 10px 10px; z-index: 60; height: 66px; padding: 7px 10px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; color: rgba(255,255,255,.7); background: rgba(16,42,67,.96); backdrop-filter: blur(18px); box-shadow: 0 15px 50px rgba(7,25,43,.35); }
  .app-dock a, .app-dock button { min-width: 0; height: 50px; padding: 0; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: inherit; background: transparent; font-size: .56rem; font-weight: 700; }
  .app-dock svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .app-dock .dock-primary { position: relative; color: white; }
  .app-dock .dock-primary > span { width: 43px; height: 43px; margin-top: -25px; display: grid; place-items: center; border: 4px solid #102a43; border-radius: 50%; background: linear-gradient(135deg, #d71920, #ff3b43); box-shadow: 0 8px 25px rgba(215,25,32,.35); font-size: 1.6rem; font-weight: 400; }
  .app-dock .dock-primary b { margin-top: -1px; font-size: .56rem; }
  .toast { bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
