/* DIVICON BWA · Branding y logotipos (sistema visual de crece.divicon.net) */

@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url("../fonts/plex/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url("../fonts/plex/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url("../fonts/plex/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/plex/ibm-plex-sans-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/plex/ibm-plex-sans-condensed-latin-700-normal.woff2") format("woff2"); }
:root {
  --fondo: #f3f2f6; --papel: #ffffff; --tinta: #1b0a40; --texto: #3b3452; --gris: #6e6883;
  --suave: #e7e4ee; --violeta: #5016a6; --naranja: #fa9902; --naranja-claro: #fff1da;
  --banda: #1b0a40;
  --display: "Plex Condensed", "IBM Plex Sans Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --cuerpo: "Plex", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --margen: clamp(1.25rem, 5vw, 4.5rem); --ancho: 1240px; --arriba: 76px;

  /* Variables que usa el footer del tema (antes venían de style.css) */
  --bg-white: #ffffff; --bg-slate: #f8fafc; --text-dark: #1b0a40; --text-muted: #6e6883;
  --c-orange: #fa9902; --c-purple: #5016a6; --c-purple-light: #f3e8ff; --font-main: var(--cuerpo);
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { height: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--arriba) + env(safe-area-inset-top, 0px) + 12px); -webkit-text-size-adjust: 100%; }
body.pagina-branding { padding-top: 0; margin: 0; font-family: var(--cuerpo); font-size: clamp(1rem, .96rem + .2vw, 1.1rem); line-height: 1.55; color: var(--texto); background: var(--fondo); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
:where(.bwa) img { display: block; max-width: 100%; }
:where(.bwa) a { color: inherit; }
:where(.bwa) :is(h1, h2, h3) { margin: 0; color: var(--tinta); }
:where(.bwa) :is(p, ul, ol) { margin: 0; }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; }

.envoltura { max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto; padding: 0 var(--margen); }
.centrado { display: flex; flex-direction: column; align-items: center; text-align: center; }
.grande { font-family: var(--display); font-weight: 700; font-size: clamp(2.5rem, 1.3rem + 4.6vw, 5.6rem); line-height: .94; letter-spacing: -.02em; max-width: 17ch; }
.salto { display: block; }
.intro { max-width: 52ch; margin-top: 1.2rem; font-size: 1.12em; color: var(--gris); }
h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); line-height: 1.08; }

/* Encabezado */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: calc(var(--arriba) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px);
  display: flex; justify-content: space-between; align-items: center;
  padding-left: max(var(--margen), calc((100vw - var(--ancho)) / 2)); padding-right: max(var(--margen), calc((100vw - var(--ancho)) / 2));
  background: color-mix(in srgb, var(--fondo) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.marca { font-family: var(--display); font-weight: 700; font-size: 1.55rem; letter-spacing: .03em; color: var(--violeta); text-decoration: none; }
.top-cta { font-weight: 600; font-size: .95rem; text-decoration: none; background: var(--naranja); color: #1b0a40; border-radius: 999px; padding: .6rem 1.25rem; transition: transform .15s; }
.top-cta:hover { transform: translateY(-1px); }

/* Menú del encabezado */
.marca, .top-cta { white-space: nowrap; flex-shrink: 0; }
.top-nav { margin-left: auto; margin-right: 1.5rem; min-width: 0; }
.top-nav ul { list-style: none; display: flex; gap: clamp(.85rem, 1.3vw, 1.4rem); margin: 0; padding: 0; }
.top-nav a { white-space: nowrap; font-weight: 500; font-size: .9rem; color: var(--tinta); text-decoration: none; padding: .4rem 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.top-nav a:hover, .top-nav .current-menu-item > a, .top-nav a[aria-current="page"] { color: var(--violeta); border-bottom-color: var(--naranja); }
.top-burger { display: none; order: 3; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: .6rem; padding: 0; background: transparent; color: var(--tinta); border: 1px solid var(--suave); border-radius: 999px; cursor: pointer; }

/* Submenú (escritorio) */
.top-nav > ul { align-items: center; }
.top-nav li { position: relative; }
.top-nav > ul > li { display: flex; align-items: center; }
.top-nav .menu-item-has-children { display: flex; align-items: center; gap: .15rem; }
.top-nav .sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; background: transparent; border: 0; color: var(--tinta); cursor: pointer; border-radius: 50%; transition: transform .2s, color .15s; }
.top-nav .sub-toggle:hover, .top-nav .menu-item-has-children:hover > .sub-toggle { color: var(--violeta); }
.top-nav .current-menu-ancestor > a, .top-nav .current-menu-parent > a { color: var(--violeta); border-bottom-color: var(--naranja); }
.top-nav .sub-menu { display: none; flex-direction: column; gap: 0; position: absolute; left: -1rem; top: 100%; min-width: 260px; padding: .5rem; margin: 0; list-style: none;
  background: var(--papel); border: 1px solid var(--suave); border-radius: 16px; box-shadow: 0 18px 36px rgba(27, 10, 64, .14); z-index: 40; }
.top-nav .sub-menu li { border: 0; }
.top-nav .sub-menu a { display: block; padding: .65rem .9rem; border: 0; border-radius: 10px; font-size: .92rem; }
.top-nav .sub-menu a:hover, .top-nav .sub-menu .current-menu-item > a { background: var(--naranja-claro); color: var(--violeta); }
.top-nav li.abierto > .sub-toggle { transform: rotate(180deg); }
@media (min-width: 961px) {
  .top:not(.compacto) .top-nav > ul > li { padding: .9rem 0; }
  .top:not(.compacto) .top-nav li:hover > .sub-menu,
  .top:not(.compacto) .top-nav li:focus-within > .sub-menu,
  .top:not(.compacto) .top-nav li.abierto > .sub-menu { display: flex; }
}

/* Modo compacto: celular, o cuando los enlaces no caben en una fila (lo detecta el script del menú) */
@media (max-width: 960px) {
  .top .top-burger { display: inline-flex; }
  .top .top-cta { margin-left: auto; }
  .top .top-nav { display: none; position: fixed; left: 0; right: 0; top: calc(var(--arriba) + env(safe-area-inset-top, 0px)); margin: 0;
    padding: .5rem var(--margen) 1.2rem; background: var(--fondo); box-shadow: 0 14px 24px rgba(27, 10, 64, .12); }
  .top .top-nav.abierto { display: block; }
  .top .top-nav ul { flex-direction: column; gap: 0; }
  .top .top-nav li + li { border-top: 1px solid var(--suave); }
  .top .top-nav a { display: block; padding: .9rem 0; font-size: 1.05rem; border-bottom: 0; white-space: normal; }
  .top .top-nav .menu-item-has-children { flex-wrap: wrap; }
  .top .top-nav .menu-item-has-children > a { flex: 1; }
  .top .top-nav .sub-toggle { width: 40px; height: 40px; }
  .top .top-nav .sub-menu { position: static; flex-basis: 100%; min-width: 0; padding: 0 0 .5rem 1rem; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  .top .top-nav li.abierto > .sub-menu { display: flex; }
  .top .top-nav .sub-menu li + li { border-top: 0; }
  .top .top-nav .sub-menu a { padding: .6rem .5rem; font-size: 1rem; border-radius: 8px; }
}
.top.compacto .top-burger { display: inline-flex; }
.top.compacto .top-cta { margin-left: auto; }
.top.compacto .top-nav { display: none; position: fixed; left: 0; right: 0; top: calc(var(--arriba) + env(safe-area-inset-top, 0px)); margin: 0;
  padding: .5rem var(--margen) 1.2rem; background: var(--fondo); box-shadow: 0 14px 24px rgba(27, 10, 64, .12); }
.top.compacto .top-nav.abierto { display: block; }
.top.compacto .top-nav ul { flex-direction: column; gap: 0; }
.top.compacto .top-nav li + li { border-top: 1px solid var(--suave); }
.top.compacto .top-nav a { display: block; padding: .9rem 0; font-size: 1.05rem; border-bottom: 0; white-space: normal; }
.top.compacto .top-nav .menu-item-has-children { flex-wrap: wrap; }
.top.compacto .top-nav .menu-item-has-children > a { flex: 1; }
.top.compacto .top-nav .sub-toggle { width: 40px; height: 40px; }
.top.compacto .top-nav .sub-menu { position: static; flex-basis: 100%; min-width: 0; padding: 0 0 .5rem 1rem; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.top.compacto .top-nav li.abierto > .sub-menu { display: flex; }
.top.compacto .top-nav .sub-menu li + li { border-top: 0; }
.top.compacto .top-nav .sub-menu a { padding: .6rem .5rem; font-size: 1rem; border-radius: 8px; }

/* Inicio */
.hero { padding: calc(var(--arriba) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(4rem, 8vw, 6rem);
  background-image: radial-gradient(rgba(110, 104, 131, .16) 1px, transparent 1.3px); background-size: 16px 16px; }
.pastilla { font-size: .92rem; font-weight: 500; color: var(--tinta); background: var(--papel); border: 1px solid var(--suave); border-radius: 999px; padding: .4rem 1rem; margin-bottom: 1.6rem; }
.hero-titulo { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, .8rem + 7.6vw, 8.4rem); line-height: .88; letter-spacing: -.03em; }
.linea { display: block; overflow: hidden; padding: .1em .05em .16em; margin: -.1em 0 -.16em; }
.linea > span { display: block; animation: subir .9s cubic-bezier(.2, .7, .1, 1) both; }
.linea:nth-child(2) > span { animation-delay: .1s; }
.linea:nth-child(3) > span { animation-delay: .2s; }
@keyframes subir { from { transform: translateY(105%); } to { transform: none; } }
.lead { max-width: 50ch; margin-top: 1.8rem; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.5; }
.lead strong { color: var(--tinta); font-weight: 600; }

/* Doble Capa: lo que ven y lo que lee Google, convergiendo en tu marca */
.arbol { position: relative; width: min(1080px, calc(100% - 2 * var(--margen))); margin: clamp(3rem, 6vw, 4.5rem) auto 0; aspect-ratio: 1000 / 420; }
.arbol-lineas { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ruta { fill: none; stroke: var(--naranja); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 7 7; opacity: .8; animation: mostrar .6s ease .5s both, fluir 1.4s linear infinite; }
@keyframes fluir { to { stroke-dashoffset: -28; } }
@keyframes mostrar { from { opacity: 0; } }
.chip { position: absolute; transform: translate(-50%, -112%); display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
  font-size: .9rem; font-weight: 500; border-radius: 999px; padding: .45rem .95rem .45rem .75rem; animation: chip .5s ease calc(.35s + var(--i) * .08s) both; }
@keyframes chip { from { opacity: 0; transform: translate(-50%, -100%); } }
.chip-h { background: var(--papel); color: var(--tinta); box-shadow: 0 10px 24px -14px rgba(27, 10, 64, .45), 0 0 0 1px var(--suave); }
.chip-a { background: #1b0a40; color: var(--naranja); box-shadow: 0 10px 24px -14px rgba(27, 10, 64, .6), 0 0 0 1px rgba(250, 153, 2, .5); }
.chip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.capa { position: absolute; bottom: 0; font-family: var(--display); font-weight: 600; font-size: clamp(.95rem, .8rem + .4vw, 1.2rem); color: var(--gris); }
.capa-h { left: 0; } .capa-a { right: 0; text-align: right; }
.capa b { display: block; color: var(--tinta); font-size: 1.15em; }
.capa-a b { color: var(--violeta); }
.rino-wrap { display: flex; flex-direction: column; align-items: center; }
.rino { width: clamp(200px, 26vw, 300px); aspect-ratio: 1; border-radius: 30px; box-shadow: 0 0 0 4px var(--fondo), 0 0 0 6px var(--naranja); }
.boton { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 1.3rem; background: var(--naranja); color: #1b0a40; border-radius: 999px; padding: 1rem 1.9rem; margin-top: 2.2rem; transition: transform .15s, background-color .15s; }
.boton:hover { background: #ffab24; }
.boton:active { transform: scale(.98); }
.boton svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.directo { margin-top: 1rem; font-size: .95rem; color: var(--gris); text-align: center; }

/* La línea que recorre la página */
.flujo { position: relative; }
.flujo-linea { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: rgba(250, 153, 2, .22); z-index: 0; }
.flujo-avance { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--naranja); }
.flujo-avance::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--naranja); box-shadow: 0 0 0 5px rgba(250, 153, 2, .2); }
.bloque { position: relative; z-index: 1; padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.flujo .centrado > * { background: var(--fondo); padding: .3rem .8rem; }
.flujo .centrado > .intro { margin-top: .8rem; }

/* Fotos: recuadro de reserva */
.foto { position: relative; margin: 0; overflow: hidden; border-radius: 20px; background: repeating-linear-gradient(-45deg, rgba(110, 104, 131, .1) 0 12px, transparent 12px 24px), var(--suave); }
.foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foto-vacia { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; padding: 1rem; text-align: center; font-size: .82rem; color: var(--gris); }
.foto-vacia b { overflow-wrap: anywhere; color: var(--tinta); }
.foto img + .foto-vacia { display: none; }

/* Señales */
.senales { list-style: none; display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 4rem); margin-top: clamp(3rem, 6vw, 4.5rem); }
.senal { display: grid; grid-template-columns: 1fr 76px 1fr; align-items: center; }
.senal-nodo { grid-column: 2; justify-self: center; width: 60px; height: 60px; border-radius: 18px; background: var(--papel); box-shadow: 0 0 0 1px var(--suave), 0 12px 24px -16px rgba(27, 10, 64, .5); display: grid; place-items: center; }
.senal-nodo svg { width: 28px; height: 28px; fill: none; stroke: var(--violeta); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.senal-texto { grid-row: 1; position: relative; max-width: 28rem; display: flex; flex-direction: column; gap: .5rem; }
.senal:nth-child(odd) .senal-texto { grid-column: 1; justify-self: end; text-align: right; padding-right: 2.5rem; }
.senal:nth-child(even) .senal-texto { grid-column: 3; justify-self: start; padding-left: 2.5rem; }
.senal-texto::before { content: ""; position: absolute; top: 50%; width: 2rem; border-top: 2px dashed rgba(250, 153, 2, .7); }
.senal:nth-child(odd) .senal-texto::before { right: 0; }
.senal:nth-child(even) .senal-texto::before { left: 0; }
.senal-texto p { color: var(--gris); }

/* Tres caminos (banda oscura) */
.caminos { margin: clamp(2rem, 5vw, 4rem) var(--margen); background: var(--banda); color: rgba(255, 255, 255, .8); border-radius: 40px; overflow: hidden; }
.caminos h2, .caminos h3 { color: #fff; }
.flujo .caminos .centrado > * { background: none; }
.caminos .intro { color: rgba(255, 255, 255, .7); }
.caminos-fila { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); max-width: calc(var(--ancho) + 2 * var(--margen)); margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; padding: 0 clamp(1.25rem, 4vw, 3.5rem); }
.camino { display: flex; flex-direction: column; gap: .7rem; }
.camino p { color: rgba(255, 255, 255, .72); }
.precio { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--naranja); margin-top: .2rem; }
.precio small { font-family: var(--cuerpo); font-weight: 500; font-size: .85rem; color: rgba(255, 255, 255, .6); margin-right: .3rem; }
.foto-camino { aspect-ratio: 1; margin-bottom: .6rem; background-color: rgba(255, 255, 255, .07); background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .05) 0 12px, transparent 12px 24px); }
.foto-camino .foto-vacia { color: rgba(255, 255, 255, .55); }
.foto-camino .foto-vacia b { color: #fff; }
.flujo .caminos-nota.centrado > .decision, .flujo .centrado > .decision { margin-top: clamp(2.5rem, 5vw, 3.5rem); max-width: 46ch; padding: 1.1rem 1.5rem; font-size: clamp(1.1rem, .95rem + .6vw, 1.35rem); line-height: 1.4; color: var(--tinta);
  background: var(--naranja-claro); border: 1.5px solid rgba(250, 153, 2, .6); border-radius: 18px; }
.decision strong { font-weight: 600; }

/* Tarjeta blanca de dos columnas (guía IA y precios) */
.tarjeta { margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; max-width: 1000px; background: var(--papel); border-radius: 30px; padding: clamp(1.6rem, 4vw, 3rem); box-shadow: 0 0 0 1px var(--suave), 0 30px 60px -40px rgba(27, 10, 64, .4); }
.ia-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.ia-texto { font-size: 1.12em; }
.ia-precio { margin-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem; }
.ia-precio b { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 2rem + 4vw, 5.2rem); line-height: .9; letter-spacing: -.03em; color: var(--violeta); }
.ia-precio span { font-weight: 500; color: var(--tinta); }
.archivos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.archivo { border-radius: 20px; padding: 1.4rem; aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem; position: relative; overflow: hidden; }
.archivo h3 { font-size: 1.35rem; }
.archivo p { font-size: .92rem; }
.archivo-h { background: var(--fondo); }
.archivo-h p { color: var(--gris); }
.archivo-a { background: #1b0a40; }
.archivo-a h3 { color: var(--naranja); }
.archivo-a p { color: rgba(255, 255, 255, .7); }
.archivo-ico { position: absolute; top: 1.4rem; left: 1.4rem; font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .04em; border-radius: 8px; padding: .25rem .55rem; }
.archivo-h .archivo-ico { background: var(--papel); color: var(--tinta); box-shadow: 0 0 0 1px var(--suave); }
.archivo-a .archivo-ico { background: rgba(250, 153, 2, .15); color: var(--naranja); }
.archivo-a svg.facetas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.archivo-a > :not(svg):not(.archivo-ico) { position: relative; } .archivo-a .archivo-ico { z-index: 1; }

/* Precios */
.tabla { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 600px; font-variant-numeric: tabular-nums; }
th, td { padding: .95rem .8rem; text-align: right; border-top: 1px solid var(--suave); }
thead th { border-top: 0; font-size: .85rem; font-weight: 600; color: var(--gris); vertical-align: bottom; }
th:first-child, td:first-child { text-align: left; }
tbody th { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--tinta); }
tbody th small { display: block; font-family: var(--cuerpo); font-weight: 500; font-size: .8rem; color: var(--gris); }
td { color: var(--tinta); font-weight: 500; }
td.nada { color: var(--gris); }
.tabla-nota { margin-top: 1.2rem; font-size: .92rem; color: var(--gris); }

/* Así funciona: tarjetas que se apilan */
.pila { list-style: none; padding: 0; margin-top: clamp(2.5rem, 5vw, 3.5rem); display: flex; flex-direction: column; align-items: center; }
.paso { position: sticky; top: calc(var(--arriba) + env(safe-area-inset-top, 0px) + 24px + var(--n) * 26px); width: min(1000px, 100%); margin-bottom: 14vh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center;
  background: var(--papel); border-radius: 30px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 0 0 1px var(--suave), 0 -18px 40px -30px rgba(27, 10, 64, .5); }
.paso:last-child { margin-bottom: 0; }
.paso:nth-child(2) .foto-paso { order: -1; }
.paso-texto { display: flex; flex-direction: column; gap: .8rem; padding: clamp(.5rem, 2vw, 1.5rem); }
.paso-texto p { color: var(--gris); max-width: 36ch; }
.paso-n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--naranja); color: #1b0a40; font-family: var(--display); font-weight: 700; font-size: 1.4rem; margin-bottom: .4rem; }
.foto-paso { aspect-ratio: 10 / 7; }

/* Para quién */
.quien-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem); max-width: 1000px; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.quien-tarjeta { border-radius: 30px; padding: clamp(1.6rem, 3.5vw, 2.6rem); display: flex; flex-direction: column; gap: 1.3rem; }
.quien-si { background: var(--papel); box-shadow: 0 0 0 1px var(--suave), 0 30px 60px -40px rgba(27, 10, 64, .4); }
.quien-no { background: var(--suave); }
.quien-tarjeta h3 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.8rem); padding-bottom: 1rem; border-bottom: 1px solid var(--suave); }
.quien-no h3 { color: var(--gris); border-bottom-color: rgba(110, 104, 131, .25); }
.quien-tarjeta ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.quien-tarjeta li { display: grid; grid-template-columns: 34px 1fr; gap: .9rem; align-items: start; }
.quien-tarjeta li svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.quien-si li svg { background: var(--naranja-claro); stroke: #d17b00; }
.quien-si li { color: var(--tinta); }
.quien-no li svg { background: rgba(110, 104, 131, .15); stroke: var(--gris); }
.quien-no li, .quien-no p { color: var(--gris); }
.quien-no p { font-size: .95rem; border-top: 1px solid rgba(110, 104, 131, .25); padding-top: 1rem; }

/* Preguntas */
.faq-lista { max-width: 860px; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; background: var(--papel); border-radius: 28px; padding: .4rem clamp(1.25rem, 3vw, 2.2rem); box-shadow: 0 0 0 1px var(--suave); }
.faq-lista details + details { border-top: 1px solid var(--suave); }
.faq-lista summary { list-style: none; cursor: pointer; position: relative; padding: 1.35rem 2.8rem 1.35rem 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); line-height: 1.2; color: var(--tinta); }
.faq-lista summary::-webkit-details-marker { display: none; }
.faq-lista summary::after { content: ""; position: absolute; right: .2rem; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: linear-gradient(var(--tinta), var(--tinta)) center / 12px 2px no-repeat, linear-gradient(var(--tinta), var(--tinta)) center / 2px 12px no-repeat, var(--fondo); transition: transform .25s; }
.faq-lista details[open] summary::after { transform: rotate(45deg); }
.faq-lista details p { padding: 0 2.8rem 1.4rem 0; max-width: 62ch; }

/* Cierre */
.cierre { overflow: hidden; padding-bottom: clamp(5rem, 10vw, 8rem); }
.cierre-titulo { font-family: var(--display); font-weight: 700; font-size: clamp(2.9rem, 1rem + 6vw, 7rem); line-height: .9; letter-spacing: -.025em; max-width: 14ch; }
.cierre .lead { margin-top: 1rem; }
.estampas { position: absolute; inset: 0; pointer-events: none; }
.estampa { position: absolute; width: clamp(150px, 14vw, 210px); aspect-ratio: 4 / 3; border: 8px solid var(--papel); border-radius: 10px; box-shadow: 0 20px 40px -22px rgba(27, 10, 64, .55); transform: rotate(var(--rot)); }
.estampa .foto-vacia { font-size: .7rem; }
.e1 { --rot: -8deg; left: 5%; top: 9%; } .e2 { --rot: 7deg; right: 6%; top: 7%; }
.e3 { --rot: 5deg; left: 7%; top: 55%; } .e4 { --rot: -6deg; right: 5%; top: 58%; }
.flujo .centrado > .boton { position: relative; background: var(--naranja); padding: 1rem 1.9rem; }
.flujo .centrado > .boton:hover { background: #ffab24; }

/* Botón flotante en celular */
.flotante { position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 25; display: none; text-align: center; text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 1.2rem; background: var(--naranja); color: #1b0a40; border-radius: 999px; padding: .95rem 1rem; box-shadow: 0 16px 40px -12px rgba(27, 10, 64, .5); }

@media (max-width: 1100px) {
  .e3, .e4 { display: none; } .e1 { top: 3%; left: 2%; } .e2 { top: 3%; right: 2%; }
  .cierre-cabeza { padding-top: 6rem; }
}
@media (max-width: 900px) {
  .ia-grid, .paso, .quien-grid { grid-template-columns: minmax(0, 1fr); }
  .paso:nth-child(2) .foto-paso { order: 0; }
  .caminos-fila { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: none; }
  .caminos-fila::-webkit-scrollbar { display: none; }
  .camino { scroll-snap-align: start; }
  .senal { grid-template-columns: 1fr; justify-items: center; gap: 1rem; }
  .senal-nodo { grid-column: 1; grid-row: 1; }
  .senal:nth-child(odd) .senal-texto, .senal:nth-child(even) .senal-texto { grid-column: 1; grid-row: 2; justify-self: center; text-align: center; padding: .8rem 1rem; background: var(--fondo); }
  .senal-texto::before { display: none; }
}
@media (max-width: 640px) {
  :root { --arriba: 64px; }
  .top-cta { padding: .5rem 1rem; font-size: .88rem; }
  .solo-escritorio { display: none; }
  .arbol { aspect-ratio: 1000 / 620; }
  .lejos { display: none; }
  .chip { font-size: .8rem; padding: .35rem .75rem .35rem .6rem; }
  .capa { font-size: .85rem; }
  .caminos { margin-left: .75rem; margin-right: .75rem; border-radius: 30px; }
  .archivos { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .archivo { padding: 1rem; }
  .archivo-ico { top: 1rem; left: 1rem; }
  .paso { top: calc(var(--arriba) + env(safe-area-inset-top, 0px) + 12px + var(--n) * 18px); margin-bottom: 10vh; }
  .foto-paso { aspect-ratio: 16 / 9; }
  .estampas { display: none; }
  .cierre-cabeza { padding-top: 0; }
  .pastilla { font-size: .8rem; padding: .35rem .85rem; }
  .flotante:not([hidden]) { display: block; }
  body.pagina-branding { padding-bottom: 5.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .linea > span, .chip, .ruta { animation: none; }
}

/* El footer del tema, con la tipografía de esta página */
.pagina-branding #main-footer { font-family: var(--cuerpo); }
.pagina-branding .footer-title { font-family: var(--cuerpo); }

/* Enlaces dentro de textos */
.bwa .enlace, .faq-lista details p a { color: var(--tinta); font-weight: 600; text-decoration: underline; text-decoration-color: var(--naranja); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.bwa .enlace:hover, .faq-lista details p a:hover { color: var(--violeta); }

/* Degradado de la marca para la última línea de cada H1 */
.degradado { background: linear-gradient(90deg, var(--violeta) 0%, #a24f8a 45%, var(--naranja) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .14em; margin-bottom: -.14em; }
