@font-face {
  font-family: "Inter";
  src: url("assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0b0d12;
  --ink-2: #4a5160;
  --ink-3: #7b8292;
  --line: #e4e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --blue: #0a84ff;
  --blue-ink: #0062e0;
  --sky: #45a8f8;
  --navy: #003a8c;
  --night: #060a13;
  --radius: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 64px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }

/* Botones */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.4rem;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--b); color: #fff;
  font-weight: 600; font-size: 1rem; letter-spacing: -.01em; text-decoration: none;
  transition: transform .4s var(--ease), background .3s, box-shadow .4s var(--ease);
  box-shadow: 0 8px 24px -10px rgba(11, 13, 18, .45);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(11, 13, 18, .5); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-small { min-height: 38px; padding: 0 1rem; font-size: .9rem; box-shadow: none; }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--ink); border-color: var(--line); box-shadow: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: #fff; box-shadow: 0 10px 24px -14px rgba(11, 13, 18, .3); }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 12px 30px -12px rgba(0, 20, 60, .5); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); box-shadow: none; }
.btn-line:hover { background: rgba(255, 255, 255, .12); box-shadow: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.btn-vip { background: var(--blue); box-shadow: 0 10px 26px -12px rgba(10, 132, 255, .7); }
.btn-vip:hover { background: var(--blue-ink); box-shadow: 0 16px 32px -14px rgba(10, 132, 255, .75); }

/* Mensajes en línea junto a cada botón (✓ / ✗), como en la Lista VIP */
.act { display: inline-flex; flex-direction: column; align-items: center; gap: .45rem; }
.act-msg { font-size: .86rem; font-weight: 600; line-height: 1.35; max-width: 22rem; }
.act-msg:empty { display: none; }
.act-msg.is-ok { color: #067647; }
.act-msg.is-error { color: #b42318; }

/* Retrasos de aparición y colores de la maqueta como clases: la CSP no permite atributos style */
.d1 { --d: 1; } .d2 { --d: 2; } .d3 { --d: 3; } .d4 { --d: 4; } .d5 { --d: 5; }
.av-1 { --c: #ff8a3d; } .av-2 { --c: #22b07d; } .av-3 { --c: #a76bf5; } .av-4 { --c: #f2b705; }
.w-86 { --w: 86%; } .w-64 { --w: 64%; } .w-41 { --w: 41%; } .w-12 { --w: 12%; }

/* Navegación */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 rgba(11, 13, 18, .07);
}
.nav-inner { display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 800; font-size: 1.12rem; letter-spacing: -.035em; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; font-size: .93rem; }
.nav-links a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { margin-left: 0; }

/* Español / Português: mismo estilo y comportamiento que en la Lista VIP */
.lang { position: relative; display: flex; align-items: center; gap: .3rem; flex: none; }
.lang-btn {
  min-height: 40px; min-width: 44px; padding: 0 .8rem; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .7); color: var(--ink-2); font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s; -webkit-tap-highlight-color: transparent;
}
.lang-btn:hover { background: #fff; color: var(--ink); }
.lang-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.lang-short { display: none; }
.msg-lang {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 2; white-space: nowrap;
  padding: 6px 11px; border-radius: 10px; background: #fff; box-shadow: 0 10px 24px -12px rgba(11, 13, 18, .35);
  font-size: .8rem;
}

/* Hero */
.hero { position: relative; padding: calc(var(--nav-h) + 72px) 0 40px; overflow: hidden; }
.hero-sky { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #e3f0ff 0%, #f3f8ff 46%, #ffffff 82%); z-index: -1; -webkit-mask-image: linear-gradient(#000 55%, transparent 92%); mask-image: linear-gradient(#000 55%, transparent 92%); }
.hero-sky i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.hero-sky i:nth-child(1) { width: 560px; height: 420px; left: -120px; top: 40px; background: #9fd0ff; }
.hero-sky i:nth-child(2) { width: 620px; height: 460px; right: -160px; top: 120px; background: #b9c8ff; animation-duration: 22s; }
.hero-sky i:nth-child(3) { width: 420px; height: 320px; left: 38%; top: 420px; background: #c8e6ff; animation-duration: 26s; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.08); } }

.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .95rem; border-radius: 999px;
  background: rgba(255, 255, 255, .75); border: 1px solid rgba(10, 132, 255, .18);
  color: var(--blue-ink); font-size: .86rem; font-weight: 600; text-decoration: none;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .3s, box-shadow .4s var(--ease);
}
a.pill:hover { background: #fff; box-shadow: 0 10px 24px -14px rgba(0, 58, 140, .4); }
.pill-new { padding: 2px 8px; margin-left: -.45rem; border-radius: 999px; background: var(--blue); color: #fff; font-size: .74rem; font-weight: 700; box-shadow: 0 0 0 4px rgba(10, 132, 255, .16); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 50% { box-shadow: 0 0 0 7px rgba(10, 132, 255, 0); } }
.pill-arrow { transition: transform .4s var(--ease); }
a.pill:hover .pill-arrow { transform: translateX(3px); }
h1 {
  margin-top: 1.4rem; max-width: 12ch;
  font-size: clamp(2.9rem, 8.4vw, 6.2rem); line-height: 1; letter-spacing: -.055em; font-weight: 800;
}
.ink-grad { background: linear-gradient(100deg, var(--blue) 0%, var(--sky) 55%, var(--navy) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.lead { margin-top: 1.4rem; max-width: 36rem; font-size: clamp(1.06rem, 2.1vw, 1.3rem); color: var(--ink-2); line-height: 1.5; }
.hero-copy .cta-row { margin-top: 2rem; }
.hero-students {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.6rem;
  margin: 2.2rem auto 0; max-width: 64rem; padding: 1.4rem 1.8rem; border-radius: 32px; text-align: left;
  background: radial-gradient(circle at 92% 0%, rgba(69, 168, 248, .32), transparent 60%), linear-gradient(180deg, #e3f0ff, #f5f9ff);
  border: 1px solid rgba(10, 132, 255, .18);
  box-shadow: 0 24px 48px -30px rgba(10, 132, 255, .55);
}
.hs-team { flex: none; }
.hs-team svg, .hs-team img { width: 44px; height: 44px; }
.hs-copy { flex: 1 1 18rem; min-width: 0; }
.hs-copy .eyebrow { margin: 0; }
.hs-title { margin-top: .3rem; font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.hero-students .btn { flex: none; }

.hero-stage { margin-top: 64px; transform-origin: 50% 0; will-change: transform; }
.hero-float { perspective: 1400px; }

/* Tarjeta de llamada */
.call {
  max-width: 880px; margin-inline: auto;
  background: rgba(255, 255, 255, .86);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 0 0 1px rgba(11, 30, 70, .06), 0 50px 100px -40px rgba(0, 58, 140, .45), 0 20px 40px -24px rgba(11, 13, 18, .18);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.call-top { display: flex; align-items: center; gap: .9rem; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--ink-2); }
.live { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: #d92d20; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #f04438; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.call-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.call-time { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.call-body { display: grid; grid-template-columns: 250px 1fr; min-height: 330px; }
.call-side {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px; background: linear-gradient(180deg, #eef6ff, #e3efff);
  border-right: 1px solid var(--line);
}
.blob { overflow: visible; }
.blob-xl { width: 132px; height: 132px; filter: drop-shadow(0 14px 22px rgba(28, 137, 228, .35)); transform-origin: 50% 70%; }
.blob-md { width: 64px; height: 64px; flex: none; }
.eyes { transform-box: fill-box; transform-origin: center; animation: eyes 5.2s infinite; }
@keyframes eyes { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.12); } }
.call[data-state="artur"] .blob-xl { animation: talk .42s ease-in-out infinite alternate; }
@keyframes talk { from { transform: scale(1, 1); } to { transform: scale(1.05, .95) translateY(2px); } }
.call[data-state="ana"] .blob-xl { animation: listen 1.6s ease-in-out infinite; }
@keyframes listen { 50% { transform: rotate(-4deg) translateY(-3px); } }
.wave { display: flex; align-items: center; gap: 4px; height: 34px; }
.wave span { width: 4px; height: 6px; border-radius: 4px; background: #9cc6f5; transition: background .3s; }
.call[data-state="artur"] .wave span { background: var(--blue); animation: bar .6s ease-in-out infinite alternate; }
.call[data-state="ana"] .wave span { background: #22b07d; animation: bar .5s ease-in-out infinite alternate; }
.wave span:nth-child(3n) { animation-delay: -.2s !important; }
.wave span:nth-child(3n+1) { animation-delay: -.4s !important; }
.wave span:nth-child(4n) { animation-duration: .45s !important; }
.wave span:nth-child(5n) { animation-duration: .7s !important; }
@keyframes bar { from { height: 6px; } to { height: 30px; } }
.call-status { font-size: .86rem; font-weight: 600; color: var(--ink-2); min-height: 1.4em; }
.call-chat { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 24px; min-width: 0; }
.msg { max-width: 82%; animation: msg-in .6s var(--ease) both; }
.msg b { display: block; font-size: .74rem; color: var(--ink-3); margin: 0 0 4px 4px; font-weight: 600; }
.msg p { padding: 11px 15px; border-radius: 18px 18px 18px 6px; background: var(--bg-soft); font-size: .98rem; line-height: 1.45; overflow-wrap: anywhere; }
.msg-ana { align-self: flex-end; }
.msg-ana b { text-align: right; margin: 0 4px 4px 0; }
.msg-ana p { background: var(--blue); color: #fff; border-radius: 18px 18px 6px 18px; }
.msg.is-typing p::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: currentColor; animation: blink 1s steps(2) infinite; }
.msg.is-leaving, .sm.is-leaving { animation: msg-out .5s var(--ease) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(14px) scale(.97); filter: blur(4px); } }
@keyframes msg-out { to { opacity: 0; transform: translateY(-10px); } }
.call-tools { display: flex; gap: 8px; padding: 14px 20px 18px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.call-tools::-webkit-scrollbar { display: none; }
.tool { flex: none; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .82rem; font-weight: 500; color: var(--ink-2); }

/* Frase con scroll */
.statement { position: relative; height: 230vh; }
.statement-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.statement-text {
  font-size: clamp(2rem, 5.6vw, 4.4rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 750;
  max-width: 1100px;
}
.statement-text em { font-style: normal; }
.js .statement-text .w { opacity: .14; transition: opacity .35s linear, color .35s linear; }
.js .statement-text .w.is-lit { opacity: 1; }
.js .statement-text em .w.is-lit { color: var(--blue); }

/* Secciones */
.section-head { text-align: center; max-width: 820px; margin: 0 auto 64px; }
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); }
h2 { margin-top: .7rem; font-size: clamp(2.1rem, 5vw, 3.7rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 800; }
.section-lead { margin-top: 1rem; font-size: 1.15rem; color: var(--ink-2); }

/* Cómo funciona */
.how { padding: 120px 0 80px; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .6s var(--ease); }
.step.is-active { opacity: 1; }
.step-num { font-size: .9rem; font-weight: 700; color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.step > h3 { margin-top: .6rem; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 800; }
.step > p { margin-top: 1rem; max-width: 30rem; font-size: 1.12rem; color: var(--ink-2); }
.step-media { display: none; }
.stage { position: sticky; top: calc(50vh - 310px); height: 620px; display: grid; place-items: center; }
.device {
  position: relative; width: 340px; height: 620px;
  border-radius: 48px; background: #fff;
  border: 10px solid #0b0d12;
  box-shadow: 0 0 0 2px #2a2f3a, 0 60px 100px -40px rgba(0, 58, 140, .5), 0 30px 60px -30px rgba(11, 13, 18, .35);
  overflow: hidden;
}
.device::before { content: ""; position: absolute; top: 10px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #0b0d12; z-index: 2; }
.screen {
  position: absolute; inset: 0; padding: 56px 20px 22px;
  display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(180deg, #f6f9ff, #fff 40%);
  opacity: 0; transform: translateY(24px) scale(.97); filter: blur(6px);
  transition: opacity .7s var(--ease), transform .8s var(--ease), filter .7s var(--ease);
}
.screen.is-active { opacity: 1; transform: none; filter: none; }
.scr-kicker { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); }
.scr-title { font-size: 1.32rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.15; }
.scr-label { margin-top: 6px; font-size: .74rem; font-weight: 600; color: var(--ink-3); }
.scr-meta { font-size: .8rem; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .74rem; font-weight: 500; }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); padding: 3px; border-radius: 12px; background: #eef1f6; font-size: .7rem; text-align: center; }
html[lang="pt-BR"] .seg { grid-template-columns: .85fr 1.6fr 1fr .85fr; }
.seg span { padding: 7px 0; border-radius: 9px; color: var(--ink-2); }
.seg .is-on { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 2px 6px rgba(11, 13, 18, .1); }
.select { position: relative; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: .82rem; }
.select i { position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); }
.meter { height: 8px; border-radius: 8px; background: #eef1f6; overflow: hidden; }
.meter i { display: block; height: 100%; width: 40%; border-radius: 8px; background: linear-gradient(90deg, #22b07d, #7ad9a8); animation: mic 1.3s ease-in-out infinite alternate; }
@keyframes mic { 0% { width: 18%; } 40% { width: 62%; } 70% { width: 34%; } 100% { width: 78%; } }
.scr-btn { margin-top: auto; padding: 13px; border-radius: 14px; background: var(--ink); color: #fff; text-align: center; font-size: .86rem; font-weight: 600; }
.mini-call { display: flex; gap: 12px; align-items: flex-start; margin: 10px 0 6px; padding: 14px; border-radius: 18px; background: #eef6ff; }
.mini-name { font-size: .74rem; font-weight: 700; color: var(--ink-3); }
.mini-line { margin-top: 2px; font-size: .9rem; line-height: 1.4; }
.mini-line b { color: var(--blue-ink); }
.helpers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.helper {
  display: flex; flex-direction: column; gap: 8px; padding: 13px 12px;
  border-radius: 16px; border: 1px solid var(--line); background: #fff;
  font-size: .78rem; font-weight: 600; line-height: 1.25;
  transition: background .4s, color .4s, transform .4s var(--ease), border-color .4s;
}
.helper i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--bg-soft); font-style: normal; font-size: .8rem; font-weight: 800; color: var(--blue-ink); transition: background .4s, color .4s; }
.helper.is-on { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.03); }
.helper.is-on i { background: rgba(255, 255, 255, .2); color: #fff; }
.call-bar { margin-top: auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; font-size: .78rem; font-weight: 600; text-align: center; }
.call-bar span { padding: 12px 6px; border-radius: 14px; }
.mute { background: #eef1f6; }
.end { background: #f04438; color: #fff; }
.ev { padding: 12px 14px; border-radius: 14px; border-left: 4px solid; }
.ev-label { font-size: .7rem; font-weight: 700; }
.ev-quote { margin-top: 4px; font-size: .92rem; font-weight: 600; }
.ev-quote s { color: var(--ink-3); }
.ev-quote b { color: var(--blue-ink); }
.ev-note { margin-top: 3px; font-size: .78rem; color: var(--ink-2); line-height: 1.4; }
.ev-green { border-color: #217953; background: #edf6ef; }
.ev-green .ev-label { color: #217953; }
.ev-blue { border-color: var(--blue); background: #eef5ff; }
.ev-blue .ev-label { color: var(--blue-ink); }
.ev-yellow { border-color: #c79a1e; background: #fff8e1; }
.ev-yellow .ev-label { color: #785910; }

/* Idiomas */
.langs { padding: 80px 0 100px; overflow: hidden; }
.langs h2 { text-align: center; }
.soft { color: var(--ink-3); }
.marquee { margin-top: 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { padding: 0 .55em; font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1.1; color: #dfe6f1; transition: color .3s; }
.marquee span:nth-child(7n+1), .marquee span:nth-child(7n+4) { color: var(--ink); }
.marquee span:nth-child(7n+2), .marquee span:nth-child(7n+6) { color: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Para escuelas */
.schools { padding: 100px 0 120px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
  position: relative; overflow: hidden;
  padding: 30px; border-radius: var(--radius); background: var(--bg-soft);
  border: 1px solid rgba(11, 30, 70, .05);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(0, 58, 140, .35); }
.card h3 { font-size: 1.45rem; letter-spacing: -.035em; line-height: 1.15; font-weight: 800; }
.card p { color: var(--ink-2); font-size: 1rem; max-width: 34rem; }
.card-a { grid-column: span 4; grid-row: span 2; background: linear-gradient(180deg, #eef6ff, #f7faff); }
.card-b, .card-c { grid-column: span 2; }
.card-d { grid-column: span 6; flex-direction: row; align-items: center; gap: 24px; }
.card-d-copy { display: flex; flex-direction: column; gap: 10px; flex: 1; }

.roster { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.row { display: grid; grid-template-columns: 34px 90px 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 16px; background: #fff; box-shadow: 0 1px 0 rgba(11, 30, 70, .05); font-size: .9rem; }
.av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 700; font-size: .85rem; }
.nm { font-weight: 600; white-space: nowrap; }
.bar { height: 8px; border-radius: 8px; background: #eef1f6; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--blue), var(--sky)); transition: width 1.4s var(--ease) .3s; }
.is-in .bar i { width: var(--w); }
.tag { font-size: .74rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: #eef5ff; color: var(--blue-ink); white-space: nowrap; }
.tag.ok { background: #e6f5ec; color: #217953; }
.tag.wait { background: #fff3dc; color: #8a6412; }

.week { margin-top: auto; padding-top: 16px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.week span { position: relative; display: grid; place-items: center; height: 52px; border-radius: 14px; background: #fff; font-weight: 700; font-size: .85rem; color: var(--ink-2); }
.week span i { position: absolute; bottom: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.week b { font: inherit; }
.week .is-on { background: var(--ink); color: #fff; }
.week .is-on i { background: var(--sky); }

.ring { position: relative; margin: auto auto 0; width: 120px; height: 120px; }
.ring svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: #e2e8f2; stroke-width: 12; }
.ring .ring-fill { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.is-in .ring .ring-fill { stroke-dashoffset: 119.4; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.5rem; letter-spacing: -.04em; }

.paper { position: relative; margin: 0 48px 0 auto; flex: none; width: 150px; height: 120px; padding: 18px 16px; border-radius: 10px; background: #fff; box-shadow: 0 16px 30px -18px rgba(11, 13, 18, .35); transform: rotate(-4deg); transition: transform .6s var(--ease); display: flex; flex-direction: column; gap: 10px; }
.card-d:hover .paper { transform: rotate(0); }
.paper i { display: block; height: 7px; border-radius: 4px; background: #e6eaf1; }
.paper i:nth-child(2) { width: 70%; }
.paper i:nth-child(3) { width: 85%; }
.qr { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 4px; background: conic-gradient(var(--ink) 25%, #fff 0 50%, var(--ink) 0 75%, #fff 0) 0 0 / 11px 11px; outline: 3px solid var(--ink); outline-offset: -3px; }

@keyframes bob { 50% { transform: translateY(-6px); } }

/* Artur’s agents */
.agents { position: relative; padding: 130px 0 120px; background: var(--night); color: #fff; overflow: hidden; }
.agents-glow i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .32; }
.agents-glow i:nth-child(1) { width: 520px; height: 420px; left: -160px; top: 120px; background: #e2603c; }
.agents-glow i:nth-child(2) { width: 600px; height: 460px; right: -200px; top: 40px; background: var(--blue); opacity: .4; }
.agents-glow i:nth-child(3) { width: 520px; height: 420px; left: 30%; top: 900px; background: #b16cc7; }
.agents .wrap { position: relative; }
.agents .eyebrow { color: #8fcbff; }
.agents .section-lead { color: rgba(255, 255, 255, .7); }

.studio {
  max-width: 1000px; margin: 0 auto 110px; overflow: hidden;
  border-radius: 24px; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 60px 120px -40px rgba(10, 132, 255, .5);
}
.studio-top { position: relative; display: flex; align-items: center; justify-content: center; height: 46px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.dots { position: absolute; left: 18px; display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.studio-title { font-size: .82rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 80px; }
.studio-body { display: grid; grid-template-columns: 260px 1fr; height: 540px; }
.studio-side { display: flex; flex-direction: column; gap: 8px; padding: 20px 16px; background: #f6f8fc; border-right: 1px solid var(--line); }
.side-label { margin-top: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.side-label + .side-team { margin-top: 2px; }
.src { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: .82rem; line-height: 1.25; }
.src b { display: block; font-weight: 600; }
.src small { color: var(--ink-3); font-size: .74rem; }
.src-ic { display: grid; place-items: center; flex: none; width: 32px; height: 38px; border-radius: 7px; background: #fde8e4; color: #c2412d; font-size: .62rem; font-weight: 800; }
.src-ic.src-txt { background: #e8f1ff; color: var(--blue-ink); }
.side-team { display: grid; grid-template-columns: repeat(3, 40px); gap: 8px 12px; }
.side-team img { width: 40px; height: 40px; }

.studio-chat {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  padding: 22px 24px; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 16%); mask-image: linear-gradient(transparent, #000 16%);
}
.sm { display: flex; gap: 10px; align-items: flex-start; flex: none; animation: msg-in .6s var(--ease) both; }
.sm > img { width: 38px; height: 38px; flex: none; }
.sm-body { max-width: 80%; min-width: 0; }
.sm-name { margin: 0 0 4px 2px; font-size: .74rem; font-weight: 600; color: var(--ink-3); }
.sm-name span { font-weight: 500; }
.sm-text { padding: 10px 14px; border-radius: 4px 16px 16px 16px; background: #f1f4f9; font-size: .93rem; line-height: 1.45; overflow-wrap: anywhere; }
.sm-me { justify-content: flex-end; }
.sm-me .sm-text { background: var(--blue); color: #fff; border-radius: 16px 4px 16px 16px; }
.sm-me .sm-name { text-align: right; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; border-radius: 4px 16px 16px 16px; background: #f1f4f9; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: dot 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 30% { transform: translateY(-4px); opacity: .5; } }
.plan { margin: 6px 0 2px; padding: 0; list-style: none; counter-reset: p; }
.plan li { display: flex; gap: 10px; padding: 6px 0; border-top: 1px solid #e2e7ef; font-size: .88rem; counter-increment: p; }
.plan li::before { content: counter(p); flex: none; width: 20px; height: 20px; border-radius: 6px; background: #fff; color: var(--blue-ink); font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.plan em { margin-left: auto; font-style: normal; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ok { display: inline-flex; margin-top: 6px; padding: 3px 9px; border-radius: 999px; background: #e6f5ec; color: #217953; font-size: .74rem; font-weight: 700; }
.cite { display: inline-block; margin-top: 8px; padding: 3px 8px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--blue-ink); font-size: .74rem; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tg { padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.tg-src { background: #e6f5ec; color: #217953; }
.tg-idea { background: #fff3dc; color: #8a6412; }
.lights { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 4px 0 6px; font-size: .8rem; font-weight: 600; }
.lights span { display: inline-flex; align-items: center; gap: 5px; }
.lights i { width: 9px; height: 9px; border-radius: 50%; background: #22b07d; }
.lights .y { background: #f2b705; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.agent {
  padding: 28px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .09);
  transition: transform .6s var(--ease), background .4s, border-color .4s;
}
.agent:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); }
.agent-av { width: 76px; height: 76px; margin: -6px 0 14px -6px; transition: transform .6s var(--ease); }
.agent:hover .agent-av { transform: scale(1.08) rotate(-3deg); }
.agent h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 1.6rem; letter-spacing: -.035em; font-weight: 800; }
.agent h3 span { font-size: .95rem; font-weight: 600; letter-spacing: -.01em; color: #8fcbff; }
.agent-honor { margin-top: 2px; font-size: .82rem; color: rgba(255, 255, 255, .45); }
.agent p:last-child { margin-top: 12px; color: rgba(255, 255, 255, .72); font-size: .98rem; }

.controls {
  display: grid; grid-template-columns: .8fr 2fr; align-items: center; gap: 40px;
  margin-top: 90px; padding: 40px; border-radius: 32px;
  background: linear-gradient(135deg, rgba(10, 132, 255, .2), rgba(255, 255, 255, .04));
  border: 1px solid rgba(143, 203, 255, .2);
}
.controls h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 800; }
.controls ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.controls li { display: flex; flex-direction: column; gap: 12px; font-size: 1rem; color: rgba(255, 255, 255, .82); }
.controls b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--blue); color: #fff; font-size: 1rem; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; color: rgba(255, 255, 255, .85); }
.trust li::before { content: ""; width: 14px; height: 8px; margin-top: -3px; border-left: 2px solid #5fd49b; border-bottom: 2px solid #5fd49b; transform: rotate(-45deg); }
.agents-note { margin: 32px auto 0; max-width: 40rem; text-align: center; font-size: .8rem; color: rgba(255, 255, 255, .42); }

/* Artur’s agents para alumnos (Mi ruta): la misma familia visual que la del profesor, con los colores del equipo del alumno */
.route .agents-glow i:nth-child(1) { background: #e0559a; }
.route .agents-glow i:nth-child(2) { background: #7a78e6; opacity: .36; }
.route .agents-glow i:nth-child(3) { background: #2ea82e; opacity: .22; }
.route-plan { margin-top: 1.4rem; }
.route-plan span {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: .9rem; font-weight: 700; color: #fff;
}
.route-plan span::before { content: ""; width: 12px; height: 7px; margin-top: -3px; border-left: 2px solid #5fd49b; border-bottom: 2px solid #5fd49b; transform: rotate(-45deg); }

/* Colores de cada personaje: --c para el texto sobre blanco (con contraste suficiente), --soft para los fondos */
.rdoor--artur, .rs--artur { --c: #0f6dc0; --face: #1c89e4; --soft: #e8f3fd; }
.rdoor--rosa, .rs--rosa { --c: #b8336f; --face: #e0559a; --soft: #fde8f2; }
.rdoor--anisio, .rs--anisio { --c: #4f4cc4; --face: #7a78e6; --soft: #eeeefc; }
.rdoor--jean, .rs--jean { --c: #5f6b00; --face: #8a9a18; --soft: #f4f6dc; }
.rdoor--ben { --c: #1d7a1d; --face: #2ea82e; --soft: #e6f5e6; }
/* Ben trabaja con su propia paleta, la del portal: azules de "aún no" a "Dominado", negro y la medalla dorada */
.rs--ben { --c: #3c6fd1; --soft: #edf1fc; }

/* La ventana de Mi ruta */
.route-app {
  max-width: 1000px; margin: 0 auto 110px; overflow: hidden;
  border-radius: 24px; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 60px 120px -40px rgba(224, 85, 154, .45);
}
.route-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.route-side { display: flex; flex-direction: column; gap: 8px; padding: 20px 16px; background: #f6f8fc; border-right: 1px solid var(--line); }
.rdoors { display: flex; flex-direction: column; gap: 6px; }
.rdoor {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px;
  padding: 8px 10px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  font: inherit; color: var(--ink); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: border-color .4s, box-shadow .5s var(--ease), transform .5s var(--ease);
}
.rdoor:hover { transform: translateX(2px); }
.rdoor.is-on { border-color: var(--face); box-shadow: 0 0 0 1px var(--face), 0 14px 28px -20px var(--face); }
.rdoor-av { width: 40px; height: 40px; flex: none; }
.rdoor-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.rdoor-txt b { font-size: .95rem; letter-spacing: -.01em; }
.rdoor-txt span { margin-top: 2px; font-size: .76rem; color: var(--ink-3); }
.rdoor.is-on .rdoor-txt span { color: var(--c); font-weight: 600; }
/* La barrita marca cuánto falta para pasar al siguiente personaje; fuera de pantalla se pausa */
.rdoor-bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--face); transform: scaleX(0); transform-origin: 0 50%; }
.route-app:not(.is-manual) .rdoor.is-on .rdoor-bar { animation: rdoor-run 7s linear forwards; }
.route-app.is-paused .rdoor-bar { animation-play-state: paused; }
@keyframes rdoor-run { to { transform: scaleX(1); } }
.route-msg { font-size: .8rem; }
.route-hint { margin-top: auto; font-size: .76rem; color: var(--ink-3); }
/* El símbolo #blob de Artur ocupa menos de su caja que los dibujos del equipo: se agranda para que se vean iguales. */
svg.rdoor-av, svg.rs-av, .team svg.agent-av, .vip-team svg { overflow: visible; transform: scale(1.3); }
.agent:hover svg.agent-av { transform: scale(1.4) rotate(-3deg); }

/* El espacio de cada personaje */
.route-stage { position: relative; min-width: 0; height: 480px; overflow: hidden; background: linear-gradient(180deg, #fbfcfe, #f3f6fb); }
.rs { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; }
.js .rs {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s linear .5s;
}
.js .rs.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.rs-head { display: flex; align-items: center; gap: 14px; }
.rs-av { width: 56px; height: 56px; flex: none; }
.rs-who { min-width: 0; }
.rs-name { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; }
.rs-name span { margin-left: 6px; font-size: .8rem; font-weight: 700; color: var(--c); }
.rs-bubble { display: inline-block; margin-top: 4px; padding: 8px 12px; border-radius: 4px 14px 14px 14px; background: var(--soft); color: var(--ink); font-size: .9rem; line-height: 1.4; }
.rs-card { padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.rs-card small, .rs-next small { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rs-foot { font-size: .82rem; color: var(--ink-3); }
.rs-fakebtn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 700; white-space: nowrap; }

/* Artur: la práctica por voz */
.rs-talk-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; font-size: .76rem; }
.rs-goal { padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--c); font-weight: 700; }
.rs-lines { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.rs-msg { max-width: 86%; padding: 8px 12px; border-radius: 4px 14px 14px 14px; background: #f1f4f9; font-size: .9rem; line-height: 1.4; }
.rs-msg b { display: block; font-size: .7rem; font-weight: 600; color: var(--ink-3); }
.rs-msg--me { align-self: flex-end; background: var(--blue); color: #fff; border-radius: 14px 4px 14px 14px; }
.rs-msg--me b { color: rgba(255, 255, 255, .78); }
.rs-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.rs-tool { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: .74rem; font-weight: 600; color: var(--ink-2); }
.rs-tool--on { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Rosa: su aula, con el tablero verde y su mesa, como en /mi-ruta/aula */
.rs--rosa { padding: 16px; }
.rs-classroom {
  display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 14px 16px;
  border-radius: 18px; border: 1px solid #d8c7a6; background: linear-gradient(#f7efe0 0 80%, #e3d2b5 80%);
}
.rs-stages { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.rs-stage { width: 22px; height: 6px; border-radius: 3px; background: #d8c7a6; }
.rs-stage.is-done { background: #e0559a; }
.rs-stage.is-now { background: #b8336f; }
.rs-stages small { margin-left: 8px; font-size: .76rem; font-weight: 700; color: #6d4526; }
.rs-board { padding: 16px 18px; border: 9px solid #8a5a33; border-radius: 12px; background: #23483e; color: #f7f3e8; box-shadow: inset 0 0 40px rgba(0, 0, 0, .2), 0 3px 8px rgba(90, 58, 28, .27); }
.rs-board-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #d5e3da; }
.rs-board-big { margin: 6px 0 12px; font-size: 1.25rem; font-weight: 650; line-height: 1.35; }
.rs-blank { display: inline-block; min-width: 3.4em; border-bottom: 2px dashed #d5e3da; text-align: center; }
.rs-blank i { display: none; }
.rs-blank b { color: #ffe9a8; }
.rs-options { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-options span { padding: 6px 14px; border-radius: 10px; background: #f7f3e8; color: #18343d; font-weight: 700; }
.rs-options .rs-pick { background: #ffe9a8; box-shadow: 0 0 0 3px #fff; }
.rs-check { margin-top: 12px; }
.rs-check span { display: inline-block; padding: 5px 10px; border-radius: 10px; background: #e6f5ec; color: #17603f; font-size: .85rem; font-weight: 700; }
.rs-desk { display: flex; align-items: flex-end; gap: 12px; }
.rs-seat { display: flex; flex-direction: column; align-items: center; flex: none; width: 84px; }
.rs-seat img { width: 72px; height: 72px; }
.rs-table { display: block; width: 100%; height: 10px; margin-top: -4px; border-radius: 4px 4px 0 0; background: #8a5a33; }
.rs-say {
  position: relative; display: grid; flex: 1 1 auto; min-width: 0; margin-bottom: 12px; padding: 10px 12px;
  border: 2px solid #d8c7a6; border-radius: 14px; background: #fff; color: #18343d; font-size: .9rem; line-height: 1.4;
}
.rs-say::before { content: ""; position: absolute; left: -10px; bottom: 12px; width: 16px; height: 16px; background: #fff; border-left: 2px solid #d8c7a6; border-bottom: 2px solid #d8c7a6; transform: rotate(45deg); }
.rs-say p { grid-area: 1 / 1; }
.rs-say-1 { opacity: 0; }
.rs-approved { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 3px 12px 3px 4px; border-radius: 999px; border: 1px solid #d8c7a6; background: #fff; color: #7d5532; font-size: .78rem; font-weight: 700; }
.rs-approved img { width: 28px; height: 28px; }

/* Anísio: la semana */
.rs-goalcard small { color: var(--c); }
.rs-goalcard p { margin-top: 2px; font-weight: 700; }
.rs-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.rs-week li { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; padding: 8px 2px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: .78rem; }
.rs-week b { font-weight: 700; }
.rs-week em { font-size: .68rem; font-style: normal; font-weight: 700; }
.rs-week .is-past { color: var(--ink-3); }
.rs-week .is-past em { color: #217953; }
.rs-week .is-today { border-color: var(--face); background: var(--soft); color: var(--c); }
.rs-dot { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #d3d8de; }
.rs-dot--artur { background: #1c89e4; }
.rs-dot--rosa { background: #e0559a; }
.rs-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: .74rem; color: var(--ink-3); }
.rs-legend .rs-dot + span { margin-right: 8px; }
.rs-today { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-color: var(--face); }
.rs-today small { color: var(--c); }
.rs-today p { font-weight: 700; }

/* Jean: dos cajas del mismo tamaño y "Cómo lo trabajo", con los colores del portal */
.rs-boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.rs-box { --jc: #2e7d32; min-width: 0; padding: 10px 12px; border-radius: 14px; border: 2px solid var(--line); border-top: 6px solid var(--jc); background: #fff; }
.rs-box--work { --jc: #a65f00; }
.rs-box-title { display: flex; align-items: center; gap: 6px; font-size: .95rem; font-weight: 800; }
.rs-box-title em { margin-left: auto; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--jc); font-size: .75rem; font-style: normal; font-weight: 700; }
.rs-item { display: flex; gap: 8px; margin-top: 8px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); border-left: 5px solid var(--jc); }
.rs-mark { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--jc); color: #fff; font-size: .8rem; font-weight: 800; }
.rs-item p { min-width: 0; font-size: .92rem; font-weight: 650; overflow-wrap: anywhere; }
.rs-item small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-3); }
mark.rs-ok { padding: 0 3px; border-radius: 4px; background: #dff5e3; color: #1b5e20; }
mark.rs-bad { padding: 0 3px; border-radius: 4px; background: #ffe3d6; color: #6b1f10; }
.rs-toggle { display: inline-block; margin-top: 8px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .78rem; font-weight: 700; }
.rs-how { margin-top: 8px; padding: 2px 10px; border-left: 3px solid var(--jc); font-size: .82rem; }
.rs-hint { font-weight: 600; }
.rs-steps-title { margin-top: 4px; }
.rs-steps { margin: 2px 0 8px; padding-left: 1.2rem; }
.rs-chip { display: inline-flex; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--jc); background: #fff6e8; font-size: .78rem; font-weight: 700; }

/* Ben: el próximo paso y la escalera */
.rs-next { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 12px 14px; border-radius: 16px; background: #202020; color: #fff; }
.rs-next small { grid-column: 1 / -1; justify-self: start; margin-bottom: 4px; padding: 2px 10px; border-radius: 999px; background: #edf1fc; color: #141414; }
.rs-next-action { font-size: 1rem; font-weight: 800; }
.rs-next-why { grid-column: 1; font-size: .8rem; color: #f2f2f2; }
.rs-fakebtn--light { grid-column: 2; grid-row: 2 / 4; background: #fff; color: #141414; }
.rs-stairs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rs-step { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 8px; border-radius: 12px; border-top: 4px solid #141414; color: #141414; font-size: .78rem; }
.rs-step b { font-size: .8rem; line-height: 1.2; }
.rs-step--1 { min-height: 92px; background: #dce7fa; }
.rs-step--2 { min-height: 124px; background: #b9cdf2; }
.rs-step--3 { min-height: 156px; background: #6f93d8; }
.rs-step--4 { min-height: 188px; background: #202020; color: #fff; }
.rs-medal { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: #f3c64b; box-shadow: 0 0 0 3px #fff; }
.rs-step--4 b { padding-right: 24px; }
.rs-pt { align-self: flex-start; max-width: 100%; padding: 3px 8px; border-radius: 8px; border: 1px solid #d3d9e6; background: #fff; color: #141414; font-size: .72rem; font-weight: 650; overflow-wrap: anywhere; }
.rs-pt--leave { visibility: hidden; }
.rs-toast { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: #202020; color: #fff; font-size: .8rem; font-weight: 700; }

/* Lo que pasa dentro de cada espacio cuando se abre (sin JS o con movimiento reducido se ve el estado final) */
@keyframes rs-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes rs-pop { from { opacity: 0; transform: scale(.6); } 60% { transform: scale(1.08); } }
@keyframes rs-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes rs-light { from { background: #fff; border-color: var(--line); color: var(--ink-2); } }
@keyframes rs-pick { from { background: #f7f3e8; box-shadow: 0 0 0 0 #fff; } }
@keyframes rs-chalk { from { opacity: 0; } }
@keyframes rs-leave { from { visibility: visible; opacity: 1; transform: none; } to { visibility: visible; opacity: 0; transform: translateY(-12px); } }
@keyframes rs-glow { 50% { box-shadow: 0 0 0 3px #3c6fd1; } }
@keyframes rs-pulse { 50% { box-shadow: 0 0 0 4px var(--soft); } }
.rs.is-on .rs-head { animation: rs-in .5s var(--ease) .1s both; }
.rs.is-on .rs-a1 { animation: rs-in .5s var(--ease) .5s both; }
.rs.is-on .rs-a2 { animation: rs-in .5s var(--ease) 1.5s both; }
.rs.is-on .rs-a3 { animation: rs-in .5s var(--ease) 2.6s both; }
.rs.is-on .rs-tool--on { animation: rs-light .4s ease 3.4s both; }
.rs.is-on .rs-foot { animation: rs-in .5s var(--ease) 3.8s both; }
.rs.is-on .rs-board { animation: rs-in .5s var(--ease) .2s both; }
.rs.is-on .rs-pick { animation: rs-pick .3s ease 2s both; }
.rs.is-on .rs-blank b { animation: rs-chalk .4s ease 2.2s both; }
.rs.is-on .rs-check { animation: rs-pop .45s var(--ease) 2.6s both; }
.rs.is-on .rs-say-1 { animation: rs-out .3s ease 2.6s both; }
.rs.is-on .rs-say-2 { animation: rs-chalk .4s ease 2.8s both; }
.rs.is-on .rs-approved { animation: rs-in .5s var(--ease) 3.4s both; }
.rs.is-on .rs-stage.is-now { animation: rs-pulse 1.4s ease-in-out infinite; }
.rs.is-on .rs-goalcard { animation: rs-in .5s var(--ease) .4s both; }
.rs.is-on .rs-week li { animation: rs-in .45s var(--ease) both; }
.rs.is-on .rs-week li:nth-child(1) { animation-delay: .7s; }
.rs.is-on .rs-week li:nth-child(2) { animation-delay: .8s; }
.rs.is-on .rs-week li:nth-child(3) { animation-delay: .9s; }
.rs.is-on .rs-week li:nth-child(4) { animation-delay: 1s; }
.rs.is-on .rs-week li:nth-child(5) { animation-delay: 1.1s; }
.rs.is-on .rs-week li:nth-child(6) { animation-delay: 1.2s; }
.rs.is-on .rs-week li:nth-child(7) { animation-delay: 1.3s; }
.rs.is-on .rs-week .is-past em { animation: rs-pop .4s var(--ease) 1.8s both; }
.rs.is-on .rs-today { animation: rs-in .5s var(--ease) 2.4s both; }
.rs.is-on .rs-box--good { animation: rs-in .5s var(--ease) .5s both; }
.rs.is-on .rs-box--work { animation: rs-in .5s var(--ease) 1s both; }
.rs.is-on .rs-how { animation: rs-in .5s var(--ease) 2s both; }
.rs.is-on .rs-next { animation: rs-in .5s var(--ease) .4s both; }
.rs.is-on .rs-stairs { animation: rs-in .5s var(--ease) .8s both; }
.rs.is-on .rs-pt--leave { animation: rs-leave .45s ease 2.2s both; }
.rs.is-on .rs-pt--arrive { animation: rs-pop .5s var(--ease) 2.6s both; }
.rs.is-on .rs-step--3 { animation: rs-glow .8s ease 2.6s both; }
.rs.is-on .rs-toast { animation: rs-in .5s var(--ease) 3s both; }

/* Tarjetas del equipo del alumno: cada una con su color y una frase en su voz */
.agent--artur { --c: #4aa6f0; }
.agent--rosa { --c: #ee7cb4; }
.agent--anisio { --c: #a09ef2; }
.agent--jean { --c: #b5c63a; }
.agent--amos { --c: #d0a074; }
.agent--ben { --c: #5fd06a; }
.team--students .agent h3 span { color: var(--c); }
.agent-quote { margin-top: 12px; padding-left: 12px; border-left: 3px solid var(--c); font-size: .98rem; font-weight: 600; line-height: 1.45; color: #fff; }
.controls-4 { grid-template-columns: .6fr 2.4fr; }
.controls-4 ol { grid-template-columns: repeat(4, 1fr); }
.controls-4 strong { display: block; color: #fff; font-weight: 700; }

/* Privacidad */
.privacy { position: relative; padding: 130px 0; background: var(--night); color: #fff; overflow: hidden; }
.privacy-glow { position: absolute; left: 50%; top: -260px; width: 900px; height: 520px; margin-left: -450px; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 132, 255, .45), transparent); filter: blur(30px); }
.privacy .eyebrow { color: #8fcbff; }
.privacy-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.p-item { padding: 30px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.p-item svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: rgba(69, 168, 248, .14); fill: none; stroke: #8fcbff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.p-item h3 { margin-top: 20px; font-size: 1.25rem; letter-spacing: -.03em; font-weight: 750; }
.p-item p { margin-top: 8px; color: rgba(255, 255, 255, .66); }

/* Lista VIP para alumnos */
.vip-band { padding: 120px 0 0; }
.vip-panel {
  display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 40px;
  padding: 56px; border-radius: 40px;
  background: radial-gradient(circle at 90% 0%, rgba(69, 168, 248, .28), transparent 55%), linear-gradient(180deg, #e3f0ff, #f5f9ff);
  border: 1px solid rgba(10, 132, 255, .14);
}
.vip-copy h2 { margin-top: .5rem; }
.vip-copy p:last-child { margin-top: 1rem; max-width: 34rem; font-size: 1.12rem; color: var(--ink-2); }
.vip-action { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.vip-team { display: flex; gap: 4px; }
.vip-team svg, .vip-team img { width: 52px; height: 52px; }
.vip-team svg { overflow: visible; }
.vip-note { font-size: .88rem; color: var(--ink-3); }

/* Demo */
.demo { padding: 120px 0; }
.demo .act-msg.is-ok { color: #d7f8e4; }
.demo .act-msg.is-error { color: #ffe1dc; }
.demo-panel {
  position: relative; overflow: hidden; text-align: center;
  padding: 80px 32px; border-radius: 40px; color: #fff;
  background: radial-gradient(circle at 15% 0%, rgba(69, 168, 248, .9), transparent 50%), radial-gradient(circle at 90% 100%, rgba(0, 30, 90, .9), transparent 55%), linear-gradient(135deg, var(--blue), var(--navy));
  box-shadow: 0 60px 120px -60px rgba(0, 58, 140, .8);
}
.demo-mark { width: 96px; height: 96px; margin: 0 auto 28px; padding: 14px; border-radius: 28px; background: #fff; box-shadow: 0 20px 40px -16px rgba(0, 20, 60, .5); animation: bob 4s ease-in-out infinite; }
.demo-panel h2 { margin-top: 0; }
.demo-panel > p { margin: 1.1rem auto 0; max-width: 34rem; font-size: 1.18rem; color: rgba(255, 255, 255, .86); }
.demo-panel .cta-row { margin-top: 2.2rem; }
.demo-note { margin-top: 1.2rem !important; font-size: .88rem !important; color: rgba(255, 255, 255, .65) !important; }

/* Pie */
.footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer .brand { color: var(--ink); font-size: 1rem; }
.footer .brand img { width: 28px; height: 28px; }
.footer-links { display: flex; gap: 20px; margin-left: auto; }
.footer-links a { text-decoration: none; }
.footer-links .act { flex-direction: row; gap: .6rem; }
.footer-links a:hover { color: var(--ink); }
.copy { width: 100%; font-size: .82rem; color: var(--ink-3); }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60;
  width: max-content; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 14px; text-align: center;
  background: var(--ink); color: #fff; font-size: .92rem; font-weight: 500;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Apariciones con scroll */
.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(10px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* Pantallas medianas: el selector de idioma pasa a ES / PT y luego se esconden los enlaces de sección */
@media (max-width: 1180px) {
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .nav-links { gap: 1.2rem; }
}
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .lang { margin-left: auto; }
}

/* Tabletas */
@media (max-width: 1000px) {
  .card-a { grid-column: span 6; grid-row: auto; }
  .card-b, .card-c { grid-column: span 3; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .controls { grid-template-columns: 1fr; gap: 24px; }
  .controls-4 ol { grid-template-columns: repeat(2, 1fr); }
  .vip-panel { grid-template-columns: 1fr; gap: 28px; padding: 44px 36px; text-align: center; }
  .vip-copy p:last-child { margin-inline: auto; }
}

/* Celulares */
@media (max-width: 860px) {
  :root { --nav-h: 58px; --gutter: 16px; }
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-inner { gap: .6rem; }
  .lang-btn { min-height: 38px; min-width: 40px; padding: 0 .6rem; }
  .hero { padding-top: calc(var(--nav-h) + 44px); }
  .hero-students { flex-direction: column; gap: .9rem; padding: 1.4rem 1.1rem; border-radius: 26px; text-align: center; }
  .hs-copy { flex: none; }
  .hero-students .btn { width: 100%; }
  .route-app { margin-bottom: 64px; border-radius: 20px; }
  .route-body { grid-template-columns: minmax(0, 1fr); }
  .route-side { gap: 6px; padding: 12px 10px 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .route-side .side-label { display: none; }
  .rdoors { flex-direction: row; gap: 6px; }
  .rdoor { flex: 1 1 0; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; min-height: 64px; padding: 6px 2px 8px; text-align: center; }
  .rdoor:hover { transform: none; }
  .rdoor-av { width: 34px; height: 34px; }
  .rdoor-txt b { font-size: .74rem; }
  .rdoor-txt span { display: none; }
  .route-msg, .route-hint { text-align: center; }
  .route-hint { margin-top: 0; }
  .route-stage { height: 570px; }
  .rs { gap: 10px; padding: 14px; }
  .rs--rosa { padding: 10px; }
  .rs-head { gap: 10px; }
  .rs-av { width: 46px; height: 46px; }
  .rs-bubble { font-size: .84rem; }
  .rs-msg { max-width: 94%; font-size: .86rem; }
  .rs-classroom { padding: 10px; gap: 8px; }
  .rs-board { padding: 12px; border-width: 7px; }
  .rs-board-big { font-size: 1.08rem; }
  .rs-seat { width: 68px; }
  .rs-seat img { width: 60px; height: 60px; }
  .rs-say { font-size: .84rem; }
  .rs-week { gap: 3px; }
  .rs-week li { padding: 6px 0; font-size: .7rem; }
  .rs-week em { font-size: .6rem; }
  .rs-boxes { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .rs-box--good .rs-item { margin-top: 6px; padding: 6px 8px; }
  .rs-next { grid-template-columns: minmax(0, 1fr); }
  .rs-fakebtn--light { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
  .rs-stairs { gap: 4px; }
  .rs-step { padding: 6px; }
  .rs-step b { font-size: .68rem; }
  .rs-pt { padding: 2px 5px; font-size: .64rem; }
  /* En celular la medalla se sienta sobre el escalón para no tapar "Dominado" */
  .rs-medal { top: -10px; right: 6px; width: 14px; height: 14px; }
  .rs-step--4 b { padding-right: 0; }
  .controls-4 ol { grid-template-columns: 1fr; }
  .vip-band { padding-top: 72px; }
  .vip-panel { padding: 40px 20px; border-radius: 30px; }
  .vip-action .btn { width: 100%; }
  .demo-panel .act { width: 100%; }
  .hero-stage { margin-top: 44px; }
  .call { border-radius: 24px; }
  .call-top { padding: 12px 14px; gap: .6rem; }
  .call-meta { display: none; }
  .call-body { grid-template-columns: 1fr; min-height: 0; }
  .call-side { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .blob-xl { width: 58px; height: 58px; }
  .wave { height: 28px; gap: 3px; }
  .wave span { width: 3px; }
  .call-status { margin-left: auto; font-size: .78rem; }
  .call-chat { min-height: 260px; padding: 16px 14px; }
  .msg { max-width: 90%; }
  .msg p { font-size: .92rem; }
  .call-tools { padding: 12px 14px 14px; }

  .statement { height: 160vh; }
  .how { padding: 80px 0 40px; }
  .section-head { margin-bottom: 40px; }
  .how-grid { grid-template-columns: 1fr; gap: 0; }
  .stage { display: none; }
  .step { min-height: 0; opacity: 1; padding-bottom: 64px; }
  .step-media { display: block; margin-top: 28px; }
  .step-media .screen { position: relative; inset: auto; opacity: 1; transform: none; filter: none; border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(0, 58, 140, .4); padding: 22px 18px; }

  .langs { padding: 40px 0 72px; }
  .marquee { margin-top: 36px; }
  .schools { padding: 72px 0 90px; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .card-a, .card-b, .card-c, .card-d { grid-column: auto; grid-row: auto; }
  .card { padding: 24px; }
  .card-d { flex-direction: column; align-items: stretch; }
  .card-d .paper { margin: 12px auto 0; }
  .agents { padding: 90px 0 80px; }
  .studio { margin-bottom: 64px; border-radius: 20px; }
  .studio-title { padding: 0 16px 0 70px; font-size: .74rem; }
  .dots { left: 14px; gap: 5px; }
  .dots i { width: 9px; height: 9px; }
  .studio-body { grid-template-columns: 1fr; height: 520px; }
  .studio-side { display: none; }
  .studio-chat { padding: 16px 14px; }
  .sm-body { max-width: 86%; }
  .sm > img { width: 32px; height: 32px; }
  .sm-text { font-size: .9rem; }
  .team { grid-template-columns: 1fr; gap: 14px; }
  .agent { padding: 24px; }
  .controls { margin-top: 56px; padding: 28px 22px; border-radius: 26px; }
  .controls ol { grid-template-columns: 1fr; }
  .controls li { flex-direction: row; align-items: center; }
  .controls b { flex: none; }
  .trust { justify-content: flex-start; }
  .row { grid-template-columns: 30px 1fr auto; padding: 10px 12px; }
  .row .bar { grid-column: 2 / 4; grid-row: 2; }
  .av { width: 30px; height: 30px; grid-row: span 2; }
  .privacy { padding: 90px 0; }
  .privacy-grid { grid-template-columns: 1fr; gap: 14px; }
  .p-item { padding: 24px; }
  .demo { padding: 72px 0; }
  .demo-panel { padding: 56px 20px; border-radius: 30px; }
  .demo-panel .btn { width: 100%; }
  .footer-links { margin-left: 0; width: 100%; flex-wrap: wrap; }
}

/* Celulares angostos (375 px): el logo queda y el nombre se esconde para que quepan idioma y demo */
@media (max-width: 400px) {
  .nav .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Sin el retraso, cada espacio de Mi ruta se ve ya terminado al abrirlo (no aparece por partes segundos después) */
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .js .statement-text .w { opacity: 1; }
  .statement { height: auto; padding: 120px 0; }
  .statement-sticky { position: static; height: auto; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track span:nth-child(n+8) { display: none; }
  .bar i { width: var(--w); }
  .ring .ring-fill { stroke-dashoffset: 119.4; }
}
