/* rentas.tscindustrial.com — un solo archivo de estilos.
   Industrial oscuro con el ámbar de TSC; títulos en Barlow Condensed (familia DIN, como el logo). */

:root {
  --fondo: #0c0d0f;
  --fondo-2: #111316;
  --superficie: #16191d;
  --superficie-2: #1c2025;
  --linea: rgba(255, 255, 255, .08);
  --linea-fuerte: rgba(255, 255, 255, .16);
  --texto: #f2eee7;
  --tenue: #9d988f;
  --ambar: #f4ad24;
  --ambar-claro: #ffc451;
  --ambar-suave: rgba(244, 173, 36, .12);
  --concreto: #e9e5dd;
  --concreto-texto: #17140f;
  --concreto-tenue: #6b655c;
  --verde-wa: #25d366;
  --radio: 14px;
  --ancho: 1240px;
  --margen: clamp(16px, 4vw, 40px);
  --titulos: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --cuerpo: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --encabezado: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--encabezado) + 12px); }
body {
  margin: 0; background: var(--fondo); color: var(--texto);
  font-family: var(--cuerpo); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ambar); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 var(--margen); }

h1, h2, h3 { font-family: var(--titulos); font-weight: 700; line-height: .96; letter-spacing: .005em; margin: 0; text-transform: uppercase; }
h2 { font-size: clamp(40px, 5.6vw, 76px); }
h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.05; }
p { margin: 0; }
.ante {
  display: inline-flex; align-items: center; gap: 10px; color: var(--ambar);
  font-family: var(--titulos); font-weight: 600; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 18px;
}
.ante::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { color: var(--tenue); font-size: clamp(17px, 1.5vw, 20px); max-width: 60ch; }
.seccion { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.seccion-cabeza { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 860px; }

/* ── Botones ───────────────────────────────────────────────────────── */
.boton {
  --b-fondo: var(--ambar); --b-texto: #17130b;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--b-fondo); color: var(--b-texto); text-decoration: none;
  font-family: var(--titulos); font-weight: 700; font-size: 19px; letter-spacing: .06em; text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  box-shadow: 0 10px 30px -12px rgba(244, 173, 36, .55);
}
.boton:hover { background: var(--ambar-claro); transform: translateY(-1px); }
.boton:active { transform: translateY(0); }
.boton svg { width: 21px; height: 21px; flex: none; }
.boton-sec {
  --b-fondo: transparent; --b-texto: var(--texto);
  box-shadow: inset 0 0 0 1.5px var(--linea-fuerte);
}
.boton-sec:hover { background: rgba(255, 255, 255, .06); }
.boton-chico { min-height: 42px; padding: 0 18px; font-size: 16px; }
.botones { display: flex; flex-wrap: wrap; gap: 12px; }
.liga { color: var(--ambar); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.liga:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ── Encabezado ────────────────────────────────────────────────────── */
.encabezado {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--encabezado);
  display: flex; align-items: center; transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.encabezado.solido { background: rgba(12, 13, 15, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--linea); }
.encabezado .contenedor { display: flex; align-items: center; gap: 28px; }
.logo { display: block; flex: none; }
.logo img { height: 40px; width: auto; }
.menu { display: flex; gap: 26px; margin-left: auto; }
.menu a { text-decoration: none; color: var(--tenue); font-weight: 500; font-size: 15px; transition: color .15s; }
.menu a:hover { color: var(--texto); }
.encabezado .boton { margin-left: 8px; }
.encabezado .corto { display: none; }
@media (max-width: 900px) {
  .menu { display: none; }
  .encabezado .boton { margin-left: auto; }
}
@media (max-width: 520px) {
  .encabezado .largo { display: none; }
  .encabezado .corto { display: inline; }
  .logo img { height: 34px; }
}

/* ── Inicio: la máquina que sube ───────────────────────────────────── */
.hero { position: relative; height: 330vh; }
.hero-fijo {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); align-items: stretch;
}
.hero-fondo {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 70% 62%, rgba(244, 173, 36, .10), transparent 70%),
    linear-gradient(var(--linea) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, var(--linea) 1px, transparent 1px) 0 0 / 64px 100%;
  -webkit-mask-image: radial-gradient(120% 90% at 65% 55%, #000 30%, transparent 85%);
  mask-image: radial-gradient(120% 90% at 65% 55%, #000 30%, transparent 85%);
  opacity: .55;
}
.hero-texto {
  position: relative; z-index: 2; align-self: center;
  padding: calc(var(--encabezado) + 20px) 0 40px max(var(--margen), calc((100vw - var(--ancho)) / 2 + var(--margen)));
}
.hero-lugares { font-family: var(--titulos); font-weight: 600; color: var(--ambar); letter-spacing: .2em; text-transform: uppercase; font-size: 15px; }
.hero h1 { font-size: clamp(46px, 6.4vw, 104px); margin: 16px 0 0; max-width: 9ch; }
.hero-altura { display: flex; align-items: baseline; gap: 14px; margin: clamp(18px, 3vh, 34px) 0 clamp(14px, 2.4vh, 26px); }
.hero-altura .numero {
  font-family: var(--titulos); font-weight: 600; font-variant-numeric: tabular-nums; line-height: .82;
  font-size: clamp(84px, 11vw, 176px); letter-spacing: -.02em; color: var(--texto);
}
.hero-altura .unidad { font-family: var(--titulos); font-size: clamp(28px, 3vw, 46px); color: var(--ambar); font-weight: 600; }
.hero-altura .etiqueta { display: block; color: var(--tenue); font-size: 14px; letter-spacing: .04em; margin-top: 4px; }
.hero-texto .lead { max-width: 44ch; margin-bottom: 28px; }
.hero-lienzo { position: relative; z-index: 1; min-height: 0; }
.hero-lienzo canvas { width: 100%; height: 100%; display: block; }
.desliza {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--tenue); font-size: 13px; letter-spacing: .08em;
  transition: opacity .4s ease;
}
.desliza i { width: 22px; height: 34px; border: 1.5px solid var(--linea-fuerte); border-radius: 12px; position: relative; }
.desliza i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--ambar); animation: rueda 1.8s ease-in-out infinite; }
@keyframes rueda { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
.desliza.oculto { opacity: 0; }
.hero-calcula {
  position: absolute; left: 50%; bottom: 24px; z-index: 3; transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; white-space: nowrap;
  background: rgba(22, 25, 29, .9); border: 1px solid rgba(244, 173, 36, .5); color: var(--texto); text-decoration: none;
  font-weight: 600; font-size: 15px; backdrop-filter: blur(8px); transition: opacity .4s ease, transform .4s ease, border-color .2s;
}
.hero-calcula span { color: var(--ambar); font-size: 18px; }
.hero-calcula:hover { border-color: var(--ambar); }
.hero-calcula.visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
@media (max-width: 560px) { .hero-calcula { white-space: normal; width: calc(100% - 32px); justify-content: center; text-align: center; font-size: 14px; } }

@media (max-width: 900px) {
  .hero { height: 260vh; }
  .hero-fijo { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .hero-texto { padding: calc(var(--encabezado) + 8px) var(--margen) 0; align-self: start; }
  .hero h1 { font-size: clamp(38px, 10vw, 56px); max-width: none; }
  .hero-altura { margin: 12px 0 6px; }
  .hero-altura .numero { font-size: clamp(64px, 19vw, 96px); }
  .hero-texto .lead { display: none; }
  .hero-texto .botones { display: none; }
  .hero-texto .boton-sec { display: none; }
  .desliza { bottom: 14px; }
}
@media (max-width: 900px) and (min-height: 760px) { .hero-texto .botones { display: flex; } }

/* Equipos y páginas sin la máquina que sube: arranque normal */
.portada { padding: calc(var(--encabezado) + clamp(40px, 8vw, 96px)) 0 clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.portada .hero-fondo { opacity: .45; }
.portada-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; }
.portada h1 { font-size: clamp(42px, 5.6vw, 84px); margin: 0 0 22px; }
.portada .lead { margin-bottom: 30px; }
.portada-imagen { position: relative; height: min(70vh, 580px); }
.portada-imagen img { height: 100%; width: 100%; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.portada-imagen::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -6px; height: 22px; background: radial-gradient(closest-side, rgba(0, 0, 0, .6), transparent); }
.portada-lienzo { position: relative; height: min(78vh, 680px); }
.portada-lienzo canvas { width: 100%; height: 100%; display: block; }
@media (max-width: 900px) {
  .portada-grid { grid-template-columns: 1fr; }
  .portada-imagen { height: 380px; }
  .portada-lienzo { height: 62vh; }
}

/* ── Datos rápidos (fichas) ────────────────────────────────────────── */
.datos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--linea); border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; margin-bottom: 30px; }
.datos div { background: var(--fondo-2); padding: 14px 16px; }
.datos dt { color: var(--tenue); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.datos dd { margin: 2px 0 0; font-family: var(--titulos); font-weight: 600; font-size: 28px; line-height: 1.1; }

/* ── Tarjetas de equipo ────────────────────────────────────────────── */
.equipos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.equipo {
  position: relative; display: flex; flex-direction: column; border-radius: calc(var(--radio) + 4px);
  background: linear-gradient(180deg, var(--superficie) 0%, var(--fondo-2) 100%); border: 1px solid var(--linea);
  overflow: hidden; transition: border-color .25s ease, transform .25s ease;
}
.equipo:hover { border-color: rgba(244, 173, 36, .35); transform: translateY(-3px); }
.equipo-imagen {
  position: relative; height: 330px; padding: 70px 20px 0; overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 70%, rgba(244, 173, 36, .09), transparent 70%),
    linear-gradient(var(--linea) 1px, transparent 1px) 0 0 / 100% 40px;
}
.equipo-imagen img { height: 100%; width: 100%; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .55)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.equipo:hover .equipo-imagen img { transform: translateY(-6px) scale(1.02); }
.equipo-altura {
  position: absolute; top: 18px; left: 20px; font-family: var(--titulos); line-height: 1;
}
.equipo-altura b { display: block; font-size: 52px; font-weight: 600; letter-spacing: -.01em; }
.equipo-altura span { color: var(--tenue); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.equipo-cuerpo { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; border-top: 1px solid var(--linea); }
.equipo-cuerpo .modelo { color: var(--ambar); font-family: var(--titulos); font-weight: 600; letter-spacing: .12em; font-size: 14px; text-transform: uppercase; }
.equipo-cuerpo p { color: var(--tenue); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--linea); color: var(--texto); }
.equipo-acciones { margin-top: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 6px; }
@media (max-width: 1000px) { .equipos { grid-template-columns: 1fr; max-width: 560px; } }

/* ── ¿Qué altura? ──────────────────────────────────────────────────── */
.altura-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.selector { margin-top: 34px; }
.selector-valor { font-family: var(--titulos); font-weight: 600; font-size: clamp(76px, 9vw, 128px); line-height: .9; font-variant-numeric: tabular-nums; }
.selector-valor small { font-size: .36em; color: var(--ambar); margin-left: 8px; }
.rango { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; margin: 26px 0 10px; cursor: pointer;
  background: linear-gradient(90deg, var(--ambar) 0 var(--p, 50%), rgba(255, 255, 255, .12) var(--p, 50%) 100%); }
.rango::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--texto); border: 6px solid var(--ambar); box-shadow: 0 4px 16px rgba(0, 0, 0, .5); cursor: grab; }
.rango::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--texto); border: 6px solid var(--ambar); cursor: grab; }
.rango-marcas { display: flex; justify-content: space-between; color: var(--tenue); font-size: 13px; }
.resultado { margin-top: 30px; padding: 22px; border-radius: var(--radio); background: var(--superficie); border: 1px solid var(--linea); display: grid; gap: 10px; }
.resultado .etiqueta { color: var(--tenue); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.resultado h3 { font-size: 34px; }
.resultado .nota { color: var(--tenue); font-size: 15px; }
.resultado .boton { justify-self: start; margin-top: 6px; }

.barras { position: relative; height: clamp(420px, 60vh, 560px); display: grid; grid-template-columns: 54px repeat(3, minmax(0, 1fr)); gap: 14px; }
.regla { position: relative; border-right: 1px solid var(--linea-fuerte); }
.regla span { position: absolute; right: 10px; transform: translateY(50%); color: var(--tenue); font-size: 12px; font-variant-numeric: tabular-nums; }
.barra { position: relative; display: flex; flex-direction: column; justify-content: flex-end; }
.barra .relleno {
  height: calc(var(--t) / 16 * 100%); border-radius: 10px 10px 0 0; position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03)); border: 1px solid var(--linea);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.barra.alcanza .relleno { background: linear-gradient(180deg, rgba(244, 173, 36, .30), rgba(244, 173, 36, .06)); border-color: rgba(244, 173, 36, .45); }
.barra.elegido .relleno { background: linear-gradient(180deg, var(--ambar), rgba(244, 173, 36, .25)); border-color: var(--ambar); box-shadow: 0 0 40px -6px rgba(244, 173, 36, .55); }
.barra .tope { position: absolute; top: 10px; left: 0; right: 0; text-align: center; font-family: var(--titulos); font-weight: 600; font-size: 22px; }
.barra.elegido .tope { color: #17130b; }
.barra .nombre { margin-top: 10px; text-align: center; color: var(--tenue); font-size: 13px; line-height: 1.3; min-height: 34px; }
.barra.elegido .nombre { color: var(--texto); }
.linea-altura { position: absolute; left: 40px; right: 0; bottom: calc(var(--h) / 16 * (100% - 44px) + 44px); height: 0; border-top: 2px dashed var(--texto); z-index: 2; pointer-events: none; transition: bottom .12s linear; }
.linea-altura::before { content: attr(data-texto); position: absolute; right: 0; top: -28px; font-family: var(--titulos); font-weight: 600; font-size: 18px; background: var(--fondo); padding: 0 6px; }
@media (max-width: 900px) { .altura-grid { grid-template-columns: 1fr; } .barras { height: 380px; } }

/* ── Pasos ─────────────────────────────────────────────────────────── */
.pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: paso; }
.paso { padding: 30px 26px 32px; border-radius: var(--radio); background: var(--superficie); border: 1px solid var(--linea); position: relative; }
.paso::before { counter-increment: paso; content: "0" counter(paso); display: block; font-family: var(--titulos); font-weight: 600; font-size: 64px; line-height: 1; color: var(--ambar); margin-bottom: 18px; }
.paso h3 { margin-bottom: 10px; }
.paso p { color: var(--tenue); }
@media (max-width: 900px) { .pasos { grid-template-columns: 1fr; } }

/* ── Razones ───────────────────────────────────────────────────────── */
.razones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--linea); }
.razon { padding: 28px 24px 0 0; border-top: 2px solid var(--ambar); margin-top: -1px; margin-right: 24px; }
.razon h3 { font-size: 26px; margin-bottom: 10px; }
.razon p { color: var(--tenue); font-size: 16px; }
@media (max-width: 1000px) { .razones { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }
@media (max-width: 560px) { .razones { grid-template-columns: 1fr; } .razon { margin-right: 0; } }

/* ── En números ────────────────────────────────────────────────────── */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--linea); border: 1px solid var(--linea); border-radius: calc(var(--radio) + 4px); overflow: hidden; }
.kpi { background: var(--fondo); padding: 34px 28px 30px; display: grid; gap: 10px; align-content: start; }
.kpi b { font-family: var(--titulos); font-weight: 600; font-size: clamp(56px, 6vw, 88px); line-height: .9; color: var(--texto); font-variant-numeric: tabular-nums; }
.kpi b::after { content: attr(data-sufijo-visible); color: var(--ambar); font-size: .5em; margin-left: 4px; }
.kpi span { color: var(--tenue); font-size: 16px; max-width: 22ch; }
.kpi-nota { margin-top: 16px; color: var(--tenue); font-size: 13px; }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Cobertura ─────────────────────────────────────────────────────── */
/* Mapa de cobertura (assets/js/mapa.js) */
.mapa { position: relative; margin: 0 0 34px; border-radius: calc(var(--radio) + 6px); border: 1px solid var(--linea); overflow: hidden;
  background: radial-gradient(120% 90% at 60% 40%, #15181c 0%, #0d0f12 70%); }
.mapa svg { width: 100%; height: auto; display: block; }
.mapa .carretera-sombra { fill: none; stroke: rgba(244, 173, 36, .12); stroke-width: 14; stroke-linecap: round; }
.mapa .carretera { fill: none; stroke: var(--ambar); stroke-width: 2.4; stroke-dasharray: 2 9; stroke-linecap: round; opacity: .85; }
.mapa .ruta-nombre { fill: var(--tenue); font: 600 13px var(--titulos); letter-spacing: .16em; text-transform: uppercase; }
.mapa .viaje { fill: #fff; filter: drop-shadow(0 0 6px var(--ambar)) drop-shadow(0 0 14px var(--ambar)); }
.mapa .estado-nombre { fill: rgba(255, 255, 255, .06); font: 700 64px var(--titulos); letter-spacing: .14em; text-transform: uppercase; }
.mapa .punto { fill: var(--ambar); stroke: #0d0f12; stroke-width: 2; }
.mapa .ciudad text { fill: var(--texto); font: 600 17px var(--titulos); letter-spacing: .06em; text-transform: uppercase; paint-order: stroke; stroke: #0d0f12; stroke-width: 5px; stroke-linejoin: round; }
.mapa .ciudad { opacity: 0; transition: opacity .5s ease calc(var(--i) * 90ms); }
.mapa.encendido .ciudad { opacity: 1; }
.mapa .pulso { transform-box: fill-box; transform-origin: center; animation: pulso 2.8s ease-in-out infinite; animation-delay: calc(var(--i) * -0.3s); }
@keyframes pulso { 0%, 100% { transform: scale(.7); opacity: .5; } 50% { transform: scale(1.25); opacity: 1; } }
.mapa .escala line { stroke: var(--tenue); stroke-width: 1.5; }
.mapa .escala text, .mapa .norte text { fill: var(--tenue); font: 600 13px var(--titulos); letter-spacing: .08em; }
.mapa .norte path { fill: var(--tenue); }
@media (max-width: 700px) { .mapa .ciudad text { font-size: 22px; } .mapa .ruta-nombre { font-size: 14px; } .mapa .estado-nombre { font-size: 80px; } }
.cobertura { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.estado { padding: 28px; border-radius: var(--radio); background: var(--superficie); border: 1px solid var(--linea); }
.estado h3 { margin-bottom: 18px; }
.estado ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.estado li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--linea-fuerte); font-size: 15px; }
.cobertura-otra { margin-top: 26px; color: var(--tenue); }
@media (max-width: 760px) { .cobertura { grid-template-columns: 1fr; } }

/* ── Sección clara (requisitos) ────────────────────────────────────── */
.clara { background: var(--concreto); color: var(--concreto-texto); }
.clara .ante { color: #a86f00; }
.clara .lead { color: var(--concreto-tenue); }
.requisitos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.lista-check { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 26px; }
.lista-check li { position: relative; padding-left: 34px; font-weight: 500; font-size: 18px; }
.lista-check li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #17140f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4ad24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 860px) { .requisitos { grid-template-columns: 1fr; } .lista-check { grid-template-columns: 1fr; } }

/* ── Clientes ──────────────────────────────────────────────────────── */
.clientes[data-mostrar="no"] { display: none; }
/* Todos en silueta blanca y en cajas iguales: ninguno domina por tamaño o color. */
.clientes .seccion-cabeza { margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.clientes { padding: clamp(64px, 8vw, 110px) 0; }
/* Carrusel de clientes: dos copias de la lista seguidas que se recorren a la izquierda sin fin
   (al llegar a la mitad la segunda copia está justo donde empezó la primera: no hay corte). Todos
   en silueta blanca y en cajas iguales; se detiene al pasar el mouse. */
.carrusel { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.carrusel-pista { display: flex; width: max-content; animation: carrusel 36s linear infinite; }
.carrusel:hover .carrusel-pista { animation-play-state: paused; }
.logos { display: flex; align-items: center; gap: 72px; padding-right: 72px; }
.logos img { width: 150px; height: 56px; object-fit: contain; filter: brightness(0) invert(1); opacity: .62; transition: opacity .2s ease; }
.logos img:hover { opacity: 1; }
@keyframes carrusel { to { transform: translateX(-50%); } }
@media (max-width: 560px) { .logos { gap: 44px; padding-right: 44px; } .logos img { width: 118px; height: 44px; } .carrusel-pista { animation-duration: 26s; } }

/* ── Preguntas ─────────────────────────────────────────────────────── */
.preguntas-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.pregunta { border-bottom: 1px solid var(--linea); }
.pregunta summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 600; font-size: 19px; }
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--ambar); border-bottom: 2px solid var(--ambar); transform: rotate(45deg); transition: transform .2s ease; }
.pregunta[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.respuesta { padding: 0 0 24px; color: var(--tenue); max-width: 66ch; }
@media (max-width: 860px) { .preguntas-grid { grid-template-columns: 1fr; } }

/* ── Cierre ────────────────────────────────────────────────────────── */
.cierre { padding: clamp(70px, 10vw, 130px) 0; background: var(--ambar); color: #17130b; position: relative; overflow: hidden; }
.cierre::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, .06) 0 18px, transparent 18px 36px); opacity: .6; }
.cierre .contenedor { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cierre h2 { font-size: clamp(44px, 6vw, 88px); max-width: 12ch; }
.cierre p { font-size: 19px; max-width: 40ch; margin-top: 14px; font-weight: 500; }
.cierre .boton { --b-fondo: #17130b; --b-texto: var(--texto); box-shadow: none; }
.cierre .boton:hover { background: #2a241a; }
.cierre .boton-sec { --b-fondo: transparent; --b-texto: #17130b; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .35); }

/* ── Ficha (páginas de equipo) ─────────────────────────────────────── */
.ficha-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); }
.tabla { width: 100%; border-collapse: collapse; }
.tabla th, .tabla td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--linea); }
.tabla th { color: var(--tenue); font-weight: 500; }
.tabla td { font-family: var(--titulos); font-size: 24px; font-weight: 600; text-align: right; }
.usos { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.usos li { padding: 16px 18px; border-radius: 12px; background: var(--superficie); border: 1px solid var(--linea); font-weight: 500; }
@media (max-width: 860px) { .ficha-grid { grid-template-columns: 1fr; } }

/* ── Pie ───────────────────────────────────────────────────────────── */
.pie { padding: 70px 0 40px; border-top: 1px solid var(--linea); background: var(--fondo-2); font-size: 15px; }
.pie-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.pie h4 { font-family: var(--titulos); text-transform: uppercase; letter-spacing: .14em; font-size: 14px; color: var(--tenue); margin: 0 0 16px; font-weight: 600; }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pie a { text-decoration: none; color: var(--texto); }
.pie a:hover { color: var(--ambar); }
.pie .logo img { height: 44px; margin-bottom: 18px; }
.pie p { color: var(--tenue); }
.pie-wa { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 14px; border: 1px solid var(--linea-fuerte); transition: border-color .15s, background .15s; }
.pie-wa:hover { border-color: var(--verde-wa); background: rgba(37, 211, 102, .08); color: var(--texto) !important; }
.pie-wa svg { width: 26px; height: 26px; color: var(--verde-wa); flex: none; }
.pie-wa span { display: grid; line-height: 1.25; font-size: 13px; color: var(--tenue); }
.pie-wa b { color: var(--texto); font-family: var(--titulos); font-size: 20px; font-weight: 600; letter-spacing: .02em; }
.pie-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--linea); display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; color: var(--tenue); font-size: 13px; }
@media (max-width: 900px) { .pie-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pie-grid { grid-template-columns: 1fr; } }

/* ── WhatsApp flotante (celular) ───────────────────────────────────── */
.flotante {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer;
  background: var(--verde-wa); color: #fff; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6);
  transform: scale(0); transition: transform .3s cubic-bezier(.2, .9, .3, 1.3);
}
.flotante.visible { transform: scale(1); }
.flotante svg { width: 32px; height: 32px; }

/* ── Ventana de WhatsApp en computadora ────────────────────────────── */
.ventana { border: 0; padding: 0; background: transparent; color: var(--texto); max-width: 860px; width: calc(100% - 32px); }
.ventana::backdrop { background: rgba(5, 6, 8, .72); backdrop-filter: blur(6px); }
.ventana-caja { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--superficie); border: 1px solid var(--linea-fuerte); border-radius: 22px; overflow: hidden; position: relative; }
.ventana-qr { padding: 36px; display: grid; gap: 16px; justify-items: center; text-align: center; border-right: 1px solid var(--linea); }
.ventana-qr h3 { font-size: 34px; }
.ventana-qr p { color: var(--tenue); font-size: 15px; max-width: 30ch; }
.qr { width: 220px; height: 220px; padding: 14px; background: #fff; border-radius: 16px; }
.qr svg { width: 100%; height: 100%; display: block; }
.ventana-form { padding: 36px; display: grid; gap: 14px; align-content: start; }
.ventana-form h3 { font-size: 28px; }
.ventana-form p { color: var(--tenue); font-size: 15px; }
.campo { display: grid; gap: 6px; font-size: 14px; color: var(--tenue); }
.campo input { height: 48px; border-radius: 12px; border: 1px solid var(--linea-fuerte); background: var(--fondo-2); color: var(--texto); padding: 0 14px; font: inherit; font-size: 16px; }
.campo input:focus { outline: none; border-color: var(--ambar); }
.consentimiento { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--tenue); }
.consentimiento input { margin-top: 4px; accent-color: var(--ambar); width: 18px; height: 18px; }
.ventana-aviso { font-size: 14px; min-height: 20px; }
.ventana-aviso.error { color: #ff8a7a; }
.ventana-aviso.ok { color: var(--verde-wa); }
.cerrar { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--linea-fuerte); background: transparent; cursor: pointer; display: grid; place-items: center; }
.cerrar:hover { background: rgba(255, 255, 255, .06); }
@media (max-width: 760px) { .ventana-caja { grid-template-columns: 1fr; } .ventana-qr { border-right: 0; border-bottom: 1px solid var(--linea); } }

/* ── Aparición al hacer scroll ─────────────────────────────────────── */
.aparece { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.aparece.visto { opacity: 1; transform: none; }
.aparece[data-retraso="1"] { transition-delay: .08s; }
.aparece[data-retraso="2"] { transition-delay: .16s; }
.aparece[data-retraso="3"] { transition-delay: .24s; }

/* ── Texto largo (aviso de privacidad) ─────────────────────────────── */
.texto-largo { max-width: 780px; }
.texto-largo h2 { font-size: 30px; margin: 44px 0 14px; }
.texto-largo p, .texto-largo li { color: #cfcac2; margin-bottom: 12px; }
.texto-largo ul { padding-left: 22px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .aparece { opacity: 1; transform: none; }
  .hero { height: auto; }
  /* "Reducir movimiento" (iPhone, ahorro de batería): los logos quietos, acomodados en filas centradas. */
  .carrusel { -webkit-mask-image: none; mask-image: none; }
  .carrusel-pista { animation: none; width: auto; display: block; }
  .carrusel-pista .logos { flex-wrap: wrap; justify-content: center; gap: 28px 40px; padding-right: 0; }
  .carrusel-pista .logos[aria-hidden] { display: none; }
  .hero-fijo { position: relative; }
}

/* La nota "plataforma a 12.2 m" no se parte entre renglones. */
#hero-plataforma { white-space: nowrap; }
