/* ==========================================================
   Learn French with Vineet Bro — site styles
   Colours: navy #0B2A6B · red #C8102E · white · cream #FBF7F0
   ========================================================== */

:root {
  --navy: #0B2A6B;
  --navy-deep: #081E50;
  --ink: #0A1F4D;
  --ink-2: #22335C;
  --muted: #4B5A7A;
  --red: #C8102E;
  --red-dark: #A50D26;
  --pink: #FF8A9A;
  --cream: #FBF7F0;
  --sky: #F3F7FD;
  --blue-50: #EEF2FA;
  --red-50: #FCEDEF;
  --line: #E3E8F2;
  --white: #FFFFFF;
  --on-navy: #C9D5EE;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Kaushan Script', cursive;
  --hand: 'Caveat', cursive;

  --radius: 20px;
  --shadow: 0 18px 50px rgba(11, 42, 107, 0.12);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
/* ---------- Accessibility helpers ---------- */
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.bg-navy :focus-visible, .cta :focus-visible, .site-footer :focus-visible, .page-hero.navy :focus-visible, .course.featured :focus-visible, .price-card.featured :focus-visible { outline-color: var(--white); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 20px; border-radius: 10px; background: var(--navy); color: var(--white); font-weight: 700; }
.skip-link:focus { top: 12px; color: var(--white); }
main:focus { outline: none; }
.no-js .lang-toggle { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn-red:hover, .tile:hover { transform: none; }
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Tricolour ---------- */
.tricolour { display: inline-flex; width: 48px; height: 14px; border-radius: 2px; overflow: hidden; border: 1px solid #DCE3F1; }
.tricolour span { flex: 1; }
.tricolour span:nth-child(1) { background: var(--navy); }
.tricolour span:nth-child(2) { background: var(--white); }
.tricolour span:nth-child(3) { background: var(--red); }
.tricolour-bar { display: flex; height: 6px; }
.tricolour-bar span { flex: 1; }
.tricolour-bar span:nth-child(1) { background: var(--navy); }
.tricolour-bar span:nth-child(2) { background: var(--white); }
.tricolour-bar span:nth-child(3) { background: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 14px; border: 0;
  font-family: var(--sans); font-weight: 600; font-size: 16px; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 10px 24px rgba(200, 16, 46, .22); }
.btn-red:hover { background: var(--red-dark); color: var(--white); transform: translateY(-1px); }
.btn-light { background: var(--white); color: var(--navy); border: 1px solid #DCE3F1; }
.btn-light:hover { color: var(--red); }
.btn-soft { background: var(--blue-50); color: var(--navy); }
.btn-soft:hover { background: #E2E9F7; color: var(--navy); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.6); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn-lg { min-height: 60px; padding: 0 34px; font-size: 17px; }
.btn-pill { border-radius: 999px; min-height: 48px; padding: 0 24px; font-size: 15px; }
.btn-block { width: 100%; }

.play-link { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; font-size: 17px; color: var(--ink); }
.play-link .play { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--white); box-shadow: 0 6px 20px rgba(11, 42, 107, .14); }
.play-link .play svg { width: 20px; height: 20px; fill: var(--red); margin-left: 3px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red); }
.text-link svg { width: 16px; height: 16px; }
.text-link:hover { color: var(--red-dark); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid #E6EAF3; }
.header-inner { max-width: 1440px; margin: 0 auto; height: 84px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand svg { width: 32px; height: 42px; }
.brand-name { display: block; font-family: var(--serif); font-weight: 800; font-size: 24px; color: var(--navy); line-height: 1; }
.brand-tag { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--ink); padding: 8px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-links a:hover { color: var(--red); }
.nav-links a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle { display: flex; padding: 4px; background: var(--blue-50); border-radius: 999px; }
.lang-toggle button { min-width: 44px; height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--navy); font: 700 14px var(--sans); cursor: pointer; }
.lang-toggle button[aria-pressed="true"] { background: var(--navy); color: var(--white); }

.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--navy); cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; stroke: var(--white); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-sky { background: var(--sky); }
.bg-navy { background: var(--navy); color: var(--white); }
.eyebrow { display: block; font-family: var(--hand); font-weight: 700; font-size: 30px; line-height: 1.1; color: var(--red); margin-bottom: 10px; }
.bg-navy .eyebrow { color: var(--pink); }
.title { font-family: var(--serif); font-weight: 800; font-size: clamp(34px, 4.2vw, 50px); color: var(--navy); }
.bg-navy .title { color: var(--white); }
.lead { font-size: 18px; color: var(--muted); max-width: 440px; }
.bg-navy .lead { color: var(--on-navy); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--sky); padding: 64px 0 40px; min-height: 780px; }
.hero-img { position: absolute; top: 0; height: 100%; object-fit: cover; pointer-events: none; }
.hero-img.left { left: 0; width: 38%; max-width: 560px; object-position: left top; -webkit-mask-image: linear-gradient(to right, #000 84%, transparent); mask-image: linear-gradient(to right, #000 84%, transparent); }
.hero-img.right { right: 0; width: 30%; max-width: 440px; object-position: center top; -webkit-mask-image: linear-gradient(to left, #000 55%, transparent); mask-image: linear-gradient(to left, #000 55%, transparent); }
.hero-content { position: relative; max-width: 760px; margin: 0 auto; padding: 0 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.badge { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px; background: var(--white); border: 1px solid #DCE3F1; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--navy); }
.badge .tricolour { width: 18px; height: 12px; border: 0; }
.hero h1 { font-family: var(--serif); font-weight: 800; font-style: italic; font-size: clamp(42px, 6vw, 78px); line-height: 1.04; letter-spacing: -1px; color: var(--navy); }
.hero h1 em, .accent { color: var(--red); font-style: inherit; }
.divider { display: flex; align-items: center; gap: 12px; }
.divider .line { width: 80px; height: 2px; background: var(--navy); }
.divider .line.red { background: var(--red); }
.hero-sub { font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-2); max-width: 600px; }
.hero-sub strong { color: var(--red); }
.signature { display: flex; align-items: center; gap: 14px; }
.signature .dash { width: 36px; height: 3px; background: var(--navy); border-radius: 2px; }
.signature .name { display: flex; flex-direction: column; align-items: center; }
.signature .name span { font-family: var(--script); font-size: clamp(38px, 4vw, 52px); line-height: 1.1; color: var(--navy); }
.signature .name svg { width: 220px; height: 14px; margin-top: -6px; }
.signature .cup { width: 40px; height: 40px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }

.features { position: relative; max-width: 860px; margin: 48px auto 0; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; }
.courses-grid { max-width: 960px; margin: 0 auto; }
.feature { display: flex; align-items: center; gap: 14px; padding: 4px 16px; }
.feature + .feature { border-left: 1px solid #E6EAF3; }
.feature .ico { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; background: var(--blue-50); }
.feature .ico.red { background: var(--red-50); }
.feature .ico svg { width: 26px; height: 26px; }
.feature strong { display: block; font-size: 16px; }
.feature span { font-size: 14px; color: var(--muted); }

/* ---------- Icon helpers ---------- */
.i-stroke { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.c-navy { color: var(--navy); }
.c-red { color: var(--red); }

/* ---------- Course cards ---------- */
.course { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 36px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.course h3 { font-family: var(--serif); font-style: italic; font-weight: 800; font-size: 40px; color: var(--navy); }
.course p { color: var(--muted); }
.course .checks { display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; }
.course .checks li { display: flex; gap: 10px; align-items: center; }
.course .checks svg { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--red); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.course .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid #E6EAF3; }
.course .price { font-size: 15px; color: var(--muted); }
.course .price strong { font-size: 22px; color: var(--navy); }
.course .top { display: flex; align-items: center; justify-content: space-between; }
.course.featured { background: var(--navy); border-color: var(--navy); color: var(--white); }
.course.featured::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(to right, var(--navy) 33.3%, var(--white) 33.3% 66.6%, var(--red) 66.6%); }
.course.featured h3 { color: var(--white); }
.course.featured p { color: #DCE4F5; }
.course.featured .kicker { color: var(--on-navy); }
.course.featured .checks svg { stroke: var(--pink); }
.course.featured .foot { border-top-color: rgba(255,255,255,.16); }
.course.featured .price { color: var(--on-navy); }
.course.featured .price strong { color: var(--white); }
.pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 12px; font-weight: 700; }

/* ---------- Level path ---------- */
.level-path { position: relative; }
.level-path::before { content: ""; position: absolute; left: 8%; right: 8%; top: 36px; height: 3px; background: linear-gradient(to right, var(--navy) 33.3%, #DCE3F1 33.3% 66.6%, var(--red) 66.6%); }
.level { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.level .dot { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; font-family: var(--serif); font-weight: 800; font-size: 24px; border: 5px solid var(--white); background: var(--navy); color: var(--white); }
.level .dot.outline { background: var(--white); border: 3px solid var(--navy); color: var(--navy); }
.level .dot.outline-red { background: var(--white); border: 3px solid var(--red); color: var(--red); }
.level .dot.red { background: var(--red); }
.level strong { font-size: 17px; }
.level span { font-size: 14px; color: var(--muted); }

/* ---------- Meet ---------- */
.meet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.photo-slot { position: relative; min-height: 480px; }
.photo-frame { width: 100%; max-width: 440px; height: 480px; border-radius: 28px; overflow: hidden; background: var(--blue-50); border: 2px dashed #9FB0D4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); text-align: center; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame.has-photo { border: 0; }
.chalkboard { position: absolute; right: 0; bottom: -10px; width: 230px; padding: 22px 26px; display: flex; flex-direction: column; background: #1E2A26; border: 8px solid #8A5A34; border-radius: 10px; box-shadow: 0 16px 40px rgba(10,31,77,.25); font-family: var(--hand); font-size: 30px; line-height: 1.2; color: #F5F1E6; transform: rotate(3deg); }
.chalkboard .heart { color: var(--pink); font-size: 26px; }
.meet-copy { display: flex; flex-direction: column; gap: 20px; }
.meet-copy p { font-size: 18px; color: var(--ink-2); }
.meet-copy p.soft { color: var(--muted); }
.stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat strong { display: block; font-family: var(--serif); font-weight: 800; font-size: 34px; color: var(--navy); line-height: 1.2; }
.stat strong.red { color: var(--red); }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- Navy cards (steps / exams / experience) ---------- */
.glass { display: flex; flex-direction: column; gap: 12px; padding: 30px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); }
.glass .num { font-family: var(--serif); font-style: italic; font-weight: 800; font-size: 44px; line-height: 1; color: var(--pink); }
.glass .num.white { color: var(--white); }
.glass h3 { font-family: var(--sans); font-weight: 700; font-size: 20px; }
.glass h3.serif { font-family: var(--serif); font-weight: 800; font-size: 26px; line-height: 1.2; }
.glass p { font-size: 15.5px; color: var(--on-navy); }
.glass .role { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--pink); }
.glass.top-red { border-top: 4px solid var(--red); }
.glass.top-white { border-top: 4px solid var(--white); }

/* ---------- Testimonials ---------- */
.quote { margin: 0; display: flex; flex-direction: column; gap: 18px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; }
.quote svg { width: 34px; height: 26px; }
.quote blockquote { margin: 0; font-size: 17px; color: var(--ink-2); }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-50); flex-shrink: 0; }
.quote figcaption strong { display: block; font-size: 15px; }
.quote figcaption span { font-size: 13.5px; color: var(--muted); }

/* ---------- Resource tiles ---------- */
.tile { display: flex; flex-direction: column; gap: 12px; min-height: 230px; padding: 28px; border-radius: 18px; color: var(--ink); }
.tile h3 { font-family: var(--serif); font-weight: 700; font-size: 26px; color: var(--navy); }
.tile p { font-size: 15px; color: var(--muted); }
.tile .tag { margin-top: auto; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--red); }
.tile.navy { background: var(--navy); color: var(--white); }
.tile.navy h3 { color: var(--white); }
.tile.navy p { color: var(--on-navy); }
.tile.navy .tag { color: var(--pink); }
.tile.cream { background: #F6F1E7; border: 1px solid #E9DFCB; }
.tile.red { background: var(--red); color: var(--white); }
.tile.red h3, .tile.red .tag { color: var(--white); }
.tile.red p { color: #FFE3E7; }
.tile.blue { background: var(--blue-50); border: 1px solid #DCE3F1; }
.tile.blue .tag { color: var(--navy); }
.tile.navy:hover, .tile.red:hover { color: var(--white); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--navy); color: var(--white); text-align: center; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(8, 30, 80, .72); }
.cta .inner { position: relative; z-index: 1; padding: 100px 24px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta .script { font-family: var(--script); font-size: 34px; color: #FF9AA8; }
.cta h2 { font-family: var(--serif); font-style: italic; font-weight: 800; font-size: clamp(34px, 4.6vw, 58px); }
.cta .actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
.contact-copy { display: flex; flex-direction: column; gap: 20px; }
.contact-copy .lead { max-width: none; }
.contact-list { display: flex; flex-direction: column; gap: 16px; padding-top: 10px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.contact-list .ico { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--white); border: 1px solid var(--line); color: var(--navy); }
.contact-list svg { width: 20px; height: 20px; }
.form { display: flex; flex-direction: column; gap: 18px; padding: 36px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 50px rgba(11,42,107,.08); }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { width: 100%; min-height: 50px; padding: 0 16px; border: 1px solid #CFD7E8; border-radius: 12px; font: 15px var(--sans); color: var(--ink); background: #FBFCFE; }
.form textarea { min-height: 130px; padding: 14px 16px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.form .note { font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- Sub-page hero ---------- */
.page-hero { background: var(--sky); padding: 64px 0 72px; }
.page-hero .container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs span:last-child { color: var(--ink); font-weight: 600; }
.page-hero h1 { font-family: var(--serif); font-weight: 800; font-style: italic; font-size: clamp(42px, 5vw, 64px); line-height: 1.05; letter-spacing: -.8px; color: var(--navy); margin: 4px 0 20px; }
.page-hero p { font-size: 19px; color: var(--ink-2); max-width: 520px; }
.page-hero .actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.page-hero.navy { background: var(--navy); color: var(--white); }
.page-hero.navy .crumbs, .page-hero.navy .crumbs a { color: var(--on-navy); }
.page-hero.navy .crumbs span:last-child { color: var(--white); }
.page-hero.navy h1 { color: var(--white); }
.page-hero.navy h1 .accent { color: var(--pink); }
.page-hero.navy p { color: #DCE4F5; }
.page-hero.navy .eyebrow { color: var(--pink); }
.hero-visual { position: relative; min-height: 460px; }
.hero-visual img { width: 100%; height: 440px; object-fit: cover; object-position: left 40%; border-radius: 28px; box-shadow: 0 24px 60px rgba(11,42,107,.18); }
.word-card { position: absolute; left: -24px; bottom: -10px; width: 250px; padding: 20px 22px; background: var(--white); border-radius: 18px; box-shadow: 0 16px 40px rgba(11,42,107,.16); }
.word-card .kicker { font-size: 12px; }
.word-card strong { display: block; font-family: var(--serif); font-style: italic; font-weight: 800; font-size: 28px; color: var(--navy); }
.word-card span { font-size: 14px; color: var(--muted); }
.bubbles { position: relative; min-height: 440px; }
.bubble { position: absolute; padding: 26px 30px; font-family: var(--serif); font-style: italic; font-weight: 800; line-height: 1.12; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.bubble.one { right: 20px; top: 10px; width: 360px; background: var(--white); color: var(--navy); font-size: 42px; border-radius: 28px 28px 28px 6px; }
.bubble.two { left: 0; top: 250px; width: 300px; background: var(--red); color: var(--white); font-size: 32px; border-radius: 28px 28px 6px 28px; }
.bubbles .cup { position: absolute; right: 60px; bottom: 10px; width: 110px; height: 110px; stroke: var(--white); }

.facts { background: var(--white); border-bottom: 1px solid #E6EAF3; padding: 48px 0; }
.fact strong { display: block; font-family: var(--serif); font-weight: 800; font-size: 32px; color: var(--navy); }
.fact:nth-child(even) strong { color: var(--red); }
.fact span { font-size: 15px; color: var(--muted); }
.fact + .fact { border-left: 1px solid #E6EAF3; padding-left: 24px; }

.topic { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.topic h3 { font-family: var(--serif); font-weight: 700; font-size: 26px; color: var(--navy); margin-bottom: 10px; }
.topic:nth-child(even) h3 { color: var(--red); }
.topic p { font-size: 15.5px; color: var(--muted); }

.lvl-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius); background: var(--sky); }
.lvl-card.warm { background: var(--red-50); }
.lvl-card.outlined { background: var(--white); border: 2px solid var(--navy); }
.lvl-card .head { display: flex; align-items: center; gap: 12px; }
.lvl-card .badge-lvl { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; font-family: var(--serif); font-weight: 800; font-size: 18px; background: var(--navy); color: var(--white); }
.lvl-card .badge-lvl.o-navy { background: var(--white); border: 3px solid var(--navy); color: var(--navy); }
.lvl-card .badge-lvl.o-red { background: var(--white); border: 3px solid var(--red); color: var(--red); }
.lvl-card .badge-lvl.red { background: var(--red); }
.lvl-card strong { font-size: 19px; }
.lvl-card .big { font-family: var(--serif); font-weight: 800; font-size: 28px; color: var(--navy); }
.lvl-card.warm .big { color: var(--red); }
.lvl-card p { font-size: 15.5px; color: var(--muted); }

.session { border-top: 3px solid var(--navy); }
.session > li { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 0; }
.session > li:first-child { padding-left: 0; }
.session > li + div { border-left: 1px solid var(--line); }
.session .time { font-size: 14px; font-weight: 700; color: var(--red); }
.session strong { font-size: 19px; }
.session p { font-size: 15px; color: var(--muted); }

.price-card { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 330px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; }
.price-card .name { font-weight: 700; font-size: 18px; }
.price-card .amount { font-family: var(--serif); font-weight: 800; font-size: 38px; color: var(--navy); }
.price-card p { font-size: 15px; color: var(--muted); }
.price-card .btn { margin-top: auto; }
.price-card.featured { background: var(--navy); border-color: var(--navy); color: var(--white); }
.price-card.featured .amount { color: var(--white); }
.price-card.featured p { color: var(--on-navy); }
.price-card .pill { position: absolute; top: 24px; right: 24px; }

.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
.faq-list h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.faq-list p { font-size: 15.5px; color: var(--muted); }

/* ---------- About ---------- */
.about-hero .container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: start; }
.years { position: absolute; right: 20px; bottom: 0; width: 200px; padding: 22px; background: var(--navy); color: var(--white); border-radius: 20px; box-shadow: 0 16px 40px rgba(11,42,107,.25); }
.years strong { display: block; font-family: var(--serif); font-weight: 800; font-size: 52px; line-height: 1; }
.years span { font-size: 15px; color: #DCE4F5; }
.about-name { font-family: var(--script) !important; font-style: normal !important; font-weight: 400 !important; font-size: clamp(56px, 6vw, 78px) !important; letter-spacing: 0 !important; }
.about-quote { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 28px; line-height: 1.3; color: var(--ink) !important; margin-bottom: 14px; }
.role-label { font-size: 14px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--navy); color: var(--white); font-weight: 600; font-size: 14px; }
.chip.red { background: var(--red); }
.chip.line { background: var(--white); border: 1.5px solid var(--navy); color: var(--navy); }
.story { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.story-copy { display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.story-copy strong { color: var(--navy); }
.qual { display: flex; align-items: center; gap: 18px; padding: 24px; background: var(--sky); border-radius: 18px; }
.qual.warm { background: var(--red-50); }
.qual .ico { display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px; background: var(--navy); }
.qual.warm .ico { background: var(--red); }
.qual .ico svg { width: 26px; height: 26px; stroke: var(--white); }
.qual strong { display: block; font-size: 18px; }
.qual span { font-size: 15px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 64px 24px 40px; }
.footer-brand .brand-name { color: var(--white); font-size: 30px; margin-bottom: 14px; }
.footer-brand p { font-size: 15px; max-width: 340px; }
.footer-brand .script { display: block; font-family: var(--script); font-size: 26px; color: #FF9AA8; margin-top: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-col h2 { margin: 0 0 4px; font-family: var(--sans); line-height: 1.3; color: var(--white); font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase; }
.footer-col a { color: var(--on-navy); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1280px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 14px; }
  .brand-tag { display: none; }
}

@media (max-width: 1140px) {
  .menu-btn { display: grid; }
  .nav-links {
    position: absolute; top: 84px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid #E6EAF3;
    box-shadow: 0 20px 40px rgba(11,42,107,.12);
    padding: 8px 24px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid #EEF1F7; }
  .nav-links a[aria-current="page"] { border-bottom-color: #EEF1F7; }
  .header-actions .btn-pill { display: none; }
  .brand-tag { display: block; }

  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-img.left { width: 26%; opacity: .55; }
  .hero-img.right { width: 24%; opacity: .55; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .level-path::before { display: none; }
  .meet, .contact, .page-hero .container, .about-hero .container, .story, .faq { grid-template-columns: 1fr; gap: 48px; }
  .features { margin-left: 24px; margin-right: 24px; padding: 20px 8px; }
  .feature { padding: 4px 12px; }
  .hero { min-height: 0; }
  .hero-img.left { display: none; }
  .hero-img.right { width: 100%; max-width: none; height: 360px; opacity: 1; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); object-position: center 18%; }
  .hero { padding-top: 280px; }
  .session { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .session > li { padding-left: 24px !important; }
  .session > li:nth-child(3) { border-left: 0; }
  .facts .grid-4 { row-gap: 28px; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-visual { max-width: 560px; }
  .word-card { left: 12px; }
}

@media (max-width: 600px) {
  .header-inner { height: 70px; padding: 0 16px; }
  .nav-links { top: 70px; }
  .brand svg { width: 24px; height: 32px; }
  .brand-name { font-size: 21px; }
  .brand-tag { display: none; }
  .lang-toggle button { min-width: 42px; height: 36px; }
  .container { padding: 0 16px; }
  .hero { padding-top: 250px; }
  .hero-img.right { height: 330px; }
  .hero-content { padding: 0 16px; }
  .divider .line { width: 50px; }
  .hero-actions { flex-direction: column; width: 100%; gap: 16px; }
  .hero-actions .btn { width: 100%; }
  .features { margin: 40px 16px 0; padding: 8px 20px; grid-template-columns: 1fr; }
  .feature { padding: 14px 0; }
  .feature + .feature { border-left: 0; border-top: 1px solid #E6EAF3; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course { padding: 26px 22px; }
  .course h3 { font-size: 32px; }
  .course .foot { flex-wrap: wrap; }
  .chalkboard { width: 190px; font-size: 25px; right: 0; }
  .photo-slot { min-height: 420px; }
  .photo-frame { height: 400px; }
  .form { padding: 24px 18px; }
  .form .row { grid-template-columns: 1fr; }
  .session { grid-template-columns: 1fr; }
  .session > li { padding: 20px 0 0 !important; border-left: 0 !important; }
  .fact + .fact { border-left: 0; padding-left: 0; }
  .faq-list { grid-template-columns: 1fr; }
  .bubbles { min-height: 340px; }
  .bubble.one { width: 280px; font-size: 32px; right: 0; }
  .bubble.two { width: 240px; font-size: 26px; top: 190px; }
  .bubbles .cup { width: 80px; height: 80px; right: 20px; }
  .hero-visual img { height: 320px; }
  .years { width: 170px; }
  .years strong { font-size: 42px; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding-top: 48px; }
  .stats { gap: 24px; }
}

/* heading resets for card titles */
.lvl-card h3.head { font-size: inherit; font-weight: inherit; line-height: 1.3; }
.price-card h3.name { line-height: 1.3; }
.page-hero .years { color: var(--white); font-size: 15px; }
.page-hero .years span { color: #DCE4F5; }
.page-hero .role-label { color: var(--red); font-size: 14px; }

/* Desktop: shift the highlight card right so the café coffee cup stays visible */
@media (min-width: 1141px) {
  .hero .features { max-width: 800px; margin-left: calc(50% - 180px); margin-right: auto; }
}
@media (min-width: 1141px) and (max-width: 1400px) {
  .hero-img.left { width: 30%; object-position: 92% top; }
}

/* ---------- WhatsApp ---------- */
.btn-wa { background: #0E7A3F; color: var(--white); }
.btn-wa:hover { background: #0A6333; color: var(--white); }
.form-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-actions .btn { padding: 0 16px; }
#wa-error { color: var(--red); font-weight: 600; min-height: 0; }
#wa-error:empty { display: none; }
.contact-list .ico-wa { color: #0E7A3F; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #0E7A3F; color: var(--white); box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.wa-float:hover { background: #0A6333; color: var(--white); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
@media (max-width: 600px) {
  .form-actions { grid-template-columns: 1fr; }
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}
.thanks { min-height: 60vh; display: flex; align-items: center; }
.thanks .title { font-style: italic; }
.form-actions { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form-actions .btn { white-space: nowrap; font-size: 16px; }
.form-actions { grid-template-columns: 1fr; }
.meet .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
.meet .stat strong { font-size: 30px; }
@media (max-width: 600px) { .meet .stat strong { font-size: 25px; } .meet .stats { gap: 18px 20px; } }
.photo-frame.has-photo img { object-position: center top; }
