/* CoreTech Academy · site styles
   Brand: teal #00a098 + green #18c050 (sampled from the logo), deep navy for the lesson window.
   Button teal is the darker #007f77 range so white text keeps 4.5:1 contrast. */

@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains";
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --ink: #0e2433;
  --text: #2b4353;
  --muted: #5b7080;
  --line: #e0ebe9;
  --line-strong: #cadbd8;
  --bg-soft: #f4faf9;
  --teal-50: #e8f7f5;
  --teal-100: #d2f0ec;
  --teal: #00a098;
  --teal-700: #007a72;
  --teal-800: #00625b;
  --green: #18c050;
  --mint: #4fe0b0;
  --gold: #ffc53d;
  --err: #c2410c;

  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(10, 29, 41, .05), 0 3px 10px rgba(10, 29, 41, .04);
  --shadow: 0 18px 40px -18px rgba(10, 29, 41, .22), 0 3px 8px rgba(10, 29, 41, .04);
  --shadow-lg: 0 40px 90px -30px rgba(6, 22, 32, .55);
  --ease: cubic-bezier(.2, .75, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --max: 1180px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal-700); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.15; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: 1.18rem; font-weight: 750; letter-spacing: -.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
b, strong { font-weight: 750; }
button { font: inherit; color: inherit; }
::selection { background: var(--teal-100); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: clamp(16px, 4vw, 32px); }
.container.narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border: 0; border-radius: 999px; overflow: hidden;
  font-family: var(--font); font-size: 1rem; font-weight: 750; line-height: 1.1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #007f77 0%, #00716a 55%, #00625b 100%); box-shadow: 0 12px 26px -12px rgba(0, 98, 91, .75), inset 0 1px 0 rgba(255, 255, 255, .16); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(0, 98, 91, .8), inset 0 1px 0 rgba(255, 255, 255, .16); }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, .9); border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-800); transform: translateY(-2px); }
.btn-ghost:hover .icon { transform: none; }
.btn-outline { color: var(--teal-800); background: transparent; border: 2px solid var(--teal-700); }
.btn-outline:hover { background: var(--teal-50); transform: translateY(-2px); }
.btn-light { color: #0a2a3c; background: #fff; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .45); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -16px rgba(0, 0, 0, .55); }
.btn-lg { padding: 17px 28px; font-size: 1.06rem; }
.btn-sm { padding: 10px 17px; font-size: .93rem; }
.btn-block { width: 100%; }
.btn-icon { padding: 0; width: 52px; height: 52px; flex: none; }
/* A soft light sweep across the main buttons every few seconds. */
.btn-shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-18deg); animation: shine 4.5s 1.8s ease-in-out infinite; pointer-events: none;
}
.btn-light.btn-shine::after { background: linear-gradient(100deg, transparent, rgba(0, 160, 152, .22), transparent); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(10, 29, 41, .35); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { flex: none; border-radius: 10px; }
.brand img { width: 138px; }
.nav { display: none; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 650; font-size: .95rem; color: var(--text); text-decoration: none; transition: background-color .2s, color .2s; }
.nav a:hover, .nav a.is-active { background: var(--teal-50); color: var(--teal-800); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle { width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; display: grid; place-items: center; cursor: pointer; }
.bars { display: grid; gap: 5px; width: 20px; }
.bars i { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(10, 29, 41, .35); animation: menuIn .35s var(--ease); }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; padding-top: 10px; padding-bottom: 20px; }
.mobile-menu a:not(.btn) { padding: 14px 4px; font-size: 1.1rem; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; }
@media (max-width: 379px) { .header-book { display: none; } }
@media (min-width: 640px) { .brand img { width: 158px; } }
@media (min-width: 1000px) {
  .nav { display: flex; }
  .header-actions { margin-left: 8px; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(32px, 5vw, 72px) 0 clamp(48px, 6vw, 84px); background: linear-gradient(180deg, #f1faf8 0%, #f8fcfb 60%, #fff 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: drift 22s ease-in-out infinite alternate; }
.blob-1 { width: 560px; height: 560px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(0, 160, 152, .55), rgba(0, 160, 152, 0) 70%); }
.blob-2 { width: 460px; height: 460px; left: -220px; top: 30%; background: radial-gradient(circle, rgba(24, 192, 80, .35), rgba(24, 192, 80, 0) 70%); animation-delay: -6s; }
.blob-3 { width: 380px; height: 380px; right: 18%; bottom: -220px; background: radial-gradient(circle, rgba(255, 197, 61, .35), rgba(255, 197, 61, 0) 70%); animation-delay: -12s; }
.dot-grid {
  position: absolute; inset: 0; background-image: radial-gradient(rgba(14, 36, 51, .09) 1.2px, transparent 1.3px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
.hero-copy > :nth-child(6) { animation-delay: .3s; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 7px 15px 7px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .9rem; font-weight: 700; color: var(--teal-800); }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); animation: ping 2.2s var(--ease) infinite; }
.hero h1 { margin: 22px 0 18px; font-size: clamp(2.35rem, 5.6vw, 3.95rem); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; }
.word-dev { position: relative; display: inline-block; white-space: nowrap; padding-bottom: .06em; background: linear-gradient(95deg, #00a098 0%, #0bb27a 50%, #18c050 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.scribble { position: absolute; left: 1%; bottom: -.16em; width: 98%; height: .3em; overflow: visible; fill: none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1.1s .75s var(--ease) forwards; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.24rem); color: var(--text); max-width: 31em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.micro-ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 20px 0 0; font-size: .95rem; font-weight: 600; color: var(--muted); }
.micro-ticks li { display: inline-flex; align-items: center; gap: 7px; }
.micro-ticks .icon { color: var(--green); stroke-width: 2.8; width: 1em; height: 1em; }
.trust { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding: 11px 16px; border-radius: 14px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .95rem; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 17px; height: 17px; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.08fr 1fr; } }

/* ---------- Hero: photo with floating cards ---------- */
.hero-visual { position: relative; width: min(100%, 640px); margin: 0 auto; padding-bottom: 136px; animation: rise 1s .2s var(--ease) both; }
.hero-photo { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; background: #dfe9e7; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(14, 36, 51, .06); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: settle 1.8s var(--ease) both; }
.hero-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(6, 22, 32, 0) 55%, rgba(6, 22, 32, .18)); pointer-events: none; }
.float-card { position: absolute; z-index: 2; animation: cardIn .7s var(--spring) both, bob 7s 1.2s ease-in-out infinite; }
.tutor-card { left: 12px; top: 12px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 18px; background: rgba(255, 255, 255, .96); box-shadow: 0 16px 34px -16px rgba(6, 22, 32, .5); animation-delay: .5s, 1.2s; }
.tutor-avatar { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--teal), var(--green)); }
.tutor-text { display: grid; line-height: 1.2; }
.tutor-text b { font-size: .92rem; color: var(--ink); }
.tutor-text small { font-size: .78rem; font-weight: 600; color: var(--muted); }
.live-dot { position: relative; width: 9px; height: 9px; margin-left: 4px; border-radius: 50%; background: #22c55e; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #22c55e; animation: ping 2s var(--ease) infinite; }
.cert-chip { display: none; align-items: center; gap: 8px; padding: 9px 15px 9px 11px; border-radius: 999px; background: rgba(255, 255, 255, .96); color: var(--ink); font-size: .88rem; font-weight: 750; box-shadow: 0 16px 34px -16px rgba(6, 22, 32, .5); animation-delay: .75s, 2s; animation-duration: .7s, 8s; }
.cert-chip .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; color: #7a5200; background: #ffe7a3; }
.code-card { left: 12px; right: 12px; bottom: 0; border-radius: 18px; overflow: hidden; background: #0d1b26; box-shadow: 0 30px 60px -24px rgba(6, 22, 32, .7), 0 0 0 1px rgba(255, 255, 255, .06) inset; animation-delay: 1s, 2.4s; animation-duration: .7s, 9s; }
.code-head { display: flex; align-items: center; gap: 10px; padding: 9px 14px; font-family: var(--mono); font-size: 11.5px; color: #8aa2b4; background: #112331; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.code-dots { display: inline-flex; gap: 5px; }
.code-dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff6159; }
.code-dots i:nth-child(2) { background: #ffbd2e; }
.code-dots i:nth-child(3) { background: #28c941; }
.code-file { color: #dbe6ee; }
.code-lang { margin-left: auto; padding: 2px 8px; border-radius: 6px; font-size: 10.5px; font-weight: 700; color: var(--mint); background: rgba(79, 224, 176, .12); }
.code { margin: 0; padding: 10px 14px 12px; overflow: hidden; font-family: var(--mono); font-variant-ligatures: none; font-size: 11.5px; line-height: 1.75; color: #dbe6ee; white-space: pre; }
.code-card .code { height: calc(4 * 1.75em + 22px); }
.code-out { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 8px 14px; font-family: var(--mono); font-size: 12px; font-weight: 700; color: #b9f6dd; background: #0a1620; border-top: 1px solid rgba(255, 255, 255, .05); }
.code-out-text { transition: opacity .35s ease, transform .35s var(--ease); }
.code-out-text.is-waiting { opacity: 0; transform: translateX(-6px); }
.code-run { padding: 3px 9px; border-radius: 6px; font-size: 10.5px; color: #052e22; background: var(--mint); transition: transform .15s ease, box-shadow .3s ease; }
.code-run.is-pressed { transform: scale(.9); box-shadow: 0 0 0 4px rgba(79, 224, 176, .3); }
.cl { display: block; border-radius: 4px; transition: background-color .3s; }
.cl.is-active { background: rgba(79, 224, 176, .1); box-shadow: inset 2px 0 0 var(--mint); }
.no { display: inline-block; width: 1.4em; margin-right: 10px; text-align: right; color: #3d566a; }
.caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 1px; vertical-align: -.2em; background: var(--mint); animation: blink 1s steps(1) infinite; }
.tk-k { color: #ff8fc7; } .tk-b { color: #c4b5fd; } .tk-f { color: #8fc7ff; } .tk-s { color: #ffd479; }
.tk-n { color: #ffab91; } .tk-c { color: #5f7c93; font-style: italic; } .tk-o { color: #9fb3c2; }
@media (min-width: 420px) { .code { font-size: 12.5px; } }
@media (min-width: 560px) {
  .hero-visual { padding-bottom: 60px; }
  .tutor-card { left: 18px; top: 18px; }
  .code-card { left: auto; right: 18px; width: 330px; }
  .cert-chip { display: inline-flex; right: 18px; top: 18px; }
}
@media (min-width: 1000px) {
  .hero-visual { width: 100%; padding: 0 0 56px; }
  .tutor-card { left: -26px; top: 32px; }
  .cert-chip { right: -18px; top: 38%; }
  .code-card { right: -22px; width: 318px; }
}

/* ---------- Careers strip ---------- */
.careers { padding: 18px 0 20px; background: #fff; border-block: 1px solid var(--line); }
.careers-label { margin: 0 0 12px; padding: 0 16px; text-align: center; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; gap: 12px; margin: 0; padding: 0 6px; list-style: none; }
.marquee-list li { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; padding: 10px 18px 10px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.marquee-list .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; color: var(--teal-800); background: var(--teal-100); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(64px, 8.5vw, 112px) 0; }
.section-tint { background: var(--bg-soft); }
.section-head { max-width: 660px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head h2 { margin: 12px 0 0; }
.section-head p { margin-top: 14px; font-size: 1.12rem; color: var(--muted); }
.section-head p strong { color: var(--ink); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.cta-center { display: flex; justify-content: center; margin-top: 36px; }

/* Why coding matters */
.matters { display: grid; gap: 16px; }
.matter { padding: 30px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.matter:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.matter-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; }
.matter-icon .icon { width: 28px; height: 28px; }
.matter:hover .matter-icon .icon { animation: wiggle .6s var(--ease); }
.mi-1 { color: #2563c9; background: #e2edff; }
.mi-2 { color: #b26a00; background: #fff1d6; }
.mi-3 { color: #00756e; background: #dcf6f2; }
.matter h3 { margin-bottom: 8px; }
.matter p { color: var(--muted); }
.source { margin-top: 22px; text-align: center; font-size: .82rem; color: var(--muted); }
@media (min-width: 860px) { .matters { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Levels */
.levels-layout { display: grid; gap: 28px; align-items: center; margin-bottom: clamp(28px, 4vw, 48px); }
.levels-layout .section-head { margin-bottom: 0; }
.cert { position: relative; justify-self: center; width: min(380px, 100%); padding: 14px 18px 18px 0; }
.cert-card { position: relative; padding: 22px 24px 24px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); text-align: center; border: 2px solid #d8efe9; transform: rotate(-2.5deg); animation: float 7s ease-in-out infinite; }
.cert-card::before { content: ""; position: absolute; inset: 7px; border-radius: 12px; border: 1.5px dashed rgba(0, 160, 152, .35); pointer-events: none; }
.cert-back { position: absolute; inset: 14px 0 18px 18px; transform: rotate(4deg); background: linear-gradient(135deg, #fff, #f1faf8); animation: none; box-shadow: var(--shadow-sm); }
.cert-back::before { display: none; }
.cert-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cert-top img { width: 104px; }
.cert-level { padding: 4px 10px; border-radius: 999px; background: var(--teal-50); color: var(--teal-800); font-size: .75rem; font-weight: 800; }
.cert-kicker { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cert-title { display: block; margin: 6px 0 14px; font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.cert-to { display: block; font-size: .8rem; color: var(--muted); }
.cert-name { display: block; margin: 2px auto 0; padding-bottom: 6px; max-width: 80%; border-bottom: 1.5px solid #cfe5e0; font-size: 1.15rem; font-weight: 700; font-style: italic; color: var(--teal-800); }
.cert-seal { position: absolute; right: -12px; bottom: -14px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #6b4700; background: radial-gradient(circle at 35% 30%, #fff1b8, #ffc53d 60%, #e0a100); box-shadow: 0 10px 22px -8px rgba(160, 110, 0, .7); }
.cert-seal .icon { width: 28px; height: 28px; }
.levels { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; position: relative; }
.level { position: relative; padding: 26px 24px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.level:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.level-no { align-self: flex-start; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .04em; color: #fff; background: linear-gradient(135deg, var(--teal), var(--green)); }
.level h3 { margin: 14px 0 8px; font-size: 1.3rem; }
.level p { color: var(--muted); flex: 1; }
.level-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 750; color: #7a5200; background: #fff3cf; }
.level-tag .icon { width: 17px; height: 17px; }
.level-top { background: radial-gradient(420px 220px at 100% 0%, rgba(0, 160, 152, .3), transparent 70%), linear-gradient(160deg, #0f2a3a, #0a1c27); border-color: transparent; box-shadow: var(--shadow); }
.level-top h3 { color: #fff; }
.level-top p { color: #b5c8d4; }
@media (min-width: 860px) {
  .levels-layout { grid-template-columns: 1.3fr 1fr; }
  .cert { justify-self: end; }
  .levels { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .levels::before { content: ""; position: absolute; left: 10%; right: 10%; top: 42px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--teal), var(--green), var(--gold)); opacity: .35; z-index: 0; }
  .level { z-index: 1; }
}

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; position: relative; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: center; }
.step-icon { position: relative; z-index: 1; width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--teal), var(--green)); box-shadow: 0 14px 26px -12px rgba(0, 160, 152, .8); }
.step-icon .icon { width: 28px; height: 28px; }
.step-icon b { position: absolute; top: -9px; right: -9px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: var(--teal-800); background: #fff; border: 2px solid var(--teal-100); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); }
html.js .step .step-icon { transform: scale(.6) rotate(-8deg); opacity: 0; transition: transform .6s var(--spring), opacity .4s; transition-delay: calc(var(--d, 0s) + .15s); }
html.js .step.is-in .step-icon { transform: none; opacity: 1; }
.trust-strip { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 30px 0 0; padding: 0; font-weight: 700; color: var(--ink); }
.trust-strip li { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip .icon { width: 22px; height: 22px; color: var(--teal-700); }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: 63px; height: 2px; background: repeating-linear-gradient(90deg, rgba(0, 160, 152, .55) 0 10px, transparent 10px 20px); transform-origin: left; transform: scaleX(0); transition: transform 1.4s .3s var(--ease); }
  .steps.is-in::before { transform: scaleX(1); }
}

/* Pricing */
.pricing { display: grid; gap: 20px; max-width: 860px; margin: 0 auto; }
.price-card { position: relative; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 36px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tag { align-self: flex-start; padding: 6px 13px; border-radius: 999px; font-size: .8rem; font-weight: 800; color: var(--teal-800); background: var(--teal-50); }
.price-card h3 { margin: 16px 0 0; font-size: 1.35rem; }
.price-card .price { margin: 14px 0 6px; font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -.045em; color: var(--ink); }
.price .cur { font-size: .5em; vertical-align: .62em; margin-right: 2px; }
.price .per { margin-left: 8px; font-size: 1rem; font-weight: 650; letter-spacing: 0; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 18px 0 28px; flex: 1; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; padding: 7px 0; }
.ticks .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--teal-700); stroke-width: 2.6; }
.price-featured { color: #c9d8e2; border-color: transparent; overflow: hidden; background: radial-gradient(520px 300px at 110% -10%, rgba(0, 160, 152, .4), transparent 70%), linear-gradient(160deg, #0f2a3a, #0a1c27); box-shadow: var(--shadow-lg); }
.price-featured h3, .price-card.price-featured .price { color: #fff; }
.price-featured .per { color: #9fb4c3; }
.price-featured .ticks .icon { color: var(--mint); }
.tag-light { color: var(--mint); background: rgba(79, 224, 176, .14); }
@media (min-width: 760px) { .pricing { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; transition: border-color .25s, box-shadow .25s; }
.faq-list details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; font-size: 1.05rem; font-weight: 750; color: var(--ink); border-radius: 18px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007a72' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .35s var(--ease), background-color .25s; }
.faq-list details[open] summary::after { transform: rotate(135deg); background-color: var(--teal-100); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 22px 22px; margin: 0; }
.faq-more { text-align: center; margin-top: 24px; color: var(--muted); font-weight: 600; }
.faq-more a { font-weight: 750; }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; overflow: hidden; color: #d9efec; padding: clamp(64px, 9vw, 112px) 0; background: radial-gradient(800px 400px at 20% 120%, rgba(24, 192, 80, .35), transparent 70%), linear-gradient(135deg, #007a72 0%, #075a69 48%, #0a2535 100%); }
.final-grid { display: grid; gap: 40px; align-items: center; }
.final-copy { text-align: center; }
.final-cta h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 14em; margin: 0 auto 16px; }
.final-cta p { font-size: 1.15rem; max-width: 30em; margin: 0 auto 32px; color: #cfe9e5; }
.final-photo { margin: 0 auto; width: min(100%, 520px); border-radius: 26px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .12); }
.final-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .final-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .final-copy { text-align: left; }
  .final-cta h2, .final-cta p { margin-left: 0; }
  .final-photo { rotate: 1.5deg; }
}

/* ---------- Footer ---------- */
.site-footer { padding: 34px 0 calc(110px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.footer-inner img { width: 140px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--teal-800); text-decoration: underline; }
.footer-copy { color: var(--muted); }
.footer-note { margin-top: 18px; font-size: .78rem; color: var(--muted); }
.site-footer-simple { padding-bottom: 34px; }
@media (min-width: 1000px) { .site-footer { padding-bottom: 34px; } }

/* ---------- Mobile booking bar ---------- */
.mobile-bar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 10px; padding: 8px; border-radius: 22px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 20px 50px -18px rgba(6, 22, 32, .45); transform: translateY(calc(100% + 30px)); transition: transform .45s var(--ease); }
.mobile-bar .btn-primary { flex: 1; }
.mobile-bar.is-visible { transform: none; }
html:not(.js) .mobile-bar { transform: none; }
@media (min-width: 1000px) { .mobile-bar { display: none; } }

/* ---------- Dialogs (booking + questions) ---------- */
.modal { padding: 0; border: 0; border-radius: 26px; overflow: hidden; color: var(--text); background: #fff; box-shadow: var(--shadow-lg); max-width: none; max-height: none; }
.modal[open] { display: flex; flex-direction: column; animation: dialogIn .4s var(--ease); }
.modal::backdrop { background: rgba(6, 22, 32, .62); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); animation: fadeIn .3s ease; }
.modal-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px 16px 26px; border-bottom: 1px solid var(--line); }
.modal-head strong { display: block; font-size: 1.12rem; color: var(--ink); }
.modal-head span { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--muted); }
.icon-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--ink); background: var(--bg-soft); transition: background-color .2s, transform .2s; }
.icon-btn:hover { background: var(--teal-50); transform: rotate(90deg); }
.icon-btn .icon { width: 20px; height: 20px; }
.book-dialog { width: min(1000px, calc(100vw - 32px)); height: min(880px, calc(100dvh - 32px)); }
.dialog-body { position: relative; flex: 1; min-height: 0; }
.dialog-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dialog-loading { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-weight: 600; background: #fff; }
.dialog-loading[hidden] { display: none; }
.dialog-foot { flex: none; margin: 0; padding: 11px 18px; text-align: center; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); }
.ask-dialog { width: min(600px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); }
.ask-body { overflow-y: auto; padding: 22px 26px 26px; }
html.modal-open { overflow: hidden; }
@media (max-width: 640px) {
  .book-dialog, .ask-dialog { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .modal-head { padding-left: 18px; }
  .ask-body { padding: 18px; }
}

/* Form */
.form-grid { display: grid; gap: 16px; }
.field label { display: block; margin-bottom: 7px; font-size: .92rem; font-weight: 700; color: var(--ink); }
.opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: 14px; font: 500 16px/1.4 var(--font); color: var(--ink); background: #fbfefe; border: 1.5px solid #d3e2df; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; background: #fbfefe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b7080' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background-color: #fff; box-shadow: 0 0 0 4px rgba(0, 160, 152, .15); }
.err { display: none; margin-top: 6px; font-size: .86rem; font-weight: 700; color: var(--err); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #ea580c; background-color: #fffaf7; }
.field.is-invalid .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 16px 0; font-size: .88rem; color: var(--muted); }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
.spinner-dark { display: inline-block; border-color: rgba(0, 122, 114, .2); border-top-color: var(--teal-700); }
[data-submit].is-loading .spinner { display: inline-block; }
[data-submit].is-loading { pointer-events: none; opacity: .9; }
.form-status { margin: 12px 0 0; min-height: 1.4em; font-size: .95rem; font-weight: 650; text-align: center; }
.form-status.is-error { color: var(--err); }
.form-status.is-info { color: var(--teal-800); }
.form-success { text-align: center; padding: 18px 6px 8px; }
.form-success:focus { outline: none; }
.form-success h3 { font-size: 1.4rem; margin: 18px 0 10px; }
.form-success p { color: var(--muted); max-width: 26em; margin: 0 auto 22px; }
.success-mark { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--teal), var(--green)); box-shadow: 0 18px 34px -14px rgba(0, 160, 152, .8); animation: pop .6s var(--spring) both; }
.success-mark .icon { width: 36px; height: 36px; stroke-width: 3; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 120; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); max-width: calc(100vw - 32px); transform: translateX(-50%); padding: 14px 20px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 650; box-shadow: var(--shadow-lg); animation: toastIn .45s var(--spring); }
.toast[hidden] { display: none; }
@media (min-width: 1000px) { .toast { bottom: 28px; } }

/* ---------- Reveal on scroll ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Simple pages (privacy, 404) ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); background: linear-gradient(180deg, #f1faf8, #fff); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.035em; }
.page-hero p { color: var(--muted); margin-top: 12px; }
.prose { max-width: 760px; padding-bottom: clamp(56px, 8vw, 96px); }
.prose h2 { font-size: 1.4rem; letter-spacing: -.02em; margin: 2em 0 .6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 0 64px; }
.notfound-code { width: min(460px, 100%); margin: 0 auto 30px; padding: 18px 20px; border-radius: 20px; text-align: left; background: #0d1b26; box-shadow: var(--shadow-lg); white-space: pre-wrap; overflow-wrap: anywhere; }
.notfound h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; }
.notfound p { color: var(--muted); font-size: 1.1rem; margin: 14px auto 28px; max-width: 30em; }
.notfound .cta-row { justify-content: center; }

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.08); } 100% { transform: translate(-30px, 30px) scale(.96); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(2); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes shine { 0% { left: -60%; } 22%, 100% { left: 130%; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg) scale(1.1); } 60% { transform: rotate(9deg) scale(1.05); } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 20px) scale(.9); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html.js [data-reveal], html.js .step .step-icon { opacity: 1; transform: none; }
  .scribble { stroke-dashoffset: 0; }
  .btn-shine::after { display: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-list[aria-hidden="true"] { display: none; }
  .marquee-list { flex-wrap: wrap; justify-content: center; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
