/* ===========================================================
   EliaProDesign — landing styles
   Two themes via [data-palette]: "warm" and "fresh"
   =========================================================== */

:root {
  --font-head: "Unbounded", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --maxw: 1180px;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow-sm: 0 1px 2px rgba(20,28,52,.05), 0 4px 14px rgba(20,28,52,.05);
  --shadow-md: 0 8px 28px rgba(20,28,52,.10);
  --shadow-lg: 0 24px 60px rgba(20,28,52,.16);
  --header-h: 72px;
}

/* ---------- WARM palette: coral / yellow / deep navy ---------- */
:root,
[data-palette="warm"] {
  --bg:        #FBF6EF;
  --bg-2:      #F6EADB;
  --surface:   #FFFFFF;
  --text:      #22304D;
  --text-soft: #4A5A78;
  --text-mut:  #76849B;
  --primary:   #E47746;     /* coral */
  --primary-h: #D2632F;
  --on-primary:#FFFFFF;
  --secondary: #F5C057;     /* warm yellow */
  --on-secondary: #5A3A12;
  --accent:    #28467D;     /* deep navy */
  --ink:       #28467D;     /* dark anchor (footer / code) */
  --tint:      color-mix(in oklch, #E47746 13%, #FFFFFF);
  --tint-2:    color-mix(in oklch, #F5C057 20%, #FFFFFF);
  --border:    #ECE0D1;
  --ring:      color-mix(in oklch, #E47746 35%, transparent);
  --code-bg:   #28467D;
  --code-fg:   #FFE7D3;
  --code-accent: #F5C057;
  --mascot-1:  #E47746;
  --mascot-2:  #28467D;
  --mascot-3:  #F5C057;
}

/* ---------- FRESH palette: blue / violet / soft blue ---------- */
[data-palette="fresh"] {
  --bg:        #F8FBFE;
  --bg-2:      #E4EFF6;
  --surface:   #FFFFFF;
  --text:      #16344B;
  --text-soft: #3E5870;
  --text-mut:  #6B829A;
  --primary:   #006DA7;     /* blue */
  --primary-h: #015A8B;
  --on-primary:#FFFFFF;
  --secondary: #7F61D2;     /* violet */
  --on-secondary:#FFFFFF;
  --accent:    #94B4CF;     /* soft blue */
  --ink:       #0C3A5A;     /* dark anchor (footer / code) */
  --tint:      color-mix(in oklch, #006DA7 12%, #FFFFFF);
  --tint-2:    color-mix(in oklch, #7F61D2 14%, #FFFFFF);
  --border:    #D7E6F0;
  --ring:      color-mix(in oklch, #006DA7 35%, transparent);
  --code-bg:   #0C3A5A;
  --code-fg:   #D6EEFB;
  --code-accent: #94B4CF;
  --mascot-1:  #006DA7;
  --mascot-2:  #7F61D2;
  --mascot-3:  #94B4CF;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .5s var(--ease), color .5s var(--ease);
}

h1, h2, h3, .display {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}

code, .mono { font-family: "JetBrains Mono", ui-monospace, monospace; }

a { color: inherit; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: clamp(56px, 9vw, 116px) 0; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--tint);
  border: 1px solid color-mix(in oklch, var(--primary) 22%, transparent);
  padding: 6px 12px; border-radius: 999px;
}

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 54px); }
.section-head h2 { font-size: clamp(28px, 4.4vw, 46px); margin: 18px 0 0; }
.section-head p { color: var(--text-soft); font-size: clamp(16px,2.2vw,19px); margin: 14px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 16px;
  padding: 15px 26px; border-radius: 999px;
  border: none; cursor: pointer; text-decoration: none;
  background: var(--primary); color: var(--on-primary);
  box-shadow: 0 8px 22px color-mix(in oklch, var(--primary) 35%, transparent);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--primary-h); transform: translateY(-2px); box-shadow: 0 14px 30px color-mix(in oklch, var(--primary) 42%, transparent); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
.btn-lg { font-size: 18px; padding: 18px 34px; }
.btn-ghost {
  background: var(--surface); color: var(--text);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 var(--ring); pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .btn-pulse { position: relative; }
  .btn-pulse::after { animation: pulse 2.6s var(--ease) infinite; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--primary) 45%, transparent); }
  70% { box-shadow: 0 0 0 16px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}

/* ---------- Placeholder media (striped) ---------- */
.ph {
  position: relative; overflow: hidden;
  border-radius: var(--r-md);
  background:
    repeating-linear-gradient(135deg,
      color-mix(in oklch, var(--primary) 9%, var(--surface)) 0 14px,
      color-mix(in oklch, var(--primary) 4%, var(--surface)) 14px 28px);
  border: 1px solid var(--border);
  display: grid; place-items: center;
}
.ph span {
  font-family: "JetBrains Mono", monospace; font-size: 12.5px;
  color: var(--text-mut); text-align: center; padding: 10px 14px;
  background: color-mix(in oklch, var(--surface) 80%, transparent);
  border-radius: 999px; backdrop-filter: blur(2px);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
.reveal.d4 { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* code-pattern faint background motif */
.codebg::before {
  content: "{ } < / > [ ] ( ) ; def 01 == => print()";
  position: absolute; inset: 0;
  font-family: "JetBrains Mono", monospace; font-size: 30px;
  color: color-mix(in oklch, var(--primary) 6%, transparent);
  letter-spacing: .3em; line-height: 2.6; word-spacing: .4em;
  overflow: hidden; pointer-events: none; user-select: none;
  padding: 20px;
}

/* ---------- Mascots ---------- */
.mascot { overflow: visible; }
@media (prefers-reduced-motion: no-preference) {
  .mascot-bob { animation: bob 4s var(--ease) infinite; transform-origin: center bottom; }
  .mascot .eye { animation: blink 5.5s steps(1) infinite; transform-origin: center; }
  .mascot-blink { animation: glow 2.4s var(--ease) infinite; }
  .mascot-wave { animation: wave 1.8s var(--ease) infinite; transform-origin: 150px 150px; }
  .mascot-hover { animation: hover 4s var(--ease) infinite; }
}
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1.5deg); } }
@keyframes blink { 0%,92%,100% { transform: scaleY(1); } 95% { transform: scaleY(.15); } }
@keyframes glow { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes wave { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(-12deg); } }
@keyframes hover { 0%,100% { transform: scaleX(1); opacity: .18; } 50% { transform: scaleX(.7); opacity: .1; } }

.hide-mobile { }
@media (max-width: 760px) { .hide-mobile { display: none !important; } }

/* ---------- Disable motion (Tweaks) ---------- */
.no-motion .mascot-bob, .no-motion .mascot .eye, .no-motion .mascot-blink,
.no-motion .mascot-wave, .no-motion .mascot-hover, .no-motion .btn-pulse::after { animation: none !important; }
.no-motion .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60;
  display: none; align-items: center; justify-content: center;
  padding: 16px; border: none; border-radius: 999px; cursor: pointer;
  background: var(--primary); color: var(--on-primary);
  font-family: inherit; font-weight: 700; font-size: 16.5px;
  box-shadow: 0 10px 30px color-mix(in oklch, var(--primary) 45%, transparent);
}
.sticky-cta:active { transform: translateY(1px); }
@media (max-width: 760px) { .sticky-cta { display: flex; } body { padding-bottom: 80px; } }

/* components.css — header, hero, and section layouts */

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.header.solid {
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
.header-row { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.logo-mark {
  width: 40px; height: 44px; border-radius: 12px; overflow: hidden;
  box-shadow: 0 6px 16px var(--ring); flex: none; display: block;
}
.logo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
[data-palette="warm"] .logo-img.fresh { display: none; }
[data-palette="fresh"] .logo-img.warm { display: none; }
.logo-text { font-family: var(--font-head); font-size: 19px; letter-spacing: -.02em; color: var(--text); }
.logo-text b { color: var(--primary); font-weight: 700; }
.nav-desktop { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  text-decoration: none; color: var(--text-soft); font-weight: 600; font-size: 15px;
  padding: 9px 13px; border-radius: 10px; position: relative; transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--primary); background: var(--tint); }
.header-cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.nav-desktop + .header-cta { margin-left: 8px; }
@media (max-width: 980px) { .nav-desktop { display: none; } .header-cta { margin-left: auto; } }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; cursor: pointer; position: relative; }
.burger-i, .burger-i::before, .burger-i::after {
  content: ""; position: absolute; left: 50%; width: 20px; height: 2.4px; border-radius: 2px;
  background: var(--text); transform: translateX(-50%); transition: transform .3s var(--ease), opacity .2s;
}
.burger-i { top: 50%; margin-top: -1px; }
.burger-i::before { top: -6px; } .burger-i::after { top: 6px; }
.burger-i.x { background: transparent; }
.burger-i.x::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.burger-i.x::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }
@media (max-width: 980px) { .burger { display: block; } }

.mobile-menu {
  overflow: hidden; max-height: 0; opacity: 0; transition: max-height .4s var(--ease), opacity .3s;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.mobile-menu.open { max-height: 480px; opacity: 1; box-shadow: var(--shadow-md); }
.mobile-menu nav { display: flex; flex-direction: column; padding: 8px 22px; }
.m-link { text-decoration: none; color: var(--text); font-weight: 600; padding: 14px 6px; border-bottom: 1px solid var(--border); }
.m-link:last-child { border-bottom: none; }
.mobile-menu > .btn { margin: 0 22px 18px; }

/* ============ HERO shared ============ */
.hero { padding: clamp(36px, 6vw, 70px) 0 clamp(48px, 7vw, 92px); position: relative; overflow: hidden; }
.hero .hl { color: var(--primary); }
.hero-sub { font-size: clamp(17px, 2.4vw, 21px); color: var(--text-soft); margin: 18px 0 0; max-width: 30ch; }
.hero h1 { font-size: clamp(31px, 5.6vw, 60px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-actions.center { justify-content: center; }
.eyebrow { margin-bottom: 4px; }

.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 26px; padding: 0; margin: 26px 0 0; }
.trust li { display: flex; flex-direction: column; line-height: 1.2; }
.trust b { font-family: var(--font-head); font-size: 22px; color: var(--text); }
.trust span { font-size: 13.5px; color: var(--text-mut); max-width: 22ch; }
.hero-centered .trust, .center .trust { justify-content: center; }

/* ---- Variant 1: classic ---- */
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-illu { position: relative; min-height: 380px; }
.hero-ph { aspect-ratio: 4/3.4; width: 100%; }
.hero-ph span { font-size: 13px; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); z-index: -1; }
.blob-1 { width: 220px; height: 220px; background: var(--tint-2); top: -30px; right: -20px; }
.blob-2 { width: 160px; height: 160px; background: var(--tint); bottom: -20px; left: -30px; }
.codechip {
  position: absolute; left: -18px; bottom: 26px; background: var(--code-bg); color: var(--code-fg);
  border-radius: 14px; padding: 14px 16px 14px; box-shadow: var(--shadow-lg); font-size: 12.5px; line-height: 1.5;
}
.codechip .cc-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin: 0 4px 8px 0; background: #ffffff55; }
.codechip .cc-dot:first-child { background: var(--primary); }
.codechip pre { margin: 0; color: var(--code-fg); white-space: pre; }
.float-robot { position: absolute; top: -34px; right: -10px; }
.float-snake { position: absolute; bottom: -28px; right: 30px; }

/* ---- Variant 2: centered ---- */
.hero-center-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-center-inner h1 { font-size: clamp(30px, 6vw, 62px); margin-top: 14px; }
.hero-center-inner .hero-sub { margin-left: auto; margin-right: auto; max-width: 46ch; text-align: center; }
.center-mascots { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 6px; }

/* ---- Variant 3: editorial ---- */
.hero-ed-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.hero-ed-art { position: relative; min-height: 360px; display: grid; place-items: center; }
.ed-terminal { width: 100%; max-width: 440px; background: var(--code-bg); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.ed-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: color-mix(in oklch, var(--code-bg) 80%, black 10%); }
.ed-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ffffff44; }
.ed-bar span:first-child { background: var(--primary); }
.ed-bar em { margin-left: auto; color: #ffffffaa; font-style: normal; font-size: 12.5px; }
.ed-code { margin: 0; padding: 20px; color: var(--code-fg); font-size: 14px; line-height: 1.7; white-space: pre; overflow-x: auto; }
.ed-robot { position: absolute; right: -6px; bottom: -34px; }
.ed-snake { position: absolute; left: -22px; top: -30px; }

@media (max-width: 860px) {
  .hero-grid, .hero-ed-grid { grid-template-columns: 1fr; }
  .hero-illu, .hero-ed-art { order: -1; min-height: 300px; margin-bottom: 8px; }
  .float-robot { right: 0; top: -20px; }
  .float-snake { right: 12px; }
  .hero-sub { max-width: none; }
}
@media (max-width: 760px) {
  .codechip { left: 0; transform: scale(.9); transform-origin: left bottom; }
  .center-mascots { transform: scale(.85); }
}

/* sections.css — courses, how, materials, works, about, reviews, form, footer */

/* ===== COURSES ===== */
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course-card { padding: 26px; display: flex; flex-direction: column; align-items: flex-start; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in oklch, var(--primary) 30%, var(--border)); }
.course-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.course-age { font-size: 12.5px; color: var(--primary); background: var(--tint); padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.course-title { font-size: 21px; margin: 12px 0 8px; }
.course-result { color: var(--text-soft); margin: 0 0 18px; flex: 1; font-size: 15.5px; }
.course-link { margin-top: auto; text-decoration: none; font-weight: 700; color: var(--primary); display: inline-flex; gap: 7px; align-items: center; transition: gap .2s var(--ease); }
.course-link:hover { gap: 12px; }
.courses-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding: 22px 26px; background: var(--bg-2); border-radius: var(--r-md); }
.courses-foot p { margin: 0; color: var(--text-soft); font-size: 14px; }
@media (max-width: 880px) { .courses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .courses-grid { grid-template-columns: 1fr; } }

/* ===== HOW IT WORKS ===== */
.how { background: var(--bg-2); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); transition: transform .25s var(--ease), box-shadow .25s; }
.step-n { font-size: 30px; font-weight: 700; color: var(--primary); background: var(--tint); width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.step-t { font-size: 18px; margin-bottom: 8px; }
.step-d { color: var(--text-soft); font-size: 15px; margin: 0; }
.step-arrow { position: absolute; right: -16px; top: 44px; color: var(--primary); font-weight: 700; font-size: 22px; z-index: 2; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .step-arrow { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ===== MATERIALS ===== */
.materials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.materials-art { position: relative; min-height: 380px; }
.mat-ph { position: absolute; box-shadow: var(--shadow-md); }
.mat-ph-1 { width: 64%; aspect-ratio: 4/3; top: 0; left: 0; z-index: 2; }
.mat-ph-2 { width: 46%; aspect-ratio: 3/4; top: 36px; right: 0; z-index: 3; }
.mat-ph-3 { width: 52%; aspect-ratio: 4/3; bottom: 0; left: 14%; z-index: 1; }
.mat-snake { position: absolute; bottom: -10px; right: -6px; z-index: 4; }
.mat-list { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.mat-list li { position: relative; padding-left: 32px; color: var(--text-soft); }
.mat-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: var(--primary); color: var(--on-primary); border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.materials-copy h2 { font-size: clamp(26px, 4vw, 40px); margin-top: 14px; }
.materials-copy h2 .hl { color: var(--primary); }
.materials-copy > p { color: var(--text-soft); margin: 16px 0 0; }
@media (max-width: 820px) { .materials-grid { grid-template-columns: 1fr; } .materials-art { min-height: 320px; max-width: 460px; } }

/* ===== WORKS ===== */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work { margin: 0; }
.work-ph { aspect-ratio: 4/3; position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.work:hover .work-ph { transform: translateY(-5px) rotate(-.6deg); box-shadow: var(--shadow-md); }
.work-kind { position: absolute; top: 12px; left: 12px; font-size: 11px; background: var(--primary); color: var(--on-primary); padding: 4px 9px; border-radius: 999px; font-style: normal; font-weight: 600; }
.work-cap { margin-top: 12px; font-size: 15px; color: var(--text-soft); }
.work-cap b { color: var(--text); }
@media (max-width: 820px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .works-grid { grid-template-columns: 1fr; } }

/* ===== ABOUT ===== */
.about { }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-photo { position: relative; }
.about-ph { aspect-ratio: 4/5; border-radius: var(--r-lg); }
.about-badge { position: absolute; bottom: -18px; right: -10px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md); border-radius: 999px; padding: 8px 18px 8px 8px; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.about-copy h2 { font-size: clamp(26px, 4vw, 42px); margin-top: 14px; }
.about-copy p { color: var(--text-soft); margin: 16px 0 0; }
.about-nums { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.about-num { display: flex; flex-direction: column; }
.about-num b { font-size: 24px; color: var(--primary); font-weight: 700; }
.about-num span { font-size: 13.5px; color: var(--text-mut); max-width: 18ch; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 360px; } }

/* ===== REVIEWS ===== */
.reviews { background: var(--bg-2); }
.review-stage { display: flex; align-items: center; gap: 16px; }
.review-track { position: relative; flex: 1; min-height: 240px; }
.review-card { position: absolute; inset: 0; margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm); opacity: 0; transform: translateX(24px) scale(.98); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease); display: flex; flex-direction: column; }
.review-card.active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.quote-mark { font-family: var(--font-head); font-size: 64px; line-height: .6; color: var(--primary); opacity: .4; }
.review-card p { font-size: clamp(17px, 2.4vw, 22px); color: var(--text); margin: 8px 0 22px; flex: 1; text-wrap: pretty; }
.review-card footer { display: flex; align-items: center; gap: 14px; }
.rev-ava { width: 48px; height: 48px; border-radius: 50%; background: var(--tint); color: var(--primary); display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.review-card footer b { display: block; }
.review-card footer em { font-style: normal; color: var(--text-mut); font-size: 14px; }
.rev-nav { flex: none; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 20px; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), background .2s, color .2s; }
.rev-nav:hover { background: var(--primary); color: var(--on-primary); transform: scale(1.08); }
.rev-dots { display: flex; gap: 9px; justify-content: center; margin-top: 24px; }
.rev-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--border); cursor: pointer; padding: 0; transition: width .3s var(--ease), background .3s; }
.rev-dot.on { width: 28px; border-radius: 999px; background: var(--primary); }
@media (max-width: 620px) { .rev-nav { width: 42px; height: 42px; } .review-stage { gap: 8px; } }

/* ===== FORM ===== */
.form-sec { background: var(--bg-2); }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.form-inner { display: grid; grid-template-columns: 1fr 1.05fr; }
.form-copy { padding: clamp(30px, 4vw, 52px); background: var(--primary); color: var(--on-primary); position: relative; overflow: hidden; }
.form-copy .eyebrow { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.3); }
.form-copy h2 { color: #fff; font-size: clamp(25px, 3.4vw, 38px); margin-top: 16px; }
.form-copy > p { color: rgba(255,255,255,.92); margin: 16px 0 0; }
.form-mascot { position: absolute; right: 8px; bottom: -6px; opacity: 1; }
/* recolor mascot so it stands out on the primary-colored panel */
.form-copy { --mascot-1: #FFFFFF; --mascot-2: var(--ink); --mascot-3: var(--secondary); --surface: #FFFFFF; }
.form-mascot::before { content: ""; position: absolute; left: 50%; top: 46%; width: 132px; height: 132px; transform: translate(-50%,-50%); background: rgba(255,255,255,.16); border-radius: 50%; }
.form-mascot svg { position: relative; }
.form-fields { padding: clamp(28px, 4vw, 48px); display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-weight: 600; font-size: 14.5px; }
.field input, .field select { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--bg); color: var(--text); font-size: 16px; font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--ring); }
.field-msg { font-size: 12.5px; color: var(--text-mut); min-height: 16px; }
.field.has-err input, .field.has-err select { border-color: oklch(0.6 0.2 25); }
.field.has-err .field-msg { color: oklch(0.55 0.2 25); }
.form-submit { margin-top: 6px; width: 100%; }
.form-note { font-size: 12px; color: var(--text-mut); text-align: center; margin: 0; }
.form-done { padding: clamp(40px, 6vw, 72px) clamp(24px,5vw,48px); text-align: center; position: relative; }
.done-mascot { display: flex; justify-content: center; margin-bottom: 12px; }
.form-done h2 { font-size: clamp(26px, 4vw, 40px); }
.form-done p { color: var(--text-soft); max-width: 52ch; margin: 16px auto 28px; font-size: 17px; }
@media (max-width: 760px) { .form-inner { grid-template-columns: 1fr; } .form-mascot { display: none; } }

/* ===== FOOTER ===== */
.footer { background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 80px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 36px; }
.footer .logo-text { color: #fff; }
.footer .logo-text b { color: var(--secondary); }
.footer .logo-mark { box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.footer-brand p { color: rgba(255,255,255,.72); margin: 16px 0 0; max-width: 38ch; font-size: 15px; }
.footer-col h4 { font-family: var(--font-head); font-size: 14px; margin: 0 0 14px; color: #fff; }
.footer-col a, .foot-site { display: block; color: rgba(255,255,255,.78); text-decoration: none; padding: 6px 0; font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: var(--secondary); }
.foot-site { color: rgba(255,255,255,.5); font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.6); font-size: 13.5px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- FormIt messages (hidden when empty via :empty) ---------- */
.form-ok, .form-err { margin: 0 0 4px; padding: 12px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 600; }
.form-ok:empty, .form-err:empty { display: none; }
.form-ok { background: color-mix(in oklch, var(--primary) 12%, var(--surface)); color: var(--primary); border: 1px solid color-mix(in oklch, var(--primary) 30%, transparent); }
.form-err { background: oklch(0.95 0.05 25); color: oklch(0.5 0.2 25); border: 1px solid oklch(0.8 0.1 25); }
