/* ===========================================================
   VCTF 5.0 · SEO / GEO / UX
   Capa aditiva. No redefine geometria de Marga ni del buscador.
   =========================================================== */

:root{
  --vctf50-header-h:84px;
  --vctf50-ring:var(--brand,#0B74D1);
  --vctf50-line:rgba(7,27,51,.12);
  --vctf50-muted:rgba(7,27,51,.66);
}

/* -----------------------------------------------------------
   1 · Anclas bajo cabecera fija
   Las pestañas de ficha (#itinerario, #imagenes, #alojamiento,
   #precioIncluye) saltaban por debajo del header sticky.
   ----------------------------------------------------------- */
html{scroll-padding-top:calc(var(--vctf50-header-h) + 16px)}
:target{scroll-margin-top:calc(var(--vctf50-header-h) + 16px)}
body.vmon-marga-page :where(#itinerario,#imagenes,#alojamiento,#precioIncluye,#buscador,#contacto){
  scroll-margin-top:calc(var(--vctf50-header-h) + 16px);
}

/* -----------------------------------------------------------
   2 · Accesibilidad
   ----------------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}
:where(a,button,summary,input,select,textarea,[tabindex]):focus-visible{
  outline:3px solid var(--vctf50-ring);
  outline-offset:2px;
  border-radius:6px;
}
.vmon-header :where(a,button):focus-visible,
.vmon-footer :where(a,button):focus-visible{outline-color:#fff}
/* El antetitulo de marca sobre fondo claro, a 0.76rem, quedaba justo en el
   limite de contraste AA. Se oscurece solo sobre superficies claras conocidas;
   los bloques oscuros conservan su color original. */
:where(.vmon-section--white,.vmon-section--paper,.vctf-hub-hero,.vmon380-hub-hero,.vmon381-search-hero,.vmon380-compact-hero,.vmon-section-head) .vmon-kicker,
.cth-vctf-geo__kicker{color:color-mix(in srgb,var(--brand,#0B74D1) 76%,#0a1b2e)}

/* -----------------------------------------------------------
   3 · Migas de pan
   ----------------------------------------------------------- */
.cth-vctf50-crumbs{padding:14px 0 0;font-size:.82rem}
.cth-vctf50-crumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0;padding:0;list-style:none}
.cth-vctf50-crumbs li{display:flex;align-items:center;gap:10px;color:var(--vctf50-muted);min-width:0}
.cth-vctf50-crumbs li+li::before{content:"›";opacity:.5;font-weight:700}
.cth-vctf50-crumbs a{color:inherit;text-decoration:none;border-bottom:1px solid transparent}
.cth-vctf50-crumbs a:hover{color:var(--brand,#0B74D1);border-bottom-color:currentColor}
.cth-vctf50-crumbs [aria-current="page"]{color:var(--brand-deep,#071B33);font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:min(60vw,520px)}
body.vmon-marga-page .cth-vctf50-crumbs{padding-bottom:6px}
@media (max-width:640px){
  .cth-vctf50-crumbs{font-size:.76rem;padding-top:10px}
  .cth-vctf50-crumbs li:not(:last-child):not(:first-child){display:none}
  .cth-vctf50-crumbs li:first-child+li::before{content:"›"}
}

/* -----------------------------------------------------------
   4 · Bloque GEO de respuestas citables
   ----------------------------------------------------------- */
.cth-vctf50-answer{padding:clamp(48px,6vw,84px) 0;background:var(--brand-deep,#071B33);color:#fff}
.cth-vctf50-answer__head{max-width:760px;margin:0 0 clamp(28px,4vw,44px)}
.cth-vctf50-answer__head .vmon-kicker{color:var(--brand-start,#13A9E3)}
.cth-vctf50-answer__head h2{margin:.15em 0 .5em;font-size:clamp(1.9rem,3.4vw,3rem);line-height:1.02;letter-spacing:-.035em}
.cth-vctf50-answer__head p{margin:0;color:rgba(255,255,255,.72);font-size:1.02rem;line-height:1.6}
.cth-vctf50-answer__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:clamp(18px,2.4vw,28px);margin:0}
.cth-vctf50-answer__item{padding:22px 24px;border:1px solid rgba(255,255,255,.16);border-radius:16px;background:rgba(255,255,255,.045)}
.cth-vctf50-answer__item dt{margin:0 0 8px;font-size:.74rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase;color:var(--brand-start,#13A9E3)}
.cth-vctf50-answer__item dd{margin:0;font-size:1rem;line-height:1.6;color:rgba(255,255,255,.92)}
.cth-vctf50-answer__foot{margin:clamp(26px,3.4vw,40px) 0 0;padding-top:20px;border-top:1px solid rgba(255,255,255,.16);font-size:.86rem;color:rgba(255,255,255,.66)}
.cth-vctf50-answer__foot a{color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.4)}
.cth-vctf50-answer__foot a:hover{border-bottom-color:#fff}

/* Si el bloque cae justo antes del footer oscuro, se separa con un filo. */
.cth-vctf50-answer+.vmon-footer,
.cth-vctf50-answer+.cth-vctf-trustindex+.vmon-footer{border-top:1px solid rgba(255,255,255,.12)}

/* -----------------------------------------------------------
   5 · GEO 4.5 · legibilidad
   ----------------------------------------------------------- */
.cth-vctf-geo__item strong{display:block;margin-bottom:6px;line-height:1.25}
.cth-vctf-geo__item p{margin:0;line-height:1.6}

/* -----------------------------------------------------------
   6 · Impresion / lectores de texto plano
   ----------------------------------------------------------- */
@media print{
  .cth-vctf50-crumbs,.cth-vctf-trustindex{display:none}
  .cth-vctf50-answer{background:#fff;color:#000}
  .cth-vctf50-answer__item{border-color:#999}
  .cth-vctf50-answer__item dd,.cth-vctf50-answer__head p{color:#000}
}
