
/* ==========================================================================
   VICUS TOUR
   Concepto: sitio sobrio y confiable en azul marino y oro (los colores del logotipo),
   con toques de viaje: franja escalonada tipo chakana, ruta de vuelo punteada y
   precios como "ticket". Un solo aspecto claro, elegido a propósito.
   ========================================================================== */
:root {
  --navy-950: #07142F;
  --navy-900: #0A1B3F;
  --navy-700: #243373;
  --blue-600: #0A4A7C;
  --blue-100: #E4EEF7;
  --gold-700: #8A6A17;
  --gold-500: #B8912F;
  --gold-300: #DDBF72;
  --gold-100: #F4EBD2;
  --paper: #F4F6FB;
  --card: #FFFFFF;
  --ink: #14203C;
  --ink-soft: #4B5A7A;
  --line: #DCE2EE;
  --wa: #0E8A44;
  --wa-dark: #0A6E36;
  --f-display: "Michroma", "Eurostile", "Century Gothic", system-ui, sans-serif;
  --f-serif: "Alegreya", Georgia, "Times New Roman", serif;
  --f-body: "Alegreya Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --shadow: 0 14px 34px -16px rgba(10, 27, 63, .35);
  --wrap: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; }
a { color: var(--navy-700); }
a:hover { color: var(--blue-600); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; color: var(--navy-900); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.num { font-variant-numeric: lining-nums tabular-nums; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Franja escalonada (motivo del logotipo) */
.steps-band {
  height: 14px;
  background: var(--gold-500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='14' viewBox='0 0 56 14'%3E%3Cpath d='M0 14V10h7V6h7V2h7V0h14v2h7v4h7v4h7v4z'/%3E%3C/svg%3E") repeat-x left bottom / 56px 14px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='14' viewBox='0 0 56 14'%3E%3Cpath d='M0 14V10h7V6h7V2h7V0h14v2h7v4h7v4h7v4z'/%3E%3C/svg%3E") repeat-x left bottom / 56px 14px;
}

/* Barra superior y cabecera */
.topbar { background: var(--navy-950); color: #CBD5EC; font-size: .95rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-block: 8px; }
.topbar a { color: var(--gold-300); text-decoration: none; font-weight: 700; }
.topbar a:hover { text-decoration: underline; color: var(--gold-300); }
.topbar span { display: inline-flex; align-items: center; gap: 8px; }

body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: #fff;
}
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { width: 52px; height: 52px; border-radius: 50%; display: block; flex: none; }
.brand-name { display: block; font-family: var(--f-display); font-size: 1.1rem; letter-spacing: .07em; line-height: 1.1; color: var(--navy-700); }
.brand-tag { display: block; font-family: var(--f-serif); font-size: .9rem; color: var(--ink-soft); line-height: 1.25; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a.link { padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 2px solid transparent; }
.nav a.link:hover { border-color: var(--gold-500); color: var(--ink); }
.nav a.link[aria-current="page"] { border-color: var(--gold-500); color: var(--navy-700); font-weight: 700; }
.nav .btn { margin-left: 8px; padding: 11px 18px; }
.menu-btn {
  display: none; margin-left: auto; align-items: center; gap: 8px; padding: 10px 14px;
  background: #fff; border: 2px solid var(--navy-700); color: var(--navy-700); border-radius: 12px; font: 700 1rem/1 var(--f-body); cursor: pointer;
}
@media (max-width: 920px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px));
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a.link { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 14px 0 0; }
}

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px;
  border-radius: 12px; font: 700 1.05rem/1.1 var(--f-body); text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .7); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-line { color: var(--navy-700); border-color: var(--navy-700); background: #fff; }
.btn-line:hover { background: var(--navy-700); color: #fff; }
.btn-block { width: 100%; }

/* Portada */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(820px 520px at 80% 42%, rgba(10, 74, 124, .95) 0%, rgba(10, 74, 124, 0) 70%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
}
.hero-route { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.hero .wrap { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-block: 72px 144px; }
.hero h1 { color: #fff; font-family: var(--f-serif); font-weight: 500; font-size: clamp(2.2rem, 4.8vw, 3.7rem); line-height: 1.07; margin-bottom: 20px; }
.hero .lead { font-size: 1.28rem; color: #D5DDF1; max-width: 34em; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 22px 0 0; font-size: 1rem; color: #AFC0E4; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-note strong { color: var(--gold-300); font-weight: 700; }
.medal { width: min(100%, 400px); aspect-ratio: 1; border-radius: 50%; justify-self: center; box-shadow: 0 0 0 10px rgba(221, 191, 114, .16), 0 36px 70px -24px rgba(0, 0, 0, .7); }
.medal img { width: 100%; height: 100%; display: block; border-radius: 50%; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 48px 136px; gap: 32px; }
  .medal { width: min(70%, 240px); }
}

/* Banner rotativo de la portada: fondo con fotos (o clips) de lo que se promociona ahora */
.hero { isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: 0; background: var(--navy-950); }
.hslide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hslide.is-active { opacity: 1; }
.hslide img, .hslide video { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); }
.hslide img { transform-origin: var(--kb, 50% 50%); }
.hslide.is-active img, .hslide.is-leaving img { animation: kenburns 13s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(7, 20, 47, .82) 0%, rgba(7, 20, 47, 0) 38%),
    linear-gradient(90deg, rgba(7, 20, 47, .93) 0%, rgba(7, 20, 47, .8) 36%, rgba(7, 20, 47, .38) 68%, rgba(7, 20, 47, .22) 100%);
}
@media (max-width: 860px) {
  .hero-shade { background: linear-gradient(180deg, rgba(7, 20, 47, .78) 0%, rgba(7, 20, 47, .74) 55%, rgba(7, 20, 47, .9) 100%); }
}

/* Tarjeta de la promoción (mismo lenguaje de "ticket" que los precios) */
.promo { justify-self: end; width: min(100%, 390px); background: var(--gold-100); color: var(--ink); border: 2px dashed var(--gold-500); border-radius: var(--r-lg); padding: 22px 24px 24px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); transform: rotate(1.2deg); }
.promo-stack { display: grid; }
.promo-item { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }
.promo-item.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease .4s, visibility 0s; }
.promo-item p { margin: 0; }
.promo-kicker { font-size: .92rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6B5210; }
.promo-title { font: 700 1.6rem/1.12 var(--f-serif); color: var(--navy-900); text-wrap: balance; }
.promo-meta { font-size: 1.02rem; color: var(--ink-soft); }
.promo-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 8px !important; }
.promo-amt { font: 700 2.7rem/1 var(--f-body); font-variant-numeric: lining-nums tabular-nums; color: var(--navy-900); }
.promo-per { font-size: 1rem; color: var(--ink-soft); }
.promo-note { font-size: .98rem; color: var(--ink); }
.promo-fine { font-size: .92rem; color: var(--ink-soft); }
.promo .btn { margin-top: 12px; padding: 12px 20px; }
.btn-navy { background: var(--navy-700); color: #fff; }
.btn-navy:hover { background: var(--navy-900); color: #fff; }
@media (max-width: 860px) { .promo { justify-self: start; transform: none; } }

/* Controles: un tramo por destino, con barra de avance */
.hero-ctl { position: absolute; left: 0; right: 0; bottom: 78px; z-index: 3; }
.hctl-in { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: flex; align-items: center; gap: 14px; }
.hsegs { display: flex; gap: 10px; flex: 1; max-width: 560px; min-width: 0; }
.hseg { flex: 1 1 0; min-width: 0; display: grid; gap: 7px; padding: 10px 0 6px; background: none; border: 0; color: rgba(255, 255, 255, .78); font: 700 .98rem/1.2 var(--f-body); text-align: left; cursor: pointer; }
.hseg:hover, .hseg.is-active { color: #fff; }
.hseg-lab { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hseg-bar { display: block; height: 3px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .32); }
.hseg-bar i { display: block; width: 0; height: 100%; background: var(--gold-300); }
.hseg.is-active .hseg-bar i { animation: hprog 7s linear forwards; }
@keyframes hprog { from { width: 0; } to { width: 100%; } }
.hpause { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); background: rgba(7, 20, 47, .45); color: #fff; cursor: pointer; }
.hpause:hover { background: rgba(255, 255, 255, .16); }
.hpause svg { width: 18px; height: 18px; fill: currentColor; }
.hpause .i-play { display: none; }
.hpause[aria-pressed="true"] .i-play { display: block; }
.hpause[aria-pressed="true"] .i-pause { display: none; }
.hero:is(.is-held, .is-paused, .is-away) .hseg.is-active .hseg-bar i,
.hero:is(.is-held, .is-paused, .is-away) .hslide img { animation-play-state: paused; }
@media (max-width: 860px) { .hero-ctl { bottom: 74px; } .hseg { font-size: .92rem; } }
@media (prefers-reduced-motion: reduce) {
  .hslide { transition: none; }
  .hslide.is-active img, .hslide.is-leaving img { animation: none; }
  .hseg.is-active .hseg-bar i { animation: none; width: 100%; }
  .promo-item, .promo-item.is-active { transition: none; }
  .hpause { display: none; }
}

/* Confianza */
.trust { position: relative; z-index: 2; margin-top: -60px; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; box-shadow: var(--shadow); }
.trust-item h3 { font-family: var(--f-serif); font-size: 1.3rem; margin-bottom: 4px; }
.trust-item p { margin: 0 0 8px; font-size: 1rem; color: var(--ink-soft); }
.trust-item p:last-child { margin-bottom: 0; }
.trust-item a { font-weight: 700; }
.badge-img { flex: none; width: 96px; height: 96px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.ico { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-100); color: var(--gold-700); }
.ico svg { width: 30px; height: 30px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pill { font-size: .88rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--blue-100); color: var(--navy-700); }

/* Secciones */
.section { padding-block: 80px; }
.section-white { background: #fff; }
.sec-head { max-width: 48rem; margin-bottom: 36px; }
.sec-head h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.25; margin-bottom: 12px; color: var(--navy-700); }
.sec-head p { font-family: var(--f-serif); font-size: 1.3rem; color: var(--ink-soft); line-height: 1.45; margin: 0; }

/* Ofertas */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 24px; }
.offer { display: flex; flex-direction: column; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.offer-art { position: relative; aspect-ratio: 16 / 9; background-color: var(--navy-900); background-size: cover; background-position: center; }
.offer-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-tag { position: absolute; left: 14px; top: 14px; z-index: 1; background: rgba(7, 20, 47, .8); color: #fff; border-radius: 999px; padding: 5px 13px; font-size: .95rem; font-weight: 700; }
.offer-body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 22px; }
.offer h3 { font-family: var(--f-serif); font-weight: 700; font-size: 1.55rem; line-height: 1.15; }
.offer .hotel { margin: -6px 0 0; color: var(--ink-soft); }
.ticket { align-self: flex-start; background: var(--gold-100); border: 2px dashed var(--gold-500); border-radius: 12px; padding: 10px 18px 12px; transform: rotate(-1.4deg); }
.ticket .from { display: block; font-size: .95rem; color: var(--gold-700); font-weight: 700; line-height: 1.2; }
.ticket .amount { font: 700 2.3rem/1.05 var(--f-body); font-variant-numeric: lining-nums tabular-nums; color: var(--navy-900); }
.ticket .per { font-size: .95rem; color: var(--ink-soft); margin-left: 6px; }
.price-sub { margin: 0; font-size: 1rem; color: var(--ink); background: var(--blue-100); border-radius: 10px; padding: 8px 12px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 13px; height: 7px; border-left: 3px solid var(--gold-500); border-bottom: 3px solid var(--gold-500); transform: rotate(-45deg); }
.offer-foot { margin-top: auto; display: grid; gap: 10px; padding-top: 6px; }
.updated { margin: 0; font-size: .95rem; color: var(--ink-soft); text-align: center; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 58px 22px 22px; min-width: 0; }
.steps li::before { content: counter(step); position: absolute; left: 22px; top: 16px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-700); color: #fff; font: 700 1.05rem/1 var(--f-display); }
.steps h3 { font-family: var(--f-serif); font-size: 1.3rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }

/* Preguntas */
.faq { display: grid; gap: 12px; max-width: 52rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font: 700 1.15rem/1.35 var(--f-serif); color: var(--navy-900); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 3px solid var(--gold-500); border-bottom: 3px solid var(--gold-500); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .ans { padding: 0 20px 18px; color: var(--ink-soft); }
.faq .ans p:last-child { margin-bottom: 0; }

/* Cierre y cotizador */
.cta { position: relative; color: #fff; background: radial-gradient(700px 400px at 85% 20%, rgba(10, 74, 124, .9), rgba(10, 74, 124, 0) 70%), linear-gradient(160deg, var(--navy-900), var(--navy-950)); }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding-block: 72px; }
.cta h2 { color: #fff; font-family: var(--f-serif); font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; margin-bottom: 14px; }
.cta p { color: #D5DDF1; font-size: 1.2rem; }
.quote { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); }
.quote .wide { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 700; font-size: 1rem; color: var(--navy-900); }
.field input, .field select, .field textarea { width: 100%; font: 400 1.05rem/1.3 var(--f-body); color: var(--ink); background: #fff; border: 1.5px solid #B7C1D8; border-radius: 10px; padding: 12px 14px; min-height: 48px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold-300); border-color: var(--gold-700); }
.form-note { grid-column: 1 / -1; margin: 0; font-size: .95rem; color: var(--ink-soft); }
.cta .form-note { color: var(--ink-soft); }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; padding-block: 52px; gap: 28px; } }

/* Pie */
.footer { background: var(--navy-950); color: #BFCBE6; }
.footer .steps-band { background: var(--gold-500); }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-block: 52px 32px; }
.footer h3 { color: #fff; font: 700 1.1rem/1.3 var(--f-serif); margin-bottom: 12px; }
.footer a { color: #D9E2F7; text-decoration: none; }
.footer a:hover { color: var(--gold-300); text-decoration: underline; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .brand-name { color: #fff; }
.footer .brand-tag { color: #AFC0E4; }
.footer p { font-size: 1rem; margin-bottom: .6em; }
.footer .reg { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.footer .reg img { width: 78px; height: 78px; border-radius: 10px; background: #fff; object-fit: contain; flex: none; }
.legal { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .92rem; color: #93A4CB; }
.legal .wrap { display: block; padding-block: 20px; }
.legal p { margin: 0 0 6px; }
@media (max-width: 980px) { .footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .wrap { grid-template-columns: 1fr; } }

/* WhatsApp flotante */
.wa-float {
  position: fixed; z-index: 70; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--wa); color: #fff; border-radius: 999px;
  font: 700 1.05rem/1 var(--f-body); text-decoration: none; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5);
}
.wa-float:hover { background: var(--wa-dark); color: #fff; }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* Páginas internas */
.page-hero { color: #fff; background: radial-gradient(760px 420px at 85% 30%, rgba(10, 74, 124, .9), rgba(10, 74, 124, 0) 70%), linear-gradient(160deg, var(--navy-900), var(--navy-950)); }
.page-hero .wrap { padding-block: 52px 60px; }
.page-hero h1 { color: #fff; font-family: var(--f-serif); font-weight: 500; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; margin-bottom: 14px; }
.page-hero p { color: #D5DDF1; font-size: 1.22rem; max-width: 42em; }
.crumbs { font-size: .98rem; margin-bottom: 18px; color: #AFC0E4; }
.crumbs a { color: #D9E2F7; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font-weight: 700; font-size: .98rem; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.chip.gold { background: var(--gold-300); border-color: var(--gold-300); color: var(--navy-950); }

.subnav { position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 8px; padding-block: 10px; overflow-x: auto; }
.subnav a { white-space: nowrap; text-decoration: none; font-weight: 700; padding: 8px 16px; border-radius: 999px; background: var(--paper); color: var(--navy-700); border: 1px solid var(--line); }
.subnav a:hover { background: var(--navy-700); color: #fff; }

.prose { max-width: 46rem; }
.prose h3 { font-family: var(--f-serif); font-size: 1.45rem; margin: 1.6em 0 .4em; }
.prose h3:first-child { margin-top: 0; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; min-width: 0; }
.panel h3 { font-family: var(--f-serif); font-size: 1.4rem; margin-bottom: 10px; }
.panel.gold { border-color: var(--gold-300); background: linear-gradient(180deg, #fff, var(--gold-100)); }
.panel ul.checks { margin-top: 8px; }
.x-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.x-list li { position: relative; padding-left: 28px; }
.x-list li::before { content: "\00d7"; position: absolute; left: 4px; top: -.1em; font: 700 1.5rem/1.4 var(--f-body); color: #A6361F; }

.hotel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 24px; box-shadow: var(--shadow); }
.hotel-card header { padding: 22px 26px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.hotel-card h3 { font-family: var(--f-serif); font-size: 1.6rem; }
.hotel-card .room { margin: 4px 0 0; color: var(--ink-soft); }
.hotel-card .body { padding: 22px 26px 26px; }
.tag-note { font-size: .95rem; font-weight: 700; background: var(--gold-100); color: var(--gold-700); padding: 6px 12px; border-radius: 999px; }

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
table.prices { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 1.05rem; }
.prices th, .prices td { padding: 12px 16px; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: lining-nums tabular-nums; }
.prices th:first-child, .prices td:first-child { text-align: left; }
.prices thead th { background: var(--navy-700); color: #fff; font-weight: 700; font-size: .98rem; border-bottom: 0; }
.prices tbody tr:nth-child(even) { background: #F7F9FD; }
.prices tbody tr:last-child td { border-bottom: 0; }
.prices td.hl { font-weight: 700; color: var(--navy-900); }
.prices tr.now td { background: var(--gold-100); }
.tbl-note { font-size: .98rem; color: var(--ink-soft); margin: 12px 0 0; }

.timeline { list-style: none; padding: 0; margin: 0; }
.day { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 24px; padding: 20px 0; border-top: 1px dashed #B7C1D8; }
.day:first-child { border-top: 0; padding-top: 0; }
.day .d { font: 400 .95rem/1.3 var(--f-display); color: var(--gold-700); padding-top: 4px; }
.day h3 { font-family: var(--f-serif); font-size: 1.3rem; margin-bottom: 4px; }
.day p { margin: 0; color: var(--ink-soft); }
@media (max-width: 560px) { .day { grid-template-columns: 1fr; } }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.info { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; display: flex; gap: 14px; min-width: 0; }
.info h3 { font-family: var(--f-serif); font-size: 1.2rem; margin-bottom: 4px; }
.info p { margin: 0; color: var(--ink-soft); overflow-wrap: anywhere; }
.logo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; place-items: center; box-shadow: var(--shadow); }
.logo-card img { width: min(100%, 340px); height: auto; display: block; }
.data-list { display: grid; gap: 10px; margin: 0; }
.data-list div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.data-list dt { font-weight: 700; color: var(--navy-900); }
.data-list dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .data-list div { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; margin-top: 18px; }
.values div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; font: 700 1.2rem/1.2 var(--f-serif); color: var(--navy-900); border-top: 4px solid var(--gold-500); }
.legal-doc h2 { font-family: var(--f-serif); font-size: 1.6rem; margin: 2em 0 .5em; scroll-margin-top: 150px; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc { max-width: 48rem; }
.notice { background: var(--gold-100); border: 1px solid var(--gold-300); border-radius: var(--r-md); padding: 16px 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Detalles de tablas y notas */
.fine { margin: 0; font-size: .98rem; color: var(--ink-soft); }
.prices caption { caption-side: top; text-align: left; padding: 14px 16px; font-weight: 700; color: var(--navy-900); background: #fff; }
.prices tbody th { font-weight: 500; text-align: left; background: inherit; }
.prices tr.now th, .prices tr.now td { background: var(--gold-100); }
.prices tbody th[scope="row"] { color: var(--ink); }

/* Vigencias: lo que ya venció se oculta; en su lugar se muestra "Tarifa por confirmar" */
[hidden] { display: none !important; }
.price-off { background: var(--blue-100); border: 1.5px dashed #8FA6C7; border-radius: 12px; padding: 14px 16px; }
.price-off p { margin: 0; font-size: 1rem; color: var(--ink); }
.price-off .price-off-title { font: 700 1.3rem/1.2 var(--f-serif); color: var(--navy-900); margin-bottom: 4px; }

/* Redes sociales */
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.soc { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid currentColor; font-weight: 700; font-size: .98rem; text-decoration: none; min-height: 44px; }
.soc svg { width: 20px; height: 20px; flex: none; }
.footer .soc { color: var(--gold-300); }
.footer .soc:hover { background: var(--gold-300); color: var(--navy-950); }
.info .soc, .doc-card .soc { color: var(--navy-900); }
.info .soc:hover, .doc-card .soc:hover { background: var(--navy-900); color: #fff; }

/* Documentos de formalidad */
.docs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; align-items: start; }
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.doc-thumb { display: block; background: var(--blue-100); border-bottom: 1px solid var(--line); aspect-ratio: 4 / 3; overflow: hidden; }
.doc-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.doc-body { padding: 18px 20px 20px; min-width: 0; }
.doc-body h3 { font-family: var(--f-serif); font-size: 1.25rem; margin-bottom: 10px; }
.doc-card .data-list > div { display: block; padding: 6px 0; }
.doc-card .data-list dt { font-size: .92rem; color: var(--ink-soft); }
.doc-card .data-list dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.doc-thumb.wide { aspect-ratio: auto; } .doc-thumb.wide img { height: auto; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 1rem; }
.legal-doc th, .legal-doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-doc th { background: var(--blue-100); font-weight: 700; }
.legal-doc h2 { font-size: 1.45rem; }

/* Precio doble: tarjeta / efectivo, depósito o transferencia */
.duo { display: grid; gap: 12px; }
.duo-room { margin: 0; font: 700 1.05rem/1.3 var(--f-body); color: var(--navy-700); }
.duo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr)); gap: 12px; }
.duo-opt { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 14px 14px 14px; border-radius: 12px; }
.duo-card { background: #fff; border: 2px solid var(--navy-700); }
.duo-cash { background: var(--gold-100); border: 2px dashed var(--gold-500); padding-top: 22px; }
.duo-badge { position: absolute; top: -12px; right: 10px; background: var(--navy-900); color: var(--gold-300); font-weight: 700; font-size: .92rem; line-height: 1; padding: 6px 11px; border-radius: 999px; }
.duo-lab { font-weight: 700; font-size: .98rem; color: var(--gold-700); line-height: 1.2; }
.duo-card .duo-lab { color: var(--navy-700); }
.duo-amt { font: 700 2.2rem/1.05 var(--f-body); font-variant-numeric: lining-nums tabular-nums; color: var(--navy-900); white-space: nowrap; }
.duo-per { font-size: .98rem; color: var(--ink-soft); }
.duo-note { margin-top: 6px; font-size: .98rem; line-height: 1.3; color: var(--ink); }
.duo-dates { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; color: var(--navy-900); }
.duo-dates svg { width: 22px; height: 22px; flex: none; color: var(--gold-500); }
.hotel-card .duo-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); max-width: 640px; }
.hotel-card .duo-amt { font-size: 2.6rem; }
.duo-card { padding-top: 22px; }
.duo-amt.long { font-size: 1.75rem; }
.hotel-card .duo-amt.long, #precios .duo-amt.long { font-size: 2.3rem; }
.duo-miles { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--navy-900); color: #fff; font-weight: 700; line-height: 1.3; }
.duo-miles svg { width: 22px; height: 22px; flex: none; color: var(--gold-300); transform: rotate(45deg); }
#precios .duo { max-width: 760px; }
#precios .duo-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
#precios .duo-amt { font-size: 2.6rem; }

/* Franja de confianza más compacta */
.trust { margin-top: -44px; }
.trust-grid { gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.trust-item { gap: 12px; padding: 12px 16px; border-radius: 12px; box-shadow: 0 8px 20px -14px rgba(10, 27, 63, .35); }
.trust-item h3 { font-size: 1.1rem; margin-bottom: 2px; line-height: 1.2; }
.trust-item p { margin: 0 0 4px; font-size: .95rem; line-height: 1.35; }
.trust-item .badge-img { width: 56px; height: 56px; border-radius: 8px; }
.trust-item .ico { width: 40px; height: 40px; flex: none; }
.trust-item .ico svg { width: 22px; height: 22px; }
.trust-item .pills { gap: 4px; margin-top: 2px; }
.trust-item .pill { font-size: .8rem; padding: 2px 8px; }

/* Cumplimiento: afiche ESNNA y libro de reclamaciones */
.compliance { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer .compliance .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; padding-block: 22px; }
.cmp-item { display: flex; align-items: center; gap: 14px; max-width: 460px; font-size: .92rem; line-height: 1.45; color: #BFCBE6; }
.cmp-item strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 2px; }
.cmp-item img { width: 56px; height: auto; border-radius: 4px; background: #fff; flex: none; }
.cmp-book { width: 40px; height: 50px; flex: none; }

/* Logo horizontal (derivado del original) */
.brand img.logo-h { width: auto; height: 62px; border-radius: 0; }
.footer .brand img.logo-h { height: 64px; }
@media (max-width: 560px) { .brand img.logo-h { height: 52px; } }


.cell{display:block;font-weight:700;color:var(--navy-900);white-space:nowrap}
.cell small{display:block;font-weight:500;font-size:.82rem;color:var(--ink-soft)}
.prices td.na{color:var(--ink-soft);font-weight:500}
.prices th small{display:block;font-weight:500;font-size:.85rem;color:var(--ink-soft)}
.prices tbody th{font-weight:700;color:var(--navy-900)}
.legend{font-size:.95rem;color:var(--ink-soft);margin:10px 0 0}
.dest-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px}
.dest-card{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;text-decoration:none;color:inherit}
.dest-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:var(--navy-900)}
.dest-card .dc{padding:18px 20px 22px;display:grid;gap:8px}
.dest-card h3{font-family:var(--f-serif);font-size:1.45rem;color:var(--navy-900)}
.dest-card p{margin:0;color:var(--ink-soft)}
.dest-card .when{font-weight:700;color:var(--gold-700)}
.dest-card .go{font-weight:700;color:var(--navy-700)}
.dest-card:hover{border-color:var(--gold-500)}
.seg{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.seg button{font:700 1rem var(--f-body);padding:8px 18px;border-radius:999px;border:1px solid var(--line);background:var(--paper);color:var(--navy-700);cursor:pointer}
.seg button[aria-pressed="true"]{background:var(--navy-700);color:#fff;border-color:var(--navy-700)}
.price-from{margin:0 0 14px;font-weight:700;color:var(--navy-700)}

/* Distintivo oficial "Agencia de Viajes y Turismo Registrada" (MINCETUR): sin deformar, sobre fondo blanco, según el manual de uso */
.footer .reg { display: block; }
.footer .reg img.dist-h { display: block; width: 300px; max-width: 100%; height: auto; padding: 12px 16px; background: #fff; border-radius: 10px; object-fit: contain; margin-bottom: 12px; }
.footer .reg a.dist-link { display: inline-block; max-width: 100%; }
.badge-h { display: block; width: 240px; max-width: 100%; height: auto; }
.trust-item.has-dist { flex-direction: column; align-items: flex-start; gap: 10px; }

/* Botón volver arriba */
.to-top{position:fixed;z-index:65;left:max(16px,env(safe-area-inset-left,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));width:42px;height:42px;display:grid;place-items:center;border-radius:50%;border:1.5px solid rgba(36,51,115,.35);background:rgba(255,255,255,.88);color:var(--navy-700,#243373);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s,transform .2s,visibility 0s .2s;box-shadow:0 6px 16px -8px rgba(10,27,63,.4);padding:0}
.to-top.show{opacity:.85;visibility:visible;transform:none;transition:opacity .2s,transform .2s}
.to-top:hover,.to-top:focus-visible{opacity:1;background:#fff}
.to-top svg{width:20px;height:20px}
@media (prefers-reduced-motion:reduce){.to-top{transition:none}}

/* ===== v3: ajustes para celular, tablas de precios y correo ===== */
.topbar a { white-space: nowrap; }
.topbar .dot { font-style: normal; }
.topbar .nw { font-style: normal; white-space: nowrap; }
@media (max-width: 640px) {
  .topbar .wrap { display: block; padding-block: 8px; }
  .topbar span { display: block; line-height: 1.45; }
  .topbar span + span { margin-top: 2px; }
  .topbar .dot { display: none; }
}
/* tablas de 2 columnas: sin ancho mínimo y con texto que baja de línea */
table.prices.compact { min-width: 0; }
.prices.compact th, .prices.compact td { white-space: normal; overflow-wrap: anywhere; padding: 12px 14px; vertical-align: top; }
.prices.compact tbody th { width: 32%; }
/* tablas de precios con varias columnas: en pantallas angostas cada hotel pasa a ser una tarjeta con todos sus precios visibles */
@media (max-width: 800px) {
  table.prices.stack { min-width: 0; }
  .prices.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .prices.stack, .prices.stack tbody, .prices.stack tr, .prices.stack tbody th, .prices.stack td { display: block; }
  .prices.stack caption { display: block; }
  .prices.stack tbody tr { padding: 14px 16px 8px; border-bottom: 1px solid var(--line); }
  .prices.stack tbody tr:last-child { border-bottom: 0; }
  .prices.stack tbody th[scope="row"] { padding: 0 0 8px; border: 0; font-size: 1.12rem; text-align: left; background: transparent; }
  .prices.stack td { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; border: 0; border-top: 1px dashed var(--line); text-align: right; background: transparent; }
  .prices.stack td::before { content: attr(data-label); flex: none; font-weight: 700; color: var(--ink-soft); text-align: left; }
  .prices.stack td .cell { text-align: right; }
  .prices.stack td[data-label="Doble"] { background: var(--gold-100); border-radius: 8px; border-top: 0; margin: 4px -10px; padding: 9px 10px; }
  .prices.stack td[data-label="Doble"]::before { color: var(--gold-700); }
}
/* correo: se arma con JavaScript (no depende de la ofuscación de Cloudflare) */
.js-mail { overflow-wrap: anywhere; }
@media (max-width: 420px) { .info .js-mail { font-size: 1rem; } }
.mail-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mail-tools button, .mail-tools a {
  font: 700 1rem/1 var(--f-body); padding: 11px 16px; min-height: 44px; display: inline-flex; align-items: center;
  border: 2px solid var(--navy-700); border-radius: 10px; background: #fff; color: var(--navy-700); cursor: pointer; text-decoration: none;
}
.mail-tools button:hover, .mail-tools a:hover { background: var(--navy-700); color: #fff; }
