/* Bleu · bleu.pe — mundo: azul noche, texto blanco, un solo azul cobalto de marca. */
@font-face {
  font-family: 'Menbere';
  src: url('fonts/menbere-latin.woff2') format('woff2');
  font-weight: 100 700;
  font-display: swap;
}

:root {
  --noche: #070814;
  --noche-2: #0a0c1b;
  --capa: #0e1124;
  --capa-2: #141834;
  --linea: rgba(214, 222, 255, .12);
  --linea-2: rgba(214, 222, 255, .22);
  --texto: #f3f5fb;
  --texto-2: #a9aec4;
  --texto-3: #7d8299;
  --cobalto: #1b5cff;
  --cobalto-claro: #4d82ff;
  --cobalto-suave: rgba(27, 92, 255, .16);
  --wa-fondo: #0b141a;
  --wa-sale: #0c4a40;
  --wa-entra: #1f2a31;
  --wa-verde: #25d366;
  --verde: #2fcf7a;
  --ambar: #f2b23a;
  --rojo: #ff5d5d;
  --radio: 14px;
  --radio-g: 22px;
  --ancho: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --suave: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--noche); color: var(--texto);
  font-family: 'Menbere', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji'; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--cobalto); color: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--cobalto-claro); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.025em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tenue { color: var(--texto-3); }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--cobalto); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.saltar:focus { left: 12px; }
html { scrollbar-color: #2a3050 var(--noche); }
html, body { overflow-x: clip; }
.escena { isolation: isolate; }

/* ---------- botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--cobalto); color: #fff; font-weight: 600; letter-spacing: -.005em;
  border-radius: 10px; padding: 12px 20px; line-height: 1.1;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset;
  transition: background .2s var(--suave), transform .2s var(--suave), box-shadow .2s var(--suave);
}
.boton:hover { background: #134ee6; }
.boton:active { transform: translateY(1px); }
.boton-chico { font-size: 14px; padding: 10px 16px; }
.boton-grande { font-size: 17px; padding: 16px 26px; }
.boton .i { width: 22px; height: 22px; }
.enlace-flecha { display: inline-flex; align-items: center; gap: 4px; color: var(--cobalto-claro); font-weight: 600; }
.enlace-flecha .i { width: 18px; height: 18px; transition: transform .2s var(--suave); }
.enlace-flecha:hover .i { transform: translateX(3px); }

/* ---------- navegación ---------- */
.nav { position: sticky; top: 0; z-index: 20; transition: background .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.nav.con-fondo { background: rgba(7, 8, 20, .82); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--linea); }
.nav-in { max-width: calc(var(--ancho) + 2 * var(--gutter)); margin: 0 auto; padding: 16px var(--gutter); display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: flex-start; font-weight: 700; font-size: 34px; letter-spacing: -.05em; line-height: 1; color: #fff; }
.logo .estrella { width: 15px; height: 15px; fill: var(--cobalto); margin: -2px 0 0 1px; }
.nav-links { display: flex; align-items: center; gap: 18px; margin: 0 auto; color: var(--texto); font-size: 15px; }
.nav-links span { color: var(--texto-3); }
.nav-links a:hover { color: var(--cobalto-claro); }
.nav-acciones { display: flex; align-items: center; gap: 22px; }
.nav-ingresar { font-size: 15px; }
.nav-ingresar:hover { color: var(--cobalto-claro); }

/* ---------- portada ---------- */
.hero {
  max-width: calc(var(--ancho) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(24px, 3vw, 40px) var(--gutter) 28px;
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(24px, 4vw, 56px);
}
.hero-texto { display: grid; gap: 26px; align-content: start; padding-top: clamp(8px, 3vw, 56px); }
.hero h1 { font-size: clamp(38px, 3.5vw, 56px); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; max-width: 13.5em; }
.hero h1 em { font-style: normal; color: var(--cobalto-claro); }
.sub { font-size: clamp(17px, 1.35vw, 20px); color: var(--texto-2); max-width: 30ch; line-height: 1.5; }
.hero-acciones { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

.escena { position: relative; display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 0 54px; padding: 8px 0 22px; }
.halo {
  position: absolute; left: 30%; top: 50%; width: 620px; height: 620px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(27, 92, 255, .55), rgba(27, 92, 255, .18) 45%, transparent 72%);
  filter: blur(8px); pointer-events: none;
}
.particulas {
  position: absolute; right: -6%; bottom: -4%; width: 46%; height: 42%; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(77, 130, 255, .9) 1px, transparent 1.4px); background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 80%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 80% 80%, #000 10%, transparent 70%);
}
.telefono {
  position: relative; width: clamp(270px, 22vw, 316px); border-radius: 30px; background: var(--wa-fondo);
  border: 1.5px solid rgba(77, 130, 255, .55);
  box-shadow: 0 0 0 6px rgba(14, 17, 36, .9), 0 0 0 7px rgba(77, 130, 255, .25), 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 70px -10px rgba(27, 92, 255, .55);
  overflow: hidden; display: grid; grid-template-rows: auto 1fr auto;
}
.chat-cab { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; background: #111b21; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.chat-cab .i { width: 20px; height: 20px; }
.avatar { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--cobalto); display: grid; place-items: center; font-weight: 700; font-size: 18px; color: #fff; }
.avatar svg { position: absolute; right: 4px; top: 3px; width: 9px; height: 9px; fill: #fff; }
.quien { display: grid; line-height: 1.2; margin-right: auto; }
.quien b { font-size: 15px; display: inline-flex; align-items: center; gap: 4px; }
.quien small { font-size: 12px; color: var(--texto-3); }
.verif { width: 15px; height: 15px; fill: var(--cobalto); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.chat { list-style: none; margin: 0; padding: 10px 10px 6px; display: flex; flex-direction: column; gap: 6px; overflow: hidden;
  background: radial-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 14px 14px, var(--wa-fondo); }
.dia { align-self: center; font-size: 11px; color: var(--texto-2); background: #182229; border-radius: 6px; padding: 3px 9px; margin-bottom: 4px; }
.msj { position: relative; max-width: 82%; font-size: 13px; line-height: 1.35; padding: 6px 9px 17px; border-radius: 9px; color: #e9edef; }
.msj time { position: absolute; right: 8px; bottom: 3px; font-size: 11px; color: rgba(233, 237, 239, .72); }
.msj.sale { align-self: flex-end; background: var(--wa-sale); border-top-right-radius: 2px; padding-right: 40px; }
.msj.sale time::after { content: ''; display: inline-block; width: 13px; height: 8px; margin-left: 3px; vertical-align: -1px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='m1 5 3 3 5-6M7 8l1 1 6-7' fill='none' stroke='%2353bdeb' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.msj.entra { align-self: flex-start; background: var(--wa-entra); border-top-left-radius: 2px; }
.msj.producto { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 6px; max-width: 92%; }
.msj.producto img { width: 84px; height: 84px; object-fit: cover; border-radius: 6px; }
.msj.producto span { display: grid; align-content: center; gap: 2px; padding-bottom: 10px; }
.msj.producto b { font-size: 14px; }
.msj.producto small { font-size: 12px; color: var(--texto-2); }
.msj.producto em { font-style: normal; justify-self: start; margin-top: 6px; background: var(--cobalto); color: #fff; font-weight: 600; font-size: 13px; padding: 5px 10px; border-radius: 7px; }
.escribiendo { align-self: flex-start; display: none; gap: 4px; background: var(--wa-entra); padding: 10px 12px; border-radius: 9px; border-top-left-radius: 2px; }
.escribiendo i { width: 6px; height: 6px; border-radius: 50%; background: var(--texto-2); animation: punto 1s infinite ease-in-out; }
.escribiendo i:nth-child(2) { animation-delay: .15s; } .escribiendo i:nth-child(3) { animation-delay: .3s; }
@keyframes punto { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.chat-pie { display: flex; align-items: center; gap: 8px; padding: 8px 10px 12px; background: var(--wa-fondo); }
.chat-pie span:first-child { flex: 1; background: #1f2c34; color: var(--texto-2); border-radius: 20px; padding: 9px 14px; font-size: 13.5px; }
.mic { width: 38px; height: 38px; border-radius: 50%; background: #1e8e57; display: grid; place-items: center; color: #fff; }
.mic .i { width: 18px; height: 18px; }

/* animación de la conversación (solo si hay JS y no se pidió reducir movimiento) */
.anima .msj { opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .45s var(--suave), transform .45s var(--suave); }
.anima .msj.visto { opacity: 1; transform: none; }
.anima .escribiendo.activo { display: inline-flex; }

.fichas { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; position: relative; }
.ficha {
  position: relative; display: flex; align-items: center; gap: 14px; min-width: 196px; padding: 14px 18px;
  background: rgba(14, 17, 36, .86); border: 1px solid var(--linea-2); border-radius: var(--radio);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9); transition: border-color .5s var(--suave), box-shadow .5s var(--suave);
}
.ficha > .i { width: 38px; height: 38px; padding: 8px; border-radius: 50%; border: 1.5px solid var(--cobalto); color: var(--cobalto-claro); }
.ficha small { display: block; font-size: 13px; color: var(--texto-2); line-height: 1.2; }
.ficha b { display: block; font-size: 26px; letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.nodo { position: absolute; left: -46px; top: 50%; width: 46px; height: 1px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, rgba(77, 130, 255, .7) 0 3px, transparent 3px 6px); }
.nodo::before { content: ''; position: absolute; left: -4px; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(27, 92, 255, .55), 0 0 12px rgba(77, 130, 255, .9); }
.anima .ficha { opacity: .42; }
.anima .ficha.encendida { opacity: 1; border-color: rgba(77, 130, 255, .65); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(27, 92, 255, .25), 0 10px 30px -12px rgba(27, 92, 255, .5); }
.anima .ficha { transition: opacity .6s var(--suave), border-color .6s var(--suave), box-shadow .6s var(--suave); }
.nota-ejemplo { grid-column: 1 / -1; justify-self: center; margin-top: 14px; font-size: 12.5px; color: var(--texto-3); }

/* ---------- servicios (pestañas) ---------- */
.servicios { max-width: var(--ancho); margin: 0 auto 0; padding: 0 var(--gutter); }
.pestanas { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--noche-2); border: 1px solid var(--linea); border-bottom: 0; border-radius: var(--radio-g) var(--radio-g) 0 0; padding: 0 10px; }
.pestanas button {
  font: inherit; color: var(--texto-2); background: none; border: 0; cursor: pointer; padding: 20px 10px 18px; font-size: 17px; font-weight: 500;
  display: inline-flex; justify-content: center; align-items: center; gap: 10px; position: relative; transition: color .2s;
}
.pestanas button .i { width: 24px; height: 24px; }
.pestanas button:hover { color: var(--texto); }
.pestanas button[aria-selected="true"] { color: var(--cobalto-claro); }
.pestanas button[aria-selected="true"]::after { content: ''; position: absolute; left: 18%; right: 18%; bottom: -1px; height: 2px; background: var(--cobalto); border-radius: 2px; }
.panel-tab {
  background: var(--noche-2); border: 1px solid var(--linea); border-top-color: var(--linea-2); border-radius: 0 0 var(--radio-g) var(--radio-g); padding: clamp(28px, 4vw, 52px);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start;
}
.panel-tab[hidden] { display: none; }
.tab-texto { display: grid; gap: 16px; }
.tab-texto h2 { font-size: clamp(28px, 2.6vw, 38px); }
.tab-texto p { color: var(--texto-2); max-width: 46ch; }
.capacidades { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.capacidades li { padding: 14px 0 14px 30px; border-top: 1px solid var(--linea); color: var(--texto-2); font-size: 16px; position: relative; }
.capacidades li::before { content: ''; position: absolute; left: 0; top: 19px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--cobalto);
  background: no-repeat center/9px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='m1 4 2.5 2.5L9 1' fill='none' stroke='%234d82ff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.capacidades b { color: var(--texto); font-weight: 600; }
.semaforo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.luz { padding: 18px; border-radius: var(--radio); display: grid; gap: 2px; border: 1px solid; }
.luz span { font-weight: 600; }
.luz b { font-size: 30px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.luz small { color: var(--texto-2); }
.luz.verde { border-color: rgba(47, 207, 122, .45); background: rgba(47, 207, 122, .08); } .luz.verde span { color: var(--verde); }
.luz.ambar { border-color: rgba(242, 178, 58, .45); background: rgba(242, 178, 58, .08); } .luz.ambar span { color: var(--ambar); }
.luz.roja { border-color: rgba(255, 93, 93, .45); background: rgba(255, 93, 93, .08); } .luz.roja span { color: var(--rojo); }
.semaforo .nota-ejemplo { justify-self: start; margin-top: 4px; }
.franja-dato {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center;
  background: var(--capa); border: 1px solid var(--linea); border-bottom: 0; padding: 16px var(--gutter);
  color: var(--texto-2); font-size: 17px;
}
.franja-dato .i { width: 28px; height: 28px; color: var(--cobalto-claro); }
.franja-dato b { color: var(--texto); font-size: 28px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* ---------- prueba ---------- */
.prueba { max-width: var(--ancho); margin: clamp(96px, 12vw, 160px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.prueba-texto { display: grid; gap: 18px; }
.prueba h2 { font-size: clamp(34px, 3.6vw, 52px); }
.prueba-texto p { color: var(--texto-2); max-width: 44ch; }
.prueba .fuente { font-size: 14px; color: var(--texto-3); }
.datos { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--linea-2); }
.datos div { padding: 22px 0 22px; border-bottom: 1px solid var(--linea); display: grid; gap: 6px; }
.datos div:nth-child(odd) { padding-right: 28px; }
.datos div:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--linea); }
.datos dt { color: var(--texto-2); font-size: 15px; }
.datos dd { margin: 0; font-size: clamp(36px, 3.6vw, 52px); font-weight: 700; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- pasos ---------- */
.pasos { max-width: var(--ancho); margin: clamp(96px, 12vw, 160px) auto 0; padding: 0 var(--gutter); }
.pasos h2 { font-size: clamp(34px, 3.6vw, 52px); max-width: 16ch; }
.pasos ol { list-style: none; counter-reset: paso; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.pasos ol::before { content: ''; position: absolute; left: 22px; right: 22px; top: 21px; height: 1px; background: repeating-linear-gradient(90deg, rgba(77, 130, 255, .55) 0 4px, transparent 4px 9px); }
.pasos li { counter-increment: paso; position: relative; padding: 64px 28px 0 0; display: grid; gap: 8px; align-content: start; }
.pasos li::before { content: counter(paso); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--noche); border: 1.5px solid var(--cobalto); color: #fff; font-weight: 700; box-shadow: 0 0 22px -4px rgba(27, 92, 255, .7); }
.pasos li b { font-size: 21px; letter-spacing: -.015em; }
.pasos li span { color: var(--texto-2); max-width: 34ch; }

/* ---------- precios ---------- */
.precios { max-width: var(--ancho); margin: clamp(96px, 12vw, 160px) auto 0; padding: 0 var(--gutter); display: grid; gap: 18px; }
.precios-cab { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.precios-cab h2 { font-size: clamp(34px, 3.6vw, 52px); }
.precios-cab p { color: var(--texto-2); max-width: 46ch; }
.plan-principal {
  position: relative; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 18px 56px; align-items: start;
  padding: clamp(26px, 4vw, 44px); border-radius: var(--radio-g); background: linear-gradient(180deg, var(--capa-2), var(--capa));
  border: 1px solid rgba(77, 130, 255, .45); box-shadow: 0 30px 80px -40px rgba(27, 92, 255, .6);
}
.plan-principal .boton { grid-column: 1; align-self: end; justify-self: start; }
.plan-titulo { display: grid; gap: 10px; }
.plan-principal h3, .plan h3 { font-size: 26px; letter-spacing: -.02em; }
.plan-titulo p, .plan > p { color: var(--texto-2); }
.plan-principal .lineas { grid-column: 2; grid-row: 1 / span 2; }
.lineas { list-style: none; margin: 0; padding: 0; }
.lineas li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--linea); }
.lineas li:first-child { border-top: 1px solid var(--linea); }
.lineas span { color: var(--texto-2); }
.lineas b { font-size: 22px; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lineas b small { font-size: 14px; font-weight: 500; color: var(--texto-3); letter-spacing: 0; }
.planes-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { padding: clamp(24px, 3vw, 34px); border-radius: var(--radio-g); background: var(--noche-2); border: 1px solid var(--linea); display: grid; gap: 12px; align-content: start; }
.plan .lineas { margin-top: 8px; }

/* ---------- preguntas ---------- */
.preguntas { max-width: var(--ancho); margin: clamp(96px, 12vw, 160px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.preguntas h2 { font-size: clamp(34px, 3.6vw, 52px); }
.preguntas details { border-bottom: 1px solid var(--linea); }
.preguntas details:first-of-type { border-top: 1px solid var(--linea); }
.preguntas summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-size: 19px; font-weight: 600; position: relative; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.7px solid var(--cobalto-claro); border-bottom: 1.7px solid var(--cobalto-claro); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--suave); }
.preguntas details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.preguntas details p { color: var(--texto-2); padding: 0 40px 22px 0; max-width: 64ch; }

/* ---------- cierre y pie ---------- */
.cierre { position: relative; max-width: var(--ancho); margin: clamp(72px, 8vw, 112px) auto 0; padding: clamp(56px, 8vw, 96px) var(--gutter); text-align: center; display: grid; justify-items: center; gap: 18px; overflow: hidden; border-top: 1px solid var(--linea); }
.cierre::before { content: ''; position: absolute; left: 50%; top: 100%; width: 900px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(27, 92, 255, .4), transparent 70%); pointer-events: none; }
.cierre h2 { font-size: clamp(38px, 4.6vw, 66px); letter-spacing: -.035em; position: relative; }
.cierre p { color: var(--texto-2); position: relative; }
.cierre .boton { position: relative; margin-top: 8px; }
.pie { max-width: calc(var(--ancho) + 2 * var(--gutter)); margin: 0 auto; padding: 28px var(--gutter) 40px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; border-top: 1px solid var(--linea); color: var(--texto-3); font-size: 14px; }
.pie .logo { font-size: 26px; }
.pie nav { display: flex; gap: 22px; flex-wrap: wrap; }
.pie nav a:hover { color: var(--texto); }
.pie p { margin-left: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .escena { gap: 0 40px; }
  .ficha { min-width: 170px; padding: 12px 14px; }
  .ficha b { font-size: 22px; }
}
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-acciones { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 20px; }
  .hero-texto { justify-items: start; }
  .sub { max-width: 40ch; }
  .escena { grid-template-columns: 1fr; justify-items: center; gap: 22px; }
  .fichas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 620px; }
  .ficha { min-width: 0; flex-direction: column; align-items: flex-start; gap: 8px; }
  .nodo { display: none; }
  .halo { left: 50%; top: 40%; width: min(520px, 130vw); height: min(520px, 130vw); }
  .panel-tab, .prueba, .plan-principal, .preguntas { grid-template-columns: 1fr; }
  .plan-principal .lineas { grid-column: 1; grid-row: auto; }
  .capacidades { grid-template-columns: 1fr; }
  .pasos ol { grid-template-columns: 1fr; gap: 26px; }
  .pasos ol::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; background: repeating-linear-gradient(180deg, rgba(77, 130, 255, .55) 0 4px, transparent 4px 9px); }
  .pasos li { padding: 4px 0 0 66px; min-height: 44px; }
  .planes-extra { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-ingresar { display: none; }
  .logo { font-size: 30px; }
  .boton-chico { padding: 9px 12px; font-size: 13px; }
  .hero h1 { font-size: clamp(36px, 10.4vw, 46px); }
  .hero-acciones { gap: 18px; }
  .boton-grande { width: 100%; }
  .telefono { width: min(100%, 330px); }
  .fichas { grid-template-columns: 1fr; max-width: 330px; }
  .ficha { flex-direction: row; align-items: center; }
  .pestanas { padding: 0; }
  .pestanas button { flex-direction: column; gap: 6px; font-size: 14px; padding: 14px 4px; }
  .semaforo { grid-template-columns: 1fr; }
  .datos { grid-template-columns: 1fr; }
  .datos div:nth-child(odd), .datos div:nth-child(even) { padding: 20px 0; border-left: 0; }
  .lineas li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .pie p { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
