/* ==========================================================================
   MayaGo Tours — estilo editorial cálido con la paleta del logo
   Tinta: verde azulado oscuro · Acento: turquesa · Compra: naranja atardecer
   ========================================================================== */

:root {
  --c-ink:        #0E3A3E;   /* verde azulado oscuro del logo: texto y fondos oscuros */
  --c-ink-2:      #0A2C2F;
  --c-cream:      #F4F1EC;
  --c-white:      #FFFFFF;   /* solo tarjeta de reserva */
  --c-muted:      #5A6B6C;
  --c-muted-soft: #C3C9C6;
  --c-line:       #E2DDD3;
  --c-accent:     #007A7A;   /* turquesa, oscurecido para leerse sobre crema */
  --c-accent-lt:  #01A8A8;   /* turquesa del logo, sobre fondos oscuros */
  --c-cta:        #F29A38;   /* naranja atardecer: solo botones de compra */
  --c-cta-dk:     #E0842A;
  --c-wa:         #25D366;

  --font: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-display:  clamp(38px, 5.2vw, 72px);
  --fs-h2:       clamp(30px, 3.4vw, 52px);
  --fs-h3:       clamp(20px, 1.9vw, 26px);
  --fs-body-lg:  clamp(17px, 1.5vw, 21px);
  --fs-body:     clamp(15px, 1.15vw, 17px);
  --fs-caption:  clamp(12px, 0.85vw, 14px);
  --fw-light: 300; --fw-reg: 400; --fw-med: 500;
  --lh-tight: 1.08; --lh-snug: 1.3; --lh-body: 1.6;

  --sp-section:    clamp(72px, 9vw, 132px);
  --sp-section-lg: clamp(96px, 12vw, 168px);
  --sp-section-sm: clamp(48px, 6vw, 80px);
  --sp-gutter:     clamp(20px, 5vw, 80px);
  --max-w: 1280px;

  --radius: 2px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* --------------------------------------------------------------- reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--c-cream); color: var(--c-ink);
  font-family: var(--font); font-size: var(--fs-body); font-weight: var(--fw-reg);
  line-height: var(--lh-body); -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
input, select, textarea, button { font-family: inherit; font-size: inherit; color: inherit; }
::placeholder { color: var(--c-muted-soft); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 2px solid var(--c-accent-lt); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sr-only:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip-path: none; z-index: 999; background: var(--c-ink); color: var(--c-cream); padding: 8px 14px; }

/* ---------------------------------------------------------- primitivas --- */
.container   { max-width: var(--max-w); margin-inline: auto; }
.section     { padding: var(--sp-section) var(--sp-gutter); }
.section--lg { padding: var(--sp-section-lg) var(--sp-gutter); }
.section--sm { padding: var(--sp-section-sm) var(--sp-gutter); }

.eyebrow {
  font-size: var(--fs-caption); font-weight: var(--fw-med);
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-accent); margin: 0 0 18px;
}
.eyebrow--light { color: rgba(244,241,236,.85); }
.eyebrow--ink   { color: var(--c-ink); }

.h1 { font-size: var(--fs-display); font-weight: var(--fw-light); line-height: var(--lh-tight); letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
.h2 { font-size: var(--fs-h2); font-weight: var(--fw-reg); line-height: var(--lh-tight); letter-spacing: -0.005em; text-wrap: balance; margin: 0; }
.h3 { font-size: var(--fs-h3); font-weight: var(--fw-med); line-height: var(--lh-snug); letter-spacing: -0.01em; margin: 0; }
.body-lg { font-size: var(--fs-body-lg); }
.muted { color: var(--c-muted); }
.max-p { max-width: 68ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  border: none; border-radius: var(--radius);
  font-size: var(--fs-caption); font-weight: var(--fw-med);
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 16px 30px; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn--cta   { background: var(--c-cta); color: var(--c-ink); }
.btn--cta:hover { background: var(--c-cta-dk); }
.btn--ink   { background: var(--c-ink); color: var(--c-cream); }
.btn--ink:hover { background: var(--c-ink-2); }
.btn--ghost { background: transparent; color: var(--c-ink); border: 1px solid var(--c-muted-soft); }
.btn--ghost:hover { background: var(--c-ink); color: var(--c-cream); border-color: var(--c-ink); }
.btn--ghost-light { background: transparent; color: var(--c-cream); border: 1px solid rgba(244,241,236,.5); }
.btn--ghost-light:hover { background: var(--c-cream); color: var(--c-ink); }
.btn--wa    { background: var(--c-wa); color: #fff; letter-spacing: .12em; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* Filetes con bordes: las filas incompletas no dejan huecos grises */
.rejilla { display: grid; border-top: 1px solid var(--c-line); border-left: 1px solid var(--c-line); }
.rejilla > * { border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.rejilla--auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.celda { background: var(--c-cream); padding: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px); }

.arrow { display: inline-block; transition: transform .45s var(--ease); }

/* ----------------------------------------------------------------- nav --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--sp-gutter);
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
.nav__logo { display: block; flex: none; }
.nav__logo-img { height: 42px; width: auto; }
.nav__logo-img--dark { display: none; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 36px); white-space: nowrap; }
.nav__links a, .nav__lang {
  font-size: var(--fs-caption); font-weight: var(--fw-med); letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-cream); transition: color .4s ease, opacity .25s ease;
}
.nav__links a:hover, .nav__lang:hover { opacity: .7; }
.nav__tools { display: flex; align-items: center; gap: 16px; }
.nav__cta { padding: 12px 20px; background: transparent; color: var(--c-cream); border: 1px solid rgba(244,241,236,.55); }
.nav__cta:hover { background: var(--c-cream); color: var(--c-ink); }

.toggle { display: inline-flex; border: 1px solid rgba(244,241,236,.45); border-radius: var(--radius); }
.toggle button {
  border: 0; background: transparent; cursor: pointer; padding: 6px 10px;
  font-size: 11px; font-weight: var(--fw-med); letter-spacing: .14em; color: var(--c-cream);
}
.toggle button.is-on { background: var(--c-cream); color: var(--c-ink); }

.nav--scrolled, .nav--solid {
  background: rgba(244, 241, 236, 0.86);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(14, 58, 62, 0.08);
  padding-block: 12px;
}
.nav--scrolled .nav__logo-img--light, .nav--solid .nav__logo-img--light { display: none; }
.nav--scrolled .nav__logo-img--dark, .nav--solid .nav__logo-img--dark { display: block; }
.nav--scrolled .nav__links a, .nav--solid .nav__links a,
.nav--scrolled .nav__lang, .nav--solid .nav__lang { color: var(--c-ink); }
.nav--scrolled .toggle, .nav--solid .toggle { border-color: var(--c-muted-soft); }
.nav--scrolled .toggle button, .nav--solid .toggle button { color: var(--c-ink); }
.nav--scrolled .toggle button.is-on, .nav--solid .toggle button.is-on { background: var(--c-ink); color: var(--c-cream); }
.nav--scrolled .nav__cta, .nav--solid .nav__cta { background: var(--c-cta); color: var(--c-ink); border-color: var(--c-cta); }

@media (max-width: 1080px) {
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .nav { gap: 10px; }
  .nav__logo-img { height: 32px; }
  .nav__cta { display: none; }
  .nav__tools { gap: 10px; }
}

/* ---------------------------------------------------------------- hero --- */
.hero {
  position: relative; min-height: min(92vh, 880px);
  display: flex; align-items: flex-end;
  padding: 140px var(--sp-gutter) clamp(56px, 8vw, 110px);
  color: var(--c-cream); overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,44,47,.88) 0%, rgba(10,44,47,.58) 55%, rgba(10,44,47,.18) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 56px; }
/* Sello con el logo vertical: crema semitransparente sobre la foto, centrado respecto al texto */
.hero__seal {
  flex: none; width: clamp(300px, 30vw, 440px);
  background: rgba(244, 241, 236, 0.72);
  backdrop-filter: blur(10px) saturate(120%); -webkit-backdrop-filter: blur(10px) saturate(120%);
  padding: 34px 32px 22px; border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,.25); text-align: center;
}
.hero__seal img { width: 100%; height: auto; }
.hero__seal-tag { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(14,58,62,.15); font-size: 12px; font-weight: var(--fw-med); letter-spacing: .2em; text-transform: uppercase; color: var(--c-accent); }
@media (max-width: 900px) {
  .hero__inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero__seal { order: -1; width: 190px; padding: 16px 16px 12px; }
  .hero__seal-tag { display: none; }
}
.hero__copy { max-width: 760px; }
.hero__copy .h1 { color: var(--c-cream); }
.hero__lead { margin: 26px 0 36px; max-width: 56ch; color: rgba(244,241,236,.88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 720px) {
  .hero::after { background: linear-gradient(180deg, rgba(10,44,47,.35) 0%, rgba(10,44,47,.9) 70%); }
}

/* ------------------------------------------------------- credenciales --- */
.creds { border-bottom: 1px solid var(--c-line); padding-inline: var(--sp-gutter); }
.creds__grid {
  list-style: none; margin-block: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.cred {
  display: flex; align-items: flex-start; gap: 18px;
  padding: clamp(32px, 3.4vw, 48px) clamp(20px, 2.2vw, 32px);
  border-left: 1px solid var(--c-line);
}
.cred:first-child { border-left: 0; padding-left: 0; }
.cred__icon {
  flex: none; width: 52px; height: 52px; display: grid; place-items: center;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  color: var(--c-accent); background: rgba(0,122,122,.05);
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.cred:hover .cred__icon { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-cream); }
.cred__title { margin: 2px 0 8px; font-size: clamp(17px, 1.35vw, 19px); font-weight: var(--fw-med); line-height: var(--lh-snug); letter-spacing: -0.005em; }
.cred__txt { margin: 0; font-size: 14px; line-height: 1.55; color: var(--c-muted); }

@media (max-width: 1040px) {
  .creds__grid { grid-template-columns: repeat(2, 1fr); }
  .cred:nth-child(odd) { border-left: 0; padding-left: 0; }
  .cred:nth-child(n+3) { border-top: 1px solid var(--c-line); }
}
@media (max-width: 600px) {
  .creds__grid { grid-template-columns: 1fr; }
  .cred { border-left: 0; padding-inline: 0; }
  .cred + .cred { border-top: 1px solid var(--c-line); }
}

/* ------------------------------------------------------------- catálogo --- */
/* Pestañas del catálogo: fijas bajo el menú mientras se recorren los tours */
.tabs-bar {
  position: sticky; top: var(--nav-h, 64px); z-index: 50;
  margin: 36px calc(-1 * var(--sp-gutter)) 0; padding: 14px var(--sp-gutter);
  background: rgba(244, 241, 236, 0.94);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease;
}
.tabs-bar.is-stuck { border-bottom-color: var(--c-line); }
/* Buscador del catálogo */
.search { position: relative; margin-bottom: 12px; }
.search__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--c-muted); pointer-events: none; }
.search__input {
  width: 100%; padding: 14px 44px 14px 46px; font-size: 16px;
  border: 1px solid var(--c-muted-soft); border-radius: var(--radius); background: var(--c-cream);
  -webkit-appearance: none; appearance: none;
}
.search__input::-webkit-search-cancel-button { display: none; }
.search__input:focus { outline: none; border-color: var(--c-ink); background: var(--c-white); }
.search__clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: transparent; font-size: 22px; line-height: 1; color: var(--c-muted); cursor: pointer; }
.search__clear:hover { color: var(--c-ink); }
.card[hidden] { display: none; }
.no-results { margin-top: 48px; padding: 48px 0; border-top: 1px solid var(--c-line); display: grid; gap: 14px; justify-items: start; }
.no-results[hidden] { display: none; }
.no-results p { margin: 0; }
.tabs.is-dim .tab.is-on { background: transparent; color: var(--c-ink); border-color: var(--c-muted-soft); }

.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 16px; border: 1px solid var(--c-muted-soft); border-radius: var(--radius);
  background: transparent; cursor: pointer; white-space: nowrap;
  font-size: var(--fs-caption); font-weight: var(--fw-med); letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.tab:hover { border-color: var(--c-ink); }
.tab.is-on { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-cream); }
.tab__n { font-size: 11px; letter-spacing: .06em; opacity: .6; }
.cat-block[hidden] { display: none; }
/* Con una sola categoría visible, el primer bloque no necesita tanto aire arriba */
.cat-block.is-first { margin-top: clamp(40px, 5vw, 64px); }

.cat-block { margin-top: clamp(64px, 8vw, 112px); }
.cat-block__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.cat-block__count { font-size: var(--fs-caption); letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); }

/* Filetes con bordes (no gap) para que la última fila incompleta no deje un bloque gris */
.cards { display: grid; border-top: 1px solid var(--c-line); border-left: 1px solid var(--c-line);
         grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card { background: var(--c-cream); display: flex; flex-direction: column;
        border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 3/2; background: var(--c-line); }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__img { transform: scale(1.06); }
.card:hover .arrow { transform: translateX(6px); }
.card__body { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__meta { font-size: var(--fs-caption); letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); font-weight: var(--fw-med); }
.card__summary { margin: 0; color: var(--c-muted); font-size: 15px; }
.card__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--c-line); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.card__from { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); display: block; }
.card__price { font-size: 22px; font-weight: var(--fw-reg); }
.card__link { font-size: var(--fs-caption); letter-spacing: .14em; text-transform: uppercase; font-weight: var(--fw-med); color: var(--c-accent); white-space: nowrap; }

/* ----------------------------------------------------- banda a sangre --- */
.band { position: relative; color: var(--c-cream); overflow: hidden; }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(10,44,47,.62); }
.band__inner { position: relative; z-index: 2; max-width: 900px; }
.band .h2 { color: var(--c-cream); }

/* --------------------------------------------------------------- pasos --- */
.steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-top: 48px; }
.step__n { font-size: var(--fs-h2); font-weight: var(--fw-light); color: var(--c-accent); line-height: 1; margin: 0 0 24px; }
.step p { margin: 12px 0 0; color: var(--c-muted); }

/* ---------------------------------------------------------- testimonios --- */
.testi__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.testi__sample { margin: 14px 0 0; display: inline-block; padding: 6px 10px; font-size: 12px; letter-spacing: .08em; background: #FFF4E5; color: #8A4B08; border: 1px dashed #E0842A; border-radius: var(--radius); }
.gal-nav { display: flex; gap: 8px; }
.gal-nav__btn { width: 46px; height: 46px; border: 1px solid var(--c-muted-soft); border-radius: var(--radius); background: transparent; cursor: pointer; font-size: 18px; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.gal-nav__btn:hover { background: var(--c-ink); color: var(--c-cream); border-color: var(--c-ink); }
.gal { display: flex; gap: 1px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--c-line); border: 1px solid var(--c-line); }
.gal::-webkit-scrollbar { display: none; }
.testi__card {
  flex: 0 0 clamp(280px, 30vw, 400px); scroll-snap-align: start; margin: 0;
  background: var(--c-cream); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px;
}
.testi__stars { color: var(--c-accent); letter-spacing: .18em; font-size: 15px; }
.testi__stars span { color: var(--c-muted-soft); }
.testi__quote { margin: 0; font-size: clamp(17px, 1.35vw, 20px); font-weight: var(--fw-light); line-height: 1.55; flex: 1; }
.testi__who { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--c-line); }
.testi__avatar { flex: none; width: 44px; height: 44px; border-radius: var(--radius-pill); display: grid; place-items: center; background: var(--c-ink); color: var(--c-cream); font-size: 14px; font-weight: var(--fw-med); letter-spacing: .06em; }
.testi__who strong { display: block; font-weight: var(--fw-med); }
.testi__who small { color: var(--c-muted); font-size: 13px; }
.testi__who a { color: var(--c-accent); }
.testi__who a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gal-dots { display: flex; gap: 6px; margin-top: 22px; }
.gal-nav__dot { height: 2px; flex: 1; background: rgba(14,58,62,.15); transition: background .3s ease; }
.gal-nav__dot.is-on { background: var(--c-ink); }

/* ----------------------------------------------------------------- faq --- */
.faq { margin-top: 40px; border-bottom: 1px solid var(--c-line); }
.faq-item { border-top: 1px solid var(--c-line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: var(--fs-h3); font-weight: var(--fw-med); }
.faq-item__mark { font-weight: var(--fw-light); font-size: var(--fs-h3); color: var(--c-muted); flex: none; transition: transform .45s var(--ease); }
.faq-item[open] .faq-item__mark { transform: rotate(45deg); }
.faq-item__a { margin: 0 0 24px; max-width: 68ch; color: var(--c-muted); }

/* ------------------------------------------------------------ contacto --- */
.contact { background: var(--c-ink); color: var(--c-cream); }
.contact .h2 { color: var(--c-cream); }
.contact__grid { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: end; }
.contact__lines { display: grid; gap: 1px; background: rgba(244,241,236,.14); }
.contact__line { background: var(--c-ink); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; }
.contact__line span:first-child { font-size: var(--fs-caption); letter-spacing: .16em; text-transform: uppercase; color: rgba(244,241,236,.6); }

/* ---------------------------------------------------------------- pie --- */
.footer { background: var(--c-ink-2); color: rgba(244,241,236,.8); padding: var(--sp-section-sm) var(--sp-gutter) 32px; }
.footer .eyebrow { color: var(--c-accent-lt); }
.footer__grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.footer__logo { width: 220px; height: auto; background: var(--c-cream); padding: 18px 20px; border-radius: var(--radius); }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer__list a:hover { color: var(--c-cream); }
.footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(244,241,236,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(244,241,236,.55); }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }

.wa-float {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 90;
  width: 58px; height: 58px; border-radius: var(--radius-pill);
  background: var(--c-wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.22); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }

/* ================================================================ TOUR === */
.tour-hero { padding: 120px var(--sp-gutter) 0; }
.crumbs { font-size: var(--fs-caption); letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--c-ink); }
.tour-hero .h1 { max-width: 20ch; }
.tour-hero__lead { margin: 22px 0 0; }

.gallery { margin-top: 48px; display: grid; gap: 1px; background: var(--c-line); grid-template-columns: 2fr 1fr; }
.gallery__main { aspect-ratio: 16/10; overflow: hidden; background: var(--c-line); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__side { display: grid; gap: 1px; grid-template-rows: 1fr 1fr; }
.gallery__side img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } .gallery__side { display: none; } }

.tour-layout { display: grid; gap: clamp(40px, 5vw, 80px); grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); align-items: start; }
@media (max-width: 980px) { .tour-layout { grid-template-columns: 1fr; } }

.facts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); margin: 40px 0; }
.facts .celda { padding: 22px 20px; }
.fact__k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); font-weight: var(--fw-med); margin: 0 0 6px; }
.fact__v { margin: 0; font-size: 17px; }

.prices { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 15px; }
.prices th, .prices td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.prices th { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); font-weight: var(--fw-med); }
.prices td.num { white-space: nowrap; }
.table-wrap { overflow-x: auto; }

.note { margin-top: 20px; padding: 16px 18px; border-left: 2px solid var(--c-accent); background: rgba(0,122,122,.06); font-size: 15px; color: var(--c-ink); }

/* Descripción e incluye / no incluye */
.about { margin-bottom: 40px; }
.about p.body-lg { margin: 0 0 16px; }
.incl { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); padding: 32px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.incl__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.incl__list li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; }
.incl__list li::before { position: absolute; left: 0; top: 0; font-size: 15px; line-height: 1.5; }
.incl__list--yes li::before { content: "✓"; color: var(--c-accent); }
.incl__list--no li::before { content: "–"; color: var(--c-muted); }
.incl__list--no li { color: var(--c-muted); }

/* Información importante del operador */
.info { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--c-line); }
.info__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.info__list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.55; max-width: 68ch; }
.info__list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px;
  border: 1px solid var(--c-accent); border-radius: var(--radius-pill);
}

/* ------------------------------------------------ tarjeta de reserva --- */
.book {
  position: sticky; top: 96px;
  background: var(--c-white); padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--radius); box-shadow: 0 24px 60px rgba(10,44,47,.18);
}
@media (max-width: 980px) { .book { position: static; } }
.book__title { margin: 0 0 22px; }
.field { margin-bottom: 20px; }
.field__label { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: var(--fw-med); color: var(--c-muted); margin-bottom: 8px; }
.select, .input {
  width: 100%; padding: 13px 14px; border: 1px solid var(--c-muted-soft); border-radius: var(--radius);
  background: var(--c-white); font-size: 16px;
}
.select:focus, .input:focus { outline: none; border-color: var(--c-ink); }

.cal { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 12px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal__title { font-weight: var(--fw-med); text-transform: capitalize; }
.cal__btn { width: 36px; height: 36px; border: 1px solid var(--c-line); background: transparent; border-radius: var(--radius); cursor: pointer; }
.cal__btn:hover:not([disabled]) { background: var(--c-ink); color: var(--c-cream); }
.cal__btn[disabled] { opacity: .3; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal__dow { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); padding: 6px 0; }
.cal__day {
  aspect-ratio: 1; border: 0; background: transparent; border-radius: var(--radius); cursor: pointer; font-size: 14px;
  color: var(--c-ink);
}
.cal__day:hover:not([disabled]) { background: rgba(0,122,122,.12); }
.cal__day[disabled] { color: var(--c-muted-soft); cursor: default; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.12); }
.cal__day.is-sel { background: var(--c-ink); color: var(--c-cream); }
.cal__hint { font-size: 13px; color: var(--c-muted); margin: 8px 0 0; }

.qty { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.qty:last-child { border-bottom: 0; }
.qty__label strong { display: block; font-weight: var(--fw-med); }
.qty__label small { color: var(--c-muted); font-size: 13px; }
.qty__ctrl { display: flex; align-items: center; gap: 12px; }
.qty__btn { width: 36px; height: 36px; border: 1px solid var(--c-muted-soft); background: transparent; border-radius: var(--radius); cursor: pointer; font-size: 18px; line-height: 1; }
.qty__btn:hover:not([disabled]) { background: var(--c-ink); color: var(--c-cream); border-color: var(--c-ink); }
.qty__btn[disabled] { opacity: .3; cursor: default; }
.qty__val { min-width: 22px; text-align: center; font-weight: var(--fw-med); }

.summary { margin: 22px 0; padding-top: 18px; border-top: 1px solid var(--c-line); font-size: 15px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; color: var(--c-muted); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; }
.summary__total strong { font-size: 28px; font-weight: var(--fw-reg); color: var(--c-ink); }
.summary__fee { font-size: 13px; color: var(--c-muted); margin: 8px 0 0; }
.book__msg { font-size: 14px; margin: 12px 0 0; color: #9E2E22; min-height: 1em; }
.book__small { font-size: 13px; color: var(--c-muted); margin: 14px 0 0; text-align: center; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------- movimiento --- */
/* Sin will-change permanente: con decenas de tarjetas satura la composición del navegador */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ============================================================ ASESOR IA === */
.nav__ai {
  border: 0; background: transparent; cursor: pointer; padding: 0;
  font-size: var(--fs-caption); font-weight: var(--fw-med); letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-accent-lt); transition: color .4s ease, opacity .25s ease;
}
.nav__ai:hover { opacity: .7; }
.nav--scrolled .nav__ai, .nav--solid .nav__ai { color: var(--c-accent); }

.ai-float {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: calc(clamp(16px, 2.4vw, 32px) + 70px); z-index: 90;
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 12px;
  border: 0; border-radius: var(--radius-pill); cursor: pointer;
  background: var(--c-ink); color: var(--c-cream);
  font-size: 12px; font-weight: var(--fw-med); letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(0,0,0,.22); transition: transform .3s var(--ease);
}
.ai-float svg { color: var(--c-accent-lt); }
.ai-float:hover { transform: translateY(-2px); }
@media (max-width: 560px) { .ai-float span { display: none; } .ai-float { width: 46px; padding: 0; justify-content: center; } }

.ai[hidden] { display: none; }
.ai { position: fixed; inset: 0; z-index: 200; }
.ai__backdrop { position: absolute; inset: 0; background: rgba(10,44,47,.45); }
.ai__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%);
  background: var(--c-cream); display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(10,44,47,.35);
  animation: aiIn .45s var(--ease);
}
@keyframes aiIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.ai__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 24px 18px; border-bottom: 1px solid var(--c-line); }
.ai__close { width: 40px; height: 40px; border: 1px solid var(--c-muted-soft); border-radius: var(--radius); background: transparent; font-size: 22px; line-height: 1; cursor: pointer; }
.ai__close:hover { background: var(--c-ink); color: var(--c-cream); border-color: var(--c-ink); }
.ai__log { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.ai__msg { max-width: 88%; padding: 12px 14px; border-radius: var(--radius); font-size: 15px; line-height: 1.55; white-space: pre-line; }
.ai__msg--bot { align-self: flex-start; background: var(--c-white); border: 1px solid var(--c-line); }
.ai__msg--user { align-self: flex-end; background: var(--c-ink); color: var(--c-cream); }
.ai__msg a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
.ai__msg--typing { color: var(--c-muted); }
.ai__msg--typing span { display: inline-block; animation: aiDot 1.2s infinite; }
.ai__msg--typing span:nth-child(2) { animation-delay: .2s; } .ai__msg--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes aiDot { 0%, 60%, 100% { opacity: .2; } 30% { opacity: 1; } }
.ai__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 24px 12px; }
.ai__chips[hidden] { display: none; }
.ai__chip { border: 1px solid var(--c-muted-soft); background: transparent; border-radius: var(--radius); padding: 8px 10px; font-size: 13px; text-align: left; cursor: pointer; }
.ai__chip:hover { border-color: var(--c-ink); }
.ai__form { display: flex; gap: 8px; padding: 12px 24px; border-top: 1px solid var(--c-line); }
.ai__input { flex: 1; min-width: 0; padding: 13px 14px; font-size: 16px; border: 1px solid var(--c-muted-soft); border-radius: var(--radius); background: var(--c-white); }
.ai__input:focus { outline: none; border-color: var(--c-ink); }
.ai__send { padding: 0 18px; font-size: 18px; }
.ai__legal { margin: 0; padding: 0 24px 18px; font-size: 12px; color: var(--c-muted); }

.ai-cta { border-top: 1px solid var(--c-line); }
.ai-cta__grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: end; }
.ai-cta__form { display: flex; gap: 8px; flex-wrap: wrap; }
.ai-cta__form .ai__input { flex: 1 1 260px; }

/* ============================================================ DESCUENTOS === */
.price-old { color: var(--c-muted); text-decoration-thickness: 1px; font-size: .78em; margin-right: 4px; }
.price-old span { color: inherit; }
.price-new { color: var(--c-ink); }
.promo-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--c-cta); color: var(--c-ink); font-size: 13px; font-weight: var(--fw-med);
  letter-spacing: .06em; padding: 6px 10px; border-radius: var(--radius);
}
.card--promo .card__price .price-new { font-weight: var(--fw-med); }
.promo-banner {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 22px 0 0; padding: 8px 14px 8px 8px; border: 1px solid var(--c-cta); border-radius: var(--radius);
  background: rgba(242,154,56,.1); font-size: 14px;
}
.promo-banner__pct { background: var(--c-cta); color: var(--c-ink); font-weight: var(--fw-med); padding: 3px 8px; border-radius: var(--radius); font-size: 13px; }
.promo-banner--sm { margin: -8px 0 20px; font-size: 13px; }
.summary__row--promo { color: var(--c-accent); }
.tab--promo { border-color: var(--c-cta); }
.tab--promo.is-on { background: var(--c-cta); border-color: var(--c-cta); color: var(--c-ink); }
.promo-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
  padding: 12px var(--sp-gutter); background: var(--c-ink); color: var(--c-cream); font-size: 14px; text-align: center;
}
.promo-strip__tag { background: var(--c-cta); color: var(--c-ink); font-size: 11px; font-weight: var(--fw-med); letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--radius); }
.promo-strip__cta { color: var(--c-accent-lt); font-size: 12px; font-weight: var(--fw-med); letter-spacing: .14em; text-transform: uppercase; }
.promo-strip:hover .promo-strip__cta { text-decoration: underline; text-underline-offset: 3px; }

/* ================================================= PRIVACIDAD Y COOKIES === */
.legal { padding-top: 70px; }
.legal__body { max-width: 780px; }
.legal__body .h1 { margin-bottom: 12px; }
.legal__body .h3 { margin: 44px 0 12px; }
.legal__body p, .legal__body li { line-height: 1.7; max-width: 68ch; }
.legal__body ul { padding-left: 20px; display: grid; gap: 10px; }
.legal__body a, .book__small a, .ai__legal a, .footer__legal .linkbtn { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.cookies {
  position: fixed; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 150;
  width: min(420px, calc(100% - 24px)); background: var(--c-cream); color: var(--c-ink);
  border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px 20px;
  box-shadow: 0 18px 50px rgba(10,44,47,.22); font-size: 14px; line-height: 1.55;
}
.cookies[hidden] { display: none; }
.cookies p { margin: 0 0 14px; }
.cookies a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
.cookies__actions { display: flex; gap: 8px; justify-content: flex-end; }
.cookies .btn { padding: 11px 18px; }
