/* ==========================================================================
   RAÍCES — raices.travel
   Sistema de diseño basado en el Brand Book Raíces
   Paleta: Tierra #68362C · Atardecer #9C2B0D · Oliva #7D8561 · Arena #E6CAB2
   Tipografía: Passion One (títulos) · Poppins (párrafos)
   ========================================================================== */

:root {
  --arena: #E6CAB2;
  --arena-soft: #F0DFC9;
  --bg: #F7F0E4;
  --paper: #FDFAF3;
  --tierra: #68362C;
  --ink: #3B2018;
  --ink-soft: #5C3A2E;
  --mute: #8A6A58;
  --atardecer: #9C2B0D;
  --atardecer-dark: #7E2109;
  --oliva: #7D8561;
  --oliva-dark: #5E6547;
  --line: rgba(59, 32, 24, 0.14);
  --shadow: 0 18px 40px rgba(59, 32, 24, 0.10);
  --shadow-soft: 0 8px 22px rgba(59, 32, 24, 0.07);
  --radius: 18px;
  --font-display: "Passion One", "Arial Black", sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip; /* clip (no hidden): hidden crea scroll-container y rompe position:sticky */
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(1200px, 92vw); margin-inline: auto; }

/* ---------- Tipografía ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--tierra);
  margin: 0;
}
h1 { font-size: clamp(44px, 7.5vw, 96px); }
h2 { font-size: clamp(34px, 5vw, 62px); }
h3 { font-size: clamp(22px, 3vw, 32px); }
p { margin: 0 0 1em; }
strong { font-weight: 600; }

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--oliva-dark);
  margin: 0 0 14px;
}
.kicker--light { color: var(--arena); }

.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--atardecer); color: #fff; box-shadow: 0 10px 24px rgba(156, 43, 13, 0.32); }
.btn-primary:hover { background: var(--atardecer-dark); box-shadow: 0 14px 30px rgba(156, 43, 13, 0.4); }
.btn-ghost { border-color: currentColor; color: var(--tierra); background: transparent; }
.btn-ghost:hover { background: var(--tierra); color: var(--arena); border-color: var(--tierra); }
.btn-ghost--light { color: #fff; }
.btn-ghost--light:hover { background: #fff; color: var(--tierra); border-color: #fff; }
.btn-wa { background: #1FAF57; color: #fff; box-shadow: 0 10px 24px rgba(31, 175, 87, 0.3); }
.btn-wa:hover { background: #179147; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav.solid { background: rgba(247, 240, 228, 0.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo img { height: 46px; width: auto; transition: filter 0.35s ease; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -6px;
  height: 2px;
  background: var(--atardecer);
  transition: right 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.nav-hotel { color: var(--atardecer); font-weight: 600; }
.nav-links a.nav-hotel::after { background: var(--atardecer); }
.nav.on-dark:not(.solid) .nav-links a.nav-hotel { color: var(--arena); }
.nav-cta { padding: 10px 20px; font-size: 13.5px; }

/* Nav sobre hero oscuro (antes de scroll) */
.nav.on-dark:not(.solid) .nav-links a { color: #fff; }
.nav.on-dark:not(.solid) .nav-logo img { filter: brightness(0) invert(0.94) sepia(0.18) saturate(2) hue-rotate(-15deg); }

.nav-burger {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav-burger span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease; }
.nav.on-dark:not(.solid) .nav-burger span { background: #fff; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--tierra);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(38px, 9vw, 56px);
  text-transform: uppercase;
  color: var(--arena);
  text-decoration: none;
  line-height: 1.15;
}
.mobile-menu a:hover { color: #fff; }
body.menu-open { overflow: hidden; }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); background: var(--arena); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); background: var(--arena); }

@media (max-width: 900px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(59, 32, 24, 0.42) 0%, rgba(59, 32, 24, 0.06) 38%, rgba(59, 32, 24, 0.62) 100%);
}
.hero-content { position: relative; z-index: 2; width: min(1200px, 92vw); margin: 0 auto; padding: 0 0 9vh; }
.hero-content h1 { color: #fff; max-width: 14ch; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35); }
.hero-content h1 em { font-style: normal; color: var(--arena); }
.hero-sub { max-width: 52ch; margin: 20px 0 30px; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, 0.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badge {
  position: absolute;
  z-index: 2;
  right: max(4vw, 24px);
  bottom: 9vh;
  text-align: right;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.hero-badge .temp { font-family: var(--font-display); font-size: 44px; letter-spacing: 0; display: block; color: #fff; line-height: 1; }
@media (max-width: 720px) { .hero-badge { display: none; } }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 15px;
}
.scroll-hint::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 3px;
  background: #fff;
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--tierra);
  color: var(--arena);
  padding: 16px 0;
  white-space: nowrap;
}
.marquee-track { display: inline-flex; gap: 0; animation: marquee 38s linear infinite; will-change: transform; }
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0 18px;
}
.marquee i { font-style: normal; color: var(--oliva); padding: 0 4px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(36px, 5vw, 64px) 0; }
.wrap--narrow { max-width: 1000px; }
.wrap--narrow .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.wrap--narrow .section-head .lead { margin-left: auto; margin-right: auto; }
.section--paper { background: var(--paper); }
.section--arena { background: var(--arena-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }

/* Manifiesto */
.manifesto { display: grid; grid-template-columns: 120px 1fr; gap: clamp(24px, 5vw, 70px); align-items: start; }
.manifesto-num {
  font-family: var(--font-display);
  font-size: clamp(60px, 8vw, 110px);
  color: var(--oliva);
  line-height: 1;
  opacity: 0.55;
}
.manifesto h2 { max-width: 16ch; }
.manifesto .lead { margin-top: 26px; max-width: 62ch; }
@media (max-width: 760px) { .manifesto { grid-template-columns: 1fr; } }

/* ---------- Cards de experiencias ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
@media (max-width: 980px) { .exp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .exp-grid { grid-template-columns: 1fr; } }

.exp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.exp-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.exp-card-media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; }
.exp-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.7s ease; }
.exp-card:hover .exp-card-media img { transform: scale(1.08); filter: saturate(1.15); }
.exp-chip {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(59, 32, 24, 0.72);
  backdrop-filter: blur(6px);
  color: var(--arena);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}
.exp-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.exp-card-body h3 { color: var(--tierra); }
.exp-card-body p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.exp-card-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.exp-price { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.exp-price strong { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 400; color: var(--atardecer); letter-spacing: 0.02em; }
.exp-link { font-weight: 600; font-size: 14px; color: var(--atardecer); display: inline-flex; align-items: center; gap: 6px; }
.exp-card:hover .exp-link { text-decoration: underline; }

/* ---------- Pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; }
.pillar-num { font-family: var(--font-display); font-size: 44px; color: var(--oliva); line-height: 1; margin-bottom: 14px; }
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* ---------- Franja horizontal de destinos ---------- */
.strip { overflow-x: auto; scroll-snap-type: x mandatory; display: flex; gap: 18px; padding: 6px 4vw 26px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip-item { position: relative; flex: 0 0 min(340px, 78vw); aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; scroll-snap-align: center; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.strip-item:hover img { transform: scale(1.07); }
.strip-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(59, 32, 24, 0.72));
  color: #fff;
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- CTA final ---------- */
.cta-final {
  position: relative;
  background: var(--atardecer);
  color: #fff;
  text-align: center;
  padding: clamp(80px, 11vw, 140px) 0;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 22% 30%, rgba(230, 202, 178, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 80% 75%, rgba(125, 133, 97, 0.22) 0%, transparent 45%);
}
.cta-final .wrap { position: relative; }
.cta-final h2 { color: #fff; max-width: 18ch; margin: 0 auto 18px; }
.cta-final p { max-width: 52ch; margin: 0 auto 34px; color: rgba(255, 255, 255, 0.88); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(230, 202, 178, 0.82); padding: clamp(56px, 7vw, 90px) 0 34px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(30px, 5vw, 70px); margin-bottom: 50px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 74px; width: auto; margin-bottom: 18px; }
.footer h4 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.08em; font-size: 19px; color: var(--arena); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(230, 202, 178, 0.16); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 12.5px; color: rgba(230, 202, 178, 0.55); }

/* ---------- Página interior: header ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(28px, 4vw, 50px)) 0 clamp(26px, 4vw, 44px); }
.page-hero .kicker { color: var(--oliva-dark); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 62ch; margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips span {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
}

/* Collage de itinerario */
.collage { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; margin-top: clamp(20px, 3vw, 34px); }
.collage figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.collage figure:first-child { grid-row: 1 / 3; }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; aspect-ratio: 4/3; }
.collage figure:first-child img { aspect-ratio: auto; min-height: 100%; }
.collage figure:hover img { transform: scale(1.05); }
@media (max-width: 720px) {
  .collage { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .collage figure:first-child { grid-column: 1 / 3; grid-row: auto; }
}

/* ---------- Itinerario con timeline ---------- */
.itin-grid { display: grid; grid-template-columns: 1fr 320px; gap: clamp(24px, 3.5vw, 44px); align-items: start; }
@media (max-width: 940px) { .itin-grid { grid-template-columns: 1fr; } .itin-timeline { display: none; } }

.day-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  margin-bottom: 22px;
  box-shadow: var(--shadow-soft);
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.day-tag {
  display: inline-block;
  background: var(--atardecer);
  color: #fff;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.day-card h3 { margin-bottom: 14px; }
.day-card p { color: var(--ink-soft); font-size: 15.5px; }
.day-card p:last-child { margin-bottom: 0; }

.itin-timeline {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.tl-item {
  display: block;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  position: relative;
  transition: background 0.25s ease;
}
.tl-item:last-child { border-bottom: 0; }
.tl-item:hover { background: var(--arena-soft); }
.tl-item .tl-day { font-size: 11px; font-weight: 600; letter-spacing: 0.3em; color: var(--atardecer); text-transform: uppercase; }
.tl-item .tl-label { font-weight: 500; color: var(--tierra); font-size: 15px; }
.tl-item.active { background: var(--arena-soft); }
.tl-item.active::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--atardecer); }

/* ---------- Tarifas (acordeones) ---------- */
.acc {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  overflow: hidden;
  margin-bottom: 12px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.acc.is-open { border-color: var(--oliva); box-shadow: var(--shadow-soft); }
.acc-sum {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  color: var(--tierra);
  font-weight: 600;
  font-size: 15.5px;
}
.acc-sum::-webkit-details-marker { display: none; }
.acc-sum::after { content: "▾"; margin-left: auto; color: var(--oliva-dark); transition: transform 0.25s ease; }
.acc[open] > .acc-sum::after { transform: rotate(180deg); }
.acc-panel { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.35s ease, opacity 0.25s ease; }
.acc[open] > .acc-panel { opacity: 1; }
.acc-content { padding: 4px 20px 20px; }

/* filas hotel/precio */
.rate-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr) minmax(0, 1fr) 172px;
  gap: 14px;
  align-items: center;
  padding: 13px 4px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.rate-row:first-child { border-top: 0; }
.rate-label { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin-bottom: 2px; }
.rate-room { color: var(--ink-soft); font-size: 14px; }
.rate-name { font-weight: 600; color: var(--tierra); }
.rate-name small { display: block; font-weight: 400; color: var(--mute); font-size: 12.5px; }
.rate-loc { color: var(--ink-soft); font-size: 14px; }
.rate-price { font-weight: 600; color: var(--atardecer); white-space: nowrap; text-align: right; }
.rate-price small { display: block; font-weight: 400; color: var(--mute); font-size: 12px; text-align: right; }
.rate-name small a, .combo-col a, .note a { color: var(--oliva-dark); font-size: 12.5px; text-decoration: underline; transition: opacity 0.2s ease; }
.rate-name small a:hover, .combo-col a:hover, .note a:hover { opacity: 0.6; }
.note ul { display: grid; gap: 6px; }
@media (max-width: 760px) {
  .rate-row { grid-template-columns: 1fr auto; }
  .rate-loc, .rate-room { grid-column: 1 / -1; margin-top: -6px; }
}

/* Acordeón por categoría de hoteles */
.cat-acc > .acc-sum small { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; color: var(--mute); margin-right: 10px; }
.cat-acc > .acc-sum span.cat-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tierra);
}

/* Tooltip de ayuda (ⓘ) */
.tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--oliva);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  cursor: help;
  position: relative;
  margin-left: 6px;
  vertical-align: middle;
}
.tip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  background: var(--ink);
  color: var(--arena);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 30;
}
.tip:hover::after, .tip:focus::after { opacity: 1; }

/* Bloques de huéspedes (pre-reserva en páginas de plan) */
.guest-block {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px 8px;
  margin-bottom: 18px;
  background: #fff;
}
.guest-block > p {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oliva-dark);
  text-align: center;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

/* Conversor de moneda compacto */
#cur-pills button { font-size: 12px; padding: 6px 11px; }

/* Condiciones por hotel */
.hcond { display: block; columns: 2; column-gap: 10px; }
.hcond p { margin: 0 0 10px; font-size: 13.5px; color: var(--ink-soft); padding: 10px 12px; background: var(--arena-soft); border-radius: 10px; break-inside: avoid; }
.hcond p:first-child { column-span: all; }
@media (max-width: 760px) { .hcond { columns: 1; } }
.faq-list--cols .acc--wide { grid-column: 1 / -1; }
.hcond p strong { color: var(--tierra); }

/* tabla combinada (Aromas de Café) */
.combo { display: grid; grid-template-columns: repeat(3, 1fr) 0.9fr; gap: 14px; padding: 14px 4px; border-top: 1px solid var(--line); font-size: 14px; }
.combo:first-child { border-top: 0; }
.combo-col strong { color: var(--tierra); display: block; }
.combo-col span { color: var(--mute); font-size: 12.5px; }
.combo-col .combo-head { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--oliva-dark); display: block; margin-bottom: 6px; }
.combo-price {
  background: var(--arena-soft);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 14px 10px;
}
.combo-price strong { font-family: var(--font-display); font-size: 26px; font-weight: 400; color: var(--atardecer); }
.combo-price span { font-size: 12px; color: var(--mute); }
@media (max-width: 780px) { .combo { grid-template-columns: 1fr; } .combo-price { padding: 16px; } }

.rate-cat {
  font-family: var(--font-display);
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tierra);
  padding: 20px 4px 8px;
  border-bottom: 2px solid var(--oliva);
  margin-bottom: 4px;
}
.rate-cat:first-child { padding-top: 12px; }

.note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--atardecer);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.note--oliva { border-left-color: var(--oliva); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 900px; }
.faq-list--cols { grid-template-columns: 1fr 1fr; align-items: start; max-width: 100%; margin: 0 auto; }
.faq-list--cols .acc-sum { font-size: 14px; padding: 13px 16px; }
.faq-list--cols .acc-content { font-size: 14px; }
.faq-list--cols .acc-content ul { font-size: 13.5px; }
@media (max-width: 760px) { .faq-list--cols { grid-template-columns: 1fr; } }

/* listas dentro de acordeones */
.acc-content ul { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 15px; display: grid; gap: 7px; }

/* ---------- CTA reserva en páginas de plan ---------- */
.plan-cta {
  margin-top: clamp(50px, 6vw, 80px);
  background: var(--tierra);
  border-radius: calc(var(--radius) + 6px);
  color: var(--arena);
  padding: clamp(40px, 6vw, 70px);
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.plan-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(156, 43, 13, 0.35) 0%, transparent 55%);
}
.plan-cta > * { position: relative; }
.plan-cta h2 { color: var(--arena); font-size: clamp(28px, 3.6vw, 46px); max-width: 20ch; }
.plan-cta p { color: rgba(230, 202, 178, 0.85); margin: 12px 0 0; max-width: 54ch; }
@media (max-width: 820px) { .plan-cta { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.65, 0.25, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1FAF57;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(31, 175, 87, 0.45);
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Página de contacto ---------- */
.contact-hero {
  position: relative;
  min-height: 72svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.contact-hero .hero-media { position: absolute; inset: 0; }
.contact-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.contact-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(59, 32, 24, 0.5) 0%, rgba(59, 32, 24, 0.2) 40%, rgba(59, 32, 24, 0.72) 100%);
}
.contact-hero .hero-content { position: relative; z-index: 2; width: min(1200px, 92vw); margin: 0 auto; padding: 60px 0 8vh; }
.contact-hero h1 { color: #fff; font-size: clamp(38px, 5.6vw, 74px); max-width: 18ch; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35); }
.contact-hero .hero-sub { max-width: 56ch; margin: 18px 0 28px; color: rgba(255, 255, 255, 0.92); font-size: clamp(16px, 1.5vw, 18.5px); }
.contact-hero .hero-note { margin-top: 22px; font-size: 13.5px; color: rgba(255, 255, 255, 0.75); max-width: 56ch; }
.contact-hero .hero-note a { color: var(--arena); }

/* Testimonios */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
@media (max-width: 940px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.testi-stars { color: var(--atardecer); font-size: 15px; letter-spacing: 3px; }
.testi-card blockquote { margin: 0; font-size: 15.5px; color: var(--ink-soft); font-style: italic; flex: 1; }
.testi-card figcaption { font-size: 13px; font-weight: 500; color: var(--mute); }
.testi-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--tierra);
  margin-top: 8px;
}

/* Tarjetas de contacto + formulario */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(18px, 2.4vw, 30px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-soft);
}
.contact-card h3 { margin-bottom: 10px; }
.contact-card > p { color: var(--ink-soft); font-size: 15px; }
.contact-links { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14.5px; }
.contact-links a { color: var(--oliva-dark); text-decoration: underline; }
.contact-links a:hover { opacity: 0.65; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-field { grid-column: auto; } }
.form-field label { font-size: 13px; font-weight: 600; color: var(--tierra); letter-spacing: 0.03em; }
.form-field label small { font-weight: 400; color: var(--mute); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--oliva);
  box-shadow: 0 0 0 3px rgba(125, 133, 97, 0.18);
}
.form-help { font-size: 12px; color: var(--mute); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; align-items: center; }
.form-msg { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 12px; font-size: 14px; }
.form-msg.ok { display: block; background: rgba(125, 133, 97, 0.16); color: var(--oliva-dark); }
.form-msg.error { display: block; background: rgba(156, 43, 13, 0.1); color: var(--atardecer-dark); }
.form-disclaimer { font-size: 12px; color: var(--mute); margin: 14px 0 0; }

/* Horarios y ubicación */
.info-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(18px, 2.4vw, 30px); align-items: stretch; }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }
.hours-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 18px 0 22px; }
.hours-table td { padding: 11px 4px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.hours-table tr:first-child td { border-top: 0; }
.hours-table td:first-child { font-weight: 600; color: var(--tierra); }
.hours-table td:last-child { text-align: right; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  min-height: 340px;
  height: 100%;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Catálogo de experiencias ---------- */
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-chips button {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.hero-chips button:hover { background: var(--tierra); color: var(--arena); border-color: var(--tierra); }
.hero-meta { margin-top: 18px; font-size: 13px; color: var(--mute); }

.catalog-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: clamp(26px, 3.5vw, 44px); }
.catalog-search { position: relative; flex: 1; min-width: 260px; }
.catalog-search input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 20px 13px 46px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.catalog-search input:focus { outline: none; border-color: var(--oliva); box-shadow: 0 0 0 3px rgba(125, 133, 97, 0.18); }
.catalog-search::before {
  content: "⌕";
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-52%);
  font-size: 19px;
  color: var(--mute);
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pills button {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.filter-pills button:hover { border-color: var(--oliva); color: var(--tierra); }
.filter-pills button.active { background: var(--tierra); color: var(--arena); border-color: var(--tierra); }

.exp-chip--dur { left: auto; right: 14px; }
.exp-includes { list-style: none; padding: 0; margin: 2px 0 0; display: grid; gap: 5px; font-size: 13.5px; color: var(--ink-soft); }
.exp-includes li::before { content: "✓ "; color: var(--oliva-dark); font-weight: 600; }
.exp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.exp-tags span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--arena-soft);
  color: var(--ink-soft);
}
.exp-card.hidden { display: none; }
.empty-state { display: none; text-align: center; padding: clamp(50px, 7vw, 80px) 20px; }
.empty-state.show { display: block; }
.empty-state h3 { margin-bottom: 10px; }
.empty-state p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto 24px; }

/* ---------- Carrusel de testimonios ---------- */
.testi-carousel { position: relative; display: flex; align-items: stretch; gap: 10px; }
.tc-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; flex: 1; }
.tc-viewport::-webkit-scrollbar { display: none; }
.tc-track { display: flex; gap: 16px; }
.tc-track .testi-card { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; margin: 0; }
@media (max-width: 940px) { .tc-track .testi-card { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 620px) { .tc-track .testi-card { flex-basis: 100%; } }
.tc-arrow {
  align-self: center;
  flex: none;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--tierra);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.tc-arrow:hover { background: var(--tierra); color: var(--arena); transform: scale(1.06); }
@media (max-width: 620px) { .tc-arrow { display: none; } }

/* ---------- Pre-reserva de itinerarios ---------- */
.prebook-total {
  background: var(--arena-soft);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.prebook-total strong { font-family: var(--font-display); font-size: 26px; font-weight: 400; color: var(--atardecer); letter-spacing: 0.02em; }

/* Flatpickr — tema Raíces (páginas de plan) */
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange,
.flatpickr-day.selected:hover { background: var(--tierra); border-color: var(--tierra); }
.flatpickr-day.inRange { background: var(--arena-soft); border-color: var(--arena-soft); box-shadow: -5px 0 0 var(--arena-soft), 5px 0 0 var(--arena-soft); }
.flatpickr-day.today { border-color: var(--atardecer); }

/* ---------- util ---------- */
.center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ---------- v9: estilo Adams&Butler adaptado a Raíces ---------- */
/* Hero de plan con imagen de fondo */
.plan-hero2 {
  position: relative;
  min-height: min(78svh, 640px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 clamp(36px, 5vw, 60px);
  color: #fff;
  overflow: hidden;
}
.plan-hero2 .ph-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plan-hero2 .ph-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(59, 32, 24, 0.45) 0%, rgba(59, 32, 24, 0.08) 40%, rgba(30, 12, 6, 0.72) 100%);
}
.plan-hero2 .wrap { position: relative; z-index: 2; }
.plan-hero2 h1 { color: #fff; text-shadow: 0 4px 26px rgba(0, 0, 0, 0.35); }
.plan-hero2 .chips span { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.35); color: #fff; backdrop-filter: blur(3px); }
.plan-intro { padding: clamp(30px, 4vw, 50px) 0 clamp(8px, 1.5vw, 16px); }
.plan-intro .lead { max-width: 62ch; }

/* Galería marquee: avance automático + arrastrable con el mouse */
.gal-marquee { overflow-x: auto; scrollbar-width: none; padding: clamp(14px, 2vw, 24px) 0; background: var(--paper); cursor: grab; }
.gal-marquee::-webkit-scrollbar { display: none; }
.gal-marquee.dragging { cursor: grabbing; }
.gal-track { display: flex; gap: 16px; width: max-content; }
.gal-track img { height: clamp(220px, 32vw, 400px); width: auto; border-radius: 14px; object-fit: cover; user-select: none; -webkit-user-drag: none; pointer-events: none; }

.ao-chip { display: inline-block; white-space: nowrap; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; background: var(--tierra); color: var(--arena); border-radius: 999px; padding: 3px 8px; margin-left: 6px; vertical-align: middle; }
.hotel-fotos-btn { background: none; border: 0; padding: 0; color: var(--oliva-dark); font-size: 12.5px; text-decoration: underline; cursor: pointer; font-family: var(--font-body); }
.hotel-fotos-btn:hover { opacity: 0.6; }

/* Modal de hotel */
.hmodal-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(59,32,24,0.6); backdrop-filter: blur(4px); display: block; opacity: 0; pointer-events: none; overflow-y: auto; padding: 30px 16px; transition: opacity 0.55s ease; }
.hmodal-overlay.open { opacity: 1; pointer-events: auto; }
.hmodal { background: var(--paper); border-radius: 18px; max-width: 720px; margin: 0 auto; padding: 28px; position: relative; box-shadow: var(--shadow); transform: translateY(34px) scale(0.985); opacity: 0; transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease; }
.hmodal-overlay.open .hmodal { transform: none; opacity: 1; }
.hmodal-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; font-size: 30px; color: var(--mute); cursor: pointer; }
.hmodal h3 { margin-bottom: 4px; }
.hmodal .hm-loc { font-size: 13px; color: var(--mute); margin-bottom: 10px; }
.hmodal .hm-desc { font-size: 14.5px; color: var(--ink-soft); }
.hm-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.hm-meta span { font-size: 12px; padding: 5px 12px; border-radius: 999px; background: var(--arena-soft); color: var(--ink-soft); }
.hm-gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0; }
.hm-gal img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; cursor: zoom-in; transition: transform 0.45s ease, box-shadow 0.45s ease; }
.hm-gal img:hover { transform: scale(1.04); box-shadow: var(--shadow-soft); }
@media (max-width: 560px) { .hm-gal { grid-template-columns: 1fr 1fr; } }

/* Carrusel de experiencias (home) */
.expc { position: relative; }
.expc .tc-track { gap: 4px; }
.expc-slide { position: relative; flex: 0 0 calc((100% - 8px) / 3); scroll-snap-align: start; display: block; overflow: hidden; }
@media (max-width: 900px) { .expc-slide { flex-basis: calc((100% - 4px) / 2); } }
@media (max-width: 600px) { .expc-slide { flex-basis: 100%; } }
.expc-slide img { width: 100%; height: clamp(340px, 48vw, 520px); object-fit: cover; transition: transform 0.8s ease; display: block; }
.expc-slide:hover img { transform: scale(1.05); }
.expc-slide .expc-grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 55%, rgba(30,12,6,0.72) 100%); }
.expc-slide h5 { position: absolute; left: 18px; right: 18px; bottom: 14px; margin: 0; color: #fff; font-family: var(--font-body); font-weight: 500; font-size: 16.5px; line-height: 1.35; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.expc-nav { display: flex; justify-content: flex-end; gap: 8px; margin: 0 0 14px; }
.expc .tc-arrow { display: grid; }
.exp-split { display: grid; grid-template-columns: 0.9fr 1.6fr; gap: clamp(24px, 4vw, 60px); align-items: start; margin-bottom: clamp(24px, 3vw, 40px); }
@media (max-width: 860px) { .exp-split { grid-template-columns: 1fr; } }
.link-editorial { display: inline-block; margin-top: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--tierra); text-decoration: none; border-bottom: 1.5px solid var(--atardecer); padding-bottom: 4px; }
.link-editorial:hover { color: var(--atardecer); }

/* Diseñadores de experiencias (imágenes superpuestas) */
.designers { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
@media (max-width: 860px) { .designers { grid-template-columns: 1fr; } }
.designers-imgs { position: relative; min-height: clamp(320px, 42vw, 520px); }
.designers-imgs img { position: absolute; border-radius: 6px; object-fit: cover; box-shadow: var(--shadow); }
.designers-imgs .di-a { width: 68%; aspect-ratio: 4/5; top: 0; left: 0; }
.designers-imgs .di-b { width: 52%; aspect-ratio: 4/3; bottom: 0; right: 0; z-index: 2; border: 6px solid var(--bg); }
.designers-text .lead { max-width: 46ch; }

/* Mosaico de destinos (Luxury Destinations) */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; }
.mosaic a { position: relative; display: block; overflow: hidden; border-radius: 4px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s ease; }
.mosaic a:hover img { transform: scale(1.06); }
.mosaic a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(25,10,5,0.65) 100%); }
.mosaic span { position: absolute; left: 14px; bottom: 10px; z-index: 2; color: #fff; font-family: var(--font-body); font-weight: 500; font-size: 14.5px; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.mosaic .m-6 { grid-column: span 6; aspect-ratio: 16/9; }
.mosaic .m-4 { grid-column: span 4; aspect-ratio: 4/3; }
.mosaic .m-3 { grid-column: span 3; aspect-ratio: 1/1; }
@media (max-width: 720px) { .mosaic .m-6 { grid-column: span 12; } .mosaic .m-4 { grid-column: span 6; } .mosaic .m-3 { grid-column: span 6; aspect-ratio: 4/3; } }

/* Reseñas del inicio con fondo */
.reviews-home { position: relative; padding: clamp(60px, 8vw, 110px) 0; overflow: hidden; }
.reviews-home::before { content: ""; position: absolute; inset: 0; background: url('/assets/img/nevado1.webp') center/cover no-repeat; opacity: 0.14; }
.reviews-home::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%); }
.reviews-home .wrap { position: relative; z-index: 2; }
.rv-track .testi-card { background: rgba(253, 250, 243, 0.92); backdrop-filter: blur(2px); }
.rv-big blockquote { font-size: 19px; line-height: 1.6; }
.rv-short { display: flex; flex-direction: column; justify-content: center; text-align: center; }
.rv-short blockquote { font-family: var(--font-display); font-size: 30px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--tierra); font-style: normal; }

/* Footer oscuro elegante + redes */
.footer { background: #221008; }
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(230, 202, 178, 0.35); border-radius: 50%; color: rgba(230, 202, 178, 0.85); transition: all 0.25s ease; }
.social-row a:hover { background: var(--arena); color: var(--tierra); border-color: var(--arena); }
.social-row svg { width: 16px; height: 16px; fill: currentColor; }
.form-note { font-size: 12.5px; color: var(--atardecer); margin: 8px 0 0; }
.rv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(24px, 3vw, 40px); }
@media (max-width: 900px) { .rv-grid { grid-template-columns: 1fr; } }
.rv-grid .testi-card { margin: 0; background: rgba(253, 250, 243, 0.93); backdrop-filter: blur(2px); }
.rv-grid .rv-big { grid-row: span 2; }
.rv-grid .rv-big blockquote { font-size: 17.5px; line-height: 1.7; }
@media (max-width: 900px) { .rv-grid .rv-big { grid-row: auto; } }
/* v9.1: correcciones móvil */
html { overflow-x: clip; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr !important; } }
/* v9.2: select del hotel no debe desbordar en móvil */
.form-field { min-width: 0; }
.form-field select, .form-field input { width: 100%; max-width: 100%; }

/* ---------- Asistente de búsqueda (concierge) ---------- */
.rc-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 250;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--tierra); color: var(--arena);
  border: none; font-size: 24px; cursor: pointer;
  box-shadow: var(--shadow);
  display: grid; place-items: center;
  transition: transform 0.25s ease, background 0.25s ease;
}
.rc-fab:hover { background: var(--atardecer); transform: scale(1.06); }
.rc-panel {
  position: fixed; right: 20px; bottom: 88px; z-index: 250;
  width: min(340px, calc(100vw - 40px));
  background: var(--paper); border-radius: 16px;
  box-shadow: var(--shadow);
  color: var(--ink);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  overflow: hidden;
}
.rc-panel.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.rc-head { display: flex; justify-content: space-between; align-items: center; background: var(--tierra); color: #fff; padding: 14px 16px; font-weight: 600; font-size: 14.5px; font-family: var(--font-body); }
.rc-close { background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; padding: 0; }
.rc-body { padding: 16px; }
.rc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.rc-chips button { font-family: var(--font-body); font-size: 12.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); cursor: pointer; }
.rc-chips button:hover { border-color: var(--oliva); color: var(--tierra); }
.rc-form { display: flex; gap: 8px; }
.rc-input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-family: var(--font-body); font-size: 14px; color: var(--ink); }
.rc-input:focus { outline: none; border-color: var(--oliva); }
.rc-go { background: var(--atardecer); color: #fff; border: 0; border-radius: 10px; padding: 10px 16px; font-size: 13.5px; font-family: var(--font-body); cursor: pointer; flex: none; }
.rc-go:hover { background: var(--atardecer-dark); }
.rc-results { margin-top: 12px; display: grid; gap: 8px; max-height: 220px; overflow-y: auto; }
.rc-result { display: block; padding: 10px 12px; border-radius: 10px; background: var(--arena-soft); color: var(--tierra); font-size: 13.5px; font-weight: 500; text-decoration: none; }
.rc-result:hover { background: var(--tierra); color: #fff; }
.rc-empty { font-size: 13px; color: var(--mute); margin: 0 0 10px; }
.rc-wa { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #1FAF57; font-weight: 600; text-decoration: none; }
@media (max-width: 480px) { .rc-panel { right: 12px; left: 12px; width: auto; bottom: 82px; } .rc-fab { right: 16px; bottom: 16px; } }

/* ---------- Lightbox: foto en grande desde la galería del hotel ---------- */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(22, 9, 4, 0.93); display: flex; align-items: center; justify-content: center; padding: 5vh 5vw; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55); transform: scale(0.96); transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.lightbox.open img { transform: scale(1); }
.lb-close { position: fixed; top: 14px; right: 22px; background: none; border: 0; font-size: 40px; line-height: 1; color: rgba(255, 255, 255, 0.85); cursor: pointer; }
.lb-close:hover { color: #fff; }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 30px; cursor: pointer; display: grid; place-items: center; padding: 0 0 4px; transition: background 0.25s ease; }
.lb-nav:hover { background: rgba(255, 255, 255, 0.3); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-count { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.8); font-size: 13px; letter-spacing: 0.08em; }
@media (max-width: 640px) { .lb-nav { width: 42px; height: 42px; font-size: 24px; } .lb-prev { left: 8px; } .lb-next { right: 8px; } }
