/* =====================================================================
   Clean Notes — web dinámica
   Marca: Midnight #0A1628 · Royal #1B3D7A · Electric #3B7FE8 · Frost #D4E8FF
   Tipografía: Inter (variable, eje óptico)
   Regla de oro: el CSS describe el estado FINAL (legible sin JS ni movimiento);
   motion.js solo anima desde fuera hacia ese estado.
   ===================================================================== */

:root {
  --brand: #3B7FE8; /* color de la academia en las vistas de ejemplo */
  --midnight: #0A1628;
  --midnight-2: #0D1B31;
  --midnight-3: #12243F;
  --royal: #1B3D7A;
  --electric: #3B7FE8;
  --electric-hi: #79AAF8;
  --frost: #D4E8FF;

  --paper: #F4F7FC;
  --paper-2: #EAF0F9;
  --white: #FFFFFF;

  --ink: #0A1628;
  --ink-2: #3B4862;
  --ink-3: #66728A;
  --ink-4: #A3AEC2;
  --line: rgba(10, 22, 40, .08);
  --line-2: rgba(10, 22, 40, .14);

  --d-text: #EEF4FD;
  --d-text-2: rgba(222, 234, 252, .74);
  --d-text-3: rgba(212, 232, 255, .5);
  --d-line: rgba(212, 232, 255, .09);
  --d-line-2: rgba(212, 232, 255, .16);

  --green: #22C97A;
  --amber: #F2A93B;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.32, .72, 0, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --wrap: 1240px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --nav-h: 72px;
  --sheet-r: clamp(28px, 3.2vw, 44px);
  --sec-y: clamp(96px, 13vh, 168px);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
::selection { background: rgba(59, 127, 232, .28); }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--electric); color: #fff; font-weight: 600; text-decoration: none;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 12px; }

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

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- tipografía ---------- */
.h-display {
  font-size: clamp(2.3rem, 5.1vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 640;
  text-wrap: balance;
}
.h-display em { font-style: normal; color: var(--electric); }
.dark .h-display em { color: var(--electric-hi); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 26px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--electric);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: .55;
}
.eyebrow-dark { color: var(--electric-hi); }

.lead {
  font-size: clamp(17px, 1.35vw, 19.5px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 54ch;
}
.dark .lead { color: var(--d-text-2); }

/* ---------- botones (píldora + icono anidado) ---------- */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h);
  padding: 0 7px 0 22px;
  border: 0; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .5s var(--ease-spring), background-color .35s var(--ease-out), box-shadow .5s var(--ease-out), color .3s;
}
.btn:active { transform: scale(.975); }
.btn-ico {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  transition: transform .55s var(--ease-spring), background-color .3s;
}
.btn:hover .btn-ico { transform: translateX(2px) scale(1.06); }

.btn-primary {
  color: #fff;
  background: var(--electric);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 30px -10px rgba(59, 127, 232, .75), 0 0 0 1px rgba(59, 127, 232, .5);
}
.btn-primary .btn-ico { background: rgba(255, 255, 255, .17); }
.btn-primary:hover {
  background: #4A8BF0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), 0 16px 40px -10px rgba(59, 127, 232, .85), 0 0 0 1px rgba(110, 160, 245, .6);
}

.btn-ghost {
  padding: 0 22px;
  color: var(--d-text);
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 0 0 1px var(--d-line-2);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-ghost svg { transition: transform .5s var(--ease-spring); }
.btn-ghost:hover svg { transform: translateY(2px); }

.btn-light {
  padding: 0 18px;
  color: var(--midnight);
  background: #fff;
}
.btn-light:hover { background: var(--frost); }

.btn-lg { --h: 56px; font-size: 16px; padding-left: 26px; }
.btn-lg.btn-ghost { padding: 0 26px; }
.btn-lg .btn-ico { width: 42px; height: 42px; }
.btn-sm { --h: 40px; font-size: 14px; padding-left: 16px; padding-right: 5px; }
.btn-sm .btn-ico { width: 30px; height: 30px; }
.btn-sm.btn-light { padding: 0 18px; }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  color: var(--d-text);
  background: var(--midnight);
  transition: height .6s var(--ease-out), background-color .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.nav.is-scrolled {
  height: 62px;
  background: rgba(10, 22, 40, .66);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  backdrop-filter: saturate(170%) blur(18px);
  box-shadow: 0 1px 0 var(--d-line), 0 18px 40px -24px rgba(3, 8, 18, .55);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav-logo { display: flex; color: var(--d-text); text-decoration: none; flex-shrink: 0; }
.nav-logo .logo { height: 36px; width: auto; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links > a {
  position: relative;
  padding: 8px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; white-space: nowrap;
  color: var(--d-text-2); text-decoration: none;
  transition: color .3s, background-color .3s;
}
.nav-links { align-items: center; }
.nav-links > a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-links > a[aria-current="page"] { color: #fff; }
.nav-links > a.is-active { color: #fff; }
.nav-links > a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 1px;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--electric-hi);
}
.nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none;
  position: relative; width: 42px; height: 42px; margin-left: auto;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .06); cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.6px; border-radius: 2px;
  background: var(--d-text);
  transition: transform .6s var(--ease-spring), top .6s var(--ease-spring);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20.5px; transform: rotate(-45deg); }

/* menú Productos (escritorio): panel blanco con tres tarjetas, al estilo mega-menú */
.nav-dd-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px 8px 14px; border: 0; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; white-space: nowrap;
  color: var(--d-text-2); background: transparent; cursor: pointer;
  transition: color .3s, background-color .3s;
}
.nav-dd-btn .chev { opacity: .7; transition: transform .45s var(--ease-out); }
.nav-dd-btn:hover,
.nav-dd.is-current .nav-dd-btn,
.nav-dd.is-open .nav-dd-btn { color: #fff; }
.nav-dd-btn:hover,
.nav-dd.is-open .nav-dd-btn { background: rgba(255, 255, 255, .08); }
.nav-dd.is-open .nav-dd-btn .chev { transform: rotate(180deg); }
.nav-dd-btn:focus-visible { outline-color: var(--electric-hi); border-radius: 999px; }

.dd {
  position: absolute; left: 50%; top: 100%;
  width: min(880px, calc(100vw - 2 * var(--gutter)));
  padding-top: 6px;
  opacity: 0; visibility: hidden;
  transform: translate(-50%, -8px) scale(.985); transform-origin: 50% 0;
  transition: opacity .28s var(--ease-out), transform .45s var(--ease-out), visibility 0s linear .28s;
}
.dd::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 26px; }
.nav-dd.is-open .dd {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity .28s var(--ease-out), transform .45s var(--ease-out);
}
.dd-box {
  overflow: hidden;
  border-radius: 18px;
  color: var(--ink); background: #fff;
  box-shadow: 0 0 0 1px rgba(10, 22, 40, .06), 0 30px 70px -24px rgba(3, 8, 18, .5), 0 10px 24px -12px rgba(3, 8, 18, .22);
}
.dd-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 24px 12px; }
.dd-label { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.dd-all, .dd-foot a { font-weight: 600; color: var(--electric); text-decoration: none; }
.dd-all { font-size: 13.5px; }
.dd-all:hover, .dd-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dd-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0 16px 16px; }
.dd-card {
  --c-bg: #EDF5FF; --c-line: #D7E6FA;
  display: flex; flex-direction: column; height: 100%;
  padding: 16px 22px 22px;
  border: 1px solid var(--c-line); border-radius: 12px;
  color: var(--ink); background: var(--c-bg); text-decoration: none;
  transition: border-color .3s, box-shadow .4s var(--ease-out);
}
.dd-card--campus { --c-bg: #E2ECFC; --c-line: #CADCF7; }
.dd-card--web { --c-bg: #EEF1F7; --c-line: #DCE2EE; }
.dd-card:hover { border-color: rgba(10, 22, 40, .22); box-shadow: 0 14px 30px -18px rgba(10, 22, 40, .35); }
.dd-card[aria-current="page"] { border-color: var(--electric); }
.dd-ill { display: grid; place-items: center; height: 132px; margin-bottom: 14px; }
.dd-ill .ill { width: 100%; max-width: 216px; height: auto; filter: drop-shadow(0 12px 14px rgba(10, 22, 40, .16)); transition: transform .6s var(--ease-out); }
.dd-card:hover .ill { transform: translateY(-4px); }
.dd-title { margin-bottom: 6px; font-size: 23px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.dd-desc { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.dd-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap;
  padding: 13px 24px;
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2); background: var(--paper);
}
.dd-foot-note { font-size: 13px; color: var(--ink-3); }
.dd a:focus-visible { outline-color: var(--electric); }

.nav-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; overflow: hidden; }
.nav-progress i {
  display: block; height: 100%;
  background: linear-gradient(90deg, rgba(59, 127, 232, 0), var(--electric) 70%, var(--electric-hi));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* menú móvil */
.menu {
  position: fixed; inset: 0; z-index: 45;
  overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 28px) var(--gutter) 36px;
  background: rgba(8, 17, 32, .96);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease-out), visibility 0s linear .5s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease-out); }
/* Con el menú cerrado nada de dentro recibe clics ni la rueda del ratón
   (antes, el acordeón abierto de la página actual dejaba enlaces invisibles encima de la web). */
.menu:not(.is-open) * { pointer-events: none !important; }
.menu-links { display: flex; flex-direction: column; }
.menu-links > a,
.menu-acc,
.menu-cta {
  opacity: 0; transform: translateY(26px);
  transition: transform .8s var(--ease-out), opacity .8s var(--ease-out);
  transition-delay: calc(var(--i) * 55ms + 90ms);
}
.menu-links > a,
.menu-acc-btn {
  padding: 14px 0;
  font-size: clamp(28px, 8vw, 40px); font-weight: 600; letter-spacing: -.035em;
  color: var(--d-text); text-decoration: none;
}
.menu-links > a,
.menu-acc { border-bottom: 1px solid var(--d-line); }
.menu.is-open .menu-links > a,
.menu.is-open .menu-acc,
.menu.is-open .menu-cta { opacity: 1; transform: none; }
.menu-cta { align-self: stretch; margin-top: 28px; }
.menu-acc-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  border: 0; background: none; text-align: left; cursor: pointer;
}
.menu-acc-btn .chev { width: 22px; height: 22px; opacity: .6; transition: transform .5s var(--ease-out); }
.menu-acc.is-open .menu-acc-btn .chev { transform: rotate(180deg); }
.menu-acc-panel {
  display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows .5s var(--ease-out), visibility 0s linear .5s;
}
.menu-acc.is-open .menu-acc-panel { grid-template-rows: 1fr; visibility: inherit; transition: grid-template-rows .5s var(--ease-out); }
.menu-acc-inner { display: grid; gap: 8px; min-height: 0; overflow: hidden; }
.menu-prod:first-child { margin-top: 2px; }
.menu-prod:last-child { margin-bottom: 18px; }
.menu-prod {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px 10px 10px; border-radius: 16px;
  color: var(--d-text); background: rgba(255, 255, 255, .04); text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--d-line);
}
.menu-prod[aria-current="page"] { box-shadow: inset 0 0 0 1px var(--electric); }
.menu-prod-ill {
  --c-bg: #EDF5FF;
  flex: 0 0 82px; display: grid; place-items: center; height: 60px; border-radius: 11px; background: var(--c-bg);
}
.menu-prod--campus .menu-prod-ill { --c-bg: #E2ECFC; }
.menu-prod--web .menu-prod-ill { --c-bg: #EEF1F7; }
.menu-prod-ill .ill { width: 74px; height: auto; }
.menu-prod-txt b { display: block; font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.menu-prod-txt small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--d-text-3); }
.menu-acc-all { padding: 6px 2px 18px; font-size: 14.5px; font-weight: 600; color: var(--electric-hi); text-decoration: none; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  display: flex; flex-direction: column;
  min-height: max(660px, calc(100svh - 150px));
  padding-top: calc(var(--nav-h) + clamp(32px, 7vh, 88px));
  padding-bottom: calc(var(--sheet-r) + 8px);
  color: var(--d-text);
  background: var(--midnight);
  overflow: clip;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--d-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--d-line) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 72% 42%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 55% at 72% 42%, #000 15%, transparent 72%);
  opacity: .55;
}
.hero-halo {
  position: absolute;
  width: min(1200px, 120vw); aspect-ratio: 1.15;
  right: -18%; top: -6%;
  background:
    radial-gradient(closest-side, rgba(110, 162, 247, .42), rgba(59, 127, 232, .22) 38%, rgba(27, 61, 122, .16) 62%, transparent 100%);
  border-radius: 50%;
  animation: halo-breathe 9s var(--ease-io) infinite alternate;
}
@keyframes halo-breathe {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.07) translate3d(-2%, 2%, 0); }
}
.hero-beam {
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 232, 255, .2) 50%, transparent);
}
.grain {
  position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(24px, 3.5vw, 56px);
}
.hero-copy { position: relative; z-index: 2; }
.hero-title {
  margin-bottom: 30px;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: .98;
  letter-spacing: -.048em;
  font-weight: 660;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
.hero-title .line > span {
  display: block;
  background: linear-gradient(180deg, #FFFFFF 35%, #C7DBF7 110%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, #A9CBFF 0%, #5F98F2 48%, #A2C6FF 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* frase rotatoria con punto verde */
.cycle {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 38px;
  font-size: 15.5px; color: var(--d-text-2);
  max-width: 100%;
}
.cycle-dot {
  flex-shrink: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  animation: dot-pulse 2.4s var(--ease-out) infinite;
}
@keyframes dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 201, 122, .55); }
  70% { box-shadow: 0 0 0 9px rgba(34, 201, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 201, 122, 0); }
}
.cycle-window { position: relative; display: block; width: 23.5em; max-width: 100%; height: 24px; overflow: hidden; }
.cycle-item {
  position: absolute; left: 0; top: 0;
  line-height: 24px; white-space: nowrap;
  opacity: 0; transform: translateY(70%); filter: blur(5px);
  transition: transform .9s var(--ease-out), opacity .9s var(--ease-out), filter .9s var(--ease-out);
}
.cycle-item.is-on { opacity: 1; transform: none; filter: none; }
.cycle-item.is-out { opacity: 0; transform: translateY(-70%); filter: blur(5px); }
.cycle-item strong { color: #fff; font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* dispositivos */
.hero-visual {
  position: relative;
  margin-right: calc(-1 * clamp(16px, 4vw, 96px));
  z-index: 1;
}
.devices { position: relative; aspect-ratio: 1.3; }
.laptop { position: absolute; right: 0; top: 3%; width: 90%; }
/* En ordenador la primera pantalla es el hero y, abajo del todo, la franja
   "Confían en nosotros": el hero ocupa el alto de la ventana menos la franja y los
   dispositivos se encogen según ese alto (siguen cortados por la derecha). */
@media (min-width: 1101px) {
  .hero {
    min-height: max(600px, calc(100svh - clamp(76px, 6.4vw, 92px) + var(--sheet-r)));
    padding-top: calc(var(--nav-h) + clamp(20px, 5vh, 72px));
  }
  .devices { width: min(94%, calc((100svh - 240px) * 1.3)); margin-left: auto; }
}
.laptop-body { transform: perspective(2200px) rotateY(-15deg) rotateX(7deg); transform-origin: 40% 60%; }
.laptop-screen {
  position: relative;
  padding: 1.5%;
  border-radius: 20px 20px 6px 6px;
  background: linear-gradient(170deg, #26324A, #0B111D 60%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .09),
    0 0 0 1px rgba(0, 0, 0, .55),
    0 50px 90px -30px rgba(0, 0, 0, .75),
    0 0 120px -20px rgba(59, 127, 232, .35);
}
.laptop-screen::after {
  content: ""; position: absolute; inset: 1.5%; border-radius: 10px 10px 2px 2px; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 38%);
}
.laptop-display { overflow: hidden; border-radius: 10px 10px 2px 2px; aspect-ratio: 16 / 10; background: #0A1424; }
.laptop-display svg { width: 100%; height: 100%; }
.laptop-base {
  position: relative;
  width: 114%; margin-left: -7%;
  aspect-ratio: 46 / 1;
  border-radius: 2px 2px 16px 16px / 2px 2px 100% 100%;
  background: linear-gradient(180deg, #D7DEEA 0%, #9AA6BA 45%, #5A657A 100%);
  box-shadow: 0 30px 50px -16px rgba(0, 0, 0, .7);
}
.laptop-base::before {
  content: ""; position: absolute; left: 50%; top: 0;
  width: 15%; height: 45%; transform: translateX(-50%);
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #7D889C, #A9B3C4);
}

.tablet { position: absolute; left: -1%; bottom: 0; width: 31%; z-index: 2; }
.tablet-body {
  padding: 4.6%;
  border-radius: 24px;
  background: linear-gradient(160deg, #2A3448, #0B111D 55%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .1),
    0 0 0 1px rgba(0, 0, 0, .6),
    0 40px 70px -18px rgba(0, 0, 0, .8);
  transform: perspective(1600px) rotateY(9deg) rotateX(4deg);
}
/* con GSAP activo, las inclinaciones las pone motion.js (evita leer matrices 3D) */
html.gsap-on .laptop-body,
html.gsap-on .tablet-body { transform: none; }
.tablet-display { overflow: hidden; border-radius: 16px; aspect-ratio: 300 / 410; background: #F6F9FE; }
.tablet-display svg { width: 100%; height: 100%; }

.live-dot { animation: live-blink 1.8s var(--ease-io) infinite; transform-origin: center; transform-box: fill-box; }
@keyframes live-blink { 50% { opacity: .25; } }

.float {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px 11px 11px;
  border-radius: 16px;
  background: rgba(14, 28, 52, .9);
  box-shadow: inset 0 0 0 1px var(--d-line-2), inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 48px -18px rgba(0, 0, 0, .7);
  font-size: 12.5px; line-height: 1.3; white-space: nowrap;
}
.float b { display: block; font-weight: 600; color: #fff; font-size: 13px; }
.float small { display: block; color: var(--d-text-3); font-size: 11.5px; }
.float-a { left: 24%; top: -2%; }
.float-b { right: 6%; bottom: 7%; }
.float-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; }
.float-ico-ok { color: #fff; background: var(--green); }
.float-ico-live { background: rgba(59, 127, 232, .18); }
.float-ico-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--electric-hi); animation: dot-pulse-b 2.4s var(--ease-out) infinite; }
@keyframes dot-pulse-b {
  0% { box-shadow: 0 0 0 0 rgba(121, 170, 248, .6); }
  70% { box-shadow: 0 0 0 8px rgba(121, 170, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(121, 170, 248, 0); }
}

/* intro del hero: estado previo solo si motion.js va a animarlo */
html.motion:not(.motion-fallback) [data-hero-item],
html.motion:not(.motion-fallback) .hero-title .line > span,
html.motion:not(.motion-fallback) [data-laptop],
html.motion:not(.motion-fallback) [data-tablet],
html.motion:not(.motion-fallback) [data-float] { opacity: 0; }
html.motion:not(.motion-fallback) .page-hero [data-hero-title],
html.motion:not(.motion-fallback) .page-hero [data-hero-item],
html.motion:not(.motion-fallback) .page-hero [data-hero-visual] { opacity: 0; }
.ws { display: inline-block; }

/* franja de logos bajo el hero: una cinta fina en azul muy tenue que sube pegada al
   azul oscuro (es el borde redondeado de la hoja), con "Confían en nosotros" a la
   izquierda y los logos a color pasando hacia la izquierda. Debajo, un filete y la
   hoja siguiente (Qué hacemos) sin escalón, en el papel de siempre.
   Los logos traen fondo blanco: con multiply el blanco toma el azul de la cinta. */
.sec.logos { --logos-bg: #EDF3FC; padding: 0; overflow: clip; background: var(--logos-bg); }
.logos + .sheet { margin-top: 0; border-radius: 0; box-shadow: none; }
.logos-band {
  display: flex; align-items: stretch;
  height: clamp(76px, 6.4vw, 92px);
  border-bottom: 1px solid var(--line);
}
.logos-title {
  flex-shrink: 0;
  display: flex; align-items: center;
  padding: 0 clamp(24px, 3vw, 48px) 0 max(var(--gutter), calc((100% - var(--wrap)) / 2));
  border-right: 1px solid var(--line);
  font-size: 14px; font-weight: 600; letter-spacing: -.005em;
  color: var(--ink-3); white-space: nowrap;
}
.logos-reel {
  flex: 1; min-width: 0; overflow: hidden;
  display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logos-track { display: flex; width: max-content; background: var(--logos-bg); animation: logos-run 45s linear infinite; }
.logos-reel:hover .logos-track { animation-play-state: paused; }
.logos-group { display: flex; align-items: center; flex-shrink: 0; }
.logos-group li { flex-shrink: 0; display: grid; place-items: center; margin: 0 clamp(34px, 3.8vw, 64px); }
.logos-group img { width: auto; height: clamp(34px, 2.9vw, 42px); mix-blend-mode: multiply; transition: transform .5s var(--ease-spring); }
.logos-group li:hover img { transform: scale(1.06); }
@keyframes logos-run { to { transform: translate3d(-50%, 0, 0); } }

/* =====================================================================
   SECCIONES — hojas claras que suben y bloques oscuros que se abren
   ===================================================================== */
.sec { position: relative; padding: var(--sec-y) 0; scroll-margin-top: 40px; }
.sheet {
  z-index: 2;
  margin-top: calc(-1 * var(--sheet-r));
  border-radius: var(--sheet-r) var(--sheet-r) 0 0;
  background: var(--paper);
  box-shadow: 0 -30px 60px -40px rgba(3, 8, 18, .45);
}
.sheet-flat { background: var(--paper); }
.dark { color: var(--d-text); background: var(--midnight); isolation: isolate; overflow: clip; }
.dark.sec { padding-bottom: calc(var(--sec-y) + var(--sheet-r)); }

.sec-head { max-width: 980px; margin-bottom: clamp(56px, 8vw, 96px); }
.sec-head-center { margin-inline: auto; text-align: center; }
.sec-head-center .eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .55; }
.sec-head-split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr); }

/* palabras partidas por motion.js */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wi { display: inline-block; will-change: transform; }
.nw { white-space: nowrap; }

/* =====================================================================
   CÓMO FUNCIONA
   ===================================================================== */
.how-glow {
  position: absolute; left: 50%; top: -10%; z-index: -1;
  width: min(1400px, 140vw); aspect-ratio: 2; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(59, 127, 232, .2), transparent);
  pointer-events: none;
}
.how .h-display { max-width: 18ch; margin-inline: auto; }

.how-stage { position: relative; display: grid; gap: clamp(64px, 10vw, 112px); }
.how-step { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.how-text { position: relative; padding-left: 28px; }
.how-bar {
  position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px;
  background: var(--d-line-2);
  overflow: hidden;
}
.how-bar::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--electric-hi), var(--electric));
  transform: scaleY(var(--p, 1)); transform-origin: 50% 0;
}
.how-num { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--electric-hi); }
.how-text h3 { margin: 12px 0 14px; font-size: clamp(25px, 2.35vw, 34px); line-height: 1.12; letter-spacing: -.035em; font-weight: 620; color: #fff; }
.how-text p { max-width: 44ch; color: var(--d-text-2); }
.how-counter { display: none; }

/* paneles visuales */
.how-visual { position: relative; }
.hv {
  position: relative;
  padding: 8px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 0 0 1px var(--d-line);
}
.hv-core {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 430px;
  border-radius: 23px;
  overflow: hidden;
  background:
    radial-gradient(110% 70% at 85% 0%, rgba(59, 127, 232, .2), transparent 60%),
    linear-gradient(180deg, #0F203B, #0B1830);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 0 0 1px rgba(255, 255, 255, .03), 0 50px 100px -40px rgba(0, 0, 0, .7);
}
.hv-bar {
  display: flex; align-items: center; gap: 14px;
  height: 48px; padding: 0 20px;
  border-bottom: 1px solid var(--d-line);
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--d-text-3);
}
.hv-dots { display: flex; gap: 6px; }
.hv-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(212, 232, 255, .14); }
.hv-timer { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: rgba(34, 201, 122, .12); color: #3DDC91; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.hv-timer b { font-weight: 600; }
.hv-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: #3DDC91; letter-spacing: .06em; }
.hv-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: live-blink 1.8s infinite; }

/* hv1 — PDF a materiales */
.hv1-body { flex: 1; display: grid; grid-template-columns: minmax(0, .9fr) 40px minmax(0, 1.1fr); align-items: center; gap: 14px; padding: 28px; }
.hv1-doc {
  position: relative; overflow: hidden;
  padding: 18px 18px 22px;
  border-radius: 14px;
  background: #F6F9FE; color: var(--ink);
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .7);
}
.hv1-doc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 12.5px; font-weight: 600; }
.hv1-doc-head span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hv1-pdf { flex-shrink: 0; padding: 3px 7px; border-radius: 6px; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #fff; background: #D9483B; }
.hv1-lines { display: grid; gap: 10px; }
.hv1-lines i { display: block; height: 7px; width: var(--w); border-radius: 4px; background: #DCE5F2; }
.hv1-lines i.is-hot { background: #B9D2F7; }
.hv1-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 64px;
  background: linear-gradient(180deg, rgba(59, 127, 232, 0), rgba(59, 127, 232, .22) 85%, rgba(59, 127, 232, .9) 100%);
  border-bottom: 1px solid var(--electric);
  opacity: 0;
  pointer-events: none;
}
.hv1-arrow { width: 40px; color: var(--electric-hi); }
.hv1-out { display: grid; gap: 9px; }
.hv1-out li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-radius: 12px;
  font-size: 14px; font-weight: 500; color: var(--d-text);
  background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--d-line-2);
}
.hv1-out b { font-weight: 650; color: var(--electric-hi); font-variant-numeric: tabular-nums; }

/* hv2 — vista del alumno con la marca de la academia */
.hv2 { --brand: #3B7FE8; }
.hv2-body { flex: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 28px; padding: 28px 28px 28px 32px; }
.hv2-brands { position: relative; display: grid; gap: 14px; justify-items: center; }
.hv2-brands-label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--d-text-3); margin-bottom: 4px; }
.hv2-sw.is-on { box-shadow: 0 0 0 2px var(--midnight), 0 0 0 3.5px #fff; }
.hv2-sw { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.hv2-ring {
  position: absolute; left: 50%; bottom: 75px;
  width: 36px; height: 36px; margin-left: -18px; border-radius: 50%;
  box-shadow: 0 0 0 1.5px #fff;
  pointer-events: none;
}
.hv2-phone {
  justify-self: center;
  width: min(100%, 360px);
  padding: 20px;
  border-radius: 24px;
  color: var(--ink);
  background: #F6F9FE;
  box-shadow: 0 0 0 6px #121D30, 0 0 0 7px rgba(255, 255, 255, .08), 0 40px 70px -24px rgba(0, 0, 0, .8);
}
.hv2-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.hv2-logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-size: 11px; font-weight: 700; color: #fff; background: var(--brand); transition: background-color .4s; }
.hv2-names { position: relative; display: grid; font-size: 14.5px; font-weight: 650; letter-spacing: -.01em; }
.hv2-names span { grid-area: 1 / 1; }
.hv2-names span + span { opacity: 0; }
.hv2-date { font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--ink-3); }
.hv2-title { margin: 4px 0 14px; font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.hv2-tasks { display: grid; gap: 8px; }
.hv2-tasks li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #E1E9F5; }
.hv2-tag { flex-shrink: 0; width: 46px; padding: 3px 0; border-radius: 99px; text-align: center; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, #fff); }
.hv2-t { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; }
.hv2-t small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-3); }
.hv2-check { position: relative; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.6px #CBD6E6; }
.hv2-check.is-done { background: var(--green); box-shadow: none; }
.hv2-check.is-done::after { content: ""; position: absolute; left: 7px; top: 4px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.hv2-progress { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.hv2-track { flex: 1; height: 7px; border-radius: 4px; background: #E3EAF5; overflow: hidden; }
.hv2-track i { display: block; width: 66%; height: 100%; border-radius: 4px; background: var(--brand); transform-origin: 0 50%; }
.hv2-progress b { color: var(--ink); }

/* hv3 — panel analítico */
.hv3-body { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.hv3-kpis { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
.hv3-kpi { padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--d-line); }
.hv3-kpi-main { background: linear-gradient(140deg, rgba(59, 127, 232, .22), rgba(59, 127, 232, .04)); box-shadow: inset 0 0 0 1px rgba(110, 160, 245, .3); }
.hv3-kpi > p:last-child { margin-top: 6px; font-size: 12px; color: var(--d-text-3); }
.hv3-big, .hv3-mid { font-variant-numeric: tabular-nums; letter-spacing: -.04em; color: #fff; font-weight: 700; line-height: 1; }
.hv3-big { font-size: 46px; }
.hv3-mid { font-size: 30px; }
.hv3-big span, .hv3-mid span { font-size: .55em; color: var(--d-text-3); margin-left: 2px; }
.hv3-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12px; flex: 1; }
.hv3-cols { display: flex; align-items: flex-end; gap: 8px; min-height: 110px; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--d-line); }
.hv3-cols i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--electric-hi), var(--electric)); opacity: .7; transform-origin: 50% 100%; }
.hv3-cols i:nth-child(4) { opacity: 1; }
.hv3-rows { display: grid; align-content: center; gap: 14px; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--d-line); }
.hv3-rows div { display: grid; grid-template-columns: 38px 1fr 34px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--d-text-2); }
.hv3-rows b { text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.hv3-track { height: 6px; border-radius: 3px; background: rgba(212, 232, 255, .1); overflow: hidden; }
.hv3-track i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: var(--c, var(--electric)); transform-origin: 0 50%; }
.hv3-alert { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; font-size: 13px; color: var(--d-text); background: rgba(242, 169, 59, .1); box-shadow: inset 0 0 0 1px rgba(242, 169, 59, .32); }
.hv3-alert > i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex-shrink: 0; }
.hv3-alert b { color: #F7C374; }
.hv3-btn { margin-left: auto; padding: 5px 12px; border-radius: 99px; font-size: 12px; font-weight: 600; color: #fff; background: var(--electric); }

/* =====================================================================
   FUNCIONALIDADES — bento
   ===================================================================== */
.features .h-display { max-width: 17ch; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.bcard {
  --mx: 50%; --my: 50%;
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(26px, 2.6vw, 36px);
  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(10, 22, 40, .04), 0 30px 60px -44px rgba(10, 22, 40, .32);
  transition: transform .7s var(--ease-spring), box-shadow .7s var(--ease-out);
}
.bcard::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(59, 127, 232, .1), transparent 62%);
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.bcard:hover::before { opacity: 1; }
.bcard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(10, 22, 40, .05), 0 40px 70px -44px rgba(10, 22, 40, .42); }
.bcard-tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--electric); }
.bcard h3 { margin: 14px 0 12px; max-width: 24ch; font-size: clamp(21px, 1.75vw, 26px); line-height: 1.18; letter-spacing: -.03em; font-weight: 620; }
.bcard > p { max-width: 50ch; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.bdemo { margin-top: auto; padding-top: 28px; }

.b-tutor { grid-column: span 7; grid-row: span 2; }
.b-comms { grid-column: span 5; }
.b-method { grid-column: span 5; }
.b-onboard, .b-updates, .b-security { grid-column: span 4; }

.bcard-dark {
  color: var(--d-text);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(59, 127, 232, .3), transparent 60%),
    linear-gradient(170deg, #10223F, var(--midnight) 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 40px 80px -40px rgba(10, 22, 40, .6);
}
.bcard-dark .bcard-tag { color: var(--electric-hi); }
.bcard-dark > p { color: var(--d-text-2); }
.bcard-dark::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(121, 170, 248, .14), transparent 62%); }

/* chat */
.chat { display: flex; flex-direction: column; border-radius: 22px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--d-line-2); overflow: hidden; padding-top: 0; margin-top: auto; }
.b-tutor .chat { flex: 1; margin-top: 32px; }
.b-tutor .chat-body { flex: 1; justify-content: flex-end; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--d-line); }
.chat-av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 12px; font-weight: 700; color: #fff; background: var(--electric); }
.chat-who b { display: block; font-size: 14px; font-weight: 600; color: #fff; }
.chat-who small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #3DDC91; }
.chat-who small i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.chat-time { margin-left: auto; font-size: 12px; color: var(--d-text-3); font-variant-numeric: tabular-nums; }
.chat-body { display: flex; flex-direction: column; gap: 10px; padding: 18px; min-height: 250px; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.msg-me { align-self: flex-end; border-bottom-right-radius: 5px; color: #fff; background: var(--electric); }
.msg-ai { align-self: flex-start; border-bottom-left-radius: 5px; color: var(--d-text); background: rgba(255, 255, 255, .07); }
.msg-ai b { color: #fff; font-weight: 600; }
.msg-typing { display: none; gap: 5px; padding: 14px 16px; }
.msg-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--d-text-2); animation: typing 1.2s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .15s; }
.msg-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.msg-src { align-self: flex-start; padding-left: 4px; font-size: 12px; color: var(--d-text-3); }
.chat-input { display: flex; align-items: center; justify-content: space-between; margin: 0 14px 14px; padding: 8px 8px 8px 16px; border-radius: 14px; font-size: 13.5px; color: var(--d-text-3); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--d-line); }
.chat-send { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #fff; background: var(--electric); }

/* aviso */
.notice { padding: 18px; margin-top: auto; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.b-comms .notice { margin-top: 28px; }
.notice-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 12px; color: var(--ink-3); }
.notice-badge { padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--electric); background: rgba(59, 127, 232, .1); }
.notice > b { display: block; font-size: 15.5px; font-weight: 620; letter-spacing: -.015em; }
.notice-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.notice-read { display: inline-flex; align-items: center; gap: 6px; color: var(--electric); font-weight: 500; }
.notice-read b { font-weight: 650; }

/* flashcard */
.flash { perspective: 1200px; margin-top: auto; }
.b-method .flash { margin-top: 28px; }
.flash-card { position: relative; height: 150px; transform-style: preserve-3d; transition: transform 1s var(--ease-spring); }
.flash-card.is-flipped { transform: rotateY(180deg); }
.flash-face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px 20px; border-radius: 18px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.flash-front { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.flash-back { transform: rotateY(180deg); color: #fff; background: linear-gradient(150deg, var(--royal), var(--midnight)); }
.flash-face small { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.flash-back small { color: var(--electric-hi); }
.flash-face b { font-size: 16.5px; font-weight: 620; letter-spacing: -.02em; line-height: 1.3; }
.flash-front > span { font-size: 12px; color: var(--ink-4); }
.flash-rate { display: flex; gap: 6px; }
.flash-rate i { font-style: normal; padding: 4px 10px; border-radius: 99px; font-size: 11.5px; color: var(--d-text-2); background: rgba(255, 255, 255, .08); }
.flash-rate i.is-on { color: #fff; background: var(--green); }

/* hoja de ruta */
.road { position: relative; display: grid; gap: 14px; padding-left: 22px; }
.road::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1.5px; background: var(--line-2); }
.road::after { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1.5px; background: var(--electric); transform-origin: 50% 0; transform: scaleY(var(--road, 1)); }
.road li { position: relative; display: flex; align-items: baseline; gap: 12px; font-size: 14px; color: var(--ink-2); }
.road li::before { content: ""; position: absolute; left: -22px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--electric); }
.road li:last-child::before { background: var(--electric); }
.road b { width: 44px; flex-shrink: 0; font-size: 12.5px; font-weight: 650; color: var(--ink); }

/* changelog */
.log { display: grid; gap: 8px; }
.log li { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; font-size: 13.5px; font-weight: 500; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.log-k { flex-shrink: 0; padding: 3px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--electric); }
.log-k-b { background: var(--royal); }
.log li i { margin-left: auto; font-style: normal; font-size: 11.5px; color: #12935A; font-weight: 600; }

/* escudo */
.shield { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.shield svg { width: 160px; overflow: visible; }
.eu-ring { transform-origin: 80px 60px; animation: ring-spin 40s linear infinite; }
@keyframes ring-spin { to { transform: rotate(360deg); } }
.shield-tag { padding: 6px 12px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--electric); background: rgba(59, 127, 232, .08); }

/* =====================================================================
   EQUIPO
   ===================================================================== */
.team .h-display { max-width: 14ch; }
.stmts { border-top: 1px solid var(--line-2); }
.stmt {
  display: grid; grid-template-columns: 64px minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 48px); align-items: baseline;
  padding: clamp(26px, 3.2vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}
.stmt-n { font-size: 13px; font-weight: 600; color: var(--electric); font-variant-numeric: tabular-nums; }
.stmt h3 { font-size: clamp(24px, 2.7vw, 40px); line-height: 1.1; letter-spacing: -.038em; font-weight: 620; }
.stmt p { font-size: 17px; color: var(--ink-2); max-width: 40ch; }

.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(64px, 9vw, 120px); }
.person { margin: 0; }
.person:nth-child(2) { margin-top: clamp(0px, 5vw, 72px); }
.person-frame {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background: var(--frost);
  box-shadow: 0 40px 70px -50px rgba(10, 22, 40, .55), inset 0 0 0 1px var(--line);
}
.person-frame picture, .person-frame img { width: 100%; height: 100%; }
.person-frame img { object-fit: cover; object-position: 50% 30%; transform: scale(1.08); transform-origin: 50% 30%; }
.person-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .06); pointer-events: none; }
.person figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 6px 0; }
.person figcaption b { font-size: 18px; font-weight: 620; letter-spacing: -.02em; }
.person figcaption span { font-size: 13.5px; color: var(--ink-3); }

/* =====================================================================
   DEMO / FORMULARIO
   ===================================================================== */
.cta-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-bg .hero-grid { -webkit-mask-image: radial-gradient(ellipse 60% 60% at 70% 50%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 60% at 70% 50%, #000 10%, transparent 70%); opacity: .45; }
.cta-halo {
  position: absolute; right: -15%; top: 50%;
  width: min(1100px, 120vw); aspect-ratio: 1; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(59, 127, 232, .34), rgba(27, 61, 122, .18) 50%, transparent);
  border-radius: 50%;
}
.cta { padding-bottom: var(--sec-y) !important; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(48px, 7vw, 112px); align-items: center; }
.cta-title { max-width: 12ch; margin-bottom: 28px; }
.cta-meta { display: grid; gap: 12px; margin-top: 34px; }
.cta-meta li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--d-text); }
.cta-meta i { position: relative; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; background: rgba(34, 201, 122, .14); }
.cta-meta i::after { content: ""; position: absolute; left: 8px; top: 5px; width: 4px; height: 8px; border: solid #3DDC91; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }

.form-shell { padding: 8px; border-radius: 34px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--d-line-2); }
.cta-form {
  position: relative;
  display: grid; gap: 18px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 27px;
  background: linear-gradient(180deg, rgba(20, 38, 70, .96), rgba(11, 24, 45, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 60px 120px -50px rgba(0, 0, 0, .9);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--d-text-2); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select {
  width: 100%; height: 52px; padding: 0 16px;
  border: 0; border-radius: 14px;
  font: inherit; font-size: 16px; color: #fff;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px var(--d-line-2);
  transition: box-shadow .35s var(--ease-out), background-color .35s var(--ease-out);
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: rgba(212, 232, 255, .32); }
.field input:hover, .field select:hover { box-shadow: inset 0 0 0 1px rgba(212, 232, 255, .28); }
.field input:focus, .field select:focus {
  outline: none;
  background: rgba(59, 127, 232, .09);
  box-shadow: inset 0 0 0 1px var(--electric), 0 0 0 4px rgba(59, 127, 232, .18);
}
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23A9C4EE' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.field select:invalid { color: rgba(212, 232, 255, .45); }
.field select option { color: var(--ink); background: #fff; }
.field.is-invalid input, .field.is-invalid select { box-shadow: inset 0 0 0 1px #F08A8A; }

.consent { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.consent-box { position: relative; width: 22px; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px rgba(212, 232, 255, .4); transition: background-color .3s, box-shadow .3s; }
.consent input:checked + .consent-box { background: var(--electric); box-shadow: none; }
.consent input:checked + .consent-box::after { content: ""; position: absolute; left: 8px; top: 4px; width: 4px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.consent input:focus-visible + .consent-box { outline: 2px solid var(--electric); outline-offset: 3px; }
.field.is-invalid .consent-box { box-shadow: inset 0 0 0 1px #F08A8A; }
.consent-text { font-size: 13px; line-height: 1.55; color: var(--d-text-3); }
.consent-text a { color: var(--d-text-2); }
.form-error { padding: 10px 14px; border-radius: 12px; font-size: 13.5px; color: #FFC9C9; background: rgba(240, 138, 138, .1); box-shadow: inset 0 0 0 1px rgba(240, 138, 138, .3); }
.cta-submit { width: 100%; margin-top: 4px; justify-content: space-between; }
.cta-submit[disabled] { opacity: .7; cursor: progress; }
.cta-note { text-align: center; font-size: 12.5px; color: var(--d-text-3); }
.cta-success { display: grid; justify-items: center; gap: 10px; padding: 40px 10px; text-align: center; }
.cta-success[hidden] { display: none; }
.cta-success-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: #fff; background: var(--green); box-shadow: 0 0 0 10px rgba(34, 201, 122, .12); margin-bottom: 8px; }
.cta-success h3 { font-size: 30px; letter-spacing: -.035em; font-weight: 650; color: #fff; }
.cta-success p { color: var(--d-text-2); }
.cta-form.is-sent > :not(.cta-success) { display: none; }

/* =====================================================================
   PIE
   ===================================================================== */
.footer { position: relative; overflow: clip; padding-top: 72px; color: var(--d-text-2); background: var(--midnight); border-top: 1px solid var(--d-line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { height: 38px; width: auto; color: var(--d-text); margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; max-width: 30ch; }
.footer-loc { margin-top: 8px; color: var(--d-text-3); }
.footer-col h4 { margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--d-text-3); }
.footer-col a { display: block; width: fit-content; max-width: 100%; overflow-wrap: anywhere; padding: 5px 0; font-size: 15px; color: var(--d-text-2); text-decoration: none; transition: color .3s; }
.footer-col a:hover { color: #fff; }
.footer-word {
  margin: clamp(56px, 8vw, 110px) 0 0;
  text-align: center; white-space: nowrap;
  font-size: clamp(64px, 15.5vw, 250px); line-height: .82; letter-spacing: -.065em; font-weight: 700;
  background: linear-gradient(180deg, rgba(212, 232, 255, .2), rgba(212, 232, 255, 0) 92%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  user-select: none;
}
.footer-word.is-split { background: none; }
.footer-word .fl {
  display: inline-block;
  background: linear-gradient(180deg, rgba(212, 232, 255, .2), rgba(212, 232, 255, 0) 92%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.footer-bar { border-top: 1px solid var(--d-line); }
.footer-bar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; font-size: 13px; color: var(--d-text-3); }

/* =====================================================================
   PÁGINAS INTERIORES — cabecera oscura con el mismo fondo del inicio
   ===================================================================== */
.page-hero {
  position: relative; isolation: isolate; overflow: clip;
  padding: calc(var(--nav-h) + clamp(56px, 10vh, 120px)) 0 calc(var(--sheet-r) + clamp(64px, 10vh, 120px));
  color: var(--d-text); background: var(--midnight);
}
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.page-hero-grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.page-title {
  margin-bottom: 26px;
  font-size: clamp(2.6rem, 5.2vw, 4.9rem); line-height: .99; letter-spacing: -.048em; font-weight: 660;
}
.grad-text { background: linear-gradient(180deg, #FFFFFF 35%, #C7DBF7 110%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-accent { background: linear-gradient(100deg, #A9CBFF 0%, #5F98F2 48%, #A2C6FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-title .grad-accent { white-space: nowrap; }
.page-hero .lead, .dm-hero .lead { max-width: 52ch; color: var(--d-text-2); }
.page-hero .hero-actions { margin-top: 36px; }
.note { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); }
.dark .note, .page-hero .note, .hero .note { color: var(--d-text-3); }
.hero--flush { padding-bottom: 0; }
.hero .note { margin: 18px 0 0; }

/* =====================================================================
   INICIO — "Gracias por su confianza" (logos a todo color, protagonistas)
   ===================================================================== */
.thanks { padding-top: clamp(88px, 12vh, 132px); }
.thanks-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 76px); }
.thanks-title { font-size: clamp(2.8rem, 6.4vw, 5.8rem); line-height: .96; letter-spacing: -.052em; font-weight: 660; }
.thanks-title em { display: block; font-style: normal; color: var(--electric); }
.thanks-text { max-width: 36ch; padding-bottom: 12px; font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.6; color: var(--ink-2); }
.thanks-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.thanks-logos li {
  display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center; gap: 20px;
  height: clamp(200px, 19vw, 260px); padding: 40px 24px 26px;
  transition: background-color .5s var(--ease-out);
}
.thanks-logos li + li { border-left: 1px solid var(--line-2); }
.thanks-logos li:hover { background: rgba(255, 255, 255, .7); }
.thanks-logos img {
  width: auto; height: auto; max-width: 84%; max-height: 112px;
  mix-blend-mode: multiply; /* el fondo blanco del logo desaparece sobre el claro */
  transition: transform .6s var(--ease-spring);
}
.thanks-logos li:hover img { transform: scale(1.08); }
.thanks-logos span { text-align: center; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-4); }

/* =====================================================================
   CONFIANZA — "Gracias por su confianza", con protagonismo
   ===================================================================== */
.trust {
  position: relative; z-index: 1; overflow: clip; isolation: isolate;
  padding: clamp(80px, 11vh, 128px) 0 calc(clamp(80px, 11vh, 128px) + var(--sheet-r));
  color: #fff;
  background: linear-gradient(180deg, #1B3D7A 0%, #16336A 100%);
}
.trust-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.trust-bg .hero-grid {
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 10%, transparent 75%);
  opacity: .35;
}
.trust-halo {
  position: absolute; left: 50%; top: 30%; width: min(1100px, 120vw); aspect-ratio: 2;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(121, 170, 248, .28), transparent);
}
.trust-title {
  margin-bottom: clamp(44px, 6vw, 72px);
  text-align: center;
  font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.045em; font-weight: 650;
  color: #B9CCEB;
}
.trust-title span { color: #fff; }
.trust-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); max-width: 1160px; margin-inline: auto; }
.trust-label {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(212, 232, 255, .72);
}
.trust-label::after { content: ""; flex: 1; height: 1px; background: rgba(212, 232, 255, .2); }
.trust-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.trust-logos li {
  display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center; gap: 14px;
  height: clamp(160px, 15vw, 200px); padding: 26px 22px 18px;
  border-radius: 24px; background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 36px 70px -36px rgba(3, 10, 30, .75);
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-out);
}
.trust-logos li:hover { transform: scale(1.05); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 44px 80px -30px rgba(3, 10, 30, .85); }
.trust-logos img { width: auto; height: auto; max-width: 100%; max-height: 96px; }
.trust-logos span { font-size: 13px; font-weight: 600; letter-spacing: -.005em; color: var(--ink-3); }

/* =====================================================================
   COMPARATIVA
   ===================================================================== */
.compare .h-display { max-width: 16ch; margin-inline: auto; }
.cmp {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(7, auto);
  max-width: 1080px; margin-inline: auto;
}
.cmp-row { display: contents; }
.cmp-row > * { grid-row: var(--r); }
.cmp-row > :nth-child(1) { grid-column: 1; }
.cmp-row > :nth-child(2) { grid-column: 2; }
.cmp-row > :nth-child(3) { grid-column: 3; }
.cmp-row > :nth-child(4) { grid-column: 4; }
.cmp-label, .cmp-cell { position: relative; z-index: 1; display: flex; align-items: center; min-height: 76px; padding: 18px 16px; border-bottom: 1px solid var(--line); }
.cmp-label { font-size: clamp(15px, 1.35vw, 18px); font-weight: 560; letter-spacing: -.015em; color: var(--ink); }
.cmp-cell { justify-content: center; text-align: center; }
.cmp-head .cmp-cell, .cmp-head .cmp-label { min-height: 96px; border-bottom-color: var(--line-2); font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--ink-3); }
.cmp-cn { border-bottom-color: rgba(212, 232, 255, .08) !important; }
.cmp-brand { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; font-size: 14px; letter-spacing: .02em; }
.cmp-brand b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 13px; font-weight: 800; letter-spacing: -.04em; color: #fff; background: var(--electric); }
.cmp-pillar {
  grid-column: 2; grid-row: 1 / -1;
  margin: -14px 6px -14px;
  border-radius: 26px;
  background:
    radial-gradient(120% 50% at 50% 0%, rgba(59, 127, 232, .45), transparent 70%),
    linear-gradient(180deg, #13284C, var(--midnight) 70%);
  box-shadow: 0 40px 80px -30px rgba(10, 22, 40, .55), inset 0 1px 0 rgba(255, 255, 255, .1);
  transform-origin: 50% 100%;
}
.cmp i { display: inline-block; width: 30px; height: 30px; border-radius: 50%; position: relative; }
.cmp i.y { background: rgba(10, 22, 40, .06); }
.cmp i.y::after { content: ""; position: absolute; left: 11px; top: 7px; width: 6px; height: 12px; border: solid var(--ink-2); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cmp-cn i.y { background: var(--electric); box-shadow: 0 0 24px rgba(59, 127, 232, .55); }
.cmp-cn i.y::after { border-color: #fff; }
.cmp i.n::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; border-radius: 2px; background: var(--ink-4); opacity: .7; }
.cmp-row:not(.cmp-head):hover .cmp-label { color: var(--electric); }

/* =====================================================================
   PLANES — Aula Virtual / Campus Virtual (sin importes)
   ===================================================================== */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1120px; margin-inline: auto; }
.plan { position: relative; padding: 8px; border-radius: 34px; background: rgba(10, 22, 40, .035); box-shadow: inset 0 0 0 1px var(--line); }
.plan-core {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  padding: clamp(28px, 3.4vw, 46px);
  border-radius: 27px; background: #fff;
  box-shadow: 0 1px 2px rgba(10, 22, 40, .05), 0 40px 80px -56px rgba(10, 22, 40, .4);
}
.plan--campus {
  background: conic-gradient(from var(--ang), rgba(59, 127, 232, .12), rgba(121, 170, 248, .95) 12%, rgba(59, 127, 232, .12) 30%, rgba(59, 127, 232, .12));
  box-shadow: none;
  animation: ang 7s linear infinite;
}
@keyframes ang { to { --ang: 360deg; } }
.plan--campus .plan-core {
  color: var(--d-text);
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(59, 127, 232, .34), transparent 60%),
    linear-gradient(170deg, #11244A, var(--midnight) 70%);
}
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.plan-kicker { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--electric); }
.plan--campus .plan-kicker { color: var(--electric-hi); }
.plan-badge { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff; background: var(--electric); }
.plan h3 { margin-bottom: 12px; font-size: clamp(30px, 3vw, 42px); line-height: 1; letter-spacing: -.045em; font-weight: 660; }
.plan-desc { margin-bottom: 26px; font-size: 16px; color: var(--ink-2); max-width: 40ch; }
.plan--campus .plan-desc { color: var(--d-text-2); }
.plan-plus { margin-bottom: 4px; font-size: 13.5px; font-weight: 600; color: var(--electric-hi); }
.plan-list { display: grid; margin-bottom: 30px; }
.plan-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; padding: 15px 0; border-top: 1px solid var(--line); font-size: 16px; }
.plan--campus .plan-list li { border-top-color: var(--d-line); }
.plan-list li::before {
  content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: rgba(59, 127, 232, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%233B7FE8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan--campus .plan-list li::before { background-color: var(--electric); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-list b { font-weight: 600; }
.plan-list small { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-3); }
.plan--campus .plan-list small { color: var(--d-text-3); }
.plan-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: auto; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--electric); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .5s var(--ease-spring); }
.link-arrow:hover::after { transform: translateX(4px); }
.dark .link-arrow, .plan--campus .link-arrow { color: var(--electric-hi); }
.plans-note { margin-top: 26px; text-align: center; font-size: 14px; color: var(--ink-3); }

/* =====================================================================
   PASOS — cómo funciona / cómo se implanta (línea que se dibuja)
   ===================================================================== */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps-line { position: absolute; left: 14px; right: 14px; top: 13px; height: 1px; background: var(--line-2); }
.dark .steps-line { background: var(--d-line-2); }
.steps-line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--electric), var(--electric-hi)); transform: scaleX(var(--p, 1)); transform-origin: 0 50%; }
.step { position: relative; padding-top: 52px; }
.step-dot {
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--ink-2); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: background-color .5s var(--ease-out), color .5s, box-shadow .5s;
}
.dark .step-dot { color: var(--d-text-2); background: var(--midnight); box-shadow: inset 0 0 0 1.5px var(--d-line-2); }
.step.is-on .step-dot { color: #fff; background: var(--electric); box-shadow: 0 0 0 7px rgba(59, 127, 232, .16); }
.step-card {
  height: 100%;
  padding: 22px 22px 26px; border-radius: 24px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -48px rgba(10, 22, 40, .4);
  transition: box-shadow .6s var(--ease-out), background-color .6s var(--ease-out);
}
.dark .step-card { background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--d-line); }
.step.is-on .step-card { box-shadow: inset 0 0 0 1px rgba(59, 127, 232, .55), 0 30px 70px -40px rgba(59, 127, 232, .45); }
.dark .step.is-on .step-card { background: rgba(59, 127, 232, .08); }
.step h3 { margin: 18px 0 8px; font-size: 19px; line-height: 1.2; letter-spacing: -.025em; font-weight: 620; }
.dark .step h3 { color: #fff; }
.step p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.dark .step p { color: var(--d-text-2); }
.step-viz { position: relative; height: 112px; border-radius: 16px; overflow: hidden; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; }
.dark .step-viz { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--d-line); }
.sv-bubble { max-width: 84%; padding: 9px 12px; border-radius: 14px 14px 14px 4px; font-size: 12.5px; line-height: 1.35; color: #0A1628; background: #DCF8C6; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }
.step .step-viz .sv-bubble { color: var(--ink); }
.sv-bubble small { display: block; margin-top: 3px; text-align: right; font-size: 10px; color: #5F7A5A; }
.sv-call { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 78%; }
.sv-call i { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; background: linear-gradient(160deg, #1B3D7A, #0F2140); }
.sv-call i::after { content: ""; position: absolute; left: 50%; top: 42%; width: 26%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(212, 232, 255, .35); }
.sv-call b { grid-column: 1 / -1; justify-self: center; padding: 3px 10px; border-radius: 99px; font-size: 11px; font-weight: 600; color: #fff; background: #DE4A3F; font-variant-numeric: tabular-nums; }
.sv-brand { display: flex; align-items: center; gap: 10px; }
.sv-brand .sw { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.sv-brand .lg { display: grid; place-items: center; width: 44px; height: 44px; margin-left: 6px; border-radius: 12px; font-size: 14px; font-weight: 700; color: #fff; background: var(--lg, var(--electric)); box-shadow: 0 10px 22px -10px rgba(59, 127, 232, .9); transition: background-color .6s var(--ease-out); }
.sv-plan { display: grid; gap: 6px; width: 80%; }
.sv-plan i { display: flex; align-items: center; gap: 8px; height: 22px; padding: 0 9px; border-radius: 7px; font-style: normal; font-size: 11px; font-weight: 600; color: var(--d-text); background: rgba(255, 255, 255, .07); }
.sv-plan i::before { content: ""; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--d-line-2); }
.sv-plan i.ok::before { background: var(--green); box-shadow: none; }

/* =====================================================================
   ACOMPAÑAMIENTO — mensajes sueltos (no una conversación)
   ===================================================================== */
.ac { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ac-head .h-display { max-width: 15ch; margin-bottom: 22px; }
.ac-team { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.ac-faces { display: flex; flex-shrink: 0; }
.ac-faces img {
  width: 50px; height: 50px; border-radius: 50%; object-fit: cover; object-position: 50% 22%;
  background: var(--frost); box-shadow: 0 0 0 3px var(--paper);
}
.ac-faces img + img { margin-left: -12px; }
.ac-team p { font-size: 14.5px; line-height: 1.45; color: var(--ink-3); }
.ac-team b { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.ac-thread { display: grid; gap: clamp(26px, 3vw, 38px); }
.ac-pair { display: grid; justify-items: start; gap: 8px; width: min(100%, 470px); }
.ac-pair:nth-child(even) { justify-self: end; }
.ac-msg {
  width: fit-content; max-width: 100%;
  padding: 13px 18px 14px; border-radius: 20px 20px 20px 6px;
  font-size: 15.5px; line-height: 1.4; letter-spacing: -.01em;
  box-shadow: 0 20px 40px -30px rgba(10, 22, 40, .55);
}
.ac-who {
  display: table; margin-bottom: 7px; padding: 3px 9px; border-radius: 999px;
  font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.ac-you { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -30px rgba(10, 22, 40, .4); }
.ac-you .ac-who { color: var(--ink-3); background: var(--paper-2); }
.ac-us { color: #fff; background: linear-gradient(160deg, #17325F, var(--midnight)); }
.ac-us .ac-who { color: #fff; background: rgba(121, 170, 248, .22); }
.ac-key { font-size: 16.5px; font-weight: 620; background: linear-gradient(135deg, #4A8BF0, var(--royal)); box-shadow: 0 26px 50px -26px rgba(59, 127, 232, .85); }
.ac-key .ac-who { background: rgba(255, 255, 255, .2); }

/* Quién somos en el inicio */
.team-home-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 72px); }
.team-home-head .lead { margin-bottom: 18px; }
.people--home { margin-top: 0; }

/* =====================================================================
   WEB INTEGRAL — la web de la academia conectada con su campus
   ===================================================================== */
.webint { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.webint .h-display { max-width: 14ch; margin-bottom: 26px; }
.webint-points { display: grid; gap: 14px; margin: 32px 0 38px; }
.webint-points li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; font-size: 16.5px; color: var(--d-text); }
.webint-points li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--electric) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.webint-stage { position: relative; padding-bottom: 10%; }
.browser {
  position: relative; overflow: hidden;
  border-radius: 18px; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 60px 120px -40px rgba(0, 0, 0, .8), 0 0 120px -30px rgba(59, 127, 232, .45);
}
.browser-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 16px; background: #EEF2F8; border-bottom: 1px solid #DDE4EF; }
.browser-bar .hv-dots i { background: #C5CEDC; }
.browser-url { flex: 1; max-width: 300px; margin: 0 auto; padding: 5px 14px; border-radius: 999px; text-align: center; font-size: 12px; color: #5B6A85; background: #fff; }
.sm-nav { display: flex; align-items: center; gap: 22px; padding: 16px 26px; border-bottom: 1px solid #EEF1F6; font-size: 13px; color: var(--ink-2); }
.sm-logo { display: inline-flex; align-items: center; gap: 9px; margin-right: auto; font-weight: 700; color: var(--ink); }
.sm-logo i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; font-style: normal; font-size: 11px; color: #fff; background: #13967A; }
.sm-cta { position: relative; padding: 8px 14px; border-radius: 999px; font-weight: 600; color: #fff; background: #13967A; white-space: nowrap; transition: transform .25s var(--ease-out); }
.sm-cta.is-press { transform: scale(.92); }
.sm-hero { padding: 34px 26px 26px; background: linear-gradient(160deg, #F2FBF8, #fff 60%); }
.sm-hero b { display: block; max-width: 16ch; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.08; letter-spacing: -.035em; }
.sm-hero p { margin-top: 10px; font-size: 13px; color: var(--ink-3); max-width: 36ch; }
.sm-courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0 26px 26px; }
.sm-courses span { padding: 14px; border-radius: 12px; font-size: 12.5px; font-weight: 600; background: #F4F7FB; box-shadow: inset 0 0 0 1px #E6ECF4; }
.sm-courses span::before { content: ""; display: block; height: 46px; margin-bottom: 10px; border-radius: 8px; background: linear-gradient(135deg, #D7F0E8, #BFE3D6); }
.sm-courses span:nth-child(2)::before { background: linear-gradient(135deg, #DCE8FB, #C3D6F5); }
.sm-courses span:nth-child(3)::before { background: linear-gradient(135deg, #F4E6D8, #EBD3BE); }
.wi-campus {
  position: absolute; right: -4%; bottom: 0; width: 42%; z-index: 2;
  --brand: #13967A;
  opacity: 0; transform: translateX(28px) scale(.96);
  transition: opacity .8s var(--ease-out), transform .9s var(--ease-spring);
}
.wi-campus .hv2-phone { width: 100%; padding: 16px; box-shadow: 0 0 0 5px #121D30, 0 0 0 6px rgba(255, 255, 255, .1), 0 40px 70px -24px rgba(0, 0, 0, .85); }
.wi-campus .hv2-title { font-size: 16px; }
.wi-campus .hv2-tasks li:nth-child(3) { display: none; }
.wi-cursor {
  position: absolute; left: 50%; top: 70%; z-index: 3; width: 22px; height: 22px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M4 2l14 8-6 1.6L9 18z' fill='%230A1628' stroke='white' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35));
  opacity: 0;
}
.webint-stage.is-open .wi-campus,
html:not(.motion-ready) .wi-campus { opacity: 1; transform: none; }

/* =====================================================================
   TU MARCA — laboratorio de marca (nombre + color en vivo)
   ===================================================================== */
.brandlab { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.bl-panel { padding: 8px; border-radius: 30px; background: rgba(10, 22, 40, .035); box-shadow: inset 0 0 0 1px var(--line); }
.bl-core { padding: clamp(24px, 3vw, 36px); border-radius: 23px; background: #fff; box-shadow: 0 40px 80px -60px rgba(10, 22, 40, .45); }
.bl-core label, .bl-label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.bl-core input {
  width: 100%; height: 52px; margin-bottom: 24px; padding: 0 16px; border: 0; border-radius: 14px;
  font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow .35s var(--ease-out);
}
.bl-core input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--electric), 0 0 0 4px rgba(59, 127, 232, .16); }
.bl-swatches { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 24px; }
.bl-swatches button {
  width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
  transition: transform .5s var(--ease-spring), box-shadow .4s;
}
.bl-swatches button:hover { transform: scale(1.08); }
.bl-swatches button[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c); }
.bl-hint { font-size: 13.5px; color: var(--ink-3); }
.bl-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 18px; align-items: end; --brand: #3B7FE8; }
.bl-desk { overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 50px 100px -50px rgba(10, 22, 40, .55); }
.bl-desk-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; color: #fff; background: var(--brand); transition: background-color .6s var(--ease-out); }
.bl-desk-top i { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; font-style: normal; font-size: 11px; font-weight: 700; color: var(--brand); background: #fff; transition: color .6s; }
.bl-desk-top b { min-width: 0; font-size: 14.5px; font-weight: 650; }
.bl-desk-top span { margin-left: auto; flex-shrink: 0; font-size: 12px; opacity: .8; }
.bl-desk-body { display: grid; grid-template-columns: 116px minmax(0, 1fr); min-height: 250px; }
.bl-desk-side { display: grid; align-content: start; gap: 4px; padding: 14px 10px; border-right: 1px solid #EEF1F6; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.bl-desk-side span { padding: 8px 10px; border-radius: 8px; }
.bl-desk-side span.on { color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, #fff); transition: color .6s, background-color .6s; }
.bl-desk-main { padding: 18px; min-width: 0; }
.bl-desk-main > b { display: block; margin-bottom: 12px; font-size: 16px; letter-spacing: -.02em; }
.bl-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 8px; border-radius: 10px; font-size: 12.5px; background: #F6F8FC; box-shadow: inset 0 0 0 1px #E8EDF5; }
.bl-row em { flex-shrink: 0; padding: 3px 8px; border-radius: 99px; font-style: normal; font-size: 10px; font-weight: 700; color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, #fff); transition: color .6s, background-color .6s; }
.bl-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bl-row i { flex-shrink: 0; margin-left: auto; width: 64px; height: 6px; border-radius: 3px; background: #E3EAF5; overflow: hidden; }
.bl-row i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--brand); transition: background-color .6s; }
.bl-btn { display: inline-block; margin-top: 6px; padding: 9px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff; background: var(--brand); transition: background-color .6s; }
.bl-stage .hv2-phone { width: 100%; padding: 16px; transform: translateY(8%); }
.bl-stage .hv2-logo, .bl-stage .hv2-track i { transition: background-color .6s var(--ease-out); }
.bl-stage .hv2-tag { transition: color .6s, background-color .6s; }
.bl-stage .hv2-names span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bl-name-out { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Tu Marca — timeline del proceso a medida */
.tl-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.tl-head .h-display { max-width: 13ch; margin-bottom: 22px; }
.tl-head .btn { margin-top: 32px; }
.tl { position: relative; display: grid; gap: 18px; }
.tl::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, rgba(59, 127, 232, .25), var(--electric)); }
.tl-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; align-items: start; }
.tl-dot {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  font-size: 15px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
  color: var(--electric); background: var(--paper);
  box-shadow: inset 0 0 0 2px rgba(59, 127, 232, .35), 0 0 0 6px var(--paper);
}
.tl-step--done .tl-dot { color: #fff; background: var(--electric); box-shadow: 0 0 0 6px var(--paper), 0 14px 30px -10px rgba(59, 127, 232, .8); }
.tl-card { padding: 22px 26px 24px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -48px rgba(10, 22, 40, .4); }
.tl-tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--electric); }
.tl-card h3 { margin: 8px 0 8px; font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -.03em; font-weight: 640; }
.tl-card p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.tl-step--done .tl-card { color: #fff; background: radial-gradient(90% 80% at 100% 0%, rgba(59, 127, 232, .35), transparent 60%), linear-gradient(165deg, #12274B, var(--midnight) 70%); box-shadow: 0 40px 80px -40px rgba(10, 22, 40, .6); }
.tl-step--done .tl-tag { color: var(--electric-hi); }
.tl-step--done .tl-card p { color: var(--d-text-2); }

/* Tu Marca — laboratorio sobre capturas reales */
.bl-stage { display: block; position: relative; padding-bottom: 9%; --hue: 0deg; }
.bl-desk-cap { width: 86%; }
.bl-screen { overflow: hidden; }
.bl-img { filter: hue-rotate(var(--hue)); transition: filter .7s var(--ease-out); }
.bl-logo { position: absolute; display: flex; align-items: center; background: #fff; color: var(--ink); }
.bl-logo i { display: grid; place-items: center; flex-shrink: 0; font-style: normal; font-weight: 700; color: #fff; background: var(--brand); transition: background-color .7s var(--ease-out); }
.bl-logo b { font-weight: 700; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bl-logo > span { min-width: 0; display: grid; }
.bl-logo--desk { left: .9%; top: 1.9%; width: 15.4%; height: 6.75%; gap: .9cqw; padding-left: .4cqw; }
.bl-logo--desk i { width: 2.6cqw; height: 2.6cqw; border-radius: .7cqw; font-size: .95cqw; }
.bl-logo--desk b { font-size: 1.22cqw; line-height: 1.1; }
.bl-logo--desk small { font-size: .56cqw; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.bl-logo--phone { left: 11%; top: 1.5%; width: 60%; height: 6.2%; gap: 3cqw; }
.bl-logo--phone i { width: 8cqw; height: 8cqw; border-radius: 2.2cqw; font-size: 3cqw; }
.bl-logo--phone b { font-size: 4.4cqw; }
.bl-stage .bl-phone-cap { position: absolute; right: 0; bottom: 0; width: 26%; }

/* tarjetas de valores */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.values--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.value { padding: clamp(24px, 2.6vw, 34px); border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -48px rgba(10, 22, 40, .35); }
.value-ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 14px; color: var(--electric); background: rgba(59, 127, 232, .1); }
.value h3 { margin-bottom: 10px; font-size: 21px; letter-spacing: -.025em; font-weight: 620; }
.value p { font-size: 15.5px; color: var(--ink-2); }
.dark .value { background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--d-line); }
.dark .value h3 { color: #fff; }
.dark .value p { color: var(--d-text-2); }
.dark .value-ico { color: #fff; background: rgba(59, 127, 232, .3); }

/* =====================================================================
   CAPTURAS ANOTADAS — marco, chinchetas numeradas y lupa de detalle
   ===================================================================== */
.feature { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(104px, 14vh, 160px); }
.feature--flip { grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); }
.feature--flip .feature-copy { order: 2; }
.feature-num { display: inline-block; margin-bottom: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--electric); }
.feature-copy h3 { margin-bottom: 14px; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; letter-spacing: -.04em; font-weight: 650; }
.feature-copy > p { color: var(--ink-2); max-width: 44ch; }
.cap-legend { display: grid; gap: 4px; margin-top: 26px; counter-reset: pin; }
.cap-legend li {
  display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 12px 14px; margin-left: -14px; border-radius: 14px;
  transition: background-color .35s var(--ease-out);
}
.cap-legend li::before {
  counter-increment: pin; content: counter(pin);
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  font-size: 12px; font-weight: 700; color: #fff; background: var(--electric);
}
.cap-legend li.is-hot { background: rgba(59, 127, 232, .08); }
.cap-legend b { display: block; font-size: 15.5px; font-weight: 600; }
.cap-legend span { font-size: 14.5px; color: var(--ink-3); }

.cap { position: relative; margin: 0; }
.cap-frame {
  position: relative; overflow: hidden;
  border-radius: 18px; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 2px 4px rgba(10, 22, 40, .04), 0 60px 110px -60px rgba(10, 22, 40, .55);
}
.cap-bar { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; background: #EEF2F8; border-bottom: 1px solid #DDE4EF; }
.cap-bar .hv-dots i { background: #C5CEDC; }
.cap-url { flex: 1; max-width: 340px; margin: 0 auto; padding: 4px 14px; border-radius: 999px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; font-size: 11.5px; color: #5B6A85; background: #fff; }
.cap-screen { position: relative; container-type: inline-size; }
.cap-screen > img { display: block; width: 100%; height: auto; }
.cap-screen .app { border: 0; border-radius: 0; box-shadow: none; }
.pin {
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  display: grid; place-items: center;
  width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  font-size: 12.5px; font-weight: 700; color: #fff; background: var(--electric);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 8px 18px -4px rgba(59, 127, 232, .7);
  transition: transform .5s var(--ease-spring);
}
.pin::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--electric); opacity: 0; animation: pin-ring 2.6s var(--ease-out) infinite; }
@keyframes pin-ring { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
.pin.is-hot { transform: scale(1.18); }
.zoom-area {
  position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 1;
  border-radius: 8px; border: 2px dashed rgba(59, 127, 232, .85); background: rgba(59, 127, 232, .05);
  pointer-events: none;
}
.cap-zoom {
  position: absolute; z-index: 3;
  left: -7%; bottom: -13%; width: 40%; aspect-ratio: 1.5;
  overflow: hidden; border-radius: 20px; background: #fff;
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px rgba(10, 22, 40, .08), 0 40px 80px -30px rgba(10, 22, 40, .6);
}
.feature--flip .cap-zoom { left: auto; right: -7%; }
.cap-zoom-in { position: absolute; left: 0; top: 0; transform-origin: 0 0; container-type: inline-size; pointer-events: none; }
.cap-zoom-in .pin, .cap-zoom-in .zoom-area { display: none; }
.cap-zoom-tag { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(10, 22, 40, .82); }
.cap-ph { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 16px; text-align: center; font-size: 14px; color: var(--ink-3); background: repeating-linear-gradient(45deg, #EEF2F8, #EEF2F8 12px, #F5F8FC 12px, #F5F8FC 24px); }

/* =====================================================================
   PESTAÑAS POR ROL — alumno / profesor / dirección
   ===================================================================== */
.roles-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin-bottom: 34px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--d-line-2); }
.roles-tabs button {
  height: 42px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  font-size: 14.5px; font-weight: 600; color: var(--d-text-2); background: transparent;
  transition: color .35s, background-color .45s var(--ease-out);
}
.roles-tabs button[aria-selected="true"] { color: var(--midnight); background: #fff; }
.roles-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.roles-panel[hidden] { display: none; }
.role-step { padding: 26px; border-radius: 24px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--d-line); animation: role-in .7s var(--ease-out) both; }
.role-step:nth-child(2) { animation-delay: .08s; }
.role-step:nth-child(3) { animation-delay: .16s; }
@keyframes role-in { from { opacity: 0; filter: blur(6px); } }
.role-step span { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; color: var(--electric-hi); }
.role-step h3 { margin: 12px 0 8px; font-size: 19px; letter-spacing: -.025em; font-weight: 620; color: #fff; }
.role-step p { font-size: 15px; color: var(--d-text-2); }

/* =====================================================================
   BLOQUE FINAL DE LLAMADA A LA ACCIÓN
   ===================================================================== */
.cta-band { text-align: center; }
.cta-band .h-display { max-width: 17ch; margin: 0 auto 22px; }
.cta-band .lead { margin: 0 auto; }
.cta-band .hero-actions { justify-content: center; margin-top: 36px; }
.cta-band .note { margin-top: 20px; }

/* chips "todo lo del Aula Virtual" */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--electric); }
.dark .chips li { color: var(--d-text); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--d-line-2); }

/* =====================================================================
   RECREACIÓN DEL PANEL REAL (portada de la versión anterior)
   Dibujada a 1040 px; 1 unidad (--u) = 1 px de diseño.
   ===================================================================== */
.app {
  --u: calc(100cqw / 1040);
  width: 100%; background: #F5F6FA; border: 1px solid var(--line-2); border-radius: calc(10 * var(--u));
  overflow: hidden; font-size: calc(13 * var(--u)); line-height: 1.4; color: #141C2B; text-align: left;
  box-shadow: 0 1px 2px rgba(16,24,40,0.05), 0 24px 48px -28px rgba(10,22,40,0.28);
}
.app-url { display: flex; align-items: center; gap: calc(8 * var(--u)); height: calc(34 * var(--u)); padding: 0 calc(14 * var(--u)); background: #fff; border-bottom: 1px solid #E6EAF3; color: #4A5872; font-size: calc(12 * var(--u)); }
.app-url i { width: calc(10 * var(--u)); height: calc(10 * var(--u)); border: calc(1.5 * var(--u)) solid #8A96AD; border-radius: calc(3 * var(--u)); }
.app-body { display: grid; grid-template-columns: calc(200 * var(--u)) minmax(0, 1fr); }
.app-side { background: #fff; border-right: 1px solid #E6EAF3; padding: calc(18 * var(--u)) calc(12 * var(--u)); }
.app-logo { display: flex; align-items: center; gap: calc(9 * var(--u)); padding: 0 calc(8 * var(--u)) calc(18 * var(--u)); font-weight: 700; font-size: calc(14 * var(--u)); }
.app-logo span { width: calc(28 * var(--u)); height: calc(28 * var(--u)); border-radius: calc(7 * var(--u)); background: var(--royal); color: #fff; display: grid; place-items: center; }
.app-nav { display: flex; flex-direction: column; gap: calc(2 * var(--u)); }
.app-nav span { display: flex; align-items: center; justify-content: space-between; padding: calc(9 * var(--u)) calc(10 * var(--u)); border-radius: calc(8 * var(--u)); color: #4A5872; font-weight: 700; }
.app-nav .on { background: #DCEAFD; color: var(--electric); }
.app-nav em { font-style: normal; font-size: calc(10.5 * var(--u)); background: #DE4A3F; color: #fff; border-radius: calc(10 * var(--u)); padding: calc(1 * var(--u)) calc(7 * var(--u)); }
.app-main { padding: 0 calc(22 * var(--u)) calc(22 * var(--u)); min-width: 0; }
.app-top { display: flex; align-items: center; justify-content: space-between; height: calc(56 * var(--u)); border-bottom: 1px solid #E6EAF3; margin: 0 calc(-22 * var(--u)) calc(20 * var(--u)); padding: 0 calc(22 * var(--u)); background: #fff; }
.app-search { width: calc(260 * var(--u)); height: calc(32 * var(--u)); border: 1px solid #D7DEEB; border-radius: calc(16 * var(--u)); background: #F5F6FA; }
.app-user { display: flex; align-items: center; gap: calc(10 * var(--u)); color: #8A96AD; font-size: calc(12 * var(--u)); }
.app-user b { display: block; color: #141C2B; font-size: calc(12.5 * var(--u)); }
.app-ava { width: calc(32 * var(--u)); height: calc(32 * var(--u)); border-radius: 50%; background: #DCEAFD; color: var(--electric); display: grid; place-items: center; font-weight: 700; font-size: calc(11 * var(--u)); }
.app-h { display: flex; align-items: flex-end; justify-content: space-between; gap: calc(12 * var(--u)); margin-bottom: calc(18 * var(--u)); }
.app-h h4 { font-size: calc(20 * var(--u)); letter-spacing: -0.015em; }
.app-h p { color: #4A5872; margin-top: calc(4 * var(--u)); }
.app-h p b { color: #DE4A3F; }
.app-btns { display: flex; gap: calc(8 * var(--u)); }
.app-btns span { height: calc(34 * var(--u)); padding: 0 calc(14 * var(--u)); border-radius: calc(8 * var(--u)); display: grid; place-items: center; font-weight: 700; font-size: calc(12 * var(--u)); border: 1px solid #D7DEEB; background: #fff; color: #4A5872; white-space: nowrap; }
.app-btns .p { background: var(--royal); border-color: var(--royal); color: #fff; }
.app-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: calc(12 * var(--u)); margin-bottom: calc(18 * var(--u)); }
.app-kpi { background: #fff; border: 1px solid #E6EAF3; border-radius: calc(10 * var(--u)); padding: calc(12 * var(--u)) calc(14 * var(--u)); }
.app-kpi small { display: block; font-size: calc(10 * var(--u)); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8A96AD; }
.app-kpi strong { display: block; font-size: calc(22 * var(--u)); letter-spacing: -0.02em; margin: calc(4 * var(--u)) 0 calc(2 * var(--u)); }
.app-kpi span { font-size: calc(11 * var(--u)); color: #8A96AD; }
.app-table { background: #fff; border: 1px solid #E6EAF3; border-radius: calc(10 * var(--u)); overflow: hidden; }
.app-tr { display: grid; grid-template-columns: calc(30 * var(--u)) 1.6fr 1fr 1.2fr 1fr calc(70 * var(--u)); gap: calc(12 * var(--u)); align-items: center; padding: calc(10 * var(--u)) calc(16 * var(--u)); border-top: 1px solid #E6EAF3; }
.app-tr:first-child { border-top: 0; background: #F1F4F9; font-size: calc(10.5 * var(--u)); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #4A5872; }
.app-tr > :last-child { text-align: right; font-weight: 700; }
.app-tr--4 { grid-template-columns: minmax(0, 2.6fr) repeat(3, minmax(0, 1fr)); }
.app-tr--4 > :not(:first-child) { text-align: right; }
.app-sub { display: block; font-weight: 400; color: #8A96AD; font-size: calc(11 * var(--u)); margin-top: calc(2 * var(--u)); }
.app-n { color: #8A96AD; font-size: calc(11 * var(--u)); }
.app-who { display: flex; align-items: center; gap: calc(9 * var(--u)); font-weight: 700; min-width: 0; white-space: nowrap; }
.app-who i { width: calc(28 * var(--u)); height: calc(28 * var(--u)); border-radius: 50%; background: #DCEAFD; color: var(--electric); display: grid; place-items: center; font-style: normal; font-size: calc(10 * var(--u)); flex: 0 0 auto; }
.app-risk { font-size: calc(9.5 * var(--u)); letter-spacing: .05em; text-transform: uppercase; color: #DE4A3F; background: #FCE3E0; border-radius: calc(5 * var(--u)); padding: calc(2 * var(--u)) calc(6 * var(--u)); }
.app-grp { display: flex; align-items: center; gap: calc(7 * var(--u)); color: #4A5872; white-space: nowrap; }
.app-grp i { width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: calc(3 * var(--u)); }
.app-bar { height: calc(6 * var(--u)); border-radius: calc(3 * var(--u)); background: #F1F4F9; overflow: hidden; }
.app-bar i { display: block; height: 100%; border-radius: calc(3 * var(--u)); }
.app-muted { color: #4A5872; }
.app .ok { color: #0FA98B; }
.app .bad { color: #DE4A3F; }

/* =====================================================================
   FORMULARIO DE DEMO (campos de BACKEND-ADS-SETUP §4.4)
   ===================================================================== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-opt { font-weight: 400; color: var(--d-text-3); }
.form-note { text-align: center; font-size: 13px; color: var(--d-text-2); }
.form-rgpd { font-size: 11.5px; line-height: 1.55; color: var(--d-text-3); }
.form-error[hidden] { display: none; }

.facts { display: grid; gap: 12px; margin-top: 30px; }
.facts li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--d-text); }
.facts li::before { content: ""; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: rgba(34, 201, 122, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%233DDC91' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.alt-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.mail-line { margin-top: 18px; font-size: 14.5px; color: var(--d-text-2); }
.mail-line a { color: #fff; }

/* =====================================================================
   WHATSAPP — botón flotante (única excepción a la paleta: #25D366)
   ===================================================================== */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 42;
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  color: #fff; background: #25D366;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7), 0 4px 12px rgba(0, 0, 0, .2);
  transition: transform .5s var(--ease-spring), bottom .5s var(--ease-out);
}
.wa-float:hover { transform: scale(1.07); }
.btn-wa { padding: 0 24px; color: #fff; background: #25D366; box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .8); }
.btn-wa:hover { background: #21C25D; }
.btn-wa svg { flex-shrink: 0; }
.btn-light-ghost { padding: 0 22px; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-light-ghost:hover { background: var(--paper); }

/* =====================================================================
   COOKIES (marcado de BACKEND-ADS-SETUP §4.3; Aceptar y Rechazar idénticos)
   ===================================================================== */
#cookie-banner {
  position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 44;
  width: min(440px, calc(100vw - 40px));
  padding: 20px; border-radius: 22px;
  font-size: 13.5px; line-height: 1.55; color: var(--d-text-2);
  background: rgba(13, 27, 49, .97);
  box-shadow: inset 0 0 0 1px var(--d-line-2), 0 30px 60px -20px rgba(0, 0, 0, .6);
  animation: cookie-in .8s var(--ease-out) both;
}
#cookie-banner[hidden] { display: none; }
#cookie-banner a { color: #fff; }
@keyframes cookie-in { from { opacity: 0; } }
.cb-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cb-btn {
  height: 46px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 14.5px; font-weight: 600; color: var(--midnight); background: #fff;
  transition: background-color .3s;
}
.cb-btn:hover { background: var(--frost); }
.cb-link { margin-top: 12px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: 13px; color: var(--d-text-2); text-decoration: underline; text-underline-offset: 3px; }
#cookie-settings {
  width: min(400px, calc(100vw - 32px)); padding: 28px; border: 0; border-radius: 24px;
  color: var(--d-text); background: var(--midnight-2);
  box-shadow: inset 0 0 0 1px var(--d-line-2), 0 40px 80px -20px rgba(0, 0, 0, .7);
}
#cookie-settings::backdrop { background: rgba(10, 22, 40, .55); }
#cookie-settings form { display: grid; gap: 16px; }
#cookie-settings label { display: flex; align-items: center; gap: 10px; font-size: 15px; }
#cookie-settings input { width: 18px; height: 18px; accent-color: var(--electric); }

/* pie: "Configurar cookies" con aspecto de enlace */
.footer-col button { display: block; padding: 5px 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: 15px; color: var(--d-text-2); text-align: left; transition: color .3s; }
.footer-col button:hover { color: #fff; }

/* =====================================================================
   /demo y /demo/gracias — mínimas, sin menú y sin librerías externas
   ===================================================================== */
.dm-hero { position: relative; isolation: isolate; overflow: clip; padding: calc(var(--nav-h) + 40px) 0 calc(var(--sheet-r) + 56px); color: var(--d-text); background: var(--midnight); }
.dm-hero .page-title { font-size: clamp(2.4rem, 9.4vw, 4.6rem); max-width: 13ch; margin-bottom: 18px; }
.dm-hero .lead { margin-bottom: 26px; }
.dm-actions { display: grid; gap: 10px; max-width: 440px; }
.dm-actions .btn { width: 100%; justify-content: center; }
.dm-actions .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dm-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dm-caps figure { margin: 0; }
.dm-caps .cap-frame { border-radius: 16px; }
.dm-caps figcaption { margin-top: 12px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.dm-caps .cap-ph { aspect-ratio: 4 / 5; font-size: 13px; }
.dm-box { padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -48px rgba(10, 22, 40, .35); }
.dm-box h2 { margin-bottom: 10px; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.035em; font-weight: 650; }
.dm-box p { color: var(--ink-2); }
.dm-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.dm-team li { display: flex; align-items: center; gap: 12px; }
.dm-team img { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; object-fit: cover; object-position: 50% 22%; background: var(--frost); }
.dm-team b { display: block; font-size: 15px; }
.dm-team span { font-size: 13.5px; color: var(--ink-3); }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-links a, .legal-links button { padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--d-text-2); text-decoration: none; cursor: pointer; }
.legal-links a:hover, .legal-links button:hover { color: #fff; }
.gr-wrap { min-height: 100svh; display: grid; align-content: center; padding: calc(var(--nav-h) + 40px) 0 80px; }
.gr-ico { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 26px; border-radius: 50%; color: #fff; background: var(--green); box-shadow: 0 0 0 12px rgba(34, 201, 122, .12); animation: gr-pop .9s var(--ease-spring) both; }
@keyframes gr-pop { from { transform: scale(.6); opacity: 0; } }

/* entrada suave sin JS (para /demo y /demo/gracias) */
.css-in { animation: css-in 1s var(--ease-out) both; }
.css-in-2 { animation-delay: .12s; }
.css-in-3 { animation-delay: .24s; }
@keyframes css-in { from { opacity: 0; filter: blur(6px); } }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
  .nav-inner { gap: 16px; }
  .nav-links > a, .nav-dd-btn { padding: 8px 10px; font-size: 14px; }
  .nav-cta { margin-left: 4px; }
}

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 720px; }
  .hero-title { font-size: clamp(2.6rem, 7.6vw, 4.6rem); }
  .hero-visual { margin-right: calc(-1 * var(--gutter) - 6%); margin-top: 24px; max-width: 900px; }
  .hero { min-height: 0; }
  .how-step { grid-template-columns: minmax(0, 1fr); }
  .how-text { max-width: 620px; }
  .b-tutor { grid-column: span 12; grid-row: auto; }
  .b-comms, .b-method { grid-column: span 6; }
  .b-onboard, .b-updates, .b-security { grid-column: span 6; }
  .b-security { grid-column: span 12; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; margin-left: 0; }
  .nav-cta { margin-left: auto; }
  .stmt { grid-template-columns: 40px minmax(0, 1fr); }
  .stmt p { grid-column: 2; }
}

@media (max-width: 700px) {
  :root { --nav-h: 64px; --sec-y: 88px; }
  body { font-size: 16px; }
  .nav.is-scrolled { height: 58px; }
  .nav-logo .logo { height: 32px; }
  .nav-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .hero { padding-top: calc(var(--nav-h) + 36px); }
  .eyebrow { letter-spacing: .13em; font-size: 11.5px; gap: 10px; }
  .hero-title { font-size: clamp(1.9rem, 9.2vw, 3.4rem); margin-bottom: 24px; }
  .cycle { gap: 10px; font-size: 13.5px; margin-bottom: 30px; }
  .cycle-window { width: 20.5em; }
  .hero-actions .btn { width: 100%; justify-content: space-between; }
  .hero-actions .btn-ghost { justify-content: center; gap: 10px; }
  .hero-visual { margin-right: -18%; margin-top: 36px; }
  .float-b { display: none; }
  .float-a { left: 30%; top: -6%; padding: 8px 12px 8px 8px; }
  .float-a small { display: none; }
  .float-ico { width: 24px; height: 24px; border-radius: 7px; }
  .tablet-body { border-radius: 14px; }
  .tablet-display { border-radius: 9px; }
  .laptop-screen { border-radius: 12px 12px 4px 4px; }
  .logos-band { flex-direction: column; height: auto; }
  .logos-title { justify-content: center; padding: 14px var(--gutter) 0; border-right: 0; font-size: 13px; }
  .logos-reel { flex: none; height: 66px; }
  .logos-group li { margin: 0 24px; }
  .logos-group img { height: 32px; }

  .sec-head { margin-bottom: 48px; }

  .hv-core { min-height: 0; }
  .hv1-body { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .hv1-arrow { transform: rotate(90deg); justify-self: center; width: 30px; }
  .hv2-body { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 18px; }
  .hv2-brands { grid-auto-flow: column; justify-content: start; align-items: center; }
  .hv2-brands-label { writing-mode: horizontal-tb; transform: none; margin: 0 6px 0 0; }
  .hv2-ring { display: none; }
  .hv2-sw.is-on { box-shadow: 0 0 0 2px var(--midnight), 0 0 0 3.5px #fff; }
  .hv3-body { padding: 16px; }
  .hv3-kpis { grid-template-columns: 1fr 1fr; }
  .hv3-kpi-main { grid-column: 1 / -1; }
  .hv3-grid { grid-template-columns: minmax(0, 1fr); }
  .hv3-big { font-size: 40px; }
  .hv3-mid { font-size: 26px; }
  .hv-bar { padding: 0 16px; font-size: 10.5px; gap: 10px; }


  .bento { gap: 14px; }
  .b-tutor, .b-comms, .b-method, .b-onboard, .b-updates, .b-security { grid-column: span 12; }
  .bcard { border-radius: 24px; }
  .chat-body { min-height: 230px; padding: 14px; }
  .msg { font-size: 13.5px; max-width: 92%; }



  .stmt { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .stmt p { grid-column: auto; font-size: 16px; }
  .people { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .person:nth-child(2) { margin-top: 0; }
  .person-frame { aspect-ratio: 4 / 3.6; }
  .person-frame img { object-position: 50% 22%; }

  .field-row, .form-row { grid-template-columns: minmax(0, 1fr); }
  .thanks-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thanks-logos li { height: 150px; padding: 26px 14px 16px; gap: 12px; }
  .thanks-logos li:nth-child(3) { border-left: 0; }
  .thanks-logos li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .thanks-logos img { max-height: 70px; }
  .thanks-logos span { font-size: 10px; letter-spacing: .1em; }
  .ac-pair { width: 100%; }
  .ac-pair:nth-child(even) { padding-left: 24px; }
  .cmp { grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, .75fr)); }
  .cmp-label, .cmp-cell { min-height: 64px; padding: 14px 6px; }
  .cmp-label { font-size: 13.5px; padding-left: 0; }
  .cmp-head .cmp-cell { font-size: 11px; min-height: 84px; }
  .cmp-brand { font-size: 11px; }
  .cmp-brand b { width: 28px; height: 28px; font-size: 11px; border-radius: 8px; }
  .cmp i { width: 24px; height: 24px; }
  .cmp i.y::after { left: 8.5px; top: 5px; width: 5px; height: 10px; }
  .cmp i.n::after { top: 11px; left: 7px; right: 7px; }
  .cmp-pillar { margin: -10px 2px; border-radius: 18px; }
  .trust-logos { gap: 12px; }
  .trust-logos li { height: 132px; padding: 18px 14px 12px; border-radius: 18px; }
  .trust-logos img { max-height: 64px; }
  .trust-logos span { font-size: 12px; }
  .ac-msg { max-width: 92%; font-size: 15px; }
  .ac-thread { border-radius: 26px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 20px; }
  .footer-bar .wrap { flex-direction: column; gap: 4px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; flex-direction: column; align-items: stretch; gap: 12px; }
}

@media (max-width: 380px) {
  .cycle { font-size: 12.5px; }
  .hero-title { font-size: 8.8vw; }
}

/* =====================================================================
   AJUSTES POR PÁGINA (versión final)
   ===================================================================== */
.h-display--md { font-size: clamp(2.1rem, 4.1vw, 3.7rem); }
.lead-center { margin: 22px auto 0; text-align: center; }
.sec-head-center .lead { margin-inline: auto; }
.how-sec .sec-head { max-width: 900px; }
.how-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: clamp(48px, 7vw, 72px); }
.how-cta .note { margin: 0; }
.steps--plain .step-card { padding-top: 24px; }
.steps--plain .step h3 { margin-top: 0; }
.plans-sec { padding-top: 0; }

/* hero de páginas interiores */
.page-hero--end { padding-bottom: clamp(80px, 12vh, 140px); }
.contact-grid { align-items: start; }
.contact-grid .form-shell { margin-top: 6px; }
.tm-hero-visual .hv-core, .cv-hero .hv-core { min-height: 0; }
.tm-hero-visual .hv2-body { padding: 28px; }
.pv-hero { position: relative; display: grid; place-items: center; padding: 24px 0; }
.pv-phone { width: min(100%, 380px); }
.pv-float { left: auto; right: 4%; top: auto; bottom: 2%; }
.cv-hero { max-width: 640px; justify-self: end; width: 100%; }
.cv-first { margin-top: clamp(64px, 9vw, 104px); }
.cv-demo { width: 100%; }
.cv-demo--study { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.cv-plan { width: 100%; }
.cv-flash .flash { margin: 0; padding: 0; }
.cv-flash .flash-card { height: 220px; }
.cv-demo--chat { padding: 22px; border-radius: 30px; }
.cv-demo--chat .chat { margin: 0; padding: 0; }
.cv-demo--chat .chat-body { min-height: 300px; justify-content: flex-end; }
.cap-img { display: block; width: 100%; height: auto; }
.cap--phone { width: min(100%, 300px); justify-self: center; }
.cap--phone .cap-frame { padding: 8px; border-radius: 34px; background: linear-gradient(160deg, #26324A, #0B111D 60%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 50px 90px -40px rgba(10, 22, 40, .7); }
.cap--phone .cap-screen { overflow: hidden; border-radius: 26px; }
.cap--phone .pin { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: 11.5px; }
.cv-demo--study { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.dm-caps .cap-frame .cap-img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 0 0; }
.cap-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }
.feature .cap-note { text-align: right; }
.feature--flip .cap-note { text-align: left; }
.feature .cap { margin-bottom: 9%; }
.where { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.where-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.people--top { margin-top: 0; margin-bottom: clamp(96px, 13vh, 150px); }
.qs-head { margin-bottom: clamp(36px, 5vw, 56px); }
.dm-sec { padding-top: clamp(64px, 9vh, 96px); padding-bottom: clamp(64px, 9vh, 96px); }
.dm-howdemo { margin-top: clamp(40px, 6vw, 64px); }
.dm-howdemo .dm-actions { margin-top: 22px; }
.dm-form { padding-bottom: clamp(80px, 12vh, 120px) !important; }
.dm-form-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.dm-form-grid .h-display { margin-bottom: 18px; }
.form-error { display: grid; gap: 12px; }
.form-error-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.form-error-actions .btn { padding: 0 16px; }
.cta-submit { justify-content: space-between; }
.webint-copy .hero-actions .btn-ghost svg { color: #25D366; }

/* recreaciones extra del panel (Aula y Campus) */
.app-tabs { display: flex; width: fit-content; gap: calc(6 * var(--u)); margin-bottom: calc(14 * var(--u)); }
.app-tabs span { padding: calc(7 * var(--u)) calc(14 * var(--u)); border-radius: calc(16 * var(--u)); font-size: calc(12 * var(--u)); font-weight: 700; color: #4A5872; background: #fff; border: 1px solid #E1E7F0; }
.app-tabs .on { color: #fff; background: var(--royal); border-color: var(--royal); }
.app .app-soon { color: #C97D0F; }
.app-kpis--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.app-vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(12 * var(--u)); }
.app-vid { padding: calc(8 * var(--u)) calc(8 * var(--u)) calc(12 * var(--u)); border-radius: calc(10 * var(--u)); background: #fff; border: 1px solid #E6EAF3; }
.app-vid i { position: relative; display: block; aspect-ratio: 16 / 9; margin-bottom: calc(8 * var(--u)); border-radius: calc(7 * var(--u)); background: linear-gradient(150deg, #24467F, #0F2140); }
.app-vid i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: translate(-35%, -50%); border-style: solid; border-width: calc(9 * var(--u)) 0 calc(9 * var(--u)) calc(15 * var(--u)); border-color: transparent transparent transparent #fff; }
.app-vid:nth-child(2) i { background: linear-gradient(150deg, #3B7FE8, #1B3D7A); }
.app-vid b { display: block; font-size: calc(12.5 * var(--u)); }
.app-vid small { font-size: calc(11 * var(--u)); color: #8A96AD; }
.app-cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: calc(8 * var(--u)); margin-bottom: calc(14 * var(--u)); }
.app-cal > div { display: grid; align-content: start; gap: calc(6 * var(--u)); min-height: calc(150 * var(--u)); padding: calc(10 * var(--u)); border-radius: calc(10 * var(--u)); background: #fff; border: 1px solid #E6EAF3; }
.app-cal small { font-size: calc(10.5 * var(--u)); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #8A96AD; }
.app-cal .ev { padding: calc(6 * var(--u)) calc(8 * var(--u)); border-radius: calc(6 * var(--u)); font-size: calc(11 * var(--u)); font-weight: 700; line-height: 1.25; }
.ev-a { color: #1B3D7A; background: #DCE6F7; box-shadow: inset calc(3 * var(--u)) 0 0 #1B3D7A; }
.ev-b { color: #0B6F84; background: #DCF1F6; box-shadow: inset calc(3 * var(--u)) 0 0 #0E93B4; }
.ev-c { color: #8A5A0B; background: #F8ECD7; box-shadow: inset calc(3 * var(--u)) 0 0 #C97D0F; }
.app-notice { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: calc(12 * var(--u)); align-items: center; padding: calc(12 * var(--u)) calc(16 * var(--u)); border-radius: calc(10 * var(--u)); background: #fff; border: 1px solid #E6EAF3; }
.app-notice b { padding: calc(4 * var(--u)) calc(10 * var(--u)); border-radius: calc(6 * var(--u)); font-size: calc(11 * var(--u)); color: var(--electric); background: #DCEAFD; white-space: nowrap; }
.app-notice em { font-style: normal; font-size: calc(11.5 * var(--u)); font-weight: 700; color: #0FA98B; white-space: nowrap; }
.app-q { padding: calc(16 * var(--u)) calc(18 * var(--u)); margin-bottom: calc(12 * var(--u)); border-radius: calc(10 * var(--u)); background: #fff; border: 1px solid #E6EAF3; }
.app-q-t { font-size: calc(14 * var(--u)); font-weight: 700; margin-bottom: calc(10 * var(--u)); }
.app-q-t span { display: inline-block; margin-right: calc(10 * var(--u)); padding: calc(3 * var(--u)) calc(8 * var(--u)); border-radius: calc(5 * var(--u)); font-size: calc(10 * var(--u)); letter-spacing: .05em; text-transform: uppercase; color: var(--electric); background: #DCEAFD; vertical-align: middle; }
.app-q ul { display: grid; grid-template-columns: repeat(2, calc(250 * var(--u))); gap: calc(8 * var(--u)); margin-bottom: calc(10 * var(--u)); }
.app-q li { padding: calc(8 * var(--u)) calc(12 * var(--u)); border-radius: calc(7 * var(--u)); border: 1px solid #E1E7F0; font-size: calc(12.5 * var(--u)); }
.app-q li.ok { border-color: #0FA98B; background: #E3F6F1; color: #0B7A64; font-weight: 700; }
.app-q-e { padding: calc(10 * var(--u)) calc(12 * var(--u)); border-radius: calc(7 * var(--u)); font-size: calc(12 * var(--u)); color: #4A5872; background: #F5F7FB; }
.app-q-e b { color: #141C2B; margin-right: calc(6 * var(--u)); }
.app-q--mini { opacity: .6; }
.app-q--mini .app-q-t { margin: 0; }

/* =====================================================================
   RESPONSIVE (versión final)
   ===================================================================== */
@media (max-width: 1100px) {
  .page-hero-grid, .brandlab, .webint, .where, .dm-form-grid { grid-template-columns: minmax(0, 1fr); }
  .feature, .feature--flip { grid-template-columns: minmax(0, 1fr); }
  .feature--flip .feature-copy { order: 0; }
  .cv-hero { justify-self: stretch; max-width: 720px; }
  .cap-zoom { left: -2%; }
  .feature--flip .cap-zoom { right: -2%; }
  .tm-hero-visual { max-width: 640px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .steps-line { display: none; }
  .values--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .webint-stage { max-width: 760px; }
}

@media (max-width: 900px) {
  .plans, .values, .ac, .trust-groups, .thanks-head, .team-home-head { grid-template-columns: minmax(0, 1fr); }
  .roles-panel { grid-template-columns: minmax(0, 1fr); }
  .cv-demo--study { grid-template-columns: minmax(0, 1fr); }
  .bl-stage { grid-template-columns: minmax(0, 1fr); }
  .bl-stage .hv2-phone, .bl-phone-cap { display: none; }
  .bl-stage { grid-template-columns: minmax(0, 1fr); }
  .tl-wrap { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  .page-hero { padding-top: calc(var(--nav-h) + 44px); padding-bottom: calc(var(--sheet-r) + 64px); }
  .page-hero--end { padding-bottom: 72px; }
  .page-title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .page-hero .hero-actions .btn, .cta-band .hero-actions .btn { width: 100%; justify-content: space-between; }
  .page-hero .hero-actions .btn-ghost, .cta-band .hero-actions .btn-wa, .cta-band .hero-actions .btn-ghost { justify-content: center; gap: 10px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { padding-top: 0; padding-left: 44px; }
  .step-dot { top: 22px; }
  .steps--plain .step-dot { top: 22px; }
  .plan { border-radius: 28px; }
  .plan-core { border-radius: 21px; }
  .webint-stage { padding-bottom: 18%; }
  .sm-nav { gap: 12px; padding: 12px 14px; font-size: 11px; }
  .sm-nav > span:not(.sm-logo):not(.sm-cta) { display: none; }
  .sm-hero { padding: 22px 16px 18px; }
  .sm-courses { padding: 0 16px 16px; gap: 8px; }
  .sm-courses span { padding: 10px; font-size: 11px; }
  .sm-courses span::before { height: 30px; }
  .wi-campus { width: 56%; right: -2%; }
  .wi-campus .hv2-phone { padding: 12px; }
  .wi-campus .hv2-tasks li { padding: 8px; gap: 8px; }
  .wi-campus .hv2-tag { width: 40px; font-size: 8.5px; }
  .wi-campus .hv2-t { font-size: 11.5px; }
  .bl-desk-body { grid-template-columns: minmax(0, 1fr); }
  .bl-desk-side { display: none; }
  .feature .cap { margin-bottom: 16%; }
  .cap-zoom, .feature--flip .cap-zoom { left: auto; right: -2%; width: 58%; bottom: -14%; border-radius: 14px; }
  .pin { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 11px; }
  .cap-legend li { padding: 10px 12px; margin-left: -12px; }
  .roles-tabs { display: flex; width: 100%; }
  .roles-tabs button { flex: 1; padding: 0 10px; }
  .where-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dm-hero { padding-top: calc(var(--nav-h) + 28px); }
  .dm-caps { grid-template-columns: minmax(0, 1fr); }
  .dm-team { grid-template-columns: minmax(0, 1fr); }
  .cv-flash .flash-card { height: 180px; }
  .cv-demo--chat { padding: 14px; border-radius: 24px; }
  #cookie-banner { left: 12px; right: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom)); }
  body:has(#cookie-banner:not([hidden])) .wa-float { bottom: calc(196px + env(safe-area-inset-bottom)); }
  .wa-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: 54px; height: 54px; }
}

/* =====================================================================
   MOVIMIENTO REDUCIDO
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .logos-reel { -webkit-mask-image: none; mask-image: none; }
  .logos-track { animation: none; width: auto; }
  .logos-group + .logos-group, .logos-group > :nth-child(n+5) { display: none; }
  .logos-group { flex: 1; flex-wrap: wrap; justify-content: space-evenly; gap: 12px; }
  .logos-group li { margin: 0 12px; }
  .dd, .nav-dd.is-open .dd { transform: translate(-50%, 0); }
  .hero-halo { animation: none; }
  .cycle-item { filter: none; }
}

/* =====================================================================
   EQUIPO — fichas: foto sobre un fondo suave (cada una con su tono), nombre,
   cargo en azul, qué hace y su LinkedIn. Las fotos traen fondo azul claro:
   con multiply ese fondo toma el degradado de la ficha.
   ===================================================================== */
.crew {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-bottom: clamp(96px, 13vh, 150px);
}
.crew-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 26px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -46px rgba(10, 22, 40, .35);
  transition: transform .6s var(--ease-spring), box-shadow .6s var(--ease-out);
}
.crew-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2), 0 44px 80px -48px rgba(10, 22, 40, .45); }
.crew-photo {
  position: relative; overflow: hidden;
  aspect-ratio: 1 / 1.1;
  background:
    radial-gradient(70% 60% at 12% 18%, var(--tone-a), transparent 70%),
    radial-gradient(70% 60% at 92% 88%, var(--tone-b), transparent 70%),
    #fff;
}
.crew-card--1 { --tone-a: #E7DEFF; --tone-b: #D8F3F1; }
.crew-card--2 { --tone-a: #D6F0F7; --tone-b: #EEE4FF; }
.crew-card--3 { --tone-a: #F1E6FF; --tone-b: #DCEBFF; }
.crew-photo picture, .crew-photo img { display: block; width: 100%; height: 100%; }
.crew-photo img {
  object-fit: cover; object-position: 50% 18%;
  mix-blend-mode: multiply;
  transition: transform 1s var(--ease-out);
}
.crew-card:hover .crew-photo img { transform: scale(1.04); }
.crew-body { display: flex; flex-direction: column; flex: 1; padding: clamp(24px, 2.4vw, 32px); border-top: 1px solid var(--line); }
.crew-body h3 { font-size: clamp(19px, 1.5vw, 21px); font-weight: 650; letter-spacing: -.02em; line-height: 1.2; }
.crew-role { margin-top: 6px; font-size: 14.5px; font-weight: 600; color: var(--electric); }
.crew-desc { margin: 14px 0 24px; font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.crew-in {
  display: grid; place-items: center; align-self: flex-start;
  width: 38px; height: 38px; margin-top: auto; border-radius: 50%;
  color: var(--ink-2); background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: color .3s, background .3s, transform .4s var(--ease-spring);
}
.crew-in:hover { color: #fff; background: #0A66C2; transform: scale(1.06); }
@media (max-width: 900px) {
  .crew { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; }
  .crew-photo { aspect-ratio: 4 / 3.8; }
}

/* =====================================================================
   MÓVIL — versión simplificada (≤ 700 px)
   Menos scroll y solo lo esencial: menos aire entre secciones, fuera el texto
   de relleno, capturas limpias (sin lupa, números ni leyenda) y los bloques
   largos en DESPLEGABLE: se ven sus títulos y al tocar uno se abre (ui.js
   marca .macc / .macc-head / .macc-body; uno abierto a la vez). Va al final
   para mandar sobre los ajustes anteriores.
   ===================================================================== */
@media (max-width: 700px) {
  :root { --sec-y: 56px; --sheet-r: 26px; }
  .sec-head { margin-bottom: 26px; }
  .sec-head .lead { margin-top: 12px; }
  .page-hero { padding-top: calc(var(--nav-h) + 34px); padding-bottom: calc(var(--sheet-r) + 40px); }
  .page-hero .lead { margin-top: 14px; }
  .page-hero .hero-actions { margin-top: 24px; }

  /* texto de relleno fuera: notas de respuesta, entradillas de los cierres,
     descripciones de los planes y pies de captura */
  .note, .form-note, .cta .lead, .cta-band .lead, .plan-desc, .plans-note,
  .ac-head .lead, .cap-note, .footer-brand p:not(.footer-loc) { display: none; }

  /* barra de arriba: logo, "Solicitar demo" y el menú (cuadrado con borde) */
  .nav-inner { gap: 8px; }
  .nav-logo .logo { height: 28px; }
  .nav .nav-cta { display: inline-flex; margin-left: auto; --h: 40px; padding: 0 16px; font-size: 14px; }
  .nav .nav-cta .btn-ico { display: none; }
  .nav-toggle { margin-left: 0; border-radius: 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(212, 232, 255, .24); }

  /* botones a todo el ancho: el texto centrado y la flecha en su círculo a
     la derecha */
  .hero-actions .btn:has(.btn-ico) { justify-content: center; padding-inline: 56px; }
  .hero-actions .btn:has(.btn-ico) .btn-ico { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); }

  /* cabeceras de producto solo con el texto (las capturas llegan debajo) */
  .page-hero .pv-hero, .page-hero .cv-hero, .page-hero .webint-stage { display: none; }
  .page-hero-grid { gap: 0; }

  /* ---------- desplegables ---------- */
  .macc:not(.is-open) .macc-body { display: none !important; }
  .macc-head { position: relative; padding-right: 30px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .macc-head::after {
    content: ""; position: absolute; right: 4px; top: 50%;
    width: 8px; height: 8px; margin-top: -6px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); opacity: .45;
    transition: transform .35s var(--ease-out), margin .35s var(--ease-out);
  }
  .macc.is-open .macc-head::after { transform: rotate(-135deg); margin-top: -2px; }
  .macc-head:focus-visible { outline: 2px solid var(--electric); outline-offset: 4px; border-radius: 6px; }

  /* pasos (Cómo funciona, implantación): lista con el número a la izquierda */
  .steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .steps-line { display: none; }
  .step { padding: 0; }
  .step-dot, .steps--plain .step-dot { top: 15px; left: 14px; z-index: 1; }
  .step-card, .steps--plain .step-card { display: flex; flex-direction: column; padding: 16px 16px 16px 54px; border-radius: 18px; }
  .step h3, .steps--plain .step h3 { order: -1; margin: 3px 0 0; font-size: 17px; }
  .step-viz { display: none; }
  .step.is-open p { margin-top: 6px; font-size: 14.5px; }

  /* bloques de producto: tarjeta con su título; al abrir, texto y captura */
  .feature, .feature--flip { gap: 0; padding: 16px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
  .feature + .feature { margin-top: 10px; }
  .feature-num { margin-bottom: 4px; font-size: 11px; }
  .feature-copy h3 { margin: 0; font-size: 20px; }
  .feature-copy > p { margin-top: 8px; font-size: 15px; }
  .feature-copy > aside { margin-top: 12px; }
  .feature > figure, .feature > .cv-demo { margin-top: 16px; }
  .cap-legend, .pin, .cap-zoom { display: none; }
  .feature .cap { margin-bottom: 0; }

  /* perfiles (Cómo se usa) */
  .roles-panel { gap: 8px; }
  .role-step { padding: 14px 16px; border-radius: 16px; }
  .role-step h3 { margin: 4px 0 0; font-size: 17px; }
  .role-step p { margin-top: 6px; font-size: 14.5px; }

  /* equipo: fila con la foto en pequeño; al abrir, qué hace y su LinkedIn */
  .crew { gap: 8px; margin-bottom: 48px; }
  .crew-card { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 0 14px; align-items: start; padding: 12px; border-radius: 18px; }
  .crew-card:hover { transform: none; }
  .crew-photo { width: 60px; height: 60px; aspect-ratio: auto; border-radius: 50%; }
  .crew-photo img { object-position: 50% 12%; }
  .crew-body { padding: 4px 0 0; border-top: 0; }
  .crew-body h3 { font-size: 17px; }
  .crew-role { margin-top: 2px; font-size: 13.5px; }
  .crew-desc { margin: 8px 0 10px; font-size: 14.5px; }
  .crew-in { width: 34px; height: 34px; }

  /* cómo trabajamos (Equipo) */
  .stmt { padding: 14px 0; gap: 4px; }
  .stmt h3 { font-size: 19px; }
  .stmt p { margin-top: 4px; font-size: 15px; }

  /* capturas de la demo (página de anuncios, sin ui.js): las tres en
     miniatura, una al lado de otra */
  .dm-caps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .dm-caps .cap-frame { border-radius: 10px; }
  .dm-caps .cap-frame .cap-img { aspect-ratio: 4 / 5; }
  .dm-caps figcaption { margin-top: 8px; font-size: 12px; line-height: 1.3; }

  /* formularios más compactos (mismos campos) */
  .form-shell { padding: 6px; border-radius: 26px; }
  .cta-form { gap: 12px; padding: 20px 16px; border-radius: 21px; }
  .field-row { gap: 12px; }
  .field label { margin-bottom: 6px; }
  .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select { height: 48px; border-radius: 12px; }
  .form-rgpd { font-size: 11px; }

  /* pie compacto y sin la lista de páginas (ya está en el menú) */
  .footer { padding-top: 40px; }
  .footer-grid { gap: 22px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand .logo { height: 30px; margin-bottom: 6px; }
  .footer-loc { margin-top: 0; }
  .footer-col h4 { margin-bottom: 8px; }
  .footer-col a, .footer-col button { padding: 4px 0; font-size: 14.5px; }
  .footer-col a[href^="mailto"] { font-size: 13px; }
  .footer-col[aria-label="Páginas"], .footer-word { display: none; }
  .footer-bar .wrap { padding-top: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* móviles estrechos: la barra encoge para que quepan logo, botón y menú */
@media (max-width: 390px) {
  .nav-logo .logo { height: 25px; }
  .nav .nav-cta { padding: 0 13px; font-size: 13.5px; }
}
@media (max-width: 350px) {
  .nav-logo .logo { height: 20px; }
  .nav .nav-cta { --h: 36px; padding: 0 11px; font-size: 12.5px; }
  .nav-toggle { width: 38px; height: 38px; }
  .nav-toggle span { left: 11px; right: 11px; }
}

/* TABLETA (701–1100 px): mismo diseño que en ordenador a una columna, con
   algo menos de aire entre secciones y entre bloques de producto. */
@media (min-width: 701px) and (max-width: 1100px) {
  :root { --sec-y: clamp(80px, 10vh, 120px); }
  .feature + .feature { margin-top: clamp(80px, 10vh, 112px); }
  .sec-head { margin-bottom: 44px; }
}

