/* VIAJACONTUHIJO DEFINITIVE 3.0 — loaded after every historical layer. */
body.vcth-definitive{
  --vcth-ink:#071b33;--vcth-navy:#082d59;--vcth-blue:#075aa8;--vcth-sky:#159fe3;
  --vcth-orange:#fa881f;--vcth-mist:#f2f7fc;--vcth-line:rgba(7,27,51,.14);
  --vcth-gradient:linear-gradient(118deg,#082d59 0%,#075aa8 54%,#159fe3 100%);
  --vcth-gradient-soft:linear-gradient(118deg,#dceaf8 0%,#eef7fd 100%);
  --vcth-shadow:0 22px 58px rgba(7,45,89,.13);color:var(--vcth-ink)
}
body.vcth-definitive :where(a,button,input,select,textarea):focus-visible{outline:3px solid var(--vcth-orange)!important;outline-offset:3px}
body.vcth-definitive .vmon-kicker,body.vcth-definitive .cth-closing-kicker{color:var(--vcth-orange)!important}
body.vcth-definitive :where(.vmon-button,.vmon-cta,.vctf-footer__primary,.cth-closing-cta__primary){background:var(--vcth-orange)!important;color:#fff!important}

/* One blue language everywhere the product uses coloured cells or headings. */
body.vcth-definitive :where(.vctf-hub-card__visual,.vcth-review-story__number,.cth-recommender__head,.vctf-footer,.cth-closing-cta__surface){background:var(--vcth-gradient)!important}
body.vcth-definitive.vmon-marga-page :where(#precioIncluye,#precios,#itinerario,#alojamiento,.md-template) table thead tr>*,
body.vcth-definitive.vmon-marga-page :where(#precioIncluye,#precios,#itinerario,#alojamiento) :where(.card-header,.panel-heading,[class*="heading"],[class*="title-bar"]),
body.vcth-definitive.vmon-marga-page :where(.nav-tabs,.md-tabs) :where(.active,[aria-selected="true"]){background:var(--vcth-gradient)!important;color:#fff!important}
body.vcth-definitive .vctf-hub-card:nth-child(n) .vctf-hub-card__visual{background:var(--vcth-gradient)!important}

/* Shared Marga search geometry: Home, Fechas, Destinos, Edades and results. */
body.vcth-definitive .vmon-marga--search{box-sizing:border-box!important;width:100%!important;padding:clamp(18px,2.5vw,32px)!important;border:1px solid var(--vcth-line)!important;border-radius:24px!important;background:#fff!important;box-shadow:var(--vcth-shadow)!important;overflow:visible!important}
body.vcth-definitive .vmon-marga--search :where(form,form.md-template){box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:0!important}
body.vcth-definitive .vmon-marga--search form.md-template>.d-flex:first-of-type{display:grid!important;grid-template-columns:minmax(0,1fr) 62px!important;gap:0!important;margin:0 0 16px!important}
body.vcth-definitive .vmon-marga--search form.md-template>.d-flex:first-of-type :where(input,.md-search-field){box-sizing:border-box!important;width:100%!important;height:56px!important;min-height:56px!important;border:1px solid #c9d7e6!important;border-right:0!important;border-radius:14px 0 0 14px!important;padding:0 16px!important}
body.vcth-definitive .vmon-marga--search form.md-template>.d-flex:first-of-type :where(button,.md-search-submit){box-sizing:border-box!important;display:grid!important;width:62px!important;min-width:62px!important;height:56px!important;min-height:56px!important;place-items:center!important;margin:0!important;border:0!important;border-radius:0 14px 14px 0!important;background:var(--vcth-gradient)!important;color:#fff!important}
body.vcth-definitive .vmon-marga--search form.md-template>.d-flex:not(:first-of-type){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(148px,.72fr)!important;gap:12px!important;align-items:end!important;width:100%!important;margin:0!important}
body.vcth-definitive .vmon-marga--search form.md-template>.d-flex:not(:first-of-type)>*{box-sizing:border-box!important;min-width:0!important;width:100%!important;margin:0!important}
body.vcth-definitive .vmon-marga--search :where(.md-filter,.form-group,[class*="select"]){min-width:0!important}
body.vcth-definitive .vmon-marga--search :where(select,.multiselect,.multiselect__tags,.form-control){box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-height:56px!important;height:auto!important;border-color:#c9d7e6!important;border-radius:14px!important;overflow:hidden!important}
body.vcth-definitive .vmon-marga--search :where(.multiselect__single,.multiselect__placeholder,.multiselect__tags-wrap){display:block!important;max-width:100%!important;margin:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;line-height:30px!important}
body.vcth-definitive .vmon-marga--search form.md-template>.d-flex:not(:first-of-type) :where(button,[type="submit"]){box-sizing:border-box!important;width:100%!important;min-height:56px!important;margin:0!important;border:0!important;border-radius:14px!important;background:var(--vcth-gradient)!important;color:#fff!important;font-weight:900!important}

/* VCTH Match: three useful decisions and transparent recommendation reasons. */
body.vcth-definitive .cth-recommender{background:var(--vcth-gradient)!important}
body.vcth-definitive .cth-recommender__head{background:transparent!important}
body.vcth-definitive .vcth-mega__panel{background:linear-gradient(145deg,#06172c,#075aa8)!important;box-shadow:0 28px 70px rgba(7,27,51,.34)!important}
body.vcth-definitive .vcth-mega-card{background:#0b3b6e!important}body.vcth-definitive .vcth-mega-card:hover,body.vcth-definitive .vcth-mega-card:focus-visible{background:#075aa8!important}body.vcth-definitive .vcth-mega__intro p,body.vcth-definitive .vcth-mega-card span{color:#bed8ef!important}
.cth-recommender-card__why{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.cth-recommender-card__why small{flex:0 0 100%;color:var(--vcth-blue);font-size:.62rem;font-weight:950;letter-spacing:.12em}.cth-recommender-card__why span{display:inline-flex;padding:7px 10px;border-radius:999px;background:#e9f4fc;color:#073c70;font-size:.7rem;font-weight:800}.cth-recommender__answer>span{display:block;max-width:620px;margin-top:8px;color:rgba(255,255,255,.72);line-height:1.5}

/* Editable image heroes. Blue overlay keeps every title readable. */
body.vcth-definitive :where(.vctf-brand-hero,.vctf-hub-hero).has-vcth-hero-image{position:relative;isolation:isolate;background-image:linear-gradient(100deg,rgba(7,27,51,.94) 0%,rgba(7,45,89,.78) 48%,rgba(21,159,227,.30) 100%),var(--vcth-page-hero)!important;background-position:center!important;background-size:cover!important;color:#fff!important}
body.vcth-definitive :where(.vctf-brand-hero,.vctf-hub-hero).has-vcth-hero-image :where(h1,p){color:#fff!important;text-shadow:0 2px 18px rgba(0,0,0,.18)}
body.vcth-definitive :where(.vctf-brand-hero,.vctf-hub-hero):not(.has-vcth-hero-image){background:var(--vcth-gradient)!important;color:#fff!important}
body.vcth-definitive :where(.vctf-brand-hero,.vctf-hub-hero):not(.has-vcth-hero-image) :where(h1,p){color:#fff!important}

/* Reviews and footer: proof is prominent once, compact afterwards. */
body.vcth-definitive .vcth-review-story{background:#071b33!important}.vcth-review-story__number{background:var(--vcth-gradient)!important}.vcth-review-story__copy small{color:#a9c9e6!important}
body.vcth-definitive .vcth-review-story__copy p{color:#dcecf8!important}
body.vcth-definitive .vctf-hero .vmon-hero__overlay{background:linear-gradient(90deg,rgba(7,27,51,.96) 0%,rgba(7,45,89,.78) 48%,rgba(21,159,227,.14) 86%)!important}
body.vcth-definitive .vctf-footer{background:linear-gradient(145deg,#06172c 0%,#082d59 58%,#075aa8 130%)!important}
body.vcth-definitive .vctf-footer__lead-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.55fr);gap:clamp(36px,7vw,110px);align-items:end}
body.vcth-definitive .vctf-footer__lead h2{max-width:900px;text-wrap:balance}
body.vcth-definitive .vctf-footer__routes{display:grid;grid-template-columns:repeat(3,1fr);margin-top:48px;border:1px solid rgba(255,255,255,.18);border-radius:20px;overflow:hidden}
body.vcth-definitive .vctf-footer__routes a{position:relative;min-height:112px;padding:24px!important;border:0!important;border-right:1px solid rgba(255,255,255,.18)!important;background:rgba(255,255,255,.04);transition:background .2s ease,transform .2s ease}
body.vcth-definitive .vctf-footer__routes a:last-child{border-right:0!important}body.vcth-definitive .vctf-footer__routes a:hover{background:rgba(21,159,227,.22)!important;transform:translateY(-2px)}
body.vcth-definitive .vcth-footer-assurance{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.18)}body.vcth-definitive .vcth-footer-assurance__catai,body.vcth-definitive .vcth-footer-assurance__trust{background:rgba(4,22,43,.78)!important}body.vcth-definitive .vcth-footer-assurance__catai:hover{background:rgba(7,90,168,.56)!important}

/* Keep only one compact authority ending on Home. */
body.vcth-definitive.home .vmon-authority-faq__grid{grid-template-columns:minmax(260px,.42fr) minmax(0,1fr)!important}body.vcth-definitive.home .vmon-faq-panel{min-height:100%}

@media(max-width:900px){body.vcth-definitive .vmon-marga--search form.md-template>.d-flex:not(:first-of-type){grid-template-columns:1fr 1fr!important}body.vcth-definitive .vctf-footer__lead-grid{grid-template-columns:1fr}body.vcth-definitive.home .vmon-authority-faq__grid{grid-template-columns:1fr!important}}
@media(max-width:620px){body.vcth-definitive .vmon-marga--search{padding:14px!important;border-radius:18px!important}body.vcth-definitive .vmon-marga--search form.md-template>.d-flex:not(:first-of-type){grid-template-columns:1fr!important}body.vcth-definitive .vmon-marga--search form.md-template>.d-flex:first-of-type{grid-template-columns:minmax(0,1fr) 56px!important}body.vcth-definitive .vctf-footer__routes{grid-template-columns:1fr}body.vcth-definitive .vctf-footer__routes a{min-height:92px;border-right:0!important;border-bottom:1px solid rgba(255,255,255,.18)!important}body.vcth-definitive .vctf-footer__routes a:last-child{border-bottom:0!important}.cth-recommender-card__why span{font-size:.66rem}}
@media(prefers-reduced-motion:reduce){body.vcth-definitive *,body.vcth-definitive *::before,body.vcth-definitive *::after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
