/* Mejoras de la zona «eeuu» (las escribe solo el agente de esa zona). Va después de app.css.
   Visa de EE. UU. (templates/eeuu.php), hub de destinos (templates/destinos.php) y plantilla de destino (templates/destino.php).
   Prefijos: ee- (EE. UU.), dh- (hub), dz- (destino). Las animaciones de entrada solo existen con html.ee-anim (lo pone z-eeuu.js). */

/* ==========================================================================
   Héroe: visa de muestra que flota sobre la foto
   ========================================================================== */
.phero--eeuu .ruta--phero, .phero--destino .ruta--phero { right: max(var(--gutter), calc((100% - 1320px) / 2 + var(--gutter))); }
.ee-visa { display: none; }
@media (min-width: 1100px) {
  .ee-visa { display: block; position: absolute; z-index: 1; right: max(var(--gutter), calc((100% - 1320px) / 2 + var(--gutter))); top: calc(var(--cab-h) + 250px); width: clamp(300px, 26vw, 392px); perspective: 900px; pointer-events: none; }
  .ee-visa__hoja { position: relative; aspect-ratio: 1.45; border-radius: 12px; overflow: hidden; color: var(--tinta); padding: 1rem 1.1rem .8rem; display: grid; grid-template-rows: auto 1fr auto; gap: .5rem;
    background: url("../img/guilloche-ondas.svg") 0 0 / 260px 87px, radial-gradient(120% 90% at 85% 10%, #fdf6e6 0%, #f3ead7 55%, #e9dfc8 100%);
    box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 30px 60px -18px rgba(0,0,0,.65), 0 8px 18px -8px rgba(0,0,0,.4);
    transform: rotate(-6deg) rotateY(-8deg); transform-origin: 60% 50%; animation: eeVisaEntra 1.1s .45s var(--ease) both; }
  .ee-visa__hoja::before { content: ""; position: absolute; inset: 0; background: url("../img/guilloche-roseta.svg") no-repeat 112% 130% / 72%; opacity: .16; pointer-events: none; }
  .ee-visa__cab { position: relative; display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--azul-sello); border-bottom: 1px solid rgba(35,64,122,.3); padding-bottom: .4rem; }
  .ee-visa__n { color: var(--rojo); letter-spacing: .12em; }
  .ee-visa__cuerpo { position: relative; display: grid; grid-template-columns: 26% 1fr; gap: .8rem; align-items: start; }
  .ee-visa__foto { aspect-ratio: 4/5; border-radius: 4px; background: repeating-linear-gradient(135deg, rgba(35,64,122,.08) 0 4px, transparent 4px 8px), #e8e0cf; border: 1px solid rgba(35,64,122,.25); display: grid; place-content: center; justify-items: center; gap: .2rem; color: rgba(35,64,122,.55); }
  .ee-visa__foto .ico { width: 26px; height: 26px; }
  .ee-visa__foto small { font-family: var(--f-mono); font-size: .5rem; letter-spacing: .1em; }
  .ee-visa__campos { margin: 0; display: grid; grid-template-columns: repeat(3, auto); gap: .35rem .9rem; justify-content: start; }
  .ee-visa__campos dt { font-family: var(--f-mono); font-size: .48rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(18,18,18,.5); }
  .ee-visa__campos dd { margin: 0; font-family: var(--f-mono); font-size: .8rem; font-weight: 500; letter-spacing: .06em; }
  .ee-visa__ancho { grid-column: 1 / -1; }
  .ee-visa__mrz { position: relative; display: grid; font-family: var(--f-mono); font-size: .56rem; letter-spacing: .14em; color: rgba(18,18,18,.62); white-space: nowrap; overflow: hidden; border-top: 1px dashed rgba(18,18,18,.18); padding-top: .35rem; }
  .ee-visa__muestra { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%) rotate(-18deg); font-family: var(--f-tit); font-weight: 700; font-size: 3.2rem; letter-spacing: .12em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(217,34,49,.38); pointer-events: none; }
  .ee-visa__holo { position: absolute; inset: -40%; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.65) 48%, rgba(255,255,255,0) 56%); transform: translateX(-60%); animation: eeHolo 6s 1.8s ease-in-out infinite; mix-blend-mode: soft-light; pointer-events: none; }
  .ee-visa__sello { position: absolute; right: -26px; bottom: -40px; width: 116px; height: 116px; color: #fff; opacity: .92; animation: eeSelloCae .6s 1.4s var(--ease-rebote) both; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
  .phero--eeuu .phero__in { position: relative; z-index: 2; }
}
@keyframes eeVisaEntra { from { opacity: 0; transform: translateY(60px) rotate(-16deg) rotateY(-24deg); } to { opacity: 1; transform: rotate(-6deg) rotateY(-8deg); } }
@keyframes eeHolo { 0%, 55% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }
@keyframes eeSelloCae { from { opacity: 0; transform: scale(2.2) rotate(-40deg); } to { opacity: .92; transform: scale(1) rotate(-14deg); } }

/* ==========================================================================
   Índice de anclas con avance (avión que recorre la página)
   ========================================================================== */
.ee-anclas { box-shadow: 0 10px 24px -20px rgba(18,18,18,.4); }
.ee-anclas__avance { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.ee-anclas__linea { position: absolute; left: 0; top: 0; bottom: 0; width: var(--avance, 0%); background: var(--rojo); transition: width .15s linear; }
.ee-anclas__avion { position: absolute; top: 50%; left: var(--avance, 0%); width: 18px; height: 18px; margin: -9px 0 0 -9px; color: var(--rojo); transition: left .15s linear, opacity .3s; opacity: var(--avion-op, 0); }
.ee-anclas__avion .ico { width: 100%; height: 100%; transform: rotate(45deg); fill: currentColor; stroke: none; }
.ee-anclas a { position: relative; }
.ee-anclas a.es-pasado span { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.ee-anclas a.es-activo span { background: var(--rojo); border-color: var(--rojo); color: #fff; }

/* ==========================================================================
   Cuestionario: formulario oficial premium
   ========================================================================== */
.cuest-sec__lado .sec-tit { margin-bottom: 2rem; }
.ee-pasos-cuest { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--linea); max-width: 420px; }
.ee-pasos-cuest li { display: grid; grid-template-columns: 44px 1fr; gap: .6rem; padding: .85rem 0; border-bottom: 1px solid var(--linea); font-size: .95rem; color: var(--gris); }
.ee-pasos-cuest b { font-family: var(--f-mono); font-weight: 500; font-size: .74rem; letter-spacing: .12em; color: var(--rojo); padding-top: .2rem; }
.ee-online { display: flex; gap: .6rem; align-items: center; font-size: .92rem; color: var(--gris); }
.ee-online .ico { color: var(--azul-sello); }

.cuest__papel { background: #FFFDF8; border-radius: 16px; box-shadow: 0 2px 4px rgba(18,18,18,.06), 0 40px 80px -30px rgba(18,18,18,.45), 0 0 0 1px rgba(18,18,18,.06); }
.cuest__papel::before { background: url("../img/guilloche-roseta.svg") no-repeat 118% 112% / 58%, url("../img/guilloche-ondas.svg") repeat 0 0 / 420px 140px; opacity: .09; }
.cuest__cab { display: grid; grid-template-columns: 1fr; gap: .7rem; padding: 1rem 1.4rem 1.1rem; background: var(--tinta) url("../img/guilloche-ondas-claro.svg") repeat 0 0 / 420px 140px; }
.cuest__membrete { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.cuest__hoja { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cuest__prog { display: flex; align-items: center; gap: .8rem; height: 26px; }
.cuest__ext { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; color: rgba(255,255,255,.7); }
.cuest__pista { position: relative; flex: 1; height: 26px; }
.cuest__linea span { box-shadow: 0 0 10px rgba(217,34,49,.7); }
.cuest__avion { width: 26px; height: 26px; margin: -13px 0 0 -13px; transition: left .7s var(--ease), color .4s; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.es-aterrizado .cuest__avion { color: var(--rojo); }
.es-aterrizado .cuest__ext:last-child { color: #fff; }

.cuest__cuerpo { overflow: hidden; min-height: 330px; isolation: isolate; }
.cuest__cuerpo.es-entra .cuest__p, .cuest__cuerpo.es-entra .cuest__res, .cuest__salida .cuest__op, .cuest__salida .cuest__p { animation: none; }
.cuest__cuerpo.es-entra > :not(.cuest__salida) { animation: eeHojaEntra .55s var(--ease) both; }
.cuest__cuerpo.es-entra-atras > :not(.cuest__salida) { animation: eeHojaEntraAtras .55s var(--ease) both; }
.cuest__salida { position: absolute; z-index: 3; inset: 0; padding: inherit; background: #FFFDF8; box-shadow: 18px 0 40px -18px rgba(18,18,18,.35); pointer-events: none; transform-origin: 0 100%; animation: eeHojaSale .5s cubic-bezier(.55,0,.75,.35) forwards; }
.cuest__salida.es-atras { transform-origin: 100% 100%; box-shadow: -18px 0 40px -18px rgba(18,18,18,.35); animation-name: eeHojaSaleAtras; }
@keyframes eeHojaEntra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes eeHojaEntraAtras { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes eeHojaSale { to { transform: translateX(-108%) rotate(-5deg); opacity: .6; } }
@keyframes eeHojaSaleAtras { to { transform: translateX(108%) rotate(5deg); opacity: .6; } }

.cuest__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gris-2); margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 1px dashed rgba(18,18,18,.16); }
.cuest__meta .cuest__sec { margin: 0; }
.cuest__q { gap: .9rem; }
.cuest__qt { flex: 1; min-width: 0; }
.cuest__aviso { display: flex; gap: .7rem; align-items: baseline; color: var(--tinta); font-weight: 500; font-size: .95rem; margin-bottom: 1.1rem; }
.cuest__aviso-k { flex: none; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rojo); border: 1.5px solid var(--rojo); border-radius: 4px; padding: .15rem .4rem; transform: rotate(-4deg); }

.cuest__ops { gap: .55rem; }
.cuest__ops--muchas { grid-template-columns: 1fr 1fr; }
.cuest__op { min-height: 58px; background: rgba(255,255,255,.85); border: 1.5px solid rgba(18,18,18,.12); border-radius: 10px; position: relative; overflow: hidden; transition: border-color .2s, background .2s, transform .25s var(--ease), opacity .3s, box-shadow .25s; }
.cuest__op::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--rojo-claro); z-index: -1; transition: width .35s var(--ease); }
.cuest__op { isolation: isolate; }
.cuest__op:hover { border-color: var(--tinta); transform: translateX(4px); box-shadow: 0 8px 18px -12px rgba(18,18,18,.35); }
.cuest__op:focus-visible { outline: 2px solid var(--rojo); outline-offset: 2px; }
.cuest__op.es-elegida { border-color: var(--rojo); background: #fff; }
.cuest__op.es-elegida::after { width: 100%; }
.cuest__op.es-descartada { opacity: .35; transform: none; }
.cuest__letra { position: relative; width: 32px; height: 32px; border-radius: 6px; background: #fff; }
.cuest__letra svg { position: absolute; inset: 5px; width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.cuest__op.es-elegida .cuest__letra span { opacity: 0; }
.cuest__op.es-elegida .cuest__letra svg { animation: eeTrazo .35s .05s var(--ease) forwards; }
@keyframes eeTrazo { to { stroke-dashoffset: 0; } }
.cuest__op-t { line-height: 1.3; }

.cuest__mes { align-items: flex-end; }
.cuest__mes-l { flex: 1 1 220px; display: grid; gap: .3rem; }
.cuest__mes-l span { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gris-2); }
.cuest__mes input { border: 0; border-bottom: 2px solid var(--tinta); border-radius: 0; background: transparent; padding: .7rem .2rem; font-family: var(--f-mono); font-size: 1.1rem; }
.cuest__mes input:focus { outline: none; border-bottom-color: var(--rojo); }
.cuest__mes input.es-error { border-bottom-color: var(--rojo); animation: eeTiembla .35s; }
@keyframes eeTiembla { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }

.cuest__rastro { list-style: none; margin: 0; padding: .4rem clamp(1.4rem, 3vw, 2.4rem) .8rem; display: flex; flex-wrap: wrap; gap: .4rem; position: relative; }
.cuest__rastro button { display: inline-flex; align-items: center; gap: .45rem; max-width: 100%; background: rgba(18,18,18,.035); border: 1px dashed rgba(18,18,18,.22); border-radius: 6px; padding: .3rem .55rem; font-size: .8rem; color: var(--tinta-2); text-align: left; transition: border-color .2s, color .2s, background .2s; min-height: 32px; }
.cuest__rastro button span { flex: none; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .08em; color: var(--rojo); }
.cuest__rastro button:hover { border-color: var(--rojo); color: var(--rojo); background: #fff; }
.cuest__pie { align-items: center; position: relative; }
.cuest__teclas { display: none; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris-2); align-items: center; gap: .3rem; }
.cuest__teclas kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border: 1px solid rgba(18,18,18,.2); border-bottom-width: 2px; border-radius: 4px; font-family: var(--f-mono); font-size: .66rem; background: #fff; color: var(--tinta); }
@media (hover: hover) and (pointer: fine) { .cuest__teclas { display: inline-flex; } .es-resultado .cuest__teclas { visibility: hidden; } }
.cuest__atras, .cuest__reinicio { min-height: 44px; }
.cuest__perfora { display: block; height: 12px; background: radial-gradient(circle at 8px 12px, rgba(18,18,18,.12) 0 4px, transparent 4.5px) repeat-x 0 0 / 16px 12px; opacity: .8; }
.cuest.es-llamado .cuest__papel { animation: eeLlamado 1.1s var(--ease); }
@keyframes eeLlamado { 0% { box-shadow: 0 0 0 0 rgba(217,34,49,.5), 0 40px 80px -30px rgba(18,18,18,.45); } 100% { box-shadow: 0 0 0 22px rgba(217,34,49,0), 0 40px 80px -30px rgba(18,18,18,.45); } }

/* Resultados */
.cuest__res-cab { position: relative; padding-right: 110px; min-height: 96px; }
.cuest__res-t { padding-right: 0; max-width: 18ch; }
.cuest__txt { color: var(--gris); }
.cuest__res .cuest__estampa { top: -8px; right: 0; animation: sellar .6s .15s var(--ease-rebote) both; }
.cuest__impresora { position: relative; margin: 1.4rem -.4rem 0; padding: 14px .4rem 0; }
.cuest__ranura { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 14px; border-radius: 999px; background: linear-gradient(#0a0a0a, #2a2a2a); box-shadow: inset 0 3px 4px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.6); }
.cuest__impresora .ee-pase { animation: eeImprime 1.5s .2s cubic-bezier(.4,0,.2,1) both; }
@keyframes eeImprime { 0% { clip-path: inset(0 0 100% 0); transform: translateY(-40%); } 100% { clip-path: inset(0 0 -40px 0); transform: none; } }

.ee-pase { position: relative; display: grid; grid-template-columns: 1fr 212px; margin: 0 0 1rem; background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(18,18,18,.06), 0 18px 40px -20px rgba(18,18,18,.4); border: 1px solid rgba(18,18,18,.08); text-align: left; }
.ee-pase__cuerpo { padding: 0 1.3rem 1.3rem; min-width: 0; }
.ee-pase__cab { display: flex; justify-content: space-between; gap: 1rem; margin: 0 -1.3rem 1rem; padding: .7rem 1.3rem; background: var(--tinta); color: #fff; border-radius: 14px 0 0 0; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; }
.ee-pase__cab span:last-child { color: rgba(255,255,255,.6); }
.ee-pase__ruta { display: flex; align-items: center; gap: .8rem; font-family: var(--f-tit); }
.ee-pase__ruta b { font-size: clamp(1.7rem, 2vw + 1rem, 2.4rem); letter-spacing: -.01em; line-height: 1; }
.ee-pase__vuelo { position: relative; flex: 1; height: 22px; }
.ee-pase__vuelo i { position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed rgba(18,18,18,.25); }
.ee-pase__vuelo .ico { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; transform: rotate(45deg); fill: var(--rojo); stroke: none; background: #fff; }
.ee-pase__campos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem 1rem; margin: 1rem 0; padding: .8rem 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.ee-pase__campos dt { font-family: var(--f-mono); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gris-2); }
.ee-pase__campos dd { margin: .15rem 0 0; font-weight: 700; font-size: .92rem; line-height: 1.25; }
.ee-pase__lema { font-size: 1.15rem; margin: 0 0 .7rem; }
.ee-pase__inc, .ee-pase__no { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; font-size: .9rem; }
.ee-pase__inc li { display: flex; gap: .5rem; }
.ee-pase__inc li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: .22rem; border-radius: 50%; background: var(--rojo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/10px no-repeat; }
.ee-pase__no-t { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris-2); margin: .9rem 0 .3rem; }
.ee-pase__no li { font-size: .84rem; color: var(--gris); text-decoration: line-through; text-decoration-color: rgba(217,34,49,.5); }
.ee-pase__talon { position: relative; display: flex; flex-direction: column; justify-content: center; gap: .4rem; padding: 1.3rem 1.1rem; background: var(--papel) var(--papel-tex) center / cover; background-blend-mode: multiply; border-left: 2px dashed rgba(18,18,18,.22); border-radius: 0 14px 14px 0; }
.ee-pase__talon::before, .ee-pase__talon::after { content: ""; position: absolute; left: -11px; width: 20px; height: 20px; border-radius: 50%; background: #FFFDF8; box-shadow: inset 0 0 0 1px rgba(18,18,18,.08); }
.ee-pase__talon::before { top: -10px; } .ee-pase__talon::after { bottom: -10px; }
.ee-pase__k { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rojo); }
.ee-pase__precio { font-family: var(--f-tit); font-weight: 700; font-size: 3rem; line-height: 1; letter-spacing: -.02em; }
.ee-pase__precio small { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; vertical-align: top; margin-right: .2rem; letter-spacing: .1em; }
.ee-pase__precio--pend { font-size: 1.15rem; }
.ee-pase__arancel { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); line-height: 1.45; }
.ee-pase__talon .btn { margin-top: .5rem; justify-content: center; font-size: .92rem; padding: .9rem 1rem; white-space: nowrap; min-height: 46px; }
.ee-pase__barras { display: block; height: 30px; margin-top: .7rem; opacity: .85; background: repeating-linear-gradient(90deg, var(--tinta) 0 2px, transparent 2px 4px, var(--tinta) 4px 5px, transparent 5px 8px, var(--tinta) 8px 11px, transparent 11px 12px, var(--tinta) 12px 13px, transparent 13px 16px); }
.ee-pase__sello { position: absolute; z-index: 2; right: 236px; bottom: 22px; width: 104px; height: 104px; display: grid; place-content: center; text-align: center; border-radius: 50%; border: 3px solid var(--rojo); box-shadow: inset 0 0 0 5px transparent, inset 0 0 0 6.5px var(--rojo); color: var(--rojo); font-family: var(--f-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; mix-blend-mode: multiply; transform: rotate(-12deg); animation: sellar .55s 1.55s var(--ease-rebote) both; pointer-events: none; }
.ee-pase__sello b { font-family: var(--f-tit); font-size: 1.15rem; letter-spacing: .02em; }
.ee-pase--rec { border-color: rgba(217,34,49,.35); box-shadow: 0 0 0 3px rgba(217,34,49,.12), 0 24px 50px -22px rgba(18,18,18,.45); }
.cuest__todos { gap: .9rem; margin-top: 1rem; }
.cuest__todos .ee-pase { margin: 0; }
.cuest__otras { display: inline-flex; align-items: center; min-height: 44px; }

/* ==========================================================================
   Secciones de EE. UU.: una composición distinta cada una
   ========================================================================== */
.ee-sec { position: relative; padding: clamp(72px, 10vw, 144px) 0; overflow: hidden; }
.ee-entrada { font-size: 1.14em; color: var(--tinta); }
.ee-sec p:not(.ee-entrada):not(.etiqueta):not(.sec-tit__bajada) { color: var(--gris); }
.ee-h3 { font-size: 1.2rem; margin-top: 1.6rem; }
.ee-fuente { font-size: .82rem; color: var(--gris); }
.ee-fuente a { color: var(--azul-sello); }
.ee-nota { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; margin: 0 0 1.6rem; }
.ee-nota .ico { flex: none; color: var(--rojo); margin-top: .2rem; }

/* 02 Turismo: pliego con foto a sangre */
.ee-turismo { display: grid; grid-template-columns: 47% 1fr; padding: 0; min-height: clamp(640px, 54vw, 900px); background: var(--blanco); }
.ee-turismo__foto { position: relative; overflow: hidden; }
.ee-turismo__foto img { position: absolute; inset: 0; transition: transform 1.6s var(--ease); }
.ee-turismo:hover .ee-turismo__foto img { transform: scale(1.03); }
.ee-turismo__pie { position: absolute; left: 1.2rem; bottom: 1.2rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; background: rgba(18,18,18,.55); backdrop-filter: blur(6px); padding: .45rem .7rem; border-radius: 4px; }
.ee-turismo > .envoltura { max-width: none; margin: 0; align-self: center; padding: clamp(64px, 8vw, 120px) max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter))) clamp(64px, 8vw, 120px) clamp(36px, 5vw, 96px); position: relative; z-index: 1; }
.ee-turismo__texto { max-width: 620px; }
.ee-gigante { position: absolute; z-index: 0; right: -.04em; bottom: -.18em; font-family: var(--f-tit); font-weight: 700; font-size: clamp(7rem, 17vw, 20rem); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(18,18,18,.07); pointer-events: none; user-select: none; }
.ee-pasajes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 1.8rem 0 1.4rem; }
.ee-pasaje { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--tinta); background: #fff; border-radius: 12px; border: 1px solid rgba(18,18,18,.1); box-shadow: 0 1px 2px rgba(18,18,18,.05), 0 14px 30px -18px rgba(18,18,18,.35); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.ee-pasaje:hover { color: var(--tinta); transform: translateY(-6px) rotate(-1.2deg); border-color: var(--rojo); box-shadow: 0 2px 4px rgba(18,18,18,.06), 0 24px 40px -18px rgba(217,34,49,.45); }
.ee-pasaje__a { display: grid; gap: .3rem; padding: 1rem 1rem .9rem; }
.ee-pasaje__clase { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rojo); }
.ee-pasaje__lema { font-size: .82rem; line-height: 1.35; color: var(--gris); }
.ee-pasaje__b { position: relative; margin-top: auto; padding: .8rem 1rem .9rem; border-top: 2px dashed rgba(18,18,18,.16); font-family: var(--f-tit); font-weight: 700; font-size: 1.9rem; line-height: 1; letter-spacing: -.02em; transition: color .3s; }
.ee-pasaje__b small { font-family: var(--f-mono); font-size: .62rem; font-weight: 500; letter-spacing: .12em; vertical-align: top; margin-right: .2rem; }
.ee-pasaje__b::before, .ee-pasaje__b::after { content: ""; position: absolute; top: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--blanco); box-shadow: inset 0 0 0 1px rgba(18,18,18,.1); }
.ee-pasaje__b::before { left: -10px; } .ee-pasaje__b::after { right: -10px; }
.ee-pasaje:hover .ee-pasaje__b { color: var(--rojo); }

/* 03 Renovación: página de pasaporte */
.ee-renov { background: var(--papel) var(--papel-tex) center / cover; background-blend-mode: multiply; }
.ee-renov::before { content: ""; position: absolute; inset: 0; background: url("../img/guilloche-ondas.svg") repeat 0 0 / 480px 160px; opacity: .35; pointer-events: none; }
.ee-renov .envoltura { position: relative; }
.ee-renov__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ee-para { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--linea); }
.ee-para li { display: grid; grid-template-columns: 104px 1fr; gap: 1rem; align-items: baseline; padding: .9rem 0; border-bottom: 1px solid var(--linea); }
.ee-para b { justify-self: start; font-family: var(--f-mono); font-weight: 500; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rojo); border: 1.5px solid currentColor; padding: .25rem .5rem; border-radius: 4px; transform: rotate(-3deg); }
.ee-para span { color: var(--tinta-2); }
.ee-pasaporte { position: relative; perspective: 1200px; padding: 26px 18px 0 0; }
.ee-pasaporte__hoja { position: relative; padding: clamp(1.4rem, 3vw, 2.2rem); padding-left: clamp(1.8rem, 3.4vw, 2.6rem); border-radius: 6px 18px 18px 6px; color: var(--tinta);
  background: url("../img/guilloche-ondas.svg") repeat 0 0 / 360px 120px, linear-gradient(160deg, #FCF8EF, #F1E8D6);
  box-shadow: inset 22px 0 26px -20px rgba(80,60,30,.35), 0 2px 4px rgba(18,18,18,.06), 0 40px 70px -30px rgba(18,18,18,.5); transform: rotate(1.2deg); }
.ee-pasaporte__hoja::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 6px 0 0 6px; background: linear-gradient(90deg, rgba(80,60,30,.25), transparent); }
.ee-pasaporte__cab { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(35,64,122,.7); padding-bottom: .6rem; border-bottom: 1px solid rgba(35,64,122,.25); margin-bottom: 1.2rem; max-width: 60%; }
.ee-pasaporte__polaroid { position: absolute; top: -44px; right: -22px; width: 33%; aspect-ratio: 4/4.6; background: #fff; padding: 9px 9px 30px; box-shadow: 0 18px 30px -14px rgba(18,18,18,.5); transform: rotate(6deg); transition: transform .5s var(--ease); }
.ee-pasaporte:hover .ee-pasaporte__polaroid { transform: rotate(2deg) translateY(-6px); }
.ee-pasaporte__polaroid img { height: 100%; }
.ee-pasaporte__tit { font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem); max-width: 60%; margin-bottom: 1.4rem; }
.ee-sellos { list-style: none; margin: 1.6rem 0 1.2rem; padding: 0; display: grid; grid-template-columns: 112px 1fr; gap: 1rem 1.2rem; align-items: center; }
.ee-sellos__txt { font-size: .94rem; color: var(--tinta-2); }
.ee-sellito { justify-self: center; display: grid; place-content: center; justify-items: center; text-align: center; color: var(--rojo); border: 2.5px solid currentColor; font-family: var(--f-mono); text-transform: uppercase; mix-blend-mode: multiply; transform: rotate(var(--r)); opacity: .88; }
.ee-sellito b { font-family: var(--f-tit); font-size: 1.7rem; line-height: 1; letter-spacing: -.02em; }
.ee-sellito small { font-size: .56rem; letter-spacing: .18em; }
.ee-sellito--circ { width: 92px; height: 92px; border-radius: 50%; box-shadow: inset 0 0 0 4px transparent, inset 0 0 0 5.5px currentColor; }
.ee-sellito--rect { width: 100px; height: 70px; border-radius: 8px; color: var(--azul-sello); border-style: double; border-width: 5px; }
.ee-sellito--oval { width: 104px; height: 66px; border-radius: 50%; color: var(--tinta); }
.ee-sellito--oval .ico { width: 26px; height: 26px; }
/* Ventana para renovar */
.ee-ventana { margin: clamp(56px, 7vw, 96px) 0 0; padding: clamp(1.4rem, 3vw, 2.4rem); background: rgba(255,253,249,.7); border: 1px solid var(--linea); border-radius: 16px; }
.ee-ventana__k { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gris); margin-bottom: 2.6rem; }
.ee-ventana__eje { position: relative; height: 64px; margin: 0 4px; }
.ee-ventana__regla { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; height: 34px; border-bottom: 1.5px solid rgba(18,18,18,.35); }
.ee-ventana__regla span { width: 1px; height: 7px; background: rgba(18,18,18,.3); }
.ee-ventana__regla .es-cuarto { height: 12px; }
.ee-ventana__regla .es-media { height: 20px; background: var(--tinta); }
.ee-ventana__regla .es-cero { height: 34px; width: 2px; background: var(--rojo); }
.ee-ventana__banda { position: absolute; left: 25%; width: 50%; bottom: 8px; height: 12px; border-radius: 999px; background: repeating-linear-gradient(-45deg, var(--rojo) 0 8px, #E53A48 8px 16px); box-shadow: 0 6px 14px -6px rgba(217,34,49,.7); transform-origin: 50% 50%; }
.ee-ventana__avion { position: absolute; top: 50%; left: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; color: var(--tinta); animation: eeVentanaVuelo 7s 1.4s ease-in-out infinite; }
.ee-ventana__avion .ico { width: 100%; height: 100%; transform: rotate(45deg); fill: currentColor; stroke: none; filter: drop-shadow(0 0 2px #fff); }
@keyframes eeVentanaVuelo { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 80% { left: 100%; opacity: 1; } 90%, 100% { left: 100%; opacity: 0; } }
.ee-ventana__vence { position: absolute; left: 50%; top: -1.9rem; transform: translateX(-50%); font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--rojo); padding: .3rem .6rem; border-radius: 4px; white-space: nowrap; }
.ee-ventana__vence::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--rojo); }
.ee-ventana__m { position: absolute; top: -1.4rem; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); transform: translateX(-50%); white-space: nowrap; }
.ee-ventana__m--1 { left: 25%; } .ee-ventana__m--2 { left: 75%; }
.ee-ventana__leyenda { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 1rem; margin-top: 1.2rem; text-align: center; font-size: .86rem; color: var(--gris); }
.ee-ventana__leyenda b { display: block; font-family: var(--f-tit); font-size: 1.02rem; color: var(--tinta); margin-bottom: .2rem; }
.ee-ventana__leyenda .es-dentro b { color: var(--rojo); font-size: 1.25rem; }

/* 04 Estudios: panorámica, ficha encima y recibo */
.ee-estudios { padding-top: 0; background: var(--blanco); }
.ee-estudios__banda { position: relative; height: clamp(300px, 40vw, 600px); overflow: hidden; }
.ee-estudios__banda::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,18,18,0) 50%, rgba(18,18,18,.35)); }
.ee-estudios__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: calc(-1 * clamp(110px, 13vw, 220px)); }
.ee-estudios__ficha { background: var(--blanco); padding: clamp(1.6rem, 4vw, 3.4rem); border-radius: 18px; box-shadow: 0 2px 4px rgba(18,18,18,.05), 0 40px 80px -40px rgba(18,18,18,.5); }
.ee-estudios__ficha .sec-tit { margin-bottom: 1.4rem; }
.ee-recibo { position: relative; margin-top: clamp(130px, 15vw, 250px); background: #fff; padding: 1.4rem 1.4rem 2.2rem; font-family: var(--f-mono); transform: rotate(1.5deg);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 11px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 22px 11px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 11px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 22px 11px repeat-x; }
.ee-recibo__cab { display: flex; align-items: center; gap: .6rem; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; padding-bottom: .9rem; margin-bottom: .4rem; border-bottom: 2px dashed rgba(18,18,18,.25); }
.ee-recibo__cab .ico { width: 22px; height: 22px; color: var(--rojo); }
.ee-recibo__filas { margin: 0; }
.ee-recibo__filas > div { padding: .9rem 0; border-bottom: 1px dashed rgba(18,18,18,.2); }
.ee-recibo__filas dt { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gris-2); margin-bottom: .25rem; }
.ee-recibo__filas dd { margin: 0; font-family: var(--f-txt); font-size: .95rem; color: var(--tinta-2); line-height: 1.45; }
.ee-recibo__filas dd b { font-family: var(--f-tit); font-size: 1.5rem; color: var(--rojo); margin-right: .2rem; }
.ee-recibo__barras { display: block; height: 34px; margin-top: 1.1rem; background: repeating-linear-gradient(90deg, var(--tinta) 0 2px, transparent 2px 4px, var(--tinta) 4px 5px, transparent 5px 8px, var(--tinta) 8px 11px, transparent 11px 12px); opacity: .85; }

/* 05 Intercambio: postales */
.ee-j1 { background: var(--blanco); }
.ee-j1__in { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ee-chips { list-style: none; margin: 1.2rem 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ee-chips li { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: .5rem .8rem; border: 1.5px solid var(--tinta); border-radius: 999px; }
.ee-postales { position: relative; height: clamp(400px, 42vw, 580px); }
.ee-postal { position: absolute; border-radius: 6px; transition: transform .6s var(--ease); }
.ee-postal--dorso { left: 0; top: 2%; width: 80%; aspect-ratio: 3/2; padding: 1.4rem 1.4rem 1.2rem; transform: rotate(-5deg); color: var(--tinta);
  background: url("../img/guilloche-ondas.svg") repeat 0 0 / 360px 120px, linear-gradient(160deg, #FCF8EF, #F1E8D6); box-shadow: 0 2px 4px rgba(18,18,18,.06), 0 30px 50px -26px rgba(18,18,18,.5); }
.ee-postal--dorso::before { content: ""; position: absolute; left: 52%; top: 18%; bottom: 14%; border-left: 1px solid rgba(18,18,18,.15); }
.ee-postal__estampilla { position: absolute; right: 1rem; top: 1rem; width: 64px; height: 76px; display: grid; place-content: center; text-align: center; background: var(--rojo); color: #fff; font-family: var(--f-mono);
  -webkit-mask: radial-gradient(circle at 4px 4px, #0000 2.6px, #000 3px) -4px -4px / 8px 8px, linear-gradient(#000 0 0) 4px 4px / calc(100% - 8px) calc(100% - 8px) no-repeat; mask: radial-gradient(circle at 4px 4px, #0000 2.6px, #000 3px) -4px -4px / 8px 8px, linear-gradient(#000 0 0) 4px 4px / calc(100% - 8px) calc(100% - 8px) no-repeat; box-shadow: inset 0 0 0 5px var(--rojo), inset 0 0 0 6px rgba(255,255,255,.7); }
.ee-postal__estampilla b { font-family: var(--f-tit); font-size: 1.35rem; line-height: 1; }
.ee-postal__estampilla small { font-size: .5rem; letter-spacing: .2em; }
.ee-postal__matasellos { position: absolute; right: 5.6rem; top: 2.4rem; width: 74px; height: 74px; border-radius: 50%; border: 2px solid rgba(35,64,122,.65); display: grid; place-items: center; font-family: var(--f-mono); font-size: .56rem; letter-spacing: .2em; color: rgba(35,64,122,.75); transform: rotate(-14deg); mix-blend-mode: multiply; }
.ee-postal__matasellos::after { content: ""; position: absolute; left: 60%; top: 26%; width: 90px; height: 34px; background: repeating-linear-gradient(180deg, rgba(35,64,122,.55) 0 2px, transparent 2px 9px); -webkit-mask: radial-gradient(10px 6px at 50% 0, #000 0, #000 100%) 0 0 / 20px 8px; border-radius: 4px; opacity: .8; }
.ee-postal__saludo { font-family: var(--f-tit); font-size: 1.05rem; color: var(--tinta) !important; margin: 0 0 .6rem; max-width: 50%; }
.ee-postal__lineas { margin: 0; max-width: 50%; display: grid; gap: .5rem; }
.ee-postal__lineas > div { padding-bottom: .45rem; border-bottom: 1px solid rgba(18,18,18,.15); }
.ee-postal__lineas dt { font-family: var(--f-tit); font-weight: 700; font-size: 1.15rem; color: var(--rojo); line-height: 1.1; }
.ee-postal__lineas dd { margin: .1rem 0 0; font-size: .82rem; color: var(--tinta-2); line-height: 1.35; }
.ee-postal--frente { right: 0; bottom: 0; width: 66%; aspect-ratio: 4/3; padding: 10px; background: #fff; transform: rotate(4deg); box-shadow: 0 2px 4px rgba(18,18,18,.08), 0 40px 60px -26px rgba(18,18,18,.55); }
.ee-postal--frente img { border-radius: 2px; }
.ee-postal__sello { position: absolute; left: 1.4rem; bottom: 1.4rem; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(18,18,18,.6); backdrop-filter: blur(6px); padding: .4rem .65rem; border-radius: 4px; }
.ee-postales:hover .ee-postal--frente { transform: rotate(6deg) translate(14px, 8px); }
.ee-postales:hover .ee-postal--dorso { transform: rotate(-7deg) translate(-12px, -6px); }

/* 06 Migración: escena a sangre */
.ee-mig { min-height: clamp(560px, 78vh, 820px); display: flex; align-items: center; color: rgba(255,255,255,.88); background: var(--tinta); }
.ee-mig__foto { position: absolute; inset: 0; }
.ee-mig__foto img { transform: scale(1.04); }
.ee-mig::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.8) 38%, rgba(10,10,10,.25) 75%, rgba(10,10,10,.1) 100%), linear-gradient(0deg, rgba(10,10,10,.55), transparent 40%); }
.ee-mig::after { content: ""; position: absolute; inset: 0; z-index: 1; background: url("../img/guilloche-ondas-claro.svg") repeat 0 0 / 480px 160px; opacity: .45; -webkit-mask: linear-gradient(90deg, #000 30%, transparent 70%); mask: linear-gradient(90deg, #000 30%, transparent 70%); pointer-events: none; }
.ee-mig__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 620px) 1fr; gap: 2rem; align-items: center; }
.ee-mig .ee-entrada { color: rgba(255,255,255,.88); }
.ee-mig__tipos { list-style: none; margin: 1.2rem 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ee-mig__tipos li { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: .5rem .8rem; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; color: #fff; }
.ee-mig__sello { justify-self: end; display: grid; justify-items: center; gap: .3rem; padding: 1.1rem 1.6rem; border: 4px double rgba(255,255,255,.9); border-radius: 10px; color: #fff; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .2em; transform: rotate(-12deg); opacity: .9; text-align: center; }
.ee-mig__sello b { font-family: var(--f-tit); font-size: clamp(1.6rem, 2vw + 1rem, 2.6rem); letter-spacing: .08em; line-height: 1; }
.ee-mig__sello span { font-size: .66rem; padding: .3rem 0; border-top: 1px solid rgba(255,255,255,.6); border-bottom: 1px solid rgba(255,255,255,.6); }

/* 07 Otros servicios: pantalla y índice */
.ee-otros { background: var(--papel) var(--papel-tex) center / cover; background-blend-mode: multiply; }
.ee-otros__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ee-otros__pantalla { padding-bottom: 22px; }
.ee-otros__marco { position: relative; aspect-ratio: 16/10.5; border: 12px solid #161616; border-bottom-width: 16px; border-radius: 18px 18px 6px 6px; background: #161616; box-shadow: 0 40px 60px -30px rgba(18,18,18,.6); }
.ee-otros__marco img { border-radius: 4px; }
.ee-otros__marco::after { content: ""; position: absolute; left: -9%; right: -9%; bottom: -34px; height: 18px; border-radius: 2px 2px 20px 20px; background: linear-gradient(#d8d2c6, #aaa398); box-shadow: 0 14px 20px -10px rgba(18,18,18,.5); }
.ee-otros__marco::before { content: ""; position: absolute; z-index: 1; left: 50%; top: -8px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #333; }
.ee-otros__vivo { position: absolute; left: 1rem; top: 1rem; display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(18,18,18,.65); backdrop-filter: blur(6px); padding: .45rem .7rem; border-radius: 999px; }
.ee-indice { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1.5px solid var(--tinta); counter-reset: none; }
.ee-indice a { display: grid; grid-template-columns: 64px 1fr 28px; gap: 1rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid rgba(18,18,18,.16); text-decoration: none; color: var(--tinta); transition: padding .35s var(--ease), color .25s; }
.ee-indice b { font-family: var(--f-mono); font-weight: 500; font-size: .8rem; letter-spacing: .12em; color: var(--rojo); }
.ee-indice__t { display: grid; gap: .2rem; font-family: var(--f-tit); font-weight: 600; font-size: clamp(1.25rem, 1vw + 1rem, 1.7rem); line-height: 1.1; }
.ee-indice__t small { font-family: var(--f-txt); font-weight: 400; font-size: .92rem; color: var(--gris); }
.ee-indice .ico { width: 24px; height: 24px; transition: transform .35s var(--ease), color .25s; }
.ee-indice a:hover { padding-left: .6rem; color: var(--rojo); }
.ee-indice a:hover .ico { transform: rotate(-45deg); color: var(--rojo); }

/* 08 Lo que te pediremos: hoja de lista */
.ee-req { background: var(--blanco); }
.ee-req__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.ee-req__lado { position: sticky; top: calc(var(--cab-h) + 90px); }
.ee-req__hoja { position: relative; background: #FFFDF8; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 4px rgba(18,18,18,.05), 0 40px 70px -40px rgba(18,18,18,.45), 0 0 0 1px rgba(18,18,18,.07); }
.ee-req__hoja::before { content: ""; position: absolute; inset: 0; background: url("../img/guilloche-roseta.svg") no-repeat 120% 30% / 60%; opacity: .07; pointer-events: none; }
.ee-req__cab { display: flex; justify-content: space-between; padding: .9rem 1.4rem; background: var(--tinta); color: #fff; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; }
.ee-req__cab span:last-child { color: rgba(255,255,255,.6); }
.ee-lista { position: relative; }
.ee-lista details { border-bottom: 1px solid rgba(18,18,18,.1); transition: background .3s; }
.ee-lista details[open] { background: rgba(217,34,49,.035); }
.ee-lista summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 26px; gap: .8rem; align-items: center; padding: 1.1rem 1.4rem; min-height: 56px; font-family: var(--f-tit); font-weight: 600; font-size: 1.08rem; }
.ee-lista summary::-webkit-details-marker { display: none; }
.ee-lista summary::after { content: ""; width: 24px; height: 24px; border: 1.5px solid rgba(18,18,18,.35); border-radius: 5px; background: #fff; transition: background .25s, border-color .25s; }
.ee-lista details[open] summary::after { border-color: var(--rojo); background: var(--rojo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.ee-lista summary:hover { color: var(--rojo); }
.ee-lista__n { font-family: var(--f-mono); font-weight: 500; font-size: .74rem; letter-spacing: .1em; color: var(--rojo); }
.ee-lista details p { margin: 0; padding: 0 1.4rem 1.2rem calc(1.4rem + 40px + .8rem); color: var(--gris); }
.ee-req__hoja .mrz { margin-top: 0; }

/* ==========================================================================
   Animaciones de entrada (solo con html.ee-anim; sin JS todo se ve)
   ========================================================================== */
.ee-anim [data-ee="cortina"] { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s var(--ease); }
.ee-anim .ee-estudios__banda[data-ee="cortina"] { clip-path: inset(0 0 100% 0); }
.ee-anim [data-ee="cortina"].es-visto { clip-path: inset(0 0 0 0); }
.ee-anim [data-ee="pasaje"] { opacity: 0; transform: translateY(34px) rotate(-4deg); transition: opacity .6s var(--ease), transform .8s var(--ease-rebote), box-shadow .35s var(--ease), border-color .3s; transition-delay: calc(var(--i) * 110ms), calc(var(--i) * 110ms), 0s, 0s; }
.ee-anim [data-ee="pasaje"].es-visto { opacity: 1; transform: none; }
.ee-anim [data-ee="pasaje"].es-visto:hover { transform: translateY(-6px) rotate(-1.2deg); transition-delay: 0s; }
.ee-anim [data-ee="pasaporte"] .ee-pasaporte__hoja { opacity: 0; transform: translateY(50px) rotate(6deg); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.ee-anim [data-ee="pasaporte"].es-visto .ee-pasaporte__hoja { opacity: 1; transform: rotate(1.2deg); }
.ee-anim [data-ee="pasaporte"] .ee-sellito { opacity: 0; }
.ee-anim [data-ee="pasaporte"].es-visto .ee-sellito { animation: sellar2 .55s var(--ease-rebote) both; animation-delay: calc(.7s + var(--i) * .3s); }
.ee-anim [data-ee="ventana"] .ee-ventana__banda { transform: scaleX(0); transition: transform 1.2s .3s var(--ease); }
.ee-anim [data-ee="ventana"].es-visto .ee-ventana__banda { transform: none; }
.ee-anim [data-ee="ventana"] .ee-ventana__vence { opacity: 0; transform: translate(-50%, -14px); transition: opacity .5s 1.2s, transform .6s 1.2s var(--ease-rebote); }
.ee-anim [data-ee="ventana"].es-visto .ee-ventana__vence { opacity: 1; transform: translate(-50%, 0); }
.ee-anim [data-ee="recibo"] { clip-path: inset(0 0 100% 0); transform: translateY(-24px) rotate(1.5deg); transition: clip-path 1.4s .2s cubic-bezier(.4,0,.2,1), transform 1.4s .2s cubic-bezier(.4,0,.2,1); }
.ee-anim [data-ee="recibo"].es-visto { clip-path: inset(0 0 -20px 0); transform: rotate(1.5deg); }
.ee-anim [data-ee="postales"] .ee-postal--dorso { transform: rotate(0) translate(18%, 10%); opacity: 0; transition: transform 1s var(--ease), opacity .6s; }
.ee-anim [data-ee="postales"] .ee-postal--frente { transform: rotate(0) translate(-10%, -6%); opacity: 0; transition: transform 1s .15s var(--ease), opacity .6s .15s; }
.ee-anim [data-ee="postales"].es-visto .ee-postal--dorso { transform: rotate(-5deg); opacity: 1; }
.ee-anim [data-ee="postales"].es-visto .ee-postal--frente { transform: rotate(4deg); opacity: 1; }
.ee-anim [data-ee="postales"].es-visto:hover .ee-postal--frente { transform: rotate(6deg) translate(14px, 8px); transition-delay: 0s; }
.ee-anim [data-ee="postales"].es-visto:hover .ee-postal--dorso { transform: rotate(-7deg) translate(-12px, -6px); }
.ee-anim [data-ee="sello"] { opacity: 0; transform: rotate(-30deg) scale(2); transition: opacity .3s .3s, transform .6s .3s var(--ease-rebote); }
.ee-anim [data-ee="sello"].es-visto { opacity: .9; transform: rotate(-12deg); }
.ee-anim [data-ee="pantalla"] { opacity: 0; transform: translateY(40px) rotateX(12deg); transform-origin: 50% 100%; transition: opacity .8s var(--ease), transform 1s var(--ease); }
.ee-anim [data-ee="pantalla"].es-visto { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive de EE. UU.
   ========================================================================== */
@media (max-width: 1180px) {
  .ee-pase { grid-template-columns: 1fr 196px; }
  .ee-pase__sello { right: 218px; }
  .ee-pase__campos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .ee-turismo { grid-template-columns: 1fr; min-height: 0; }
  .ee-turismo__foto { aspect-ratio: 16/11; }
  .ee-turismo > .envoltura { padding: clamp(48px, 8vw, 80px) var(--gutter); }
  .ee-turismo__texto { max-width: 680px; }
  .ee-renov__in, .ee-j1__in, .ee-otros__in, .ee-req__in, .ee-estudios__in { grid-template-columns: 1fr; }
  .ee-pasaporte { max-width: 620px; }
  .ee-estudios__in { margin-top: calc(-1 * clamp(80px, 12vw, 140px)); }
  .ee-recibo { margin-top: 0; max-width: 520px; }
  .ee-postales { max-width: 640px; width: 100%; }
  .ee-otros__pantalla { max-width: 560px; }
  .ee-req__lado { position: static; }
  .ee-mig__in { grid-template-columns: 1fr; }
  .ee-mig__sello { justify-self: start; }
  .ee-mig { display: block; min-height: 0; padding-top: 0; }
  .ee-mig__foto { position: relative; height: min(62vw, 460px); }
  .ee-mig::before { inset: 0 0 auto 0; height: min(62vw, 460px); background: linear-gradient(180deg, rgba(18,18,18,0) 45%, var(--tinta) 100%); }
  .ee-mig::after { -webkit-mask: none; mask: none; top: min(62vw, 460px); opacity: .3; }
  .ee-mig__in { padding-top: 1rem; }
  .ee-mig__sello { position: absolute; right: var(--gutter); top: calc(-1 * min(62vw, 460px) + 1.2rem); scale: .72; transform-origin: 100% 0; }
}
@media (max-width: 760px) {
  .cuest__cuerpo { min-height: 340px; }
  .cuest__ops--muchas { grid-template-columns: 1fr; }
  .cuest__hoja { display: none; }
  .cuest__res-cab { padding-right: 0; min-height: 0; }
  .cuest__res .cuest__estampa { position: static; transform: rotate(-8deg); margin-bottom: .6rem; }
  .cuest__impresora { margin-left: -.2rem; margin-right: -.2rem; }
  .ee-pase { grid-template-columns: 1fr; }
  .ee-pase__cab { border-radius: 14px 14px 0 0; }
  .ee-pase__talon { border-left: 0; border-top: 2px dashed rgba(18,18,18,.22); border-radius: 0 0 14px 14px; }
  .ee-pase__talon::before { top: -11px; left: -10px; } .ee-pase__talon::after { top: -11px; bottom: auto; left: auto; right: -10px; }
  .ee-pase__sello { right: 12px; bottom: 168px; width: 88px; height: 88px; font-size: .52rem; }
  .ee-pase__sello b { font-size: 1rem; }
  .ee-pase__talon .btn { white-space: normal; }
  .ee-pasajes { grid-template-columns: 1fr; gap: 10px; }
  .ee-pasaje { flex-direction: row; align-items: stretch; }
  .ee-pasaje__a { flex: 1; }
  .ee-pasaje__b { margin-top: 0; display: flex; align-items: center; border-top: 0; border-left: 2px dashed rgba(18,18,18,.16); font-size: 1.6rem; }
  .ee-pasaje__b::before { top: -10px; left: -10px; } .ee-pasaje__b::after { top: auto; bottom: -10px; right: auto; left: -10px; }
  .ee-para li { grid-template-columns: 1fr; gap: .5rem; }
  .ee-pasaporte { padding: 0; }
  .ee-pasaporte__polaroid { width: 34%; top: -18px; right: -6px; padding: 6px 6px 20px; }
  .ee-pasaporte__cab, .ee-pasaporte__tit { max-width: 62%; }
  .ee-sellos { grid-template-columns: 86px 1fr; gap: .9rem; }
  .ee-sellito--circ { width: 78px; height: 78px; } .ee-sellito--rect { width: 84px; height: 60px; } .ee-sellito--oval { width: 86px; height: 56px; }
  .ee-sellito b { font-size: 1.4rem; }
  .ee-ventana__leyenda { grid-template-columns: 1fr; text-align: left; gap: .8rem; }
  .ee-ventana__leyenda .es-dentro { order: -1; }
  .ee-ventana__m { font-size: .52rem; letter-spacing: .06em; }
  .ee-postales { height: auto; display: grid; }
  .ee-postal { position: relative; }
  .ee-postal--dorso { width: 100%; aspect-ratio: auto; left: auto; top: auto; padding: 1.2rem; min-height: 230px; }
  .ee-postal--dorso::before { display: none; }
  .ee-postal__saludo, .ee-postal__lineas { max-width: 64%; }
  .ee-postal__matasellos { right: 1rem; top: 6.2rem; width: 62px; height: 62px; }
  .ee-postal--frente { width: 86%; margin: -34px 0 0 auto; right: auto; bottom: auto; }
  .ee-estudios__ficha { padding: 1.6rem 1.3rem; }
  .ee-indice a { grid-template-columns: 40px 1fr 24px; gap: .7rem; }
  .ee-lista summary { grid-template-columns: 30px 1fr 24px; padding: 1rem 1.1rem; font-size: 1rem; }
  .ee-lista details p { padding: 0 1.1rem 1.1rem 1.1rem; }
  .ee-gigante { font-size: 6.5rem; bottom: -.12em; top: auto; right: -.1em; }
  .ee-ventana__m { display: none; }
  .ee-ventana__k { margin-bottom: 2.2rem; }
}
@media (max-width: 420px) {
  .cuest__cab { padding: .9rem 1rem 1rem; }
  .cuest__ext { font-size: .62rem; }
  .ee-pase__cuerpo { padding: 0 1rem 1.1rem; }
  .ee-pase__cab { margin: 0 -1rem 1rem; padding: .7rem 1rem; }
  .ee-pase__campos { gap: .5rem .8rem; }
  .ee-pase__ruta b { font-size: 1.6rem; }
}
@media (min-width: 1800px) {
  .cuest-sec__in { max-width: 1440px; }
}

@media (prefers-reduced-motion: reduce) {
  .ee-visa__hoja, .ee-visa__sello, .ee-visa__holo, .ee-ventana__avion, .cuest__impresora .ee-pase, .ee-pase__sello, .cuest__salida { animation: none !important; }
  .cuest__salida { display: none; }
  .ee-anim [data-ee], .ee-anim [data-ee] * { transition: none !important; }
}

/* ==========================================================================
   Hub de destinos (templates/destinos.php): sellos en la cabecera y postales que se voltean
   ========================================================================== */
.dh-cab::before { background: url("../img/guilloche-ondas.svg") repeat 0 0 / 480px 160px; opacity: .55; }
.dh-cab__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.dh-sellos { position: relative; height: clamp(220px, 20vw, 300px); }
.dh-sello { position: absolute; display: grid; place-content: center; justify-items: center; text-align: center; color: var(--rojo); border: 3px solid currentColor; font-family: var(--f-mono); text-transform: uppercase; mix-blend-mode: multiply; opacity: .85; animation: dhSello .55s var(--ease-rebote) both; animation-delay: calc(.25s + var(--i) * .16s); }
.dh-sello b { font-family: var(--f-tit); font-size: 1.9rem; line-height: 1; letter-spacing: .02em; }
.dh-sello small { font-size: .52rem; letter-spacing: .16em; max-width: 12ch; line-height: 1.3; margin-top: .25rem; }
.dh-sello--1 { --r: -14deg; left: 2%; top: 10%; width: 128px; height: 128px; border-radius: 50%; box-shadow: inset 0 0 0 5px transparent, inset 0 0 0 7px currentColor; }
.dh-sello--2 { --r: 8deg; left: 34%; top: 0; width: 130px; height: 86px; border-radius: 10px; color: var(--azul-sello); border-style: double; border-width: 6px; }
.dh-sello--3 { --r: -6deg; right: 4%; top: 6%; width: 120px; height: 120px; border-radius: 50%; color: var(--tinta); border-style: dashed; }
.dh-sello--4 { --r: 12deg; left: 20%; bottom: 0; width: 140px; height: 84px; border-radius: 50%; color: var(--azul-sello); }
.dh-sello--5 { --r: -10deg; left: 52%; bottom: 6%; width: 112px; height: 112px; border-radius: 22px; }
.dh-sello--6 { --r: 5deg; right: 0; bottom: 2%; width: 116px; height: 78px; border-radius: 6px; color: var(--tinta); box-shadow: inset 0 0 0 4px transparent, inset 0 0 0 5.5px currentColor; }
@keyframes dhSello { 0% { opacity: 0; transform: rotate(calc(var(--r) - 24deg)) scale(2.1); } 70% { opacity: .9; } 100% { opacity: .85; transform: rotate(var(--r)) scale(1); } }

.dh { padding-top: clamp(40px, 5vw, 72px); }
.dh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(250px, 22vw, 340px); gap: clamp(14px, 1.8vw, 24px); }
.dh-carta--1 { grid-column: span 2; grid-row: span 2; }
.dh-carta { position: relative; display: block; perspective: 1600px; color: #fff; text-decoration: none; border-radius: 16px; }
.dh-carta:hover, .dh-carta:focus-visible { color: #fff; }
.dh-carta__giro { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3,.7,.2,1); border-radius: 16px; }
.dh-carta__cara { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.dh-carta__frente { background: var(--tinta-2); box-shadow: var(--sombra); }
.dh-carta__frente::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 46%, rgba(0,0,0,.8) 100%); }
.dh-carta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.dh-carta:hover .dh-carta__img { transform: scale(1.06); }
.dh-carta__iso { position: absolute; z-index: 2; top: 1rem; left: 1rem; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .2em; border: 1px solid rgba(255,255,255,.6); padding: .3rem .55rem; border-radius: 4px; background: rgba(18,18,18,.25); backdrop-filter: blur(4px); }
.dh-carta__pie { position: absolute; z-index: 2; left: 1.2rem; right: 4.4rem; bottom: 1.2rem; display: grid; gap: .3rem; }
.dh-carta__pais { font-family: var(--f-tit); font-weight: 600; font-size: clamp(1.4rem, 1vw + 1rem, 1.9rem); line-height: 1.05; }
.dh-carta--1 .dh-carta__pais { font-size: clamp(2rem, 3vw + 1rem, 3.8rem); }
.dh-carta__lema { font-size: .9rem; opacity: .88; }
.dh-carta__chips { display: none; flex-wrap: wrap; gap: .35rem; margin-top: .4rem; }
.dh-carta__chips span { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.55); padding: .25rem .5rem; border-radius: 999px; }
.dh-carta__flecha { position: absolute; z-index: 2; right: 1rem; bottom: 1rem; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--tinta); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s, color .3s; }
.dh-carta:hover .dh-carta__flecha { background: var(--rojo); color: #fff; transform: rotate(-45deg); }

.dh-carta__dorso { transform: rotateY(180deg); color: var(--tinta); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; gap: .6rem 1.2rem; padding: 1.2rem 1.3rem 1.2rem;
  background: url("../img/guilloche-ondas.svg") repeat 0 0 / 360px 120px, linear-gradient(160deg, #FCF8EF, #EFE6D3); box-shadow: var(--sombra-alta); }
.dh-carta__dorso::before { content: ""; position: absolute; left: 50%; top: 3.4rem; bottom: 4rem; border-left: 1px solid rgba(18,18,18,.16); }
.dh-dorso__cab { grid-column: 1 / -1; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--azul-sello); padding-bottom: .6rem; border-bottom: 1px solid rgba(35,64,122,.25); }
.dh-dorso__iz { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.dh-dorso__k { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gris); }
.dh-dorso__t { display: flex; align-items: center; gap: .5rem; font-family: var(--f-tit); font-weight: 600; font-size: clamp(1rem, .6vw + .8rem, 1.3rem); line-height: 1.15; padding-bottom: .35rem; border-bottom: 1px solid rgba(18,18,18,.12); }
.dh-dorso__t::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--rojo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/10px no-repeat; }
.dh-dorso__de { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem; min-width: 0; }
.dh-dorso__estampilla { position: absolute; top: 0; right: 0; width: 62px; height: 74px; display: grid; place-content: center; text-align: center; background: var(--rojo); color: #fff; font-family: var(--f-mono);
  -webkit-mask: radial-gradient(circle at 4px 4px, #0000 2.6px, #000 3px) -4px -4px / 8px 8px, linear-gradient(#000 0 0) 4px 4px / calc(100% - 8px) calc(100% - 8px) no-repeat; mask: radial-gradient(circle at 4px 4px, #0000 2.6px, #000 3px) -4px -4px / 8px 8px, linear-gradient(#000 0 0) 4px 4px / calc(100% - 8px) calc(100% - 8px) no-repeat; box-shadow: inset 0 0 0 5px var(--rojo), inset 0 0 0 6px rgba(255,255,255,.7); }
.dh-dorso__estampilla b { font-family: var(--f-tit); font-size: 1.15rem; line-height: 1; }
.dh-dorso__estampilla small { font-size: .48rem; letter-spacing: .2em; }
.dh-dorso__matasellos { position: absolute; top: .9rem; right: 3.2rem; width: 60px; height: 60px; border-radius: 50%; border: 2px solid rgba(35,64,122,.6); display: grid; place-items: center; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .2em; color: rgba(35,64,122,.75); transform: rotate(-12deg); }
.dh-dorso__linea { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; color: var(--tinta-2); padding-bottom: .35rem; border-bottom: 1px solid rgba(18,18,18,.25); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dh-dorso__ir { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-tit); font-weight: 600; font-size: .95rem; background: var(--rojo); color: #fff; padding: .7rem 1.1rem; border-radius: 999px; }
.dh-dorso__msg { margin-top: auto; font-family: var(--f-tit); font-size: .92rem; line-height: 1.3; color: var(--gris); padding-top: .4rem; }
.dh-dorso__ruta { color: var(--tinta); margin: auto 0 .6rem; }
.dh-dorso__ruta .ruta__txt { font-size: 18px; }
.dh-carta--1 .dh-carta__dorso { padding: 2rem 2.2rem; }
.dh-carta--1 .dh-dorso__msg { font-size: clamp(1.1rem, 1vw + .7rem, 1.5rem); color: var(--tinta-2); max-width: 22ch; }
.dh-carta--1 .dh-dorso__t { font-size: clamp(1.3rem, 1.4vw + .8rem, 2rem); }
.dh-carta--1 .dh-dorso__estampilla { width: 92px; height: 110px; }
.dh-carta--1 .dh-dorso__estampilla b { font-size: 1.7rem; }
.dh-carta--1 .dh-dorso__matasellos { width: 86px; height: 86px; right: 5rem; top: 1.4rem; }

@media (hover: hover) and (pointer: fine) {
  .dh-carta:hover .dh-carta__giro, .dh-carta:focus-visible .dh-carta__giro { transform: rotateY(180deg); transition-delay: .12s; }
  .dh-carta:focus-visible { outline: none; }
  .dh-carta:focus-visible .dh-carta__dorso { box-shadow: 0 0 0 3px var(--rojo), var(--sombra-alta); }
}
@media (hover: none), (pointer: coarse) {
  .dh-carta__dorso { display: none; }
  .dh-carta__chips { display: flex; }
}

.dh-guia { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.8vw, 24px); margin-top: clamp(32px, 4vw, 56px); }
.dh-guia__a { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: .3rem 1.4rem; align-items: center; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 16px; text-decoration: none; color: #fff; background: var(--tinta) url("../img/guilloche-ondas-claro.svg") repeat 0 0 / 420px 140px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.dh-guia__a--wa { background-color: var(--azul-sello); }
.dh-guia__a:hover { color: #fff; transform: translateY(-4px); box-shadow: var(--sombra-alta); }
.dh-guia__k { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.dh-guia__t { grid-column: 1; font-family: var(--f-tit); font-weight: 600; font-size: clamp(1.2rem, 1vw + 1rem, 1.7rem); line-height: 1.15; }
.dh-guia__ir { grid-column: 2; grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--tinta); transition: transform .4s var(--ease), background .3s, color .3s; }
.dh-guia__a:hover .dh-guia__ir { background: var(--rojo); color: #fff; transform: rotate(-45deg); }
.dh-guia__a--wa:hover .dh-guia__ir { transform: scale(1.08); }

/* ==========================================================================
   Plantilla de destino (templates/destino.php): hoja de requisitos con casillas
   ========================================================================== */
.dz { background: var(--papel) var(--papel-tex) center / cover; background-blend-mode: multiply; }
.dz::before { content: ""; position: absolute; inset: 0; background: url("../img/guilloche-ondas.svg") repeat 0 0 / 480px 160px; opacity: .3; pointer-events: none; }
.dz__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.dz-hoja { position: relative; background: #FFFDF8; border-radius: 6px 18px 18px 6px; padding: clamp(1.4rem, 3.4vw, 3rem) clamp(1.3rem, 3.4vw, 3rem) 0; overflow: hidden;
  box-shadow: inset 22px 0 26px -22px rgba(80,60,30,.3), 0 2px 4px rgba(18,18,18,.05), 0 50px 90px -50px rgba(18,18,18,.55), 0 0 0 1px rgba(18,18,18,.06); }
.dz-hoja::before { content: ""; position: absolute; inset: 0; background: url("../img/guilloche-roseta.svg") no-repeat 112% 104% / 50%; opacity: .06; pointer-events: none; }
.dz-hoja__cab { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem 2rem; padding-bottom: 1.2rem; border-bottom: 2px solid var(--tinta); }
.dz-hoja__k { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--azul-sello); margin-bottom: .5rem; }
.dz-hoja__t { font-size: clamp(1.9rem, 2.6vw + 1rem, 3.2rem); margin: 0; }
.dz-hoja__cuenta { display: grid; justify-items: end; gap: .1rem; margin: 0; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.dz-hoja__cuenta b { font-family: var(--f-tit); font-size: 1.5rem; letter-spacing: -.01em; color: var(--tinta); text-transform: none; }
.dz-hoja.es-completa .dz-hoja__cuenta b { color: var(--rojo); }
.dz-hoja__bajada { position: relative; color: var(--gris); font-size: .95rem; margin: 1rem 0 0; max-width: 62ch; }
.dz-bloque { position: relative; margin-top: clamp(1.8rem, 3vw, 2.6rem); }
.dz-bloque__t { display: flex; align-items: center; gap: .8rem; font-size: clamp(1.15rem, .8vw + 1rem, 1.45rem); margin: 0 0 .6rem; }
.dz-bloque__t span { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 .3rem; border-radius: 6px; background: var(--tinta); color: #fff; font-family: var(--f-mono); font-size: .78rem; font-weight: 500; letter-spacing: .06em; }
.dz-filas { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(18,18,18,.14); }
.dz-filas li { border-bottom: 1px solid rgba(18,18,18,.1); }
.dz-fila { position: relative; display: grid; grid-template-columns: 30px 44px minmax(120px, 190px) 1fr; gap: .8rem; align-items: baseline; padding: 1rem .4rem 1rem 0; cursor: pointer; transition: background .25s; border-radius: 6px; }
.dz-fila:hover { background: rgba(217,34,49,.04); }
.dz-fila input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dz-fila__caja { align-self: center; width: 24px; height: 24px; border: 1.5px solid rgba(18,18,18,.4); border-radius: 5px; background: #fff; transition: background .25s, border-color .25s, transform .3s var(--ease-rebote); }
.dz-fila input:checked + .dz-fila__caja { background: var(--rojo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; border-color: var(--rojo); transform: scale(1.08); }
.dz-fila input:focus-visible + .dz-fila__caja { outline: 2px solid var(--rojo); outline-offset: 3px; }
.dz-fila__n { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; color: var(--rojo); }
.dz-fila__k { font-family: var(--f-tit); font-weight: 600; font-size: 1.04rem; line-height: 1.25; }
.dz-fila__v { color: var(--gris); font-size: .96rem; line-height: 1.5; }
.dz-fila input:checked ~ .dz-fila__k { text-decoration: line-through; text-decoration-color: rgba(217,34,49,.6); text-decoration-thickness: 2px; }
.dz-paises { list-style: none; margin: .8rem 0 .4rem; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.dz-paises li { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--azul-sello); border: 2px solid currentColor; border-radius: 6px; padding: .45rem .75rem; transform: rotate(var(--r, 0deg)); mix-blend-mode: multiply; }
.dz-paises li:nth-child(3n+2) { color: var(--rojo); border-radius: 999px; }
.dz-paises li:nth-child(3n) { color: var(--tinta); border-style: double; border-width: 4px; }
.dz-ojo { position: relative; display: flex; gap: 1.1rem; align-items: center; margin-top: 2rem; }
.dz-ojo__sello { flex: none; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; border: 2.5px solid var(--rojo); box-shadow: inset 0 0 0 4px transparent, inset 0 0 0 5.5px var(--rojo); color: var(--rojo); font-family: var(--f-mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; transform: rotate(-12deg); mix-blend-mode: multiply; }
.dz-ojo p { margin: 0; color: var(--tinta-2); }
.dz-timbres { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.dz-timbre { display: grid; gap: .4rem; align-content: start; padding: 1.2rem 1rem 1.1rem; background: #fff; transform: rotate(var(--r)); transition: transform .4s var(--ease);
  -webkit-mask: radial-gradient(circle at 5px 5px, #0000 3.2px, #000 3.6px) -5px -5px / 10px 10px, linear-gradient(#000 0 0) 5px 5px / calc(100% - 10px) calc(100% - 10px) no-repeat; mask: radial-gradient(circle at 5px 5px, #0000 3.2px, #000 3.6px) -5px -5px / 10px 10px, linear-gradient(#000 0 0) 5px 5px / calc(100% - 10px) calc(100% - 10px) no-repeat;
  box-shadow: inset 0 0 0 7px #fff, inset 0 0 0 8px rgba(35,64,122,.35); background-image: url("../img/guilloche-ondas.svg"); background-size: 300px 100px; }
.dz-timbre:hover { transform: rotate(0) scale(1.03); }
.dz-timbre b { font-family: var(--f-tit); font-size: clamp(1.5rem, 1.4vw + 1rem, 2.2rem); line-height: 1; color: var(--azul-sello); letter-spacing: -.01em; }
.dz-timbre span { font-size: .84rem; color: var(--gris); line-height: 1.4; }
.dz-fuente { position: relative; font-size: .82rem; color: var(--gris); margin: 1rem 0 0; }
.dz-fuente a { color: var(--azul-sello); }
.dz-hoja__sello { position: absolute; right: clamp(1rem, 4vw, 3rem); bottom: 88px; display: grid; place-items: center; place-content: center; width: 110px; height: 110px; border-radius: 50%; border: 3px solid var(--rojo); box-shadow: inset 0 0 0 5px transparent, inset 0 0 0 6.5px var(--rojo); color: var(--rojo); font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; text-align: center; mix-blend-mode: multiply; opacity: 0; transform: rotate(-30deg) scale(2); transition: opacity .3s, transform .55s var(--ease-rebote); pointer-events: none; }
.dz-hoja__sello b { font-family: var(--f-tit); font-size: 1.05rem; letter-spacing: .04em; }
.dz-hoja.es-completa .dz-hoja__sello { opacity: .9; transform: rotate(-14deg) scale(1); }
.dz-hoja .mrz { margin: clamp(1.8rem, 3vw, 2.6rem) calc(-1 * clamp(1.3rem, 3.4vw, 3rem)) 0; }

.dz-lado { position: sticky; top: calc(var(--cab-h) + 24px); padding-top: 30px; }
.dz-carpeta { position: relative; }
.dz-carpeta__pestana { position: absolute; top: -30px; left: 18px; display: inline-flex; align-items: center; gap: .5rem; height: 32px; padding: 0 1rem; border-radius: 10px 10px 0 0; background: var(--tinta); color: #fff; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; }
.dz-carpeta__cuerpo { background: #fff; border-radius: 16px; padding: 1.6rem 1.5rem 1.4rem; border-top: 6px solid var(--tinta); box-shadow: 0 2px 4px rgba(18,18,18,.05), 0 40px 80px -40px rgba(18,18,18,.55), 0 0 0 1px rgba(18,18,18,.06); }
.dz-carpeta__t { font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); margin-bottom: .5rem; }
.dz-carpeta__cuerpo > p { color: var(--gris); font-size: .95rem; }
.dz-carpeta__wa { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; padding: .9rem 1rem; border: 1px dashed rgba(18,18,18,.22); border-radius: 12px; text-decoration: none; font-size: .9rem; color: var(--tinta-2); min-height: 52px; transition: border-color .25s, background .25s; }
.dz-carpeta__wa .ico { width: 24px; height: 24px; color: #1FA855; }
.dz-carpeta__wa:hover { border-color: #1FA855; background: rgba(31,168,85,.06); color: var(--tinta); }

.dz-sig { background: var(--tinta); color: #fff; }
.dz-sig__a { position: relative; display: block; min-height: clamp(320px, 38vw, 520px); color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; }
.dz-sig__foto { position: absolute; inset: 0; z-index: -2; }
.dz-sig__foto img { transition: transform 1.6s var(--ease); }
.dz-sig__a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.55) 50%, rgba(10,10,10,.2) 100%); }
.dz-sig__a:hover { color: #fff; }
.dz-sig__a:hover .dz-sig__foto img { transform: scale(1.05); }
.dz-sig__in { position: relative; display: grid; align-content: center; gap: .5rem; min-height: inherit; padding-top: 3rem; padding-bottom: 3rem; }
.dz-sig__k { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.dz-sig__k .ico { width: 16px; height: 16px; transform: rotate(45deg); fill: var(--rojo); stroke: none; }
.dz-sig__pais { font-family: var(--f-tit); font-weight: 700; font-size: clamp(2.6rem, 7vw, 7rem); line-height: .95; letter-spacing: -.03em; }
.dz-sig__lema { color: rgba(255,255,255,.8); }
.dz-sig__ir { position: absolute; right: var(--gutter); top: 50%; width: clamp(56px, 6vw, 84px); height: clamp(56px, 6vw, 84px); margin-top: calc(-1 * clamp(28px, 3vw, 42px)); border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--tinta); transition: transform .4s var(--ease), background .3s, color .3s; }
.dz-sig__ir .ico { width: 40%; height: 40%; }
.dz-sig__a:hover .dz-sig__ir { background: var(--rojo); color: #fff; transform: rotate(-45deg); }
.dz-otros { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: 1.4rem; padding-bottom: 1.6rem; }
.dz-otros a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .9rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; transition: border-color .25s, background .25s; }
.dz-otros a span { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; color: rgba(255,255,255,.6); }
.dz-otros a:hover { border-color: var(--rojo); background: rgba(217,34,49,.15); color: #fff; }
.dz-otros__todos { background: #fff; color: var(--tinta) !important; border-color: #fff !important; }
.dz-otros__todos:hover { background: var(--rojo) !important; color: #fff !important; }

@media (max-width: 1024px) {
  .dh-cab__in { grid-template-columns: minmax(0, 1fr); }
  .dh-sellos { height: 170px; max-width: 560px; }
  .dh-sello { transform-origin: center; scale: .8; }
  .dh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(240px, 36vw, 320px); }
  .dh-carta--1 { grid-column: span 2; grid-row: span 1; }
  .dh-carta:last-child { grid-column: span 2; }
  .dz__in { grid-template-columns: 1fr; }
  .dz-lado { position: static; }
}
@media (max-width: 760px) {
  .dh-sellos { height: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 84px; justify-items: center; align-items: center; margin-top: .4rem; }
  .dh-sello { position: relative; inset: auto !important; scale: .66; }
  .dh-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .dh-carta { height: 260px; }
  .dh-carta--1 { grid-row: auto; grid-column: auto; height: 340px; }
  .dh-carta:last-child { grid-column: auto; }
  .dh-guia { grid-template-columns: 1fr; }
  .dz-fila { grid-template-columns: 26px 1fr; gap: .2rem .8rem; padding: .9rem 0; }
  .dz-fila__caja { grid-row: span 3; align-self: start; margin-top: .1rem; }
  .dz-fila__n { grid-column: 2; }
  .dz-fila__k, .dz-fila__v { grid-column: 2; }
  .dz-timbres { grid-template-columns: 1fr; }
  .dz-timbre { transform: none; }
  .dz-hoja__cuenta { justify-items: start; }
  .dz-hoja__sello { width: 88px; height: 88px; bottom: 76px; }
  .dz-sig__ir { top: auto; bottom: 1.6rem; margin-top: 0; }
  .dz-sig__in { padding-bottom: 6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dh-sello { animation: none; transform: rotate(var(--r)); }
  .dh-carta__giro { transition: none; }
}

/* ==========================================================================
   Cierre (16-11-2026): ajustes de la revisión
   ========================================================================== */
/* El avión de las anclas y el «B1/B2» gigante no se salen de la pantalla (iOS sí deja desplazar ese desborde) */
.ee-anclas__avion { left: clamp(14px, var(--avance, 0%), calc(100% - 14px)); }
.ee-anclas__avance { overflow-x: clip; }
section:has(> .ee-gigante) { overflow-x: clip; }
/* Cuestionario: «Empezar de nuevo» en una línea; el aviso de teclas no va en celular */
.cuest__reinicio { white-space: nowrap; }
@media (max-width: 760px) { .cuest__teclas { display: none !important; } }
/* Pase recomendado: el sello «Te recomendamos» ya no se monta sobre la lista */
@media (min-width: 761px) { .ee-pase--rec .ee-pase__inc, .ee-pase--rec .ee-pase__no, .ee-pase--rec .ee-pase__no-t { padding-right: 118px; } }
@media (max-width: 760px) {
  /* J-1: la polaroid ya no tapa la última línea de la postal */
  .ee-postal--dorso { padding-bottom: 3.6rem; }
}
.dh-dorso__linea { white-space: normal; }
[data-cuest]:focus { outline: none; }
