/* ClassHub demo v2 — classhub.desma.com.mx (TOMi-inspired palette) */
:root {
  --navy: #14152e;
  --navy-2: #1d1f45;
  --navy-3: #2a2c5e;
  --purple: #5f5afa;
  --purple-ink: #4640e0;
  --violet: #8b5cf6;
  --cyan: #22c7e6;
  --lime: #76da32;
  --yellow: #ffb800;
  --lav: #f2f2ff;
  --lav-2: #e6e5ff;
  --white: #ffffff;
  --text: #1b1c3a;
  --muted: #5d5f86;
  --on-dark: #e4e5ff;
  --on-dark-muted: #a9abd6;
  --teach: var(--yellow);
  --it: var(--cyan);
  --lead: var(--violet);
  --fin: var(--lime);
  --role: var(--purple);
  --grad: linear-gradient(120deg, #5f5afa 0%, #8b5cf6 50%, #22c7e6 100%);
  --font-display: "Nunito", "Lato", system-ui, sans-serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --r-s: 12px;
  --r-m: 20px;
  --r-l: 32px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.55; color: var(--text); background: var(--lav); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 900; }
h3 { font-size: 1.35rem; font-weight: 800; }
p { margin: 0; }
[data-role="teachers"] { --role: var(--teach); }
[data-role="it"] { --role: var(--it); }
[data-role="leaders"] { --role: var(--lead); }
[data-role="finance"] { --role: var(--fin); }

/* scroll progress */
.progress-bar { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: var(--grad); z-index: 60; }

/* header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.site-header.solid { background: rgba(20, 21, 46, .92); backdrop-filter: blur(12px); box-shadow: 0 8px 30px rgba(0,0,0,.18); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--font-display); font-weight: 900; font-size: 1.45rem; letter-spacing: -0.02em; }
.logo img { width: 40px; height: 40px; }
.logo small { font-weight: 700; color: var(--on-dark-muted); font-size: .95rem; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a.link { color: var(--on-dark); text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 10px; font-size: .97rem; }
.nav a.link:hover { background: rgba(255,255,255,.1); }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); margin: 0 6px; }
.lang button { border: 0; background: transparent; color: var(--on-dark); font: 800 .8rem var(--font-body); padding: 6px 10px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 5px; align-items: center; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--navy); }
@media (max-width: 880px) { .nav a.link { display: none; } }
@media (max-width: 520px) { .nav .btn { display: none; } .logo small { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 800 1rem/1 var(--font-display); padding: 16px 24px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 10px 24px rgba(95,90,250,.35); }
.btn-primary:hover { background: var(--purple-ink); box-shadow: 0 14px 30px rgba(95,90,250,.45); }
.btn-lime { background: var(--lime); color: var(--navy); box-shadow: 0 10px 24px rgba(118,218,50,.35); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-sm { padding: 11px 18px; font-size: .92rem; }
.play-dot { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: inline-grid; place-items: center; }
.play-dot::before { content: ""; border-left: 9px solid var(--purple); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }

/* hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: #fff; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; background: var(--navy); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 600px at 80% 20%, rgba(95,90,250,.55), transparent 60%), linear-gradient(180deg, rgba(20,21,46,.55), rgba(20,21,46,.95)); }
.hero .wrap { position: relative; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.ask { font-family: var(--font-display); font-weight: 800; color: var(--on-dark-muted); font-size: 1.15rem; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip { border: 2px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: 800 1rem var(--font-display); padding: 11px 16px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; transition: all .2s; }
.chip i { width: 12px; height: 12px; border-radius: 50%; background: var(--role); box-shadow: 0 0 0 4px color-mix(in srgb, var(--role) 25%, transparent); }
.chip:hover { border-color: var(--role); }
.chip[aria-pressed="true"] { background: var(--role); border-color: var(--role); color: var(--navy); }
.chip[aria-pressed="true"] i { background: var(--navy); box-shadow: none; }
.hero h1 { max-width: 14ch; }
.brush { position: relative; white-space: nowrap; z-index: 0; }
.brush::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: .06em; height: .48em; background: var(--role); opacity: .9; border-radius: 6px 14px 8px 12px; transform: skewX(-8deg) rotate(-1deg); z-index: -1; }
.hero .lede { font-size: 1.25rem; color: var(--on-dark); max-width: 40ch; margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-panel { animation: rise .5s ease both; }
.hero-panel[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.hero-art .halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--role) 55%, transparent), transparent 65%); filter: blur(10px); transition: background .4s; }
.hero-art .orbit { position: absolute; inset: 4%; border-radius: 50%; border: 2px dashed rgba(255,255,255,.18); animation: spin 40s linear infinite; }
.hero-art img { position: relative; width: 82%; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.pain-pop { position: absolute; background: #fff; color: var(--navy); border-radius: 16px; padding: 10px 14px; font: 800 .9rem var(--font-display); box-shadow: 0 14px 30px rgba(0,0,0,.25); display: flex; align-items: center; gap: 8px; max-width: 230px; animation: float 7s ease-in-out infinite; }
.pain-pop b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--role); flex: none; font-size: .8rem; }
.pain-pop.p1 { top: 6%; left: -2%; }
.pain-pop.p2 { top: 44%; right: -4%; animation-delay: -2s; }
.pain-pop.p3 { bottom: 6%; left: 6%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: var(--on-dark-muted); font-size: .85rem; font-weight: 700; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 420px; margin: 0 auto; } .pain-pop { font-size: .8rem; } }

/* stats band */
.stats { background: var(--grad); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 18px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.22); }
.stat b { display: block; font: 900 clamp(2.2rem, 4vw, 3.2rem)/1 var(--font-display); }
.stat span { font-weight: 700; opacity: .9; font-size: .95rem; }
@media (max-width: 760px) { .stats .wrap { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } }

/* sections */
.section { padding: 110px 0; scroll-margin-top: 70px; }
.section-dark { background: var(--navy); color: #fff; }
.section-white { background: #fff; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 800 .95rem var(--font-display); padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--role) 18%, white); color: var(--navy); margin-bottom: 18px; }
.section-dark .kicker { background: color-mix(in srgb, var(--role) 25%, transparent); color: #fff; }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--role); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { font-size: 1.2rem; color: var(--muted); margin-top: 14px; }
.section-dark .section-head p { color: var(--on-dark-muted); }

/* role block */
.role-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.role-block.flip .role-media { order: 2; }
.role-media { position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--navy-2); aspect-ratio: 4/5; box-shadow: 0 30px 60px rgba(20,21,46,.25); }
.role-media img, .role-media video { width: 100%; height: 100%; object-fit: cover; }
.role-media.contain { background: #fff; }
.role-media.contain img { object-fit: contain; padding: 8%; }
.role-media .badge { position: absolute; left: 16px; bottom: 16px; right: 16px; background: rgba(20,21,46,.82); backdrop-filter: blur(8px); color: #fff; border-radius: 16px; padding: 12px 14px; font: 800 .95rem var(--font-display); display: flex; align-items: center; gap: 10px; }
.role-media .badge b { color: var(--role); font-size: 1.4rem; }
.role-media .play { position: absolute; top: 16px; right: 16px; }
.insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.insight { background: #fff; border-radius: var(--r-m); padding: 20px; border: 2px solid transparent; transition: transform .2s, border-color .2s, box-shadow .2s; cursor: default; }
.section-white .insight { background: var(--lav); }
.insight:hover { transform: translateY(-4px); border-color: var(--role); box-shadow: 0 16px 30px rgba(20,21,46,.1); }
.insight .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--role); color: var(--navy); display: grid; place-items: center; margin-bottom: 12px; }
.insight .ic svg { width: 22px; height: 22px; }
.insight h4 { font-size: 1.12rem; font-weight: 900; }
.insight p { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.insight .vs { display: block; font-size: .82rem; font-weight: 700; color: #b0466b; text-decoration: line-through; text-decoration-color: rgba(176,70,107,.5); margin-bottom: 6px; }
.role-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.role-block.is-mine .role-media { outline: 5px solid var(--role); outline-offset: 6px; }
@media (max-width: 900px) { .role-block { grid-template-columns: 1fr; gap: 32px; } .role-block.flip .role-media { order: 0; } .role-media { aspect-ratio: 16/11; } }
@media (max-width: 520px) { .insight-grid { grid-template-columns: 1fr; } }

/* teacher reels */
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.reel { position: relative; border-radius: var(--r-m); overflow: hidden; aspect-ratio: 9/16; background: var(--navy-2); cursor: pointer; border: 0; padding: 0; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel span { position: absolute; left: 12px; bottom: 12px; color: #fff; font: 800 .9rem var(--font-display); background: rgba(20,21,46,.7); padding: 6px 10px; border-radius: 999px; }
.reel .play-dot { position: absolute; top: 12px; right: 12px; }
@media (max-width: 820px) { .reels { grid-template-columns: repeat(4, 70%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; } .reel { scroll-snap-align: start; } }

/* CTA band */
.cta-band { background: var(--grad); color: #fff; border-radius: var(--r-l); padding: 56px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; overflow: hidden; position: relative; }
.cta-band p { font-size: 1.2rem; margin-top: 12px; opacity: .95; }
.cta-band img { width: 100%; max-width: 300px; justify-self: end; filter: drop-shadow(0 20px 30px rgba(0,0,0,.3)); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 36px 26px; } .cta-band img { justify-self: center; max-width: 220px; } }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,30,.86); display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal video { max-height: 86vh; max-width: min(1100px, 100%); border-radius: var(--r-m); background: #000; }
.modal .close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; font: 900 1.3rem var(--font-display); cursor: pointer; }

/* solutions */
.page-hero { position: relative; padding: 150px 0 90px; color: #fff; background: var(--navy); overflow: hidden; }
.page-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 20% 0%, rgba(95,90,250,.6), transparent 60%), linear-gradient(180deg, rgba(20,21,46,.4), rgba(20,21,46,.95)); }
.page-hero .wrap { position: relative; }
.page-hero p { font-size: 1.25rem; color: var(--on-dark); max-width: 52ch; margin-top: 18px; }
.page-hero .for-role { display: inline-block; margin-top: 14px; font-weight: 800; color: var(--role); }
.tabs { position: sticky; top: 76px; z-index: 30; background: rgba(242,242,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--lav-2); }
.tabs .wrap { display: flex; gap: 8px; padding-top: 12px; padding-bottom: 12px; overflow-x: auto; }
.tabs a { text-decoration: none; font: 800 1rem var(--font-display); padding: 10px 18px; border-radius: 999px; color: var(--navy); background: #fff; border: 2px solid var(--lav-2); white-space: nowrap; }
.tabs a.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 30px 0; }
.product + .product { margin-top: 60px; }
.product.flip .gallery { order: 2; }
.gallery .main { position: relative; border-radius: var(--r-l); background: radial-gradient(circle at 50% 40%, #fff, var(--lav-2)); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.section-white .gallery .main { background: radial-gradient(circle at 50% 40%, #fff, var(--lav)); }
.gallery .main img { width: 86%; height: 86%; object-fit: contain; transition: opacity .25s; }
.gallery .main img.cover { width: 100%; height: 100%; object-fit: cover; }
.gallery .main .play { position: absolute; left: 16px; bottom: 16px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs button { width: 74px; height: 74px; border-radius: 16px; border: 2px solid transparent; background: #fff; padding: 6px; cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--purple); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.tag { display: inline-block; font: 800 .85rem var(--font-display); padding: 6px 12px; border-radius: 999px; background: var(--lav-2); color: var(--purple-ink); }
.product h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 900; margin-top: 12px; }
.product .sub { font-size: 1.15rem; color: var(--muted); margin-top: 10px; }
.feats { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feats li { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 10px 12px; font-weight: 700; font-size: .95rem; }
.section-white .feats li { background: var(--lav); }
.feats li b { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: .8rem; }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 26px; padding: 18px; border-radius: var(--r-m); background: var(--navy); color: #fff; }
.buy .price { margin-right: auto; line-height: 1.15; }
.buy .price b { font: 900 2rem var(--font-display); }
.buy .price span { display: block; font-size: .82rem; color: var(--on-dark-muted); }
.rec { display: none; margin-left: 10px; vertical-align: middle; font: 800 .8rem var(--font-body); padding: 6px 10px; border-radius: 999px; background: var(--role); color: var(--navy); letter-spacing: 0; }
.product.match .rec { display: inline-block; }
.checkout-note { margin-top: 36px; padding: 16px 20px; border-radius: 16px; background: #fff7e0; border: 1px solid #ffd977; color: #5a4300; font-size: .95rem; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; gap: 26px; } .product.flip .gallery { order: 0; } }
@media (max-width: 480px) { .feats { grid-template-columns: 1fr; } }

.kits { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.kit { background: #fff; border-radius: var(--r-l); padding: 26px; display: grid; gap: 16px; }
.kit .pic { border-radius: var(--r-m); background: radial-gradient(circle at 50% 40%, #fff, var(--lav-2)); aspect-ratio: 4/3; display: grid; place-items: center; }
.kit .pic img { width: 88%; height: 88%; object-fit: contain; transition: transform .4s; }
.kit:hover .pic img { transform: scale(1.05) rotate(-1deg); }
.kit h3 { font-size: 1.6rem; font-weight: 900; }
.kit ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.kit li { font-weight: 800; font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: var(--lav); }
@media (max-width: 820px) { .kits { grid-template-columns: 1fr; } }

.platform { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.platform .screen { border-radius: var(--r-l); overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
@media (max-width: 860px) { .platform { grid-template-columns: 1fr; } }

.bundles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bundles figure { margin: 0; background: #fff; border-radius: var(--r-m); padding: 12px; text-align: center; font: 800 1rem var(--font-display); }
.bundles img { border-radius: 14px; margin-bottom: 8px; }
@media (max-width: 860px) { .bundles { grid-template-columns: 1fr 1fr; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; margin-top: 30px; }
.steps div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-m); padding: 22px; counter-increment: s; }
.steps div::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); font: 900 1.1rem var(--font-display); margin-bottom: 12px; }
.steps b { display: block; font: 900 1.15rem var(--font-display); }
.steps span { color: var(--on-dark-muted); font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case { border-radius: var(--r-m); padding: 26px; color: #fff; }
.case:nth-child(1) { background: linear-gradient(140deg, #5f5afa, #8b5cf6); }
.case:nth-child(2) { background: linear-gradient(140deg, #0ea5c6, #22c7e6); }
.case:nth-child(3) { background: linear-gradient(140deg, #3f9d1a, #76da32); }
.case b { display: block; font: 900 2.4rem/1 var(--font-display); }
.case h4 { font-size: 1.2rem; margin: 10px 0 4px; }
.case p { opacity: .92; font-size: .95rem; }
@media (max-width: 760px) { .cases { grid-template-columns: 1fr; } }

/* form */
.form-page { background: var(--navy); color: #fff; min-height: 100vh; padding: 130px 0 90px; position: relative; overflow: hidden; }
.form-page::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 500px at 85% 10%, rgba(95,90,250,.5), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(34,199,230,.25), transparent 60%); }
.form-layout { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.form-intro p { font-size: 1.2rem; color: var(--on-dark); margin-top: 18px; max-width: 42ch; }
.form-intro .kit-img { margin-top: 28px; max-width: 360px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }
.trio { display: grid; gap: 10px; margin-top: 28px; }
.trio div { display: flex; gap: 12px; align-items: center; font-weight: 700; color: var(--on-dark); }
.trio b { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); flex: none; }
.card { background: #fff; color: var(--text); border-radius: var(--r-l); padding: 34px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 800; font-size: .92rem; font-family: var(--font-display); }
.field .hint { color: var(--muted); font-size: .85rem; font-weight: 400; }
.field input, .field select { font: inherit; padding: 13px 15px; border: 2px solid var(--lav-2); border-radius: 14px; background: var(--lav); color: var(--text); width: 100%; }
.field input:focus, .field select:focus { outline: none; border-color: var(--purple); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .88rem; color: var(--muted); margin: 6px 0 20px; }
.form-error { color: #c0234b; font-weight: 800; margin-bottom: 14px; }
.form-error:empty { display: none; }
.card .btn { width: 100%; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }
.progress { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.progress li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center; color: var(--muted); font-weight: 700; }
.progress li .ic { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--lav-2); display: grid; place-items: center; font-size: 14px; }
.progress li.active { color: var(--text); }
.progress li.active .ic { border-color: var(--purple); border-top-color: transparent; animation: spin .9s linear infinite; }
.progress li.done { color: var(--text); }
.progress li.done .ic { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.result h2 { font-size: 2rem; }
.result > p { color: var(--muted); margin-top: 10px; }
.email-preview { margin-top: 24px; border: 2px solid var(--lav-2); border-radius: 18px; overflow: hidden; }
.email-preview header { padding: 14px 18px; background: var(--lav); font-size: .9rem; }
.email-preview .body { padding: 18px; }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 8px 16px; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 700; }
.result h4 { margin: 20px 0 8px; font-size: 1.1rem; }
.result ul { margin: 0; padding-left: 20px; color: var(--muted); }
.badge-warn { display: inline-block; font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: #fff1c7; color: #7a5500; margin-left: 6px; }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 8px; } }

/* order complete */
.done-card { position: relative; max-width: 760px; }
.done-card .check { width: 72px; height: 72px; border-radius: 50%; background: var(--lime); color: var(--navy); display: grid; place-items: center; font: 900 2rem var(--font-display); margin-bottom: 24px; animation: rise .5s both; }
.done-card > p { font-size: 1.2rem; color: var(--on-dark); margin-top: 16px; }
.next { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.next li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 16px 18px; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; }
.next li b { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); font-family: var(--font-display); }
.next li strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.next li span { color: var(--on-dark-muted); }
.demo-flag { margin-top: 26px; padding: 14px 18px; border-radius: 16px; background: rgba(255,184,0,.15); border: 1px solid rgba(255,184,0,.4); color: #ffe7a8; }

/* footer */
.site-footer { background: #0d0e22; color: var(--on-dark-muted); padding: 50px 0; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.site-footer .logo { font-size: 1.2rem; }
.site-footer a.link { color: #fff; font-weight: 700; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
