/* ============================================================
   PORTADA · Dirección C "Aurora storytelling"
   Relato en 5 capítulos. Paleta Haxiah: hueso, Yale, índigo,
   Picton, Columbia, bronce. Fuentes: --vce-font-display /
   --vce-font-body / --vce-font-script (provisionales hasta
   contar con Grift / Gate / Artinosy).
   Todo movimiento se apaga con prefers-reduced-motion.
   ============================================================ */

/* ---------- Utilidades de la portada ---------- */
.vce-home { background: var(--vce-hueso); }
.vce-eyebrow { display: inline-flex; align-items: center; gap: .75rem; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--vce-bronce-tinta); font-weight: 600; }
.vce-eyebrow--light { color: #E9C48A; }
.vce-eyebrow--gold { color: #E9C48A; }
.vce-eyebrow--sm { font-size: .625rem; }
.vce-h2 { font-family: var(--vce-font-display); font-weight: 600; letter-spacing: -.03em; font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.5rem); line-height: .98; color: var(--vce-yale); margin: .75rem 0 0; text-wrap: balance; }
.vce-h2--light { color: var(--vce-hueso); }
.vce-script { font-family: var(--vce-font-script); font-weight: 400; letter-spacing: 0; line-height: .8; }
.vce-script--bronce { color: var(--vce-bronce); font-size: 1.25em; }
.vce-script--gold { color: #E9C48A; }
.vce-script--xl { display: block; font-size: clamp(2.6rem, 2rem + 2vw, 3.75rem); line-height: 1; margin: 0; }
.vce-link-bronce { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; color: var(--vce-yale); border-bottom: 1px solid var(--vce-bronce); padding-bottom: 3px; align-self: flex-start; }
.vce-link-bronce:hover { color: var(--vce-bronce-tinta); }
.vce-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vce-bronce); position: relative; flex: none; display: inline-block; }
.vce-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--vce-bronce); animation: vce-pulse 1.8s ease-out infinite; }
.vce-grain { position: absolute; inset: 0; pointer-events: none; opacity: .18; background-image: radial-gradient(rgba(247,247,242,.6) .6px, transparent .6px); background-size: 4px 4px; mix-blend-mode: soft-light; }

/* Botones de la portada (píldora) */
.vce-c .vce-btn { display: inline-flex; align-items: center; justify-content: center; gap: .625rem; min-height: 54px; padding: 0 1.9rem; border-radius: var(--vce-radius-pill); border: 1px solid var(--vce-indigo); color: var(--vce-indigo); background: transparent; font-family: var(--vce-font-display); font-size: .9rem; letter-spacing: .04em; font-weight: 500; cursor: pointer; text-decoration: none; transition: transform .2s cubic-bezier(.23,1,.32,1), background .2s ease, color .2s ease, box-shadow .2s ease; }
/* Emil Kowalski: hover solo con puntero fino; presión visible (scale .97) en 160 ms ease-out. */
@media (hover: hover) and (pointer: fine) {
    .vce-c .vce-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,48,117,.18); }
}
.vce-c .vce-btn:active { transform: scale(.97); transition-duration: .16s; }
.vce-c .vce-btn:focus-visible { outline: 3px solid var(--vce-picton); outline-offset: 3px; }
.vce-c .vce-btn--solid { background: var(--vce-indigo); color: var(--vce-hueso); }
.vce-c .vce-btn--solid:hover { background: var(--vce-yale); color: var(--vce-hueso); }
.vce-c .vce-btn--bronce { background: var(--vce-bronce); border-color: var(--vce-bronce); color: var(--vce-hueso); }
.vce-c .vce-btn--bronce:hover { background: #A66F28; color: var(--vce-hueso); }
.vce-c .vce-btn--glass { background: rgba(247,247,242,.14); border-color: rgba(247,247,242,.5); color: var(--vce-hueso); backdrop-filter: blur(8px); }
.vce-c .vce-btn--glass:hover { background: rgba(247,247,242,.26); color: var(--vce-hueso); }
.vce-c .vce-btn--outline { border-color: var(--vce-indigo); color: var(--vce-indigo); }
.vce-c .vce-btn--sm { min-height: 46px; padding: 0 1.25rem; font-size: .8125rem; }
.vce-c .vce-btn--lg { min-height: 60px; padding: 0 2.4rem; font-size: .95rem; }

/* ---------- Auroras (mesh gradient con la paleta) ---------- */
.vce-aurora { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; pointer-events: none; }
.vce-aurora--1 { width: 900px; height: 700px; left: -180px; top: -200px; background: radial-gradient(circle at 40% 40%, #0B6FA3 0%, rgba(11,111,163,0) 65%); animation: vce-aurora-a 12s ease-in-out infinite; }
.vce-aurora--2 { width: 760px; height: 640px; right: -160px; top: -80px; background: radial-gradient(circle at 50% 50%, var(--vce-picton) 0%, rgba(71,164,221,0) 65%); animation: vce-aurora-b 10s ease-in-out infinite; opacity: .8; }
.vce-aurora--3 { width: 640px; height: 520px; left: 40%; bottom: -260px; background: radial-gradient(circle at 50% 50%, var(--vce-bronce) 0%, rgba(193,133,54,0) 65%); animation: vce-aurora-c 14s ease-in-out infinite; opacity: .55; }
.vce-aurora--s1 { width: 620px; height: 520px; right: -200px; top: -200px; background: radial-gradient(circle at 50% 50%, #0B6FA3 0%, rgba(11,111,163,0) 65%); animation: vce-aurora-b 11s ease-in-out infinite; }
.vce-aurora--s2 { width: 420px; height: 380px; left: 30%; bottom: -220px; background: radial-gradient(circle at 50% 50%, var(--vce-bronce) 0%, rgba(193,133,54,0) 65%); animation: vce-aurora-c 13s ease-in-out infinite; opacity: .45; }
.vce-aurora--c1 { width: 800px; height: 600px; left: -200px; top: -240px; background: radial-gradient(circle at 50% 50%, #0B6FA3 0%, rgba(11,111,163,0) 65%); animation: vce-aurora-a 12s ease-in-out infinite; }
.vce-aurora--c2 { width: 700px; height: 560px; right: -220px; bottom: -260px; background: radial-gradient(circle at 50% 50%, var(--vce-picton) 0%, rgba(71,164,221,0) 65%); animation: vce-aurora-b 10s ease-in-out infinite; opacity: .7; }
.vce-aurora--c3 { width: 480px; height: 420px; left: 45%; top: -120px; background: radial-gradient(circle at 50% 50%, var(--vce-bronce) 0%, rgba(193,133,54,0) 65%); animation: vce-aurora-c 14s ease-in-out infinite; opacity: .5; }

@keyframes vce-aurora-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-6%, 8%) scale(1.15); } }
@keyframes vce-aurora-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(8%, -6%) scale(1.1); } }
@keyframes vce-aurora-c { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-4%, -10%) scale(1.2); } }
@keyframes vce-pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.7); opacity: .25; } }
@keyframes vce-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes vce-float { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-12px) rotate(-4deg); } }

/* ---------- Reveals (JS agrega .is-in al entrar en viewport) ---------- */
.vce-motion [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
/* v0.17.1: red de seguridad. Si el JS tarda (red lenta en móvil), el hero se muestra solo a los 2.2 s en vez de quedarse en blanco. */
@keyframes vce-reveal-safety { to { opacity: 1; transform: none; } }
.vce-motion .vce-hero [data-reveal] { animation: vce-reveal-safety .5s ease 2.2s forwards; }
html.vce-gsap .vce-motion .vce-hero [data-reveal] { animation: none; }
.vce-motion [data-reveal].is-in { opacity: 1; transform: none; }
.vce-motion [data-reveal][data-delay="1"] { transition-delay: .1s; }
.vce-motion [data-reveal][data-delay="2"] { transition-delay: .2s; }
.vce-motion [data-reveal][data-delay="3"] { transition-delay: .3s; }
.vce-motion [data-reveal][data-delay="4"] { transition-delay: .4s; }
.vce-motion [data-reveal][data-delay="5"] { transition-delay: .55s; }
/* Titular por caracteres: JS envuelve cada letra en .vce-char y cada palabra en .vce-word */
.vce-word { display: inline-block; white-space: nowrap; }
.vce-motion .vce-hero__title { perspective: 800px; }
.vce-motion .vce-char { display: inline-block; opacity: 0; transform: translateY(20px) rotateX(-40deg); animation: vce-char-in .6s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes vce-char-in { to { opacity: 1; transform: none; } }
/* Ruta del avión: JS fija dasharray/offset y quita .is-drawing */
.vce-motion [data-draw] { transition: stroke-dashoffset 3.6s ease-out .6s; }

/* ---------- 01 · HERO ---------- */
/* Foto opcional (Configuración → Fotos de encabezado → Inicio): ocupa la mitad derecha y se
   funde con la aurora por la izquierda; el texto sigue leyéndose sobre azul. */
.vce-hero__foto { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; overflow: hidden; z-index: 1; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.75) 35%, #000 60%); mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.75) 35%, #000 60%); }
.vce-hero__foto-inner { position: absolute; inset: -10% 0; will-change: transform; }
.vce-hero__slide { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transition: opacity 1.6s ease; }
.vce-hero__slide.is-on { opacity: 1; }
/* Video de fondo (v0.9.2, v0.9.4): capa a todo lo ancho, sin mask-image ni parallax (los dos
   obligaban a recomponer el cuadro completo en cada frame y se notaban micropausas). El velo
   Yale va en dos degradados normales: lateral (::before) y vertical (::after). El video corre
   con opacidad reducida para que Dulce se lea como ambiente, no como retrato. */
.vce-hero__video-wrap { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .6s ease; }
.vce-hero__video-wrap::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,48,117,.96) 0%, rgba(0,48,117,.78) 30%, rgba(0,48,117,.42) 55%, rgba(0,48,117,.22) 75%, rgba(0,48,117,.3) 100%); }
.vce-hero__video-wrap::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,48,117,.45) 0%, rgba(0,48,117,.05) 35%, rgba(0,48,117,.1) 65%, rgba(0,48,117,.7) 100%); }
.vce-hero__video-inner { position: absolute; inset: 0; }
.vce-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .82; }
.vce-hero.is-video-on .vce-hero__video-wrap { opacity: 1; }
.vce-hero.is-video-on .vce-hero__foto { opacity: 0; transition: none; }
.vce-hero.is-video-done .vce-hero__video-wrap { opacity: 0; transition: opacity 2.2s ease; }
.vce-hero.is-video-done .vce-hero__foto { opacity: 1; transition: opacity 2.2s ease; }
@media (max-width: 900px) { .vce-hero__video-wrap { display: none; } }
.vce-hero__foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,48,117,.15) 0%, rgba(0,48,117,0) 40%, rgba(0,48,117,.55) 100%); }
.vce-hero__inner--con-foto .vce-hero__copy { grid-column: span 7; }
@media (max-width: 900px) { .vce-hero__foto { width: 100%; opacity: .45; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 45%); mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 45%); } .vce-hero__inner--con-foto .vce-hero__copy { grid-column: span 12; } }

.vce-hero { position: relative; overflow: hidden; background: var(--vce-yale); color: var(--vce-hueso); min-height: min(92vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 6.5rem; }
.vce-hero__ruta { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.vce-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; align-items: end; padding-top: 2rem; padding-bottom: 3.5rem; }
.vce-hero__copy { grid-column: span 8; display: flex; flex-direction: column; gap: 1.6rem; }
.vce-hero__title { font-family: var(--vce-font-display); font-weight: 600; letter-spacing: -.03em; font-size: clamp(3rem, 1.5rem + 6vw, 7rem); line-height: .94; margin: 0; color: var(--vce-hueso); max-width: 12ch; text-wrap: balance; }
.vce-hero__title .vce-script { color: #E9C48A; font-size: 1.15em; }
.vce-hero__sub { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); line-height: 1.55; color: rgba(247,247,242,.82); margin: 0; max-width: 40rem; font-weight: 300; }
.vce-hero__actions { display: flex; flex-wrap: wrap; gap: .875rem; align-items: center; }
.vce-hero__cert { grid-column: 10 / span 3; display: flex; flex-direction: column; gap: .75rem; background: rgba(247,247,242,.08); border: 1px solid rgba(247,247,242,.22); border-radius: 20px; padding: 1.4rem; backdrop-filter: blur(10px); }
.vce-hero__cert-name { font-family: var(--vce-font-display); font-size: 1.375rem; font-weight: 600; line-height: 1.1; }
.vce-hero__cert-line { font-size: .8125rem; color: rgba(247,247,242,.75); }
.vce-hero__cert-rnt { display: flex; align-items: center; gap: .625rem; font-size: .8125rem; }
/* Cristal de próximas salidas (v0.9.1): mismo cristal, 3 filas visibles, rota si hay más */
.vce-hsal { gap: .9rem; padding: 1.1rem 1.15rem 1rem; }
.vce-hsal__head { display: flex; align-items: center; justify-content: space-between; }
.vce-hsal__pulse { width: 8px; height: 8px; border-radius: 50%; background: #E9C48A; box-shadow: 0 0 0 0 rgba(233,196,138,.6); animation: vce-hsal-pulse 2.4s ease-out infinite; }
@keyframes vce-hsal-pulse { 0% { box-shadow: 0 0 0 0 rgba(233,196,138,.55); } 70% { box-shadow: 0 0 0 9px rgba(233,196,138,0); } 100% { box-shadow: 0 0 0 0 rgba(233,196,138,0); } }
.vce-hsal__viewport { overflow: hidden; }
.vce-hsal__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; will-change: transform; }
.vce-hsal__list.is-shift { transition: transform .55s cubic-bezier(.23,1,.32,1); }
.vce-hsal__item { border-top: 1px solid rgba(247,247,242,.14); }
.vce-hsal__item:first-child { border-top: 0; }
.vce-hsal__link { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; padding: .6rem 0; color: var(--vce-hueso); text-decoration: none; min-height: 3.6rem; }
.vce-hsal__date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem; border-radius: 12px; background: rgba(247,247,242,.1); border: 1px solid rgba(247,247,242,.18); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1; color: rgba(247,247,242,.8); }
.vce-hsal__date b { font-family: var(--vce-font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: 0; color: var(--vce-hueso); margin-bottom: .2rem; }
.vce-hsal__body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.vce-hsal__title { font-family: var(--vce-font-display); font-weight: 600; font-size: .9375rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vce-hsal__meta { font-size: .75rem; color: #E9C48A; letter-spacing: .02em; }
.vce-hsal__arrow { color: rgba(247,247,242,.55); transition: transform var(--vce-transition-base), color var(--vce-transition-base); }
@media (hover: hover) and (pointer: fine) { .vce-hsal__link:hover .vce-hsal__arrow { transform: translateX(4px); color: #E9C48A; } .vce-hsal__link:hover .vce-hsal__title { color: #E9C48A; } }
.vce-hsal__all { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(247,247,242,.75); text-decoration: none; border-top: 1px solid rgba(247,247,242,.14); padding-top: .8rem; }
@media (hover: hover) and (pointer: fine) { .vce-hsal__all:hover { color: var(--vce-hueso); } }
@media (prefers-reduced-motion: reduce) { .vce-hsal__pulse { animation: none; } .vce-hsal__list.is-shift { transition: none; } }
.vce-hero__progress { position: relative; z-index: 2; display: flex; align-items: center; gap: 1.1rem; padding-bottom: 1.5rem; font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(247,247,242,.72); }
.vce-progress { flex: 1; height: 3px; background: rgba(247,247,242,.18); border-radius: 3px; overflow: hidden; }
.vce-progress__bar { height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--vce-bronce); transition: transform .2s linear; will-change: transform; }

/* ---------- Marquesina ---------- */
.vce-marquee { border-bottom: 1px solid var(--vce-color-border); padding: 1.1rem 0; overflow: hidden; background: var(--vce-blanco); }
.vce-marquee__track { display: flex; width: max-content; gap: 3rem; align-items: center; animation: vce-marquee 26s linear infinite; will-change: transform; }
.vce-marquee:hover .vce-marquee__track { animation-play-state: paused; }
.vce-marquee__item { font-family: var(--vce-font-display); font-size: 1.25rem; font-weight: 500; color: var(--vce-yale); white-space: nowrap; }
.vce-marquee__sep { width: 28px; height: 1px; background: var(--vce-bronce); flex: none; opacity: .7; }

/* ---------- Capítulos: ritmo común ---------- */
.vce-cap { position: relative; }

/* ---------- 02 · LO DE SIEMPRE ---------- */
.vce-cap2 { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem); }
.vce-cap2__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem 2rem; align-items: start; }
.vce-cap2__intro { grid-column: span 12; max-width: 40rem; }
.vce-cap2__intro .vce-h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); }
.vce-cap2__list { grid-column: span 12; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.vce-step { border-top: 1px solid rgba(0,48,117,.14); padding-top: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.vce-step__num { font-family: var(--vce-font-display); font-size: 1.5rem; font-weight: 300; line-height: 1; color: var(--vce-bronce); }
.vce-step__title { font-family: var(--vce-font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; color: var(--vce-yale); margin: 0; }
.vce-step__text { margin: 0; font-size: .9rem; line-height: 1.55; color: #4A4F55; }

/* ---------- 03 · CÓMO LO HACEMOS ---------- */


/* ---------- Buscador bajo el hero ---------- */

/* ---------- 04 · ELIGE CÓMO VIAJAR ---------- */
.vce-cap4 { padding: clamp(4rem, 8vw, 8rem) 0 0; }
.vce-cap4__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.vce-buscador { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: .5rem; background: var(--vce-blanco); border-radius: var(--vce-radius-pill); padding: .5rem; box-shadow: 0 16px 40px rgba(0,48,117,.10); align-items: center; min-width: min(100%, 560px); }
.vce-buscador__field { padding: .5rem 1.4rem; display: flex; flex-direction: column; gap: .15rem; }
.vce-buscador__field--sep { border-left: 1px solid rgba(0,48,117,.10); }
.vce-buscador input, .vce-buscador select { border: 0; background: transparent; font: inherit; font-size: .95rem; color: var(--vce-gris-oscuro); padding: 0; min-height: 28px; width: 100%; }
.vce-buscador input::placeholder { color: var(--vce-gris-medio); }
.vce-buscador input:focus-visible, .vce-buscador select:focus-visible { outline: 2px solid var(--vce-picton); outline-offset: 2px; border-radius: 4px; }
.vce-buscador .vce-btn { min-height: 50px; }
.vce-cats { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.25rem; }
.vce-cat { display: flex; flex-direction: column; gap: .875rem; text-decoration: none; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
@media (hover: hover) and (pointer: fine) { .vce-cat:hover { transform: translateY(-6px); } }
.vce-cat--1 { grid-column: span 5; } .vce-cat--2 { grid-column: span 4; } .vce-cat--3 { grid-column: span 3; }
.vce-cat--4 { grid-column: span 4; } .vce-cat--5 { grid-column: span 8; }
.vce-cat__media { display: block; height: 380px; border-radius: 28px; background: linear-gradient(160deg, var(--vce-columbia) 0%, #8FB3C6 100%) center/cover no-repeat; position: relative; overflow: hidden; transition: box-shadow .3s; }
.vce-cat--4 .vce-cat__media, .vce-cat--5 .vce-cat__media { height: 300px; }
.vce-cat--2 .vce-cat__media, .vce-cat--4 .vce-cat__media { background-image: linear-gradient(160deg, var(--vce-yale) 0%, var(--vce-indigo) 100%); }
.vce-cat--5.vce-cat--sin-foto .vce-cat__media { background-image: linear-gradient(120deg, var(--vce-columbia), var(--vce-hueso) 60%, #E9D9B8); }
/* v0.11.0: velo Yale tenue (eco del header) que se aclara al hover; ::after es el degradado del pie */
.vce-cat__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, rgba(0,48,117,.34) 0%, rgba(0,48,117,.18) 55%, rgba(0,48,117,.26) 100%); mix-blend-mode: multiply; opacity: 1; transition: opacity .45s ease; }
.vce-cat__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,24,58,0) 55%, rgba(0,24,58,.5)); opacity: 0; transition: opacity .3s; }
.vce-cat:hover .vce-cat__media::before, .vce-cat:focus-visible .vce-cat__media::before { opacity: 0; }
.vce-cat:hover .vce-cat__media { box-shadow: 0 24px 48px rgba(0,48,117,.16); }
.vce-cat:hover .vce-cat__media::after { opacity: 1; }
.vce-cat__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.vce-cat__name { font-family: var(--vce-font-display); font-size: 1.625rem; font-weight: 600; letter-spacing: -.02em; color: var(--vce-yale); }
.vce-cat__name .vce-script { font-size: 1.35em; }
.vce-cat__go { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--vce-bronce-tinta); font-weight: 600; white-space: nowrap; }

/* Próximas salidas */
.vce-salidas { margin: 3rem 2rem 0; border-radius: 40px; background: var(--vce-yale); color: #EEF3F7; padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 4vw, 4rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; position: relative; overflow: hidden; }
.vce-salidas__intro { grid-column: span 4; display: flex; flex-direction: column; gap: 1.1rem; position: relative; align-items: flex-start; }
.vce-salidas__sub { font-size: 1rem; line-height: 1.65; color: var(--vce-columbia); margin: 0; font-weight: 300; }
.vce-salidas__list { grid-column: span 8; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .875rem; position: relative; }
.vce-salida { display: grid; grid-template-columns: 110px 1fr auto; gap: 1.5rem; align-items: center; padding: 1.5rem 1.75rem; border-radius: 20px; background: rgba(247,247,242,.07); border: 1px solid rgba(189,210,219,.2); backdrop-filter: blur(6px); transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s; }
.vce-salida:hover { transform: translateY(-4px); background: rgba(247,247,242,.11); }
.vce-salida__date { display: flex; flex-direction: column; }
.vce-salida__day { font-family: var(--vce-font-display); font-size: 2.5rem; font-weight: 600; line-height: 1; }
.vce-salida__month { font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: #E9C48A; font-weight: 600; }
.vce-salida__title { font-family: var(--vce-font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; margin: 0; }
.vce-salida__title a { color: inherit; text-decoration: none; }
.vce-salida__sub { margin: .25rem 0 0; font-size: .875rem; color: var(--vce-columbia); }

/* ---------- LA ASESORA + VISAYORKINA ---------- */

/* ---------- TESTIMONIOS ---------- */
.vce-tst { padding: 2rem 0 clamp(3rem, 6vw, 6rem); }
.vce-tst__head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 2.5rem; }
/* Testimonios: la primera cita manda (7 columnas, cita grande); las otras dos se apilan a la derecha. */
.vce-tst__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem; }
.vce-tst__card:first-child { grid-column: span 7; grid-row: span 2; justify-content: center; }
.vce-tst__card:first-child blockquote { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.vce-tst__card:not(:first-child) { grid-column: span 5; padding: 1.75rem; }
.vce-tst__card:not(:first-child) blockquote { font-size: 1.05rem; }
.vce-tst__card { margin: 0; background: var(--vce-blanco); border-radius: 24px; padding: 2.25rem; display: flex; flex-direction: column; gap: 1.25rem; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
@media (hover: hover) and (pointer: fine) { .vce-tst__card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0,48,117,.16); } }
.vce-tst__quote { font-size: 3rem; line-height: .6; }
.vce-tst__card blockquote { margin: 0; font-family: var(--vce-font-display); font-size: 1.25rem; line-height: 1.4; font-weight: 500; color: var(--vce-gris-oscuro); }
.vce-tst__card figcaption { display: flex; align-items: center; gap: .75rem; }
.vce-tst__card figcaption span:last-child { display: flex; flex-direction: column; }
.vce-tst__card figcaption strong { font-size: .8125rem; color: var(--vce-yale); }
.vce-tst__card figcaption small { font-size: .75rem; color: #6B7075; }
.vce-tst__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--vce-columbia); color: var(--vce-yale); display: inline-flex; align-items: center; justify-content: center; font-family: var(--vce-font-display); font-weight: 600; flex: none; }

/* ---------- 05 · CTA ---------- */
.vce-cta { padding: 0 2rem 2.5rem; }
.vce-cta__box { max-width: var(--vce-container-wide); margin: 0 auto; border-radius: 40px; background: var(--vce-yale); padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.4rem; position: relative; overflow: hidden; }
.vce-cta__box > :not(.vce-aurora):not(.vce-grain) { position: relative; z-index: 1; }
.vce-cta__title { font-family: var(--vce-font-display); font-weight: 600; letter-spacing: -.03em; font-size: clamp(2.5rem, 1.5rem + 3.5vw, 4.5rem); line-height: .96; color: var(--vce-hueso); margin: 0; max-width: 16ch; text-wrap: balance; }
.vce-cta__sub { font-size: 1.0625rem; line-height: 1.6; color: rgba(247,247,242,.8); margin: 0; max-width: 35rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .vce-hero__copy { grid-column: span 12; }
    .vce-hero__cert { grid-column: span 6; }
    .vce-cap2__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vce-cat--1, .vce-cat--2 { grid-column: span 6; }
    .vce-cat--3, .vce-cat--4 { grid-column: span 6; }
    .vce-cat--5 { grid-column: span 12; }
    /* v0.17.1: con 12 columnas y gap de 2rem los 11 huecos (352px) superaban el ancho del cristal en teléfonos y el texto quedaba recortado; en tableta/móvil el cristal es una sola columna. */
    .vce-salidas { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .vce-salidas__intro, .vce-salidas__list { grid-column: 1; }
    .vce-tst__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .vce-hero { padding-top: 5.5rem; min-height: 0; }
    .vce-hero__inner { gap: 1.5rem; padding-bottom: 2rem; }
    .vce-hero__title { max-width: none; }
    .vce-hero__cert { grid-column: span 12; }
    .vce-hero__actions .vce-btn { width: 100%; }
    .vce-cap2__list { grid-template-columns: 1fr; gap: 1.5rem; }
    .vce-cta { padding-left: .75rem; padding-right: .75rem; }
    .vce-buscador { grid-template-columns: 1fr; border-radius: 22px; }
    .vce-buscador__field--sep { border-left: 0; border-top: 1px solid rgba(0,48,117,.10); }
    .vce-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
    .vce-cat--1, .vce-cat--2, .vce-cat--3, .vce-cat--4 { grid-column: span 1; }
    .vce-cat--5 { grid-column: span 2; }
    .vce-cat__media, .vce-cat--4 .vce-cat__media { height: 190px; border-radius: 18px; }
    .vce-cat--5 .vce-cat__media { height: 150px; }
    .vce-cat__name { font-size: 1.125rem; }
    .vce-cat__go { display: none; }
    .vce-salidas { margin: 1.5rem .75rem 0; }
    .vce-salidas__intro, .vce-salidas__list, .vce-salidas .vce-h2 { max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
    .vce-h2 { font-size: clamp(1.85rem, 1rem + 4.2vw, 2.4rem); }
    .vce-salida { grid-template-columns: 56px 1fr; padding: 1rem; }
    .vce-salida .vce-btn { grid-column: span 2; width: 100%; }
    .vce-salida__day { font-size: 1.875rem; }
    .vce-tst__grid { grid-template-columns: 1fr; }
    .vce-tst__card:first-child, .vce-tst__card:not(:first-child) { grid-column: span 1; grid-row: auto; }
    .vce-cta .vce-btn { width: 100%; }
}

/* ---------- Movimiento reducido: todo en su estado final ---------- */
@media (prefers-reduced-motion: reduce) {
    .vce-aurora, .vce-dot::after, .vce-marquee__track { animation: none !important; }
    .vce-motion [data-reveal] { opacity: 1; transform: none; transition: none; }
    .vce-motion .vce-char { opacity: 1; transform: none; animation: none; }
    .vce-motion [data-draw] { transition: none; stroke-dashoffset: 0 !important; }
}

/* ============================================================
   Modo gsap (v0.8.0, body.vce-motion-gsap): scroll suave con ScrollSmoother,
   capítulo 03 fijado con pasos que se suceden, parallax en categorías y foto.
   Sin JS o en modo classic nada de esto aplica: el layout es el de siempre.
   ============================================================ */
.vce-cat__frame { display: block; border-radius: 28px; overflow: hidden; }
.vce-motion-gsap .vce-cat__media { will-change: transform; }
.vce-motion-gsap .vce-cat:hover .vce-cat__media { box-shadow: none; }
.vce-motion-gsap .vce-cat:hover .vce-cat__frame { box-shadow: 0 24px 48px rgba(0,48,117,.16); }
.vce-motion-gsap .vce-cat__frame { transition: box-shadow .3s; }
/* ---------- 03 · Cómo lo hacemos, versión corta "ruta de vuelo" (v0.11.0) ----------
   Tres paradas sobre una línea punteada; el avión avanza con el scroll (GSAP) o queda
   al final (classic / reduced-motion). Visayorkina cierra la sección como tercera parada. */
.vce-cap3 { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); background: var(--vce-blanco); }
.vce-ruta { display: flex; flex-direction: column; gap: clamp(2rem, 4vw, 3rem); }
.vce-ruta__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; align-items: end; }
.vce-ruta__head > div { grid-column: span 7; }
.vce-ruta__sub { grid-column: 9 / span 4; margin: 0; font-size: 1rem; line-height: 1.65; color: #4A4F55; }
.vce-ruta__pasos { position: relative; list-style: none; margin: 0; padding: 2.75rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; counter-reset: none; }
.vce-ruta__track { position: absolute; left: 0; right: 0; top: 0; height: 28px; pointer-events: none; }
.vce-ruta__line { position: absolute; left: 0; right: 0; top: 50%; height: 0; border-top: 2px dashed rgba(0,48,117,.25); }
.vce-ruta__line--on { right: auto; width: 100%; border-top-style: solid; border-color: var(--vce-bronce); transform-origin: left center; transform: scaleX(1); }
.vce-ruta__plane { position: absolute; top: 0; left: 100%; color: var(--vce-bronce); transform: translateX(-100%); background: var(--vce-blanco); }
.vce-ruta__paso { position: relative; display: flex; flex-direction: column; gap: .6rem; padding-top: .25rem; }
.vce-ruta__paso::before { content: ""; position: absolute; left: 0; top: calc(-2.75rem + 8px); width: 12px; height: 12px; border-radius: 50%; background: var(--vce-bronce); box-shadow: 0 0 0 5px var(--vce-blanco); }
.vce-ruta__num { font-family: var(--vce-font-display); font-size: 2.4rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--vce-columbia); }
.vce-ruta__t { margin: 0; font-family: var(--vce-font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; color: var(--vce-yale); }
.vce-ruta__p { margin: 0; font-size: .95rem; line-height: 1.6; color: #4A4F55; max-width: 24rem; }
.vce-ruta__paso .vce-link-bronce { margin-top: .25rem; }
.vce-visa { border: 1px solid rgba(193,133,54,.5); border-radius: 20px; padding: 1.2rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; background: var(--vce-hueso); flex-wrap: wrap; }
.vce-visa > div { display: flex; flex-direction: column; gap: .25rem; }
.vce-visa__title { font-family: var(--vce-font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; color: var(--vce-yale); }
.vce-motion-gsap .vce-ruta__line--on { transform: scaleX(0); }
.vce-motion-gsap .vce-ruta__plane { left: 0; transform: translateX(0); }
@media (max-width: 900px) {
    .vce-ruta__head > div, .vce-ruta__sub { grid-column: span 12; }
    .vce-ruta__pasos { grid-template-columns: 1fr; gap: 1.75rem; padding: 0 0 0 2.25rem; }
    .vce-ruta__track { left: 13px; right: auto; top: 0; bottom: 0; height: auto; width: 2px; }
    .vce-ruta__line { left: 50%; right: auto; top: 0; bottom: 0; height: auto; width: 0; border-top: 0; border-left: 2px dashed rgba(0,48,117,.25); }
    .vce-ruta__line--on { width: 0; height: 100%; border-left-style: solid; border-left-color: var(--vce-bronce); transform-origin: center top; transform: scaleY(1); }
    .vce-ruta__plane { left: 50%; top: 100%; transform: translate(-50%, -100%) rotate(90deg); }
    .vce-motion-gsap .vce-ruta__line--on { transform: scaleY(0); }
    .vce-motion-gsap .vce-ruta__plane { top: 0; transform: translate(-50%, 0) rotate(90deg); }
    .vce-ruta__paso::before { left: calc(-2.25rem + 8px); top: .5rem; }
    .vce-visa { flex-direction: column; align-items: flex-start; }
}

/* ---------- 404 (v0.10.0) ---------- */
.vce-404 { position: relative; overflow: hidden; background: var(--vce-yale); color: var(--vce-hueso); min-height: 80vh; display: flex; align-items: center; padding: 8rem 2rem 5rem; }
.vce-404__inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 1.4rem; max-width: 46rem; }
.vce-404__title { font-family: var(--vce-font-display); font-weight: 600; letter-spacing: -.03em; font-size: clamp(2.6rem, 1.5rem + 4vw, 5rem); line-height: .96; margin: 0; text-wrap: balance; }
.vce-404__sub { margin: 0; font-size: 1.125rem; line-height: 1.6; color: rgba(247,247,242,.85); max-width: 36rem; }
.vce-404__form { display: flex; gap: .6rem; max-width: 34rem; }
.vce-404__form input { flex: 1; min-height: 54px; padding: 0 1.2rem; border-radius: 999px; border: 1px solid rgba(247,247,242,.3); background: rgba(247,247,242,.1); color: var(--vce-hueso); font: inherit; }
.vce-404__form input::placeholder { color: rgba(247,247,242,.72); }
.vce-404__form input:focus-visible { outline: 3px solid var(--vce-picton); outline-offset: 2px; }
.vce-404__acts { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 640px) { .vce-404 { padding: 6rem 1rem 3rem; } .vce-404__form { flex-direction: column; } .vce-404__acts .vce-btn { width: 100%; } }

/* ---------- Pausa del hero (v0.10.0, WCAG 2.2.2): detiene video y carrusel ---------- */
.vce-hero__pause { position: absolute; right: 1.25rem; bottom: 1.25rem; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(247,247,242,.35); background: rgba(0,48,117,.45); color: var(--vce-hueso); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s ease, transform .16s cubic-bezier(.23,1,.32,1); }
.vce-hero__pause:active { transform: scale(.94); }
.vce-hero__pause:focus-visible { outline: 3px solid var(--vce-picton); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .vce-hero__pause:hover { background: rgba(0,48,117,.75); } }
.vce-hero__pause svg { width: 18px; height: 18px; }
.vce-hero__pause .vce-hero__pause-play { display: none; }
.vce-hero__pause[aria-pressed="true"] .vce-hero__pause-play { display: block; }
.vce-hero__pause[aria-pressed="true"] .vce-hero__pause-stop { display: none; }
@media (max-width: 640px) { .vce-hero__pause { right: .75rem; bottom: .75rem; } }
