/* Maria Loureiro — language lessons. Concept by Acacio Domar. */

:root {
  --bg: #FBF6EE;
  --surface: #FFFFFF;
  --ink: #17172B;
  --muted: #4A4B62;
  --line: #E7DECF;

  --cta: #FFD23F;
  --cta-hover: #FFC414;

  /* One colour per language */
  --nl: #E8590C;  --nl-deep: #A8410A;  --nl-tint: #FFEADB;
  --fr: #3E48F0;  --fr-deep: #2B33B8;  --fr-tint: #E6E8FF;
  --en: #D92D5C;  --en-deep: #A81E45;  --en-tint: #FFE3EB;
  --pt: #0E8F6D;  --pt-deep: #0A6A51;  --pt-tint: #DAF3E9;

  --radius: 18px;
  --shadow: 0 0 0 1.5px var(--line);
  --shadow-sm: 0 0 0 1.5px var(--line);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; }
h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

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

.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;
}
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }
.muted { color: var(--muted); }
.c-nl { color: var(--nl); } .c-fr { color: var(--fr); } .c-en { color: var(--en); } .c-pt { color: var(--pt); }

/* ---------- Preview bar ---------- */
.preview-bar {
  background: var(--ink); color: #F1EEE8;
  font-size: .875rem; line-height: 1.4; text-align: center; padding: 8px 16px;
}
.preview-bar a { color: #fff; font-weight: 600; text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1.0625rem/1.2 var(--font-body); text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-cta { background: var(--cta); color: var(--ink); }
.btn-cta:hover { background: var(--cta-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .95rem; white-space: nowrap; }
.btn .ico { transition: transform .2s ease; }
.btn:hover .ico { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, .5);
  -webkit-backdrop-filter: saturate(1.15) blur(6px);
  backdrop-filter: saturate(1.15) blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(23, 23, 43, .35); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 1.0625rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 13px); gap: 3px; }
.brand-mark i { width: 13px; height: 13px; border-radius: 50%; }
.brand-mark i:nth-child(1) { background: var(--nl); }
.brand-mark i:nth-child(2) { background: var(--fr); border-radius: 4px; }
.brand-mark i:nth-child(3) { background: var(--en); border-radius: 4px; }
.brand-mark i:nth-child(4) { background: var(--pt); }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { white-space: nowrap; text-decoration: none; font-weight: 500; font-size: 1rem; padding: 8px 12px; border-radius: 999px; color: var(--muted); transition: color .2s, background-color .2s; }
.main-nav a:hover { color: var(--ink); background: rgba(23, 23, 43, .06); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.main-nav ~ .header-actions { margin-left: 8px; }
.header-actions .btn-sm { min-height: 40px; }

.lang-switch { display: inline-flex; padding: 4px; gap: 2px; background: rgba(23, 23, 43, .06); border-radius: 999px; }
.lang-switch a {
  display: grid; place-items: center; min-width: 40px; min-height: 32px; padding: 0 8px;
  border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .8125rem; letter-spacing: .04em; color: var(--muted);
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="page"] { background: var(--ink); color: #fff; }

/* Mobile menu: only below the width where the nav links hide */
.menu-btn {
  display: none; place-content: center; gap: 5px; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 999px; background: rgba(23, 23, 43, .06); color: var(--ink); cursor: pointer;
}
.menu-btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  border-top: 1px solid var(--line); background: var(--bg);
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
.mobile-menu .wrap { display: grid; gap: 24px; padding-top: 16px; padding-bottom: 28px; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; letter-spacing: -.02em;
  text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { justify-self: stretch; }

/* ---------- Hero ---------- */
/* The hero starts under the header, so its colour shows through the translucent bar. */
.hero {
  position: relative; overflow: clip;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 clamp(64px, 8vw, 120px);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.glow {
  position: absolute; width: min(900px, 90vw); aspect-ratio: 1; left: -18%; top: -38%;
  border-radius: 50%; opacity: 0; transition: opacity 1.2s ease;
}
.glow-nl { background: radial-gradient(closest-side, rgba(255, 154, 85, .38), transparent); }
.glow-fr { background: radial-gradient(closest-side, rgba(129, 137, 255, .34), transparent); }
.glow-en { background: radial-gradient(closest-side, rgba(255, 111, 148, .32), transparent); }
.glow-pt { background: radial-gradient(closest-side, rgba(60, 199, 159, .32), transparent); }
.hero[data-lang="nl"] .glow-nl, .hero[data-lang="fr"] .glow-fr,
.hero[data-lang="en"] .glow-en, .hero[data-lang="pt"] .glow-pt { opacity: 1; }

.blob { position: absolute; display: block; translate: 0 var(--py, 0px); will-change: translate; }
.blob svg { width: 100%; height: 100%; overflow: visible; animation: drift 14s ease-in-out infinite alternate; }
.blob:nth-of-type(2n) svg { animation-duration: 17s; animation-direction: alternate-reverse; }
@keyframes drift {
  from { transform: rotate(-6deg) scale(1); }
  to { transform: rotate(8deg) scale(1.06); }
}
.hb-1 { width: 150px; height: 150px; left: -54px; top: 54%; }
.hb-2 { width: 64px; height: 64px; left: 46%; top: 6%; }
.hb-3 { width: 150px; height: 150px; left: 36%; bottom: 64px; }
.doodle { position: absolute; color: var(--ink); opacity: .18; }
.hd-1 { width: 150px; right: 4%; top: 2%; }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }


.hero-title { margin: 0 0 26px; }
/* Rotating phrase: only the active phrase shows, and JS types it out */
.rotator { display: grid; }
.rot-item { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; visibility: hidden; }
.rot-item.is-active { visibility: visible; }
.js .rot-item.is-active .rot-text::after {
  content: ""; display: inline-block; width: .07em; height: .82em; margin-left: .05em; vertical-align: -.04em;
  background: currentColor; animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.rot-item[data-lang="nl"] { --c: var(--nl); }
.rot-item[data-lang="fr"] { --c: var(--fr); }
.rot-item[data-lang="en"] { --c: var(--en); }
.rot-item[data-lang="pt"] { --c: var(--pt); }
.rot-text {
  font-family: var(--font-display); font-weight: 600; font-variation-settings: "opsz" 144;
  font-size: clamp(2.75rem, 1.3rem + 4.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.03em;
  hyphens: auto; -webkit-hyphens: auto;
}
.rot-text em { font-style: italic; font-weight: 500; color: var(--c); }

.lede { font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 34em; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }



/* Hero visual: the video-call card */
.hero-visual { position: relative; height: clamp(440px, 46vw, 560px); }
.hv-shape { width: 62%; aspect-ratio: 1; right: -8%; top: -4%; }
.hv-shape-2 { width: 34%; aspect-ratio: 1; left: -6%; bottom: 0; }
.call {
  position: absolute; left: 6%; right: 4%; top: 15%;
  background: var(--surface); border-radius: 30px; padding: 12px; box-shadow: var(--shadow);
  translate: 0 var(--py, 0px); rotate: -2.5deg;
}
.call-bar { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 12px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.call-live { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700; }
.call-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--en); box-shadow: 0 0 0 4px var(--en-tint); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(217, 45, 92, .08); } }
.call-stage { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; }
.stage { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.call-self {
  position: absolute; right: 12px; bottom: 12px; width: 30%; aspect-ratio: 4 / 3; border-radius: 14px;
  background: #FFE3EB; overflow: hidden;
  border: 3px solid #fff; box-shadow: var(--shadow-sm);
  display: flex; align-items: flex-end; padding: 6px 8px;
}
.call-self svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.call-self span { position: relative;  font-size: .75rem; font-weight: 700; color: var(--ink); background: rgba(255, 255, 255, .85); padding: 3px 8px; border-radius: 999px; }
.call-controls { display: flex; justify-content: center; gap: 12px; padding: 14px 0 4px; }
.cc { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--ink); }
.cc svg { width: 22px; height: 22px; }
.cc-end { background: var(--en); color: #fff; }

.bubble {
  position: absolute; translate: 0 var(--py, 0px);
  font: 700 1.375rem/1 var(--font-display); letter-spacing: -.01em; color: #fff;
  padding: 14px 20px; border-radius: 22px; box-shadow: var(--shadow-sm); white-space: nowrap;
}
.bubble::after { content: ""; position: absolute; width: 16px; height: 16px; background: inherit; bottom: -6px; transform: rotate(45deg); border-radius: 3px; }
.b-nl { background: var(--nl); left: -2%; top: 4%; rotate: -6deg; }
.b-nl::after { left: 22px; }
.b-fr { background: var(--fr); right: 0; top: 6%; rotate: 5deg; }
.b-fr::after { right: 26px; }
.b-en { background: var(--en); left: -6%; top: 58%; rotate: 4deg; }
.b-en::after { left: 26px; }
.b-pt { background: var(--pt); right: -3%; top: 50%; rotate: -5deg; }
.b-pt::after { right: 22px; }

.mini {
  position: absolute; translate: 0 var(--py, 0px);
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); font-size: .875rem; color: var(--muted);
}
.mini svg { width: 36px; height: 36px; padding: 7px; border-radius: 12px; background: var(--fr-tint); color: var(--fr); }
.mini strong { display: block; color: var(--ink); font-size: 1rem; }
.mini-next { left: 0; bottom: 2%; }
.mini-level { right: 2%; bottom: 8%; }
.mini-level strong { display: inline; }
.seal { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cta); color: var(--ink); font: 700 .95rem/1 var(--font-body); }

/* ---------- Stats ---------- */

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 144px) 0; }
.section-tight { padding-top: clamp(40px, 5vw, 72px); }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2, .certs h2 {
  font-family: var(--font-display); font-variation-settings: "opsz" 144;
  font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.025em; margin-bottom: 20px;
}
.section-lede { font-size: clamp(1.125rem, 1rem + .3vw, 1.25rem); color: var(--muted); margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--surface); border-radius: var(--radius); padding: clamp(28px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.feature h3 { font-size: 1.375rem; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 12px; }
.feature p { color: var(--muted); margin: 0; }
.feature-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; margin-bottom: 28px; }
.feature-icon svg { width: 40px; height: 40px; }
.t-nl { background: var(--nl-tint); color: var(--nl-deep); }
.t-fr { background: var(--fr-tint); color: var(--fr-deep); }
.t-pt { background: var(--pt-tint); color: var(--pt-deep); }

/* ---------- Languages ---------- */
.lang-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.lang-card {
  position: relative; overflow: hidden; border-radius: 36px; padding: clamp(32px, 4vw, 48px);
  min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end;
}
.lang-card > :not(.lc-shape) { position: relative; max-width: 30em; }
.lang-card h3 { font-size: 1.625rem; letter-spacing: -.015em; margin-bottom: 10px; }
.lang-card p { margin-bottom: 18px; }
.lc-hello {
  font: 600 clamp(3rem, 2rem + 3vw, 4.75rem)/1 var(--font-display); font-style: italic; font-variation-settings: "opsz" 144;
  letter-spacing: -.03em; margin: 0 0 auto !important; padding-bottom: 40px;
}
.lc-exams { display: inline-block; align-self: flex-start; background: rgba(255, 255, 255, .78); padding: 8px 14px; border-radius: 999px; font-size: .95rem; font-weight: 600; margin: 0 !important; }
.lc-shape { width: 240px; aspect-ratio: 1; right: -60px; top: -60px; opacity: .95; }
.lc-nl { background: var(--nl-tint); } .lc-nl .lc-hello { color: var(--nl-deep); }
.lc-fr { background: var(--fr-tint); } .lc-fr .lc-hello { color: var(--fr-deep); }
.lc-en { background: var(--en-tint); } .lc-en .lc-hello { color: var(--en-deep); }
.lc-pt { background: var(--pt-tint); } .lc-pt .lc-hello { color: var(--pt-deep); }

/* ---------- Steps ---------- */
.steps-wrap { max-width: 1120px; margin-inline: auto; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: 23px; left: 64px; right: -16px; height: 2px; background: var(--line); }
.step:last-child::before { display: none; }
.step-num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; margin-bottom: 22px;
  font: 600 1.375rem/1 var(--font-display); color: #fff; background: var(--c);
}
.step-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step-body p { margin: 0; color: var(--muted); }
.step:nth-child(1) { --c: var(--nl-deep); }
.step:nth-child(2) { --c: var(--fr); }
.step:nth-child(3) { --c: var(--en); }
.step:nth-child(4) { --c: var(--pt); }
.step:nth-child(5) { --c: var(--ink); }

/* ---------- Levels ---------- */
.stairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-items: end; }
.stair {
  display: flex; flex-direction: column; gap: 6px; padding: 22px 18px;
  min-height: calc(236px + var(--i) * 36px); border-radius: 24px 24px 10px 10px; font-size: .975rem;
  hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word;
}
.stair strong { font-size: 1rem; line-height: 1.3; }
.stair span:last-child { color: inherit; opacity: .85; line-height: 1.45; }
.stair-code { font: 600 2.25rem/1 var(--font-display); letter-spacing: -.02em; margin-bottom: 6px; }
.stair:nth-child(1) { background: var(--nl-tint); }
.stair:nth-child(2) { background: #FFD9BF; }
.stair:nth-child(3) { background: var(--fr-tint); }
.stair:nth-child(4) { background: #CDD1FF; }
.stair:nth-child(5) { background: var(--pt-tint); }
.stair:nth-child(6) { background: var(--ink); color: #fff; }
.stair:nth-child(6) span:last-child { opacity: .9; }

/* ---------- Certification band ---------- */
.certs {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  background: var(--ink); color: #fff; border-radius: 40px; padding: clamp(36px, 6vw, 80px);
}
.certs p { color: #D9D7E4; font-size: 1.125rem; max-width: 34em; }
.ticks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { margin-top: .2em; color: var(--cta); }
.certs .ticks li { font-weight: 500; }
.cert-visual { position: relative; min-height: 360px; }
.cv-1 { width: 140px; aspect-ratio: 1; right: -10px; top: -10px; }
.cv-2 { width: 200px; aspect-ratio: 1; left: -30px; bottom: -40px; }
.cert-card {
  position: absolute; inset: 40px 30px; translate: 0 var(--py, 0px); rotate: 4deg;
  background: #FFFDF8; color: var(--ink); border-radius: 12px; padding: 32px; box-shadow: none;
  display: flex; flex-direction: column; outline: 2px dashed #E3D8C3; outline-offset: -14px;
}
.cert-card p { margin: 0; color: var(--ink); }
.cert-kicker { font-size: .8125rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) !important; }
.cert-title { font: 600 1.375rem/1.2 var(--font-display); margin: 8px 0 auto !important; }
.cert-level { font: 600 3.25rem/1 var(--font-display); letter-spacing: -.03em; color: var(--fr) !important; }
.cert-lang { font-weight: 600; margin-top: 4px !important; }
.cert-lines { display: grid; gap: 8px; margin-top: 18px; width: 55%; }
.cert-lines i { height: 6px; border-radius: 3px; background: var(--line); }
.cert-lines i + i { width: 70%; }
.cert-seal { position: absolute; right: 26px; bottom: 26px; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--cta); color: var(--ink); box-shadow: 0 0 0 6px #FFF1B8; }
.cert-seal svg { width: 32px; height: 32px; }

/* ---------- Stories ---------- */
.story { margin: 0; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); border-top: 8px solid var(--c); }
.s-nl { --c: var(--nl); } .s-fr { --c: var(--fr); } .s-en { --c: var(--en); }
.route { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; margin-bottom: 24px; }
.route-arc { width: 72px; height: 20px; color: var(--c); flex: none; }
.story blockquote { margin: 0 0 24px; flex: 1; }
.story blockquote p { font: 500 1.3rem/1.45 var(--font-display); letter-spacing: -.005em; margin: 0; }
.story blockquote p::before { content: "“"; display: block; font-size: 3.5rem; line-height: .6; color: var(--c); margin-bottom: 10px; }
.story figcaption { color: var(--muted); font-size: 1rem; }
.story figcaption strong { display: block; color: var(--ink); }

/* ---------- Pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.price h3 { font-size: 1.2rem; margin-bottom: 18px; }
.price-amount { font: 600 2.75rem/1 var(--font-display); letter-spacing: -.03em; margin: 0 0 6px; }
.price-unit { color: var(--muted); font-size: 1rem; margin-bottom: 24px; }
.price .ticks { margin-bottom: 28px; flex: 1; font-size: 1rem; }
.price .ticks .ico { color: var(--pt); }
.price .btn { width: 100%; }
.price-featured { background: var(--fr); color: #fff; box-shadow: none; }
.price-featured .price-unit { color: #DCDFFF; }
.price-featured .ticks .ico { color: var(--cta); }
.price-note { margin: 32px 0 0; text-align: center; color: var(--muted); }

/* ---------- Booking ---------- */
.book { overflow: clip; }
.bb-1 { width: 260px; aspect-ratio: 1; left: -110px; top: 18%; }
.bb-2 { width: 200px; aspect-ratio: 1; right: -80px; bottom: 12%; }
.book .wrap { position: relative; z-index: 1; }
.book-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: start; }
.sched h3, .book-done h3 { font-size: 1.375rem; margin-bottom: 6px; }
.sched .muted { font-size: 1rem; margin-bottom: 20px; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 16px; }
.day, .slot {
  font: inherit; color: var(--ink); background: var(--bg); border: 2px solid transparent; border-radius: 16px; cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px; font-size: .875rem; text-transform: capitalize; }
.day strong { font-size: 1.25rem; line-height: 1.1; }
.day span { white-space: nowrap; }
.day:hover, .slot:hover:not(:disabled) { border-color: var(--ink); }
.day[aria-pressed="true"] { background: var(--ink); color: #fff; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { min-height: 48px; font-weight: 600; font-size: 1rem; }
.slot[aria-pressed="true"] { background: var(--cta); border-color: var(--ink); }
.slot:disabled { cursor: not-allowed; color: #77788C; text-decoration: line-through; background: transparent; border: 2px dashed var(--line); }
.sched-status { margin: 16px 0 0; font-weight: 600; min-height: 1.6em; font-size: 1rem; }

.book-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 1rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #CBC1AF; border-radius: 14px; padding: 13px 16px; min-height: 52px;
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%2317172B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 18px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fr); box-shadow: 0 0 0 4px rgba(62, 72, 240, .18); }
.hint { margin: 0; color: var(--muted); font-size: .9375rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 6px; }
.book-done { text-align: center; padding: 32px 8px; }
.book-done:focus { outline: none; }
.done-mark { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--pt-tint); color: var(--pt-deep); }
.done-mark .ico { width: 36px; height: 36px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px; font-weight: 600; font-size: 1.125rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' fill='none' stroke='%2317172B' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 16px;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: start; }
.footer-tagline { color: var(--muted); margin: 16px 0 0; max-width: 26em; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 6px 32px; }
.footer-nav a { text-decoration: none; font-weight: 500; padding: 6px 0; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-side { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
.footer-base p { margin: 0; }
.footer-base a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Scroll reveal (only when JS runs) ---------- */
.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s ease, transform .9s cubic-bezier(.2, .75, .2, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .blob svg, .call-live i { animation: none; }
  .rot-item .rot-text::after { display: none; }
  .btn, .btn .ico, .menu-btn span { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .main-nav a { padding: 10px 8px; font-size: .95rem; }
}

@media (max-width: 1120px) {
  .main-nav { display: none; }
  .menu-btn { display: grid; }
  .main-nav ~ .header-actions { margin-left: auto; }
  .stairs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stair { min-height: calc(170px + var(--i) * 12px); }
  .prices { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; }
  .step { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding-bottom: 28px; }
  .step::before { top: 56px; bottom: 4px; left: 23px; right: auto; width: 2px; height: auto; }
  .step-num { margin: 0; }
  .step-body { padding-top: 10px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 460px; max-width: 560px; width: 100%; margin-inline: auto; }
  .grid-3 { grid-template-columns: 1fr; }
  .certs { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (max-width: 760px) {
  .lang-grid { grid-template-columns: 1fr; }
  .lang-card { min-height: 0; }
  .lc-shape { width: 170px; right: -50px; top: -50px; }
}

@media (max-width: 600px) {
  body { font-size: 1.0625rem; }
  .header-actions .btn { display: none; }
  .header-inner { gap: 12px; }
  :root { --header-h: 58px; }
  .brand { font-size: 1rem; gap: 10px; }
  .lang-switch a { min-width: 34px; padding: 0 6px; }
}

@media (max-width: 420px) {
  .header-inner, .header-actions { gap: 8px; }
  .brand { gap: 8px; font-size: .9375rem; }
  .brand-mark { grid-template-columns: repeat(2, 11px); gap: 2px; }
  .brand-mark i { width: 11px; height: 11px; }
  .lang-switch { padding: 3px; }
  .lang-switch a { min-width: 30px; padding: 0 4px; }
  .menu-btn { width: 40px; height: 40px; }
  .hero-ctas .btn { width: 100%; }
  .hero-visual { height: 380px; }
  .call { left: 2%; right: 2%; top: 16%; }
  .bubble { font-size: 1.1rem; padding: 11px 15px; }
  .b-nl { left: 0; } .b-en { left: 0; top: 64%; } .b-pt { right: 0; } .b-fr { right: 2%; }
  .mini { font-size: .8125rem; padding: 10px 14px 10px 10px; }
  .mini-next { display: none; }
  .mini-level { bottom: 0; }
  .stairs { grid-template-columns: 1fr; }
  .stair { min-height: 0; border-radius: 20px; }
  .prices { grid-template-columns: 1fr; }
  .book-form { grid-template-columns: 1fr; }
  .days { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .day { padding: 10px 2px; font-size: .8125rem; }
  .cert-visual { min-height: 300px; }
  .cert-card { inset: 24px 8px; padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-side { flex-direction: column; align-items: flex-start; }
}
