/* creamosempresas.com — hoja de estilo única
   Identidad propia: índigo + coral sobre papel claro, tipografía del sistema.
   No comparte paleta, fuentes ni recursos con ninguna otra web. */

:root {
  --papel: #fafaf7;
  --blanco: #ffffff;
  --tinta: #14161f;
  --texto: #474b5c;
  --suave: #6b7083;
  --linea: #e6e5ef;
  --indigo: #3a36e0;
  --indigo-hondo: #2420b8;
  --indigo-claro: #eeedfe;
  --coral: #ff7a45;
  --coral-hondo: #e85d26;
  --verde: #12a26b;
  --verde-claro: #e3f6ee;
  --sombra: 0 1px 2px rgba(20,22,31,.06), 0 12px 32px -12px rgba(20,22,31,.18);
  --sombra-alta: 0 2px 4px rgba(20,22,31,.06), 0 30px 60px -20px rgba(36,32,184,.35);
  --radio: 18px;
  --sans: ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ancho: 1180px;
  --gut: clamp(18px, 4vw, 40px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
section[id], form[id] { scroll-margin-top: 80px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papel); color: var(--tinta); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--indigo); }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.022em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.envoltura { max-width: var(--ancho); margin: 0 auto; padding-inline: var(--gut); }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; }

/* ── botones ───────────────────────────────────────────── */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 650; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; border-radius: 999px; padding: 15px 26px; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease; }
.boton:hover { transform: translateY(-2px); }
.boton:active { transform: translateY(0); }
.boton-principal { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -10px rgba(232,93,38,.7); }
.boton-principal:hover { background: var(--coral-hondo); box-shadow: 0 16px 30px -12px rgba(232,93,38,.75); }
.boton-secundario { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--linea); }
.boton-secundario:hover { box-shadow: inset 0 0 0 1.5px var(--indigo); color: var(--indigo); }
.boton-indigo { background: var(--indigo); color: #fff; }
.boton-indigo:hover { background: var(--indigo-hondo); }
.boton .flecha { transition: transform .18s ease; }
.boton:hover .flecha { transform: translateX(3px); }

/* ── cabecera ──────────────────────────────────────────── */
.cabecera { position: sticky; top: 0; z-index: 50; background: rgba(250,250,247,.82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.cabecera.con-sombra { border-bottom-color: var(--linea); box-shadow: 0 6px 20px -16px rgba(20,22,31,.35); }
.cabecera .envoltura { height: 72px; display: flex; align-items: center; gap: 28px; }
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinta); font-size: 19px; letter-spacing: -.02em; margin-right: auto; }
.marca svg { width: 34px; height: 34px; flex: 0 0 auto; }
.marca b { font-weight: 800; color: var(--indigo); }
.marca span { font-weight: 500; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a { color: var(--texto); text-decoration: none; font-size: 15px; font-weight: 550; }
.menu a:hover { color: var(--indigo); }
.menu .boton { padding: 11px 20px; font-size: 15px; color: #fff; }
@media (max-width: 880px) { .menu a:not(.boton) { display: none; } }
.menu .boton { white-space: nowrap; }
.solo-movil { display: none; }
@media (max-width: 520px) { .solo-ancho { display: none; } .solo-movil { display: inline; } .marca { font-size: 17px; } }

/* ── portada ───────────────────────────────────────────── */
.portada { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 92px) 0 clamp(56px, 8vw, 110px); }
.portada::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 720px; height: 720px; background: radial-gradient(closest-side, rgba(58,54,224,.16), transparent 70%); pointer-events: none; }
.portada::after { content: ""; position: absolute; inset: auto auto -40% -15%; width: 620px; height: 620px; background: radial-gradient(closest-side, rgba(255,122,69,.13), transparent 70%); pointer-events: none; }
.portada .envoltura { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .portada .envoltura { grid-template-columns: 1fr; } }
.etiqueta { display: inline-flex; align-items: center; gap: 9px; background: var(--blanco); border: 1px solid var(--linea); color: var(--texto); font-size: 14px; font-weight: 600; padding: 7px 14px 7px 9px; border-radius: 999px; box-shadow: var(--sombra); }
.etiqueta i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--verde-claro); color: var(--verde); font-style: normal; font-size: 13px; }
.portada h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 820; margin-top: 22px; }
.portada h1 em { font-style: normal; background: linear-gradient(100deg, var(--indigo) 10%, #7a5cff 60%, var(--coral) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.portada .entradilla { font-size: clamp(18px, 1.6vw, 21px); color: var(--texto); margin-top: 22px; max-width: 34em; }
.portada .acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.portada .garantias { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--texto); font-size: 15px; font-weight: 550; }
.portada .garantias li { display: flex; align-items: center; gap: 8px; }
.portada .garantias li::before { content: "✓"; color: var(--verde); font-weight: 800; }

/* tarjeta del expediente animado */
.expediente { position: relative; background: var(--blanco); border-radius: 24px; box-shadow: var(--sombra-alta); padding: 26px 26px 22px; border: 1px solid var(--linea); }
.expediente-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.expediente-cab strong { font-size: 16px; }
.expediente-cab small { display: block; color: var(--suave); font-size: 13px; font-weight: 500; }
.estado { font-size: 12.5px; font-weight: 700; color: var(--indigo); background: var(--indigo-claro); padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.estado.listo { color: var(--verde); background: var(--verde-claro); }
.barra { height: 8px; background: var(--indigo-claro); border-radius: 99px; overflow: hidden; margin-bottom: 18px; }
.barra span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--indigo), #7a5cff, var(--coral)); border-radius: 99px; transition: width .7s cubic-bezier(.3,.7,.2,1); }
.pasos-exp { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pasos-exp li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 12px; color: var(--suave); font-size: 15px; transition: background-color .3s ease, color .3s ease; }
.pasos-exp li .ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--linea); font-size: 14px; font-weight: 800; color: transparent; transition: all .35s ease; }
.pasos-exp li small { font-size: 12.5px; color: var(--suave); }
.pasos-exp li.hecho { color: var(--tinta); }
.pasos-exp li.hecho .ic { background: var(--verde); border-color: var(--verde); color: #fff; }
.pasos-exp li.ahora { background: var(--indigo-claro); color: var(--tinta); font-weight: 650; }
.pasos-exp li.ahora .ic { border-color: var(--indigo); border-top-color: transparent; animation: gira 1s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.expediente .pie-exp { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--linea); font-size: 13px; color: var(--suave); }
.burbuja { position: absolute; background: var(--tinta); color: #fff; font-size: 13.5px; font-weight: 600; padding: 10px 14px; border-radius: 14px; box-shadow: var(--sombra); animation: flota 5s ease-in-out infinite; }
.burbuja b { color: #ffb48f; }
.burbuja.b1 { top: -18px; right: -12px; }
.burbuja.b2 { bottom: -18px; right: -12px; animation-delay: -2.5s; background: var(--coral); }
@keyframes flota { 50% { transform: translateY(-8px); } }
@media (max-width: 520px) { .burbuja { display: none; } }

/* ── franja de cifras ──────────────────────────────────── */
.franja { background: var(--tinta); color: #fff; padding: 34px 0; }
.franja .envoltura { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.franja .cifra { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.franja .cifra small { font-size: .5em; font-weight: 700; color: #b8b6ff; margin-left: 4px; }
.franja p { color: #b9bccb; font-size: 14.5px; margin-top: 4px; }
@media (max-width: 760px) { .franja .envoltura { grid-template-columns: 1fr 1fr; } }

/* ── secciones ─────────────────────────────────────────── */
.seccion { padding: clamp(64px, 9vw, 120px) 0; }
.seccion.alterna { background: var(--blanco); border-block: 1px solid var(--linea); }
.antetitulo { display: inline-block; font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo); margin-bottom: 14px; }
.titulo { font-size: clamp(30px, 4vw, 48px); font-weight: 800; max-width: 22ch; }
.subtitulo { font-size: clamp(17px, 1.4vw, 19.5px); color: var(--texto); margin-top: 18px; max-width: 46em; }
.centro { text-align: center; }
.centro .titulo, .centro .subtitulo { margin-inline: auto; }

/* ── el dato que nadie cuenta ──────────────────────────── */
.dato { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .dato { grid-template-columns: 1fr; } }
.comparacion { display: grid; gap: 16px; }
.fila-comp { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio); padding: 20px 22px; box-shadow: var(--sombra); }
.fila-comp .lado { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 650; }
.fila-comp .lado span:last-child { font-size: 26px; font-weight: 820; letter-spacing: -.02em; }
.fila-comp .medidor { height: 12px; border-radius: 99px; background: #f1f0f7; margin-top: 14px; overflow: hidden; }
.fila-comp .medidor i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width 1.2s cubic-bezier(.3,.7,.2,1); }
.fila-comp.cara .medidor i { background: linear-gradient(90deg, #ffa27c, var(--coral-hondo)); }
.fila-comp.justa .medidor i { background: linear-gradient(90deg, #39d29a, var(--verde)); }
.fila-comp p { font-size: 14.5px; color: var(--suave); margin-top: 10px; }
.fuente { font-size: 13.5px; color: var(--suave); margin-top: 18px; }

/* ── cómo funciona ─────────────────────────────────────── */
.linea-tiempo { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: paso; position: relative; }
.linea-tiempo::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--linea) 0 8px, transparent 8px 14px); }
.linea-tiempo li { position: relative; counter-increment: paso; text-align: center; }
.linea-tiempo .bola { position: relative; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--blanco); border: 2px solid var(--indigo); display: grid; place-items: center; font-weight: 800; font-size: 19px; color: var(--indigo); transition: background-color .3s ease, color .3s ease, transform .3s ease; }
.linea-tiempo .bola::after { content: counter(paso); }
.linea-tiempo li:hover .bola { background: var(--indigo); color: #fff; transform: scale(1.08); }
.linea-tiempo h3 { font-size: 17.5px; }
.linea-tiempo p { font-size: 15px; color: var(--texto); margin-top: 8px; }
.linea-tiempo .quien { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--indigo-claro); color: var(--indigo); }
.linea-tiempo .quien.tu { background: #fff1ea; color: var(--coral-hondo); }
@media (max-width: 900px) {
  .linea-tiempo { grid-template-columns: 1fr; gap: 0; }
  .linea-tiempo::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--linea) 0 8px, transparent 8px 14px); }
  .linea-tiempo li { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; text-align: left; padding-bottom: 28px; }
  .linea-tiempo .bola { grid-row: span 3; margin: 0; }
}

/* ── packs ─────────────────────────────────────────────── */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; align-items: stretch; }
@media (max-width: 980px) { .packs { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.pack { position: relative; display: flex; flex-direction: column; background: var(--blanco); border: 1px solid var(--linea); border-radius: 24px; padding: 32px 28px 28px; box-shadow: var(--sombra); transition: transform .25s ease, box-shadow .25s ease; }
.pack:hover { transform: translateY(-6px); box-shadow: var(--sombra-alta); }
.pack.destacado { background: linear-gradient(180deg, #1d1a7a 0%, var(--indigo-hondo) 100%); color: #fff; border-color: transparent; box-shadow: var(--sombra-alta); }
.pack .cinta { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 99px; white-space: nowrap; }
.pack h3 { font-size: 22px; font-weight: 800; }
.pack .para { font-size: 15px; color: var(--texto); margin-top: 6px; min-height: 3.2em; }
.pack.destacado .para { color: #cfcdfb; }
.precio { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.precio strong { font-size: 50px; font-weight: 850; letter-spacing: -.04em; line-height: 1; }
.precio span { font-size: 15px; color: var(--suave); font-weight: 600; }
.pack.destacado .precio span { color: #cfcdfb; }
.pack .aparte { font-size: 13.5px; color: var(--suave); margin-top: 8px; }
.pack.destacado .aparte { color: #b8b6ff; }
.pack ul { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 11px; flex: 1; align-content: start; }
.pack li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.45; }
.pack li::before { content: ""; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--verde-claro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2312a26b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.pack.destacado li::before { background-color: rgba(255,255,255,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pack li.mas { font-weight: 700; }
.pack li.mas::before { background-image: none; content: "+"; display: grid; place-items: center; font-weight: 900; color: var(--indigo); background-color: var(--indigo-claro); }
.pack.destacado li.mas::before { color: #fff; background-color: var(--coral); }
.pack .boton { width: 100%; }
.pack.destacado .boton-secundario { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.notas-precio { text-align: center; color: var(--suave); font-size: 14.5px; margin-top: 30px; }

/* ── configurador ──────────────────────────────────────── */
.configurador { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; margin-top: 52px; align-items: start; }
@media (max-width: 940px) { .configurador { grid-template-columns: 1fr; } }
.panel-conf { background: var(--blanco); border: 1px solid var(--linea); border-radius: 24px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--sombra); }
fieldset.pregunta { border: 0; margin: 0; padding: 0; min-width: 0; }
.pregunta + .pregunta { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--linea); }
.pregunta > p, .pregunta > legend { font-weight: 750; font-size: 16.5px; margin-bottom: 12px; padding: 0; }
.pregunta > legend { float: left; width: 100%; }
.pregunta > legend + * { clear: both; }
.pregunta > p small, .pregunta > legend small { display: block; font-weight: 500; color: var(--suave); font-size: 14px; margin-top: 2px; }
.opciones { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.opcion { position: relative; }
.opcion input { position: absolute; opacity: 0; pointer-events: none; }
.opcion label { display: block; height: 100%; cursor: pointer; border: 1.5px solid var(--linea); border-radius: 14px; padding: 13px 14px; font-size: 15px; font-weight: 650; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.opcion label small { display: block; font-weight: 500; color: var(--suave); font-size: 13px; margin-top: 3px; }
.opcion label:hover { border-color: #c9c7f7; }
.opcion input:checked + label { border-color: var(--indigo); background: var(--indigo-claro); box-shadow: 0 0 0 3px rgba(58,54,224,.12); }
.opcion input:focus-visible + label { outline: 3px solid var(--coral); outline-offset: 2px; }
.interruptor { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; cursor: pointer; }
.interruptor + .interruptor { border-top: 1px dashed var(--linea); }
.interruptor span { font-size: 15.5px; font-weight: 600; }
.interruptor span small { display: block; font-weight: 500; color: var(--suave); font-size: 13.5px; }
.interruptor input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 48px; height: 28px; border-radius: 99px; background: #d9d8e6; position: relative; cursor: pointer; transition: background-color .2s ease; margin: 0; }
.interruptor input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s ease; }
.interruptor input:checked { background: var(--indigo); }
.interruptor input:checked::after { transform: translateX(20px); }
.resumen { position: sticky; top: 92px; background: var(--tinta); color: #fff; border-radius: 24px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--sombra-alta); }
.resumen h3 { font-size: 15px; font-weight: 700; color: #b8b6ff; letter-spacing: .08em; text-transform: uppercase; }
.resumen .pack-elegido { font-size: 26px; font-weight: 820; margin-top: 8px; }
.resumen dl { margin: 20px 0 0; display: grid; gap: 10px; }
.resumen dl div { display: flex; justify-content: space-between; gap: 14px; font-size: 15px; color: #c9cbd8; }
.resumen dl dd { margin: 0; font-weight: 700; color: #fff; white-space: nowrap; }
.resumen .total { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.resumen .total span { font-size: 15px; color: #c9cbd8; }
.resumen .total strong { font-size: 40px; font-weight: 850; letter-spacing: -.03em; }
.resumen .con-iva { text-align: right; font-size: 13.5px; color: #9ea1b5; margin-top: 2px; }
.resumen .frente { margin-top: 18px; background: rgba(255,255,255,.07); border-radius: 14px; padding: 14px 16px; font-size: 14.5px; color: #dcdde8; }
.resumen .frente b { color: #7ff0c0; }
.resumen .boton { width: 100%; margin-top: 20px; }
.resumen .letra { font-size: 12.5px; color: #8f92a8; margin-top: 14px; line-height: 1.5; }

/* ── entregables ───────────────────────────────────────── */
.rejilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
@media (max-width: 900px) { .rejilla { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .rejilla { grid-template-columns: 1fr; } }
.tarjeta { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio); padding: 26px 24px; transition: border-color .2s ease, transform .2s ease; }
.tarjeta:hover { border-color: #c9c7f7; transform: translateY(-3px); }
.tarjeta .icono { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--indigo-claro); color: var(--indigo); margin-bottom: 18px; }
.tarjeta .icono svg { width: 24px; height: 24px; }
.tarjeta:nth-child(3n+2) .icono { background: #fff1ea; color: var(--coral-hondo); }
.tarjeta:nth-child(3n) .icono { background: var(--verde-claro); color: var(--verde); }
.tarjeta h3 { font-size: 18px; }
.tarjeta p { font-size: 15.5px; color: var(--texto); margin-top: 8px; }

/* ── calendario ────────────────────────────────────────── */
.calendario { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .calendario { grid-template-columns: 1fr; } }
.agenda { background: var(--blanco); border: 1px solid var(--linea); border-radius: 24px; box-shadow: var(--sombra-alta); overflow: hidden; }
.agenda-cab { background: var(--indigo); color: #fff; padding: 16px 22px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.agenda-cab small { font-weight: 500; color: #cfcdfb; }
.agenda ol { list-style: none; margin: 0; padding: 8px 0; }
.agenda li { display: grid; grid-template-columns: 74px 1fr; gap: 16px; padding: 14px 22px; align-items: center; border-bottom: 1px solid #f1f0f7; }
.agenda li:last-child { border-bottom: 0; }
.agenda .cuando { text-align: center; background: #f6f5fd; border-radius: 12px; padding: 7px 0; font-size: 12.5px; font-weight: 700; color: var(--indigo); line-height: 1.25; }
.agenda .cuando b { display: block; font-size: 15px; color: var(--tinta); }
.agenda li strong { display: block; font-size: 15.5px; }
.agenda li span { font-size: 14px; color: var(--suave); }
.agenda li.aviso .cuando { background: #fff1ea; color: var(--coral-hondo); }

/* ── historia ──────────────────────────────────────────── */
.historia { background: linear-gradient(135deg, #1d1a7a, var(--indigo-hondo) 55%, #5a3fe0); color: #fff; border-radius: 32px; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 60px); align-items: center; position: relative; overflow: hidden; }
.historia::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,122,69,.45), transparent); }
@media (max-width: 900px) { .historia { grid-template-columns: 1fr; } }
.historia .antetitulo { color: #ffb48f; }
.historia h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 820; }
.historia p { color: #dcdbff; font-size: 17.5px; margin-top: 18px; }
.historia blockquote { margin: 0; position: relative; z-index: 1; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; padding: 26px; font-size: 16px; }
.historia blockquote dl { margin: 0; display: grid; gap: 12px; }
.historia blockquote div { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px dashed rgba(255,255,255,.2); padding-bottom: 10px; }
.historia blockquote div:last-child { border: 0; padding: 0; }
.historia blockquote dt { color: #cfcdfb; }
.historia blockquote dd { margin: 0; font-weight: 750; white-space: nowrap; }

/* ── tabla comparativa ─────────────────────────────────── */
.tabla-envoltura { margin-top: 48px; overflow-x: auto; border-radius: 22px; border: 1px solid var(--linea); background: var(--blanco); box-shadow: var(--sombra); }
table.comparativa { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 15.5px; }
.comparativa th, .comparativa td { padding: 16px 20px; text-align: left; border-bottom: 1px solid #f1f0f7; vertical-align: top; }
.comparativa thead th { font-size: 14px; color: var(--suave); font-weight: 700; background: #fbfbfe; }
.comparativa thead th.nosotros { color: var(--indigo); background: var(--indigo-claro); }
.comparativa td.nosotros { background: #f7f7ff; font-weight: 650; }
.comparativa tr:last-child td { border-bottom: 0; }
.si { color: var(--verde); font-weight: 800; }
.no { color: #c0392b; font-weight: 800; }
.medio { color: var(--suave); }

/* ── preguntas ─────────────────────────────────────────── */
.preguntas { max-width: 820px; margin: 48px auto 0; display: grid; gap: 12px; }
.preguntas details { background: var(--blanco); border: 1px solid var(--linea); border-radius: 16px; padding: 0 22px; transition: border-color .2s ease, box-shadow .2s ease; }
.preguntas details[open] { border-color: #c9c7f7; box-shadow: var(--sombra); }
.preguntas summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: "+"; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo-claro); color: var(--indigo); font-size: 20px; font-weight: 600; transition: transform .25s ease; }
.preguntas details[open] summary::after { transform: rotate(45deg); }
.preguntas details p { color: var(--texto); padding-bottom: 20px; font-size: 16px; }
.preguntas details p + p { margin-top: -8px; }

/* ── llamada final ─────────────────────────────────────── */
.final { text-align: center; }
.final .titulo { margin-inline: auto; max-width: 18ch; }
.final .subtitulo { margin-inline: auto; }
.final .acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }

/* ── formulario ────────────────────────────────────────── */
.formulario { background: var(--blanco); border: 1px solid var(--linea); border-radius: 24px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--sombra-alta); }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .campos { grid-template-columns: 1fr; } }
.campo { display: grid; gap: 7px; }
.campo.ancho { grid-column: 1 / -1; }
.campo label, .campo .rotulo { font-size: 14.5px; font-weight: 700; }
.campo label small { font-weight: 500; color: var(--suave); }
.campo input[type=text], .campo input[type=email], .campo input[type=tel], .campo select, .campo textarea { font: inherit; font-size: 16px; color: var(--tinta); background: var(--papel); border: 1.5px solid var(--linea); border-radius: 12px; padding: 13px 14px; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; width: 100%; }
.campo textarea { min-height: 130px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--indigo); background: #fff; box-shadow: 0 0 0 4px rgba(58,54,224,.12); }
.casilla { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--texto); cursor: pointer; }
.casilla input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--indigo); flex: 0 0 auto; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulario .boton { margin-top: 8px; }
.aviso-form { font-size: 13.5px; color: var(--suave); line-height: 1.55; }
.revisa { display: none; background: #fff1ea; border: 1px solid #ffc7ad; color: #9a3a12; border-radius: 12px; padding: 12px 16px; font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.revisa:target, .revisa.ver { display: block; }
.info-conf { background: var(--indigo-claro); color: var(--indigo-hondo); border-radius: 12px; padding: 12px 16px; font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.contacto-rejilla { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contacto-rejilla { grid-template-columns: 1fr; } }
.lista-pasos { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; counter-reset: lp; }
.lista-pasos li { counter-increment: lp; display: grid; grid-template-columns: 38px 1fr; gap: 14px; font-size: 16px; color: var(--texto); }
.lista-pasos li::before { content: counter(lp); width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--indigo-claro); color: var(--indigo); font-weight: 800; }
.lista-pasos b { color: var(--tinta); display: block; }

/* ── páginas de texto (legales) ────────────────────────── */
.cabeza-pagina { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); }
.cabeza-pagina h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 820; }
.cabeza-pagina p { color: var(--texto); font-size: 18.5px; margin-top: 16px; max-width: 40em; }
.texto-legal { max-width: 760px; padding-bottom: clamp(64px, 8vw, 110px); }
.texto-legal h2 { font-size: 23px; margin: 44px 0 12px; }
.texto-legal h2:first-child { margin-top: 0; }
.texto-legal p, .texto-legal li { color: var(--texto); font-size: 16.5px; line-height: 1.72; }
.texto-legal p + p { margin-top: 14px; }
.texto-legal ul { padding-left: 22px; margin: 12px 0; }
.texto-legal li { margin-bottom: 8px; }
.ficha { background: var(--blanco); border: 1px solid var(--linea); border-radius: 18px; padding: 22px 24px; margin-top: 18px; }
.ficha dl { margin: 0; display: grid; grid-template-columns: minmax(150px, auto) 1fr; gap: 10px 22px; }
.ficha dt { font-size: 14px; font-weight: 700; color: var(--suave); }
.ficha dd { margin: 0; font-size: 16px; }
@media (max-width: 600px) { .ficha dl { grid-template-columns: 1fr; gap: 2px; } .ficha dd { margin-bottom: 12px; } }
.actualizado { font-size: 14px; color: var(--suave); margin-top: 18px; }

/* ── pie ───────────────────────────────────────────────── */
.pie { background: var(--tinta); color: #b9bccb; padding: 60px 0 34px; font-size: 15px; }
.pie .envoltura { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .pie .envoltura { grid-template-columns: 1fr; } }
.pie .marca { color: #fff; }
.pie .marca b { color: #b8b6ff; }
.pie p { margin-top: 14px; max-width: 34em; }
.pie h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pie a { color: #b9bccb; text-decoration: none; }
.pie a:hover { color: #fff; }
.pie .base { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; margin-top: 8px; font-size: 13.5px; color: #8f92a8; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ── barra fija en móvil ───────────────────────────────── */
.barra-movil { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px; background: var(--tinta); color: #fff; border-radius: 18px; padding: 10px 10px 10px 18px; box-shadow: 0 20px 40px -14px rgba(20,22,31,.6); transform: translateY(140%); transition: transform .35s cubic-bezier(.3,.7,.2,1); }
.barra-movil.ver { transform: translateY(0); }
.barra-movil span { font-size: 14px; line-height: 1.3; }
.barra-movil b { display: block; font-size: 16px; }
.barra-movil .boton { padding: 12px 18px; font-size: 15px; }
@media (max-width: 760px) { .barra-movil { display: flex; } }

/* ── aparición al hacer scroll ─────────────────────────── */
.js .aparece { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.3,.7,.2,1); }
.js .aparece.visto { opacity: 1; transform: none; }
.js .aparece.d1 { transition-delay: .08s; }
.js .aparece.d2 { transition-delay: .16s; }
.js .aparece.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .aparece { opacity: 1; transform: none; }
}
