/* =========================================================
   SOTUR Turismo — alternativa B
   Mobile-first. Paleta de la marca Turismo (navy, cielo, rojo)
   sobre fondo arena. Tipografía única: Bricolage Grotesque.
   ========================================================= */
:root {
  --navy: #002e48;
  --navy-2: #0b4466;
  --navy-deep: #001b2b;
  --sand: #f4ecdf;
  --sand-2: #eadfcb;
  --paper: #fffaf2;
  --red: #e1101a;
  --red-2: #b80d15;
  --sky: #429dbf;
  --sky-l: #cfe9f3;
  --ink: #0f1f2a;
  --muted: #5b6b75;

  --f: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 1px 2px rgba(0, 30, 50, .06), 0 12px 32px -12px rgba(0, 30, 50, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--sand);
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
img { height: auto; } /* nunca estirar: el alto sigue al ancho */
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; font-weight: 750; }
p { margin: 0; text-wrap: pretty; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 1.4em; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .45); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--sm { min-height: 42px; padding: 0 1.1em; font-size: .95rem; }
.btn--red { --bg: var(--red); }
.btn--red:hover { --bg: var(--red-2); }
.btn--navy { --bg: var(--navy); }
.btn--cream { --bg: var(--paper); --fg: var(--navy); }
.btn--wa { --bg: #1faa55; }
.btn--wa:hover { --bg: #178c45; }
.btn--line { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 1.5px currentColor; }

/* ---------- Header (píldora flotante) ---------- */
.header { position: fixed; inset: 12px 0 auto; z-index: 100; pointer-events: none; }
.header__bar {
  pointer-events: auto;
  width: min(100% - 24px, 1180px); margin-inline: auto;
  height: 60px; padding: 0 8px 0 18px;
  display: flex; align-items: center; gap: 16px;
  background: rgba(255, 250, 242, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 10px 30px -14px rgba(0, 30, 50, .35);
}
.header__logo img { height: 34px; width: auto; }
.nav { display: none; }
.header__cta { display: none; }
.burger { margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--navy); display: grid; place-content: center; gap: 5px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu-movil {
  pointer-events: auto;
  width: min(100% - 24px, 1180px); margin: 8px auto 0; padding: 10px;
  background: var(--paper); border-radius: 24px; box-shadow: var(--shadow);
  display: grid;
}
.menu-movil[hidden] { display: none; }
.menu-movil a { padding: 14px 16px; border-radius: 14px; text-decoration: none; font-size: 1.25rem; font-weight: 650; color: var(--navy); }
.menu-movil a:hover { background: var(--sand); }
.menu-movil .menu-movil__small { font-size: .95rem; color: var(--muted); font-weight: 500; }

@media (min-width: 900px) {
  :root { --header-h: 84px; }
  .header__bar { height: 64px; padding: 0 8px 0 22px; }
  .header__logo img { height: 38px; }
  .nav { display: flex; gap: 4px; margin-inline: auto; }
  .nav a { padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 550; color: var(--navy); transition: background-color .2s; }
  .nav a:hover { background: var(--sand-2); }
  .header__cta { display: inline-flex; }
  .burger, .menu-movil { display: none !important; }
}

/* =========================================================
   HERO — fotos + video central que se agranda al bajar
   ========================================================= */
.hero { position: relative; background: var(--sand); }
.hero__pin { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.hero__head {
  position: relative; z-index: 2;
  width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto;
  padding-top: calc(var(--header-h) + 14px);
  display: grid; gap: 14px;
}
.hero__eyebrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--red); font-size: .95rem; margin-bottom: 8px; }
.hero h1 { font-size: clamp(2.4rem, 10.5vw, 6.6rem); line-height: .92; letter-spacing: -.045em; font-weight: 800; color: var(--navy); }
.hero__aside p { color: var(--muted); max-width: 46ch; font-size: 1rem; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.hero__next { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: .9rem; line-height: 1.2; color: var(--navy); }
.hero__next small { display: block; color: var(--muted); font-size: .8rem; }
.hero__next b { font-weight: 700; }
.hero__next span:last-child { max-width: 260px; }
.hero__next .nw { white-space: nowrap; }
.hero__next .dot { flex: none; }
.hero__next .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(225, 16, 26, .15); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(225, 16, 26, 0); } }

.hero__tiles {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: -5svh;
  top: calc(var(--head-b, 52svh) + 22px);
  display: grid; grid-template-columns: 1fr 3.2fr 1fr; gap: 10px;
  align-items: end;
  margin-inline: -18vw;
}
.tile { margin: 0; height: 100%; border-radius: var(--r-md); overflow: hidden; background: var(--sand-2); will-change: transform; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile--1, .tile--5 { display: none; }
.tile--2, .tile--4 { height: 78%; }
.tile--slot { background: transparent; }

.hero__media {
  /* JS mide el hueco central y anima estas variables hasta 0 */
  --t: 56svh; --r: 21vw; --b: 0px; --l: 21vw; --rad: 20px;
  position: absolute; inset: 0; z-index: 3;
  clip-path: inset(var(--t) var(--r) var(--b) var(--l) round var(--rad));
  background: var(--navy-deep);
}
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 27, 43, .25) 0%, rgba(0, 27, 43, 0) 35%, rgba(0, 27, 43, .7) 100%); opacity: 0; }
.hero__beats { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) clamp(56px, 10svh, 96px); max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; }
.beat { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(56px, 10svh, 96px); color: var(--paper); opacity: 0; visibility: hidden; }
.beat__big { font-size: clamp(2.1rem, 7vw, 5.2rem); font-weight: 800; line-height: .98; letter-spacing: -.04em; max-width: 14ch; text-wrap: balance; }
.beat__small { margin-top: 14px; font-size: clamp(1rem, 1.6vw, 1.25rem); max-width: 40ch; color: rgba(255, 250, 242, .85); }
.beat .btn { margin-top: 22px; }
.hero__clips { position: absolute; top: calc(var(--header-h) + 8px); right: var(--gutter); display: flex; gap: 5px; opacity: 0; }
.hero__clips i { width: 22px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.hero__clips i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: left; }

@media (min-width: 760px) {
  .hero__head { gap: 18px; padding-top: calc(var(--header-h) + 3svh); }
  .hero h1 { font-size: clamp(2.4rem, 7.4vw, 7rem); }
  .hero__aside { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
  .hero__aside p { font-size: 1.08rem; max-width: 52ch; }
  .hero__ctas { margin-top: 0; flex-wrap: nowrap; flex: none; }
  .hero__tiles { top: calc(var(--head-b, 45svh) + 32px); bottom: -9svh; margin-inline: 0; padding-inline: var(--gutter); gap: 14px; grid-template-columns: 1fr 1fr 2.3fr 1fr 1fr; }
  .tile--1, .tile--5 { display: block; height: 62%; }
  .tile--2, .tile--4 { height: 82%; }
  .tile { border-radius: var(--r-lg); }
  .hero__media { --rad: 28px; }
}
/* Pantallas bajas: menos texto para que entren las fotos */
@media (max-height: 700px) and (max-width: 759px) {
  .hero__aside p { display: none; }
}

/* Sin animación (sin JS o con movimiento reducido): todo visible y ordenado */
.no-js .hero__pin, .reduce .hero__pin { height: auto; min-height: 0; overflow: visible; padding-bottom: 24px; }
.no-js .hero__tiles, .reduce .hero__tiles { display: none; }
.no-js .hero__media, .reduce .hero__media { position: relative; clip-path: none; margin: 24px var(--gutter) 0; border-radius: var(--r-lg); overflow: hidden; height: 70svh; }
.no-js .hero__shade, .reduce .hero__shade { opacity: 1; }
.no-js .beat, .reduce .beat { opacity: 1; visibility: visible; display: none; }
.no-js .beat[data-beat="3"], .reduce .beat[data-beat="3"] { display: block; }

/* =========================================================
   SECCIONES — encabezados
   ========================================================= */
section { position: relative; }
.sec-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.sec-head h2 { font-size: clamp(2.2rem, 6vw, 4.2rem); color: var(--navy); letter-spacing: -.04em; }
.sec-head p { color: var(--muted); font-size: 1.08rem; max-width: 52ch; }
@media (min-width: 900px) {
  .sec-head--split { max-width: none; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 48px; }
}

/* =========================================================
   CALENDARIO DE SALIDAS
   ========================================================= */
.salidas { padding: clamp(72px, 10vw, 140px) 0 clamp(64px, 8vw, 110px); }
.salidas__grid { display: grid; gap: 24px; }
@media (min-width: 980px) {
  .salidas__grid { grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
  .cal { position: sticky; top: calc(var(--header-h) + 16px); }
}

.cal { background: var(--navy); color: var(--paper); border-radius: var(--r-lg); padding: 22px 20px 20px; box-shadow: var(--shadow); }
.cal__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.cal__month { font-size: 1.35rem; letter-spacing: -.02em; text-transform: capitalize; }
.cal__nav { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s; }
.cal__nav:hover { background: rgba(255, 255, 255, .2); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__week, .cal__days { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal__week span { text-align: center; font-size: .78rem; font-weight: 600; color: rgba(255, 250, 242, .55); padding-bottom: 6px; }
.cal__days { row-gap: 4px; }
.day {
  position: relative; aspect-ratio: 1; border: 0; padding: 0; background: none; color: inherit;
  display: grid; place-items: center; font-size: .95rem; font-variant-numeric: tabular-nums;
}
.day--out { visibility: hidden; }
.day--past { color: rgba(255, 250, 242, .35); }
.day--today::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 250, 242, .6); }
.day--ev { cursor: pointer; color: var(--navy); font-weight: 700; }
.day--ev::after { content: ""; position: absolute; inset: 12% 0; background: var(--sky-l); z-index: -1; }
.day--ev { z-index: 0; }
.day--start::after { left: 8%; border-radius: 999px 0 0 999px; }
.day--end::after { right: 8%; border-radius: 0 999px 999px 0; }
.day--start.day--end::after { border-radius: 999px; }
.day--start { color: #fff; }
.day--start::after { background: var(--red); }
.day--ws::after { left: 8%; border-radius: 999px 0 0 999px; }
.day--ws.day--end::after { border-radius: 999px; }
.day--ev.is-done { color: rgba(255, 250, 242, .55); }
.day--ev.is-done::after { background: rgba(255, 255, 255, .12); }
.day--ev:hover::after, .day--ev.is-hl::after { filter: brightness(1.08); box-shadow: 0 0 0 2px var(--paper); }
.cal__month-list { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 6px; min-height: 52px; }
.cal__item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 8px 10px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .07); cursor: pointer; transition: background-color .2s; }
.cal__item:hover { background: rgba(255, 255, 255, .15); }
.cal__item b { font-weight: 650; }
.cal__item small { margin-left: auto; color: rgba(255, 250, 242, .65); white-space: nowrap; font-size: .82rem; }
.cal__item i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.cal__empty { font-size: .92rem; color: rgba(255, 250, 242, .7); }
.cal__notify { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 14px; border-radius: 16px; background: var(--paper); color: var(--navy); text-decoration: none; transition: transform .25s var(--ease); }
.cal__notify:hover { transform: translateY(-2px); }
.cal__notify .ico { width: 26px; height: 26px; color: var(--red); }
.cal__notify b { display: block; font-weight: 700; line-height: 1.2; }
.cal__notify small { display: block; font-size: .82rem; color: var(--muted); line-height: 1.3; }

/* Agenda */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) 18px; padding: 2px var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--sand-2); color: var(--navy); font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; }
.chip:hover { background: var(--sand-2); }
.chip.is-on { background: var(--navy); color: #fff; box-shadow: none; }
@media (min-width: 980px) { .chips { margin-inline: 0; padding-inline: 0; } }

.agenda__list { display: grid; gap: 16px; }
@media (min-width: 640px) { .agenda__list { grid-template-columns: 1fr 1fr; } }
/* Sin salidas próximas: "pronto tendremos novedades" */
.agenda__soon { grid-column: 1 / -1; display: grid; justify-items: start; gap: 12px; padding: clamp(26px, 4vw, 44px); border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 2px var(--sand-2); background-image: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(0, 46, 72, .03) 22px 44px); }
.agenda__soon-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; }
.agenda__soon-ico .ico { width: 26px; height: 26px; }
.agenda__soon h3 { margin: 6px 0 0; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.05; letter-spacing: -.02em; color: var(--navy); }
.agenda__soon p { margin: 0; max-width: 46ch; color: var(--muted); }
.agenda__soon .btn { margin-top: 8px; }
.agenda__empty { grid-column: 1 / -1; padding: 28px; border-radius: var(--r-md); background: var(--paper); color: var(--muted); }

.trip {
  position: relative; display: flex; flex-direction: column;
  width: 100%; padding: 0; border: 0; text-align: left; cursor: pointer;
  background: var(--paper); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.trip:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0, 30, 50, .06), 0 22px 40px -16px rgba(0, 30, 50, .3); }
.trip__img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.trip__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.trip:hover .trip__img img { transform: scale(1.05); }
.trip__date { position: absolute; left: 12px; top: 12px; background: var(--paper); color: var(--navy); border-radius: 14px; padding: 6px 12px 7px; text-align: center; line-height: 1.05; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }
.trip__date b { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.trip__date small { font-size: .78rem; font-weight: 600; color: var(--red); }
.tag-ej { position: absolute; right: 12px; top: 12px; font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(0, 27, 43, .7); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.trip__body { padding: 16px 18px 18px; display: grid; gap: 6px; flex: 1; }
.trip__where { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.trip h3 { font-size: 1.45rem; color: var(--navy); letter-spacing: -.03em; }
.trip__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; color: var(--muted); }
.trip__meta span { display: inline-flex; align-items: center; gap: 5px; }
.trip__foot { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 12px; border-top: 1px dashed var(--sand-2); }
.trip__price small { display: block; font-size: .78rem; color: var(--muted); }
.trip__price b { font-size: 1.2rem; font-weight: 750; color: var(--navy); letter-spacing: -.02em; }
.trip__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--red); font-size: .95rem; }
.trip.is-hidden { display: none; }
.trip.is-hl { box-shadow: 0 0 0 3px var(--red), var(--shadow); }

/* Primera salida destacada a lo ancho */
@media (min-width: 640px) {
  .trip--lead { grid-column: 1 / -1; flex-direction: row; }
  .trip--lead .trip__img { aspect-ratio: auto; flex: 1.25; min-height: 300px; }
  .trip--lead .trip__body { flex: 1; padding: 26px 26px 24px; align-content: start; }
  .trip--lead h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
  .trip--lead .trip__resumen { display: block; }
  .trip--lead .trip__foot { margin-top: auto; }
}
.trip__resumen { display: none; color: var(--muted); font-size: .98rem; margin: 6px 0 10px; }

.pasadas { margin-top: 40px; }
.pasadas h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 12px; letter-spacing: -.01em; }
.pasadas__row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; }
.past { flex: none; display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border: 0; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--sand-2); cursor: pointer; text-align: left; }
.past img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; filter: saturate(.6); }
.past b { display: block; color: var(--navy); font-weight: 650; line-height: 1.2; }
.past small { color: var(--muted); font-size: .82rem; }

/* =========================================================
   FICHA (modal de cada salida)
   ========================================================= */
.ficha {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink);
  overflow: visible;
}
.ficha::backdrop { background: rgba(0, 20, 32, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ficha[open] { display: flex; align-items: flex-end; justify-content: center; }
.ficha__inner {
  position: relative; width: 100%; max-height: 94svh; overflow: auto; overscroll-behavior: contain;
  background: var(--paper); border-radius: 26px 26px 0 0;
  animation: sheet-in .45s var(--ease);
}
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } }
.ficha__close { position: absolute; right: 12px; top: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 250, 242, .92); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.ficha__close .ico { width: 20px; height: 20px; }
.ficha__media { position: relative; aspect-ratio: 16 / 10; background: var(--sand-2); }
.ficha__media img { width: 100%; height: 100%; object-fit: cover; }
.ficha__thumbs { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; }
.ficha__thumbs button { width: 52px; height: 40px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.ficha__thumbs button.is-on { border-color: #fff; }
.ficha__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ficha__body { padding: 22px 20px 28px; display: grid; gap: 18px; }
.ficha__estado { display: inline-flex; width: fit-content; gap: 6px; align-items: center; font-size: .82rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--sky-l); color: var(--navy); }
.ficha__estado--done { background: var(--sand-2); color: var(--muted); }
.ficha__estado--ej { background: #fde7c4; color: #7a4a00; }
.ficha h2 { font-size: clamp(2rem, 5vw, 2.8rem); color: var(--navy); letter-spacing: -.04em; }
.ficha__fecha { font-size: 1.08rem; color: var(--navy); font-weight: 550; display: flex; gap: 8px; align-items: center; }
.ficha__fecha .ico { color: var(--red); }
.ficha__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ficha__pills span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--sand); font-size: .9rem; font-weight: 550; color: var(--navy); }
.ficha__resumen { font-size: 1.08rem; color: var(--ink); }
.ficha__precio { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 16px 18px; border-radius: 18px; background: var(--navy); color: var(--paper); }
.ficha__precio small { width: 100%; font-size: .82rem; opacity: .7; }
.ficha__precio b { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.ficha__precio em { font-style: normal; font-size: .9rem; opacity: .8; }
.ficha h3 { font-size: 1.1rem; color: var(--navy); letter-spacing: -.01em; margin-bottom: 10px; }
.incluye { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.incluye li { display: flex; gap: 12px; align-items: center; }
.incluye .ico-c { width: 38px; height: 38px; flex: none; border-radius: 12px; background: var(--sand); display: grid; place-items: center; color: var(--red); }
.itin { display: grid; gap: 8px; }
.itin details { border-radius: 14px; background: var(--sand); }
.itin summary { list-style: none; cursor: pointer; padding: 12px 16px; font-weight: 650; color: var(--navy); display: flex; justify-content: space-between; align-items: center; }
.itin summary::-webkit-details-marker { display: none; }
.itin summary::after { content: "+"; font-size: 1.3rem; line-height: 1; transition: transform .25s; }
.itin details[open] summary::after { transform: rotate(45deg); }
.itin details p { padding: 0 16px 14px; color: var(--muted); }
.ficha__nota { font-size: .85rem; color: var(--muted); }
.ficha__acciones { display: flex; flex-wrap: wrap; gap: 10px; position: sticky; bottom: -28px; margin: 0 -20px -28px; padding: 14px 20px 20px; background: linear-gradient(180deg, rgba(255, 250, 242, 0), var(--paper) 30%); }
.ficha__acciones .btn--wa { flex: 1 1 220px; }
.btn--ghost { --bg: var(--sand); --fg: var(--navy); }
.btn--ghost:hover { --bg: var(--sand-2); }
.ficha__copiado { font-size: .85rem; color: #178c45; align-self: center; }

@media (min-width: 900px) {
  .ficha[open] { align-items: center; padding: 3vh 24px; }
  .ficha__inner { max-width: 1060px; max-height: 92vh; border-radius: 30px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
  .ficha__media { aspect-ratio: auto; height: 100%; min-height: 560px; }
  .ficha__body { overflow: auto; max-height: 92vh; padding: 36px 34px 28px; }
  .ficha__acciones { bottom: -28px; margin: 0 -34px -28px; padding: 16px 34px 24px; }
}

/* =========================================================
   TIPOS DE VIAJE — bento
   ========================================================= */
.viajes { padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 10vw, 130px); }
.bento { display: grid; gap: 14px; }
.bento a { text-decoration: none; }
.bento__big { position: relative; display: block; min-height: 380px; border-radius: var(--r-lg); overflow: hidden; color: #fff; }
.bento__big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bento__big:hover img { transform: scale(1.04); }
.bento__big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 27, 43, 0) 35%, rgba(0, 27, 43, .82)); }
.bento__txt { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 24px; display: grid; gap: 8px; }
.bento h3 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.035em; }
.bento__txt p { max-width: 40ch; color: rgba(255, 255, 255, .88); }
.bento__card { display: grid; align-content: start; gap: 10px; padding: 26px 24px; border-radius: var(--r-lg); min-height: 240px; transition: transform .35s var(--ease); }
.bento__card:hover { transform: translateY(-4px); }
.bento__card--sky { background: var(--sky); color: #fff; }
.bento__card--red { background: var(--red); color: #fff; }
.bento__card p { color: rgba(255, 255, 255, .9); max-width: 36ch; }
.bento__ico { width: 44px; height: 44px; stroke-width: 1.5; margin-bottom: auto; }
.bento__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; margin-top: 6px; }
.bento__go .ico { transition: transform .25s var(--ease); }
.bento a:hover .bento__go .ico { transform: translateX(4px); }
@media (min-width: 760px) {
  .bento { grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; }
  .bento__big { grid-row: span 2; min-height: 540px; }
  .bento__txt { padding: 34px; }
  .bento__card { padding: 30px; }
  .bento__ico { margin-bottom: 28px; }
}

/* =========================================================
   FLOTA — tarjeta que se expande a pantalla completa
   ========================================================= */
.flota { background: var(--sand); padding-bottom: clamp(64px, 9vw, 120px); }
.flota__frame {
  --ins: 0px;
  position: relative; height: 78svh; min-height: 460px; overflow: hidden;
  clip-path: inset(var(--ins) calc(var(--ins) * 1.4) var(--ins) calc(var(--ins) * 1.4) round calc(var(--ins) * 1.2 + 0px));
}
.js .flota__frame { --ins: clamp(12px, 5vw, 64px); }
.reduce .flota__frame { --ins: 0px; }
.reduce .flota__bg { transform: none; }
.flota__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.flota__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 27, 43, 0) 30%, rgba(0, 27, 43, .75)); }
.flota__over { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) clamp(48px, 8vw, 96px); max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; }
.flota__over h2 { color: var(--paper); font-size: clamp(2rem, 5.2vw, 4.4rem); max-width: 18ch; letter-spacing: -.04em; }
.flota__body { display: grid; gap: 28px; margin-top: clamp(-80px, -6vw, -40px); position: relative; z-index: 2; }
.flota__bus { margin: 0; }
.flota__bus img { width: min(100%, 620px); filter: drop-shadow(0 30px 30px rgba(0, 27, 43, .35)); }
.stats { display: flex; gap: 14px; }
.stats div { flex: 1; padding: 18px 20px; border-radius: var(--r-md); background: var(--paper); box-shadow: var(--shadow); }
.stats b { display: block; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; color: var(--navy); line-height: 1; }
.stats small { color: var(--muted); font-size: .95rem; }
.feats { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 4px; }
.feats li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--sand-2); color: var(--navy); font-weight: 550; }
.feats .ico { color: var(--red); width: 22px; height: 22px; }
@media (min-width: 900px) {
  .flota__body { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 56px; }
  .flota__frame { height: 88svh; }
}

/* =========================================================
   CONTACTO
   ========================================================= */
.contacto { background: var(--navy); color: var(--paper); padding: clamp(72px, 10vw, 130px) 0; border-radius: 36px 36px 0 0; }
.contacto__grid { display: grid; gap: 40px; }
.contacto h2 { font-size: clamp(2.3rem, 6vw, 4.2rem); letter-spacing: -.04em; }
.contacto__lead { margin-top: 14px; color: rgba(255, 250, 242, .78); font-size: 1.1rem; max-width: 44ch; }
.pasos { list-style: none; counter-reset: p; margin: 28px 0; padding: 0; display: grid; gap: 10px; }
.pasos li { counter-increment: p; display: flex; gap: 14px; align-items: baseline; color: rgba(255, 250, 242, .82); }
.pasos li::before { content: counter(p); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; transform: translateY(5px); }
.pasos b { color: #fff; font-weight: 650; }
.datos { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.datos li { display: flex; gap: 12px; align-items: center; }
.datos .ico { color: var(--sky); }
.datos a { text-decoration: none; }
.datos a:hover { text-decoration: underline; }
.form { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: 26px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.form h3 { grid-column: 1 / -1; font-size: 1.5rem; color: var(--navy); }
.field { grid-column: 1 / -1; display: grid; gap: 6px; }
.field--half { grid-column: span 1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--sand-2); background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(66, 157, 191, .2); }
.form .btn { grid-column: 1 / -1; }
.form .sw-form-nota { grid-column: 1 / -1; text-align: center; color: var(--muted); }
@media (min-width: 900px) {
  .contacto__grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .form { padding: 32px; }
}

/* Mapa */
.mapa { position: relative; margin-top: clamp(48px, 7vw, 88px); }
.mapa__frame { position: relative; height: 320px; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; background: var(--navy-2); }
.mapa__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.75) contrast(1.05); }
.mapa__card { background: var(--paper); color: var(--ink); border-radius: 0 0 var(--r-lg) var(--r-lg); padding: 24px 22px; display: grid; gap: 12px; justify-items: start; }
.mapa__pin { width: 44px; height: 44px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; }
.mapa__pin .ico { width: 22px; height: 22px; }
.mapa__card h3 { font-size: 1.5rem; color: var(--navy); }
.mapa__dir { font-size: 1.08rem; color: var(--navy); font-weight: 550; }
.mapa__card .datos { gap: 8px; margin: 2px 0 6px; }
.mapa__card .datos .ico { color: var(--red); }
@media (min-width: 900px) {
  .mapa__frame { height: 460px; border-radius: var(--r-lg); }
  .mapa__card { position: absolute; left: 24px; top: 24px; bottom: 24px; width: 340px; border-radius: 22px; padding: 28px; align-content: center; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255, 250, 242, .75); padding: 48px 0 28px; font-size: .92rem; }
.footer__top { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__logo { height: 44px; width: auto; }
.footer__parent { text-decoration: none; }
.footer__parent b { color: #fff; font-weight: 600; }
.footer__parent:hover b { text-decoration: underline; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.footer__social a:hover { background: rgba(255, 255, 255, .18); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 20px; font-size: .84rem; }

/* Que el botón de WhatsApp no tape el CTA fijo de la ficha en móvil */
body.ficha-open .sw-wa-float { opacity: 0; pointer-events: none; }
