/* ==========================================================================
   CUMBRE DE FUEGO · Expediciones Volcánicas
   Modo oscuro volcánico. Anton (titulares) + Inter (texto), autoalojadas.
   Radios: botones y chips en píldora; tarjetas y medios 16px.
   ========================================================================== */

@font-face {
  font-family: "Anton";
  src: url("/assets/fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #141110;
  --bg-raised: #1F1A17;
  --bg-deep: #0F0D0C;
  --ink: #F5EDE4;
  --ink-soft: #C9BBAE;
  --ink-mute: #9E9084;
  --accent: #FF6A3D;
  --accent-hover: #FF8460;
  --accent-2: #D62828;
  --gold: #F2A541;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 16px;
  --header-h: 68px;
  --bar-h: 0px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter: 16px;
  --section-pad: clamp(64px, 9vw, 128px);
  color-scheme: dark;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Grano fijo muy sutil: textura de roca sin repintar al hacer scroll. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
blockquote { margin: 0; }
button { font: inherit; color: inherit; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--bg); }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

h2 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.2vw, 4.25rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.lead { color: var(--ink-soft); font-size: 1.0625rem; max-width: 56ch; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9875rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-ghost {
  background: rgba(20, 17, 16, 0.38);
  border-color: rgba(245, 237, 228, 0.34);
  color: var(--ink);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--accent-hover); }
  .btn-ghost:hover { border-color: var(--ink); background: rgba(20, 17, 16, 0.6); }
}
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.03rem; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.9rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(255, 106, 61, 0.6);
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover { text-decoration-color: var(--accent); }
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(20, 17, 16, 0.6);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), border-color 200ms ease, opacity 200ms ease;
}
.icon-btn:active { transform: scale(0.95); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .icon-btn:not(:disabled):hover { border-color: var(--accent); }
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 240ms ease, border-color 240ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(20, 17, 16, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover { color: var(--ink); } }
.nav__cta { display: none; }
.nav-toggle { display: none; }

@media (max-width: 1023px) {
  .header-cta { margin-left: auto; }
  .nav-toggle {
    display: grid;
    place-content: center;
    gap: 6px;
    width: 46px;
    height: 46px;
    margin-right: -8px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 220ms var(--ease-out);
  }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: rgba(20, 17, 16, 0.97);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav a:not(.btn) {
    padding: 14px 0;
    font-size: 1.0625rem;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .nav__cta { display: inline-flex; margin-top: 16px; }
  .site-header:has(.nav.open) { background: rgba(20, 17, 16, 0.97); }
}
@media (max-width: 639px) {
  :root { --header-h: 62px; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .brand__name { font-size: 1.15rem; }
}

/* ---------- medios (video + poster) ---------- */
.media { position: relative; overflow: hidden; background: var(--bg-raised); }
.media__poster, .media__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media__video { opacity: 0; transition: opacity 600ms ease; }
.media__video.is-playing { opacity: 1; }
.no-video .media__video { display: none; }

/* ---------- 1. hero ---------- */
.hero {
  position: relative;
  height: var(--hero-h, 100svh);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 17, 16, 0.6) 0%, rgba(20, 17, 16, 0) 22%),
    linear-gradient(0deg, rgba(20, 17, 16, 0.94) 0%, rgba(20, 17, 16, 0.55) 34%, rgba(20, 17, 16, 0) 62%),
    linear-gradient(90deg, rgba(20, 17, 16, 0.55) 0%, rgba(20, 17, 16, 0) 55%);
}
.hero__content { padding-top: calc(var(--header-h) + 24px); padding-bottom: clamp(28px, 7vh, 72px); }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, min(8.6vw, 11.5vh), 7.4rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  max-width: 16ch;
}
.hero__title span { display: block; color: var(--accent); }
.hero__lead {
  margin-top: clamp(14px, 2.4vh, 22px);
  max-width: 40ch;
  font-size: clamp(1rem, 1.15vw + 0.6rem, 1.2rem);
  color: var(--ink-soft);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3.4vh, 32px); }

/* Celular vertical: el clip deja cielo arriba, ahí va el titular; los botones
   quedan abajo, al alcance del pulgar. */
@media (max-width: 767px) and (orientation: portrait) {
  .hero { align-items: stretch; }
  .hero__content { display: flex; flex-direction: column; height: 100%; padding-top: calc(var(--header-h) + 20px); padding-bottom: 24px; }
  .hero__content .actions { margin-top: auto; }
  .hero__content .actions .btn { flex: 1 1 100%; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(20, 17, 16, 0.78) 0%, rgba(20, 17, 16, 0.35) 36%, rgba(20, 17, 16, 0) 52%),
      linear-gradient(0deg, rgba(20, 17, 16, 0.9) 0%, rgba(20, 17, 16, 0) 30%);
  }
  .hero__title { font-size: clamp(2.6rem, 12.6vw, 3.6rem); }
}

/* ---------- 2. barra de valor ---------- */
.values { background: var(--bg-raised); border-bottom: 1px solid var(--line); }
.values__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.value {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 12px 22px 0;
  font-size: 0.875rem;
  line-height: 1.45;
}
.value + .value { border-left: 0; }
.value strong { display: block; font-size: 0.97rem; font-weight: 600; color: var(--ink); }
.value span { color: var(--ink-mute); }
.value__icon { width: 28px; height: 28px; color: var(--accent); }
@media (max-width: 767px) {
  .value:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .value:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
}
@media (min-width: 768px) {
  .values__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .value { flex-direction: row; align-items: flex-start; gap: 14px; padding: 28px 24px; }
  .value:first-child { padding-left: 0; }
  .value + .value { border-left: 1px solid var(--line); }
}

/* ---------- secciones ---------- */
.section { padding-block: var(--section-pad); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { margin-top: 18px; color: var(--ink-soft); font-size: 1.0625rem; max-width: 56ch; }

/* ---------- 3. tours ---------- */
.tour-grid { display: grid; gap: 18px; }
.tour {
  display: flex;
  flex-direction: column;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 240ms ease;
}
.tour__media { aspect-ratio: 16 / 9; }
.tour__media .media__poster, .tour__media .media__video { transition: transform 700ms var(--ease-out), opacity 600ms ease; }
.tour__photo--agua { object-position: 50% 40%; }
@media (hover: hover) and (pointer: fine) {
  .tour:hover { border-color: var(--line-strong); }
  .tour:hover .media__poster, .tour:hover .media__video { transform: scale(1.03); }
}
.tour__body { display: flex; flex-direction: column; flex: 1; padding: 22px 20px 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
.chip .i { width: 15px; height: 15px; }
.chip--easy { color: var(--gold); border-color: rgba(242, 165, 65, 0.4); background: rgba(242, 165, 65, 0.1); }
.chip--mid { color: var(--accent); border-color: rgba(255, 106, 61, 0.45); background: rgba(255, 106, 61, 0.1); }
.chip--hard { color: #FFB3A6; border-color: rgba(214, 40, 40, 0.65); background: rgba(214, 40, 40, 0.22); }
.tour__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.6vw, 2.3rem);
  line-height: 1;
  text-transform: uppercase;
}
.tour__text { margin-top: 10px; color: var(--ink-soft); }
.tour__includes { margin-top: 16px; display: grid; gap: 7px; font-size: 0.9rem; color: var(--ink-soft); }
.tour__includes li { position: relative; padding-left: 18px; }
.tour__includes li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
}
.tour__foot {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.tour__body > .tour__includes { margin-bottom: 20px; }
.tour__foot { border-top: 1px solid var(--line); }
.tour__actions { display: flex; align-items: center; gap: 16px; }
.price { display: flex; flex-direction: column; line-height: 1; }
.price__amount { font-family: var(--font-display); font-size: 2.1rem; color: var(--ink); }
.price__unit { margin-top: 6px; font-size: 0.8125rem; color: var(--ink-mute); }

.private {
  display: grid;
  gap: 18px;
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 106, 61, 0.28);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(214, 40, 40, 0.24), rgba(214, 40, 40, 0) 55%),
    var(--bg-raised);
}
.private__icon {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 999px;
  background: rgba(255, 106, 61, 0.14);
  color: var(--accent);
}
.private h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.05; text-transform: uppercase; }
.private p { margin-top: 8px; color: var(--ink-soft); max-width: 58ch; }
.private .btn { justify-self: start; }

@media (min-width: 960px) {
  .tour-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .tour--feature { grid-column: 1 / -1; }
  /* Destacado: el video ocupa toda la tarjeta y el texto va encima. */
  .tour--feature { position: relative; isolation: isolate; justify-content: flex-end; min-height: clamp(500px, 64vh, 620px); }
  .tour--feature .tour__media { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; }
  .tour--feature .tour__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(20, 17, 16, 0.92) 0%, rgba(20, 17, 16, 0.6) 40%, rgba(20, 17, 16, 0) 68%),
      linear-gradient(0deg, rgba(20, 17, 16, 0.85) 0%, rgba(20, 17, 16, 0) 45%);
  }
  .tour--feature .tour__body { flex: 0 0 auto; width: min(640px, 58%); padding: 36px 36px 32px; }
  .tour--feature .tour__title { font-size: clamp(2.2rem, 3.4vw, 3rem); }
  .tour--feature .tour__text { color: var(--ink); max-width: 46ch; }
  .tour--feature .tour__includes { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .private { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 26px 30px; }
  .private .btn { justify-self: end; }
}

/* ---------- 4. itinerario horizontal ---------- */
.itinerary { position: relative; isolation: isolate; overflow: hidden; }
.itinerary__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.itinerary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(20, 17, 16, 0.55) 30%, rgba(20, 17, 16, 0.6) 70%, var(--bg) 100%);
}
.itinerary__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.timeline-nav { display: none; gap: 10px; }
@media (min-width: 768px) and (hover: hover) and (pointer: fine) { .timeline-nav { display: flex; } }

.timeline {
  --inset: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(80vw, 300px);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--inset);
  padding: 4px var(--inset) 8px;
  scrollbar-width: none;
}
.timeline::-webkit-scrollbar { display: none; }
.timeline:focus-visible { outline-offset: -2px; }
.step {
  position: relative;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 252px;
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: rgba(31, 26, 23, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: border-color 300ms ease;
}
.step.is-active { border-color: rgba(255, 106, 61, 0.7); }
.step__top { display: flex; align-items: center; gap: 10px; color: var(--accent); }
.step__top .i { width: 26px; height: 26px; }
.step__time { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.step h3 { font-family: var(--font-display); font-size: 1.65rem; line-height: 1.02; text-transform: uppercase; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }
.step__alt {
  margin-top: auto;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(242, 165, 65, 0.35);
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 600;
}
.step--fire {
  background:
    radial-gradient(140% 90% at 100% 0%, rgba(214, 40, 40, 0.38), rgba(214, 40, 40, 0) 60%),
    rgba(31, 26, 23, 0.9);
}
.timeline-dots { display: flex; gap: 10px; margin-top: 22px; }
.timeline-dots li {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: transform 300ms var(--ease-out), background-color 300ms ease;
}
.timeline-dots li.is-active { background: var(--accent); transform: scale(1.35); }

/* ---------- 5. la experiencia ---------- */
.experience {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(540px, 88svh, 860px);
  overflow: hidden;
}
.experience__media { position: absolute; inset: 0; z-index: -2; }
.experience__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(20, 17, 16, 0.95) 0%, rgba(20, 17, 16, 0.5) 40%, rgba(20, 17, 16, 0) 70%),
    linear-gradient(90deg, rgba(20, 17, 16, 0.7) 0%, rgba(20, 17, 16, 0) 60%),
    linear-gradient(180deg, var(--bg) 0%, rgba(20, 17, 16, 0) 18%);
}
.experience__content { padding-block: var(--section-pad); }
.experience__content h2 { max-width: 14ch; }
.experience__content p { margin-top: 18px; max-width: 50ch; color: var(--ink-soft); font-size: 1.0625rem; }
.experience__content h2 + p { margin-top: 24px; color: var(--ink); }
.experience__moments { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; font-size: 0.95rem; font-weight: 500; }
.experience__moments li { display: inline-flex; align-items: center; gap: 9px; }
.experience__moments .i { color: var(--gold); width: 20px; height: 20px; }

/* ---------- 6. seguridad ---------- */
.safety__grid { display: grid; gap: 36px; }
.safety__portrait img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 22%; border-radius: var(--radius); }
@media (min-width: 960px) { .safety__portrait img { aspect-ratio: 4 / 5; object-position: 50% 50%; } }
.safety__portrait figcaption { margin-top: 14px; font-size: 0.9rem; color: var(--ink-mute); }
.safety__portrait figcaption strong { display: block; color: var(--ink); font-size: 1rem; font-weight: 600; }
.safety__copy .lead { margin-top: 18px; }
.safety__list { display: grid; gap: 14px; margin-top: 32px; }
.safety__list li {
  padding: 22px 20px;
  border-radius: var(--radius);
  background: var(--bg-raised);
  border: 1px solid var(--line);
}
.safety__list .i { width: 30px; height: 30px; color: var(--accent); }
.safety__list h3 { margin-top: 14px; font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; }
.safety__list p { margin-top: 6px; color: var(--ink-soft); font-size: 0.95rem; }
@media (min-width: 640px) { .safety__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .safety__grid { grid-template-columns: 5fr 7fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
  .safety__portrait { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- 7. reseñas ---------- */
.reviews { background: var(--bg-deep); border-block: 1px solid var(--line); }
.reviews__title { max-width: 12ch; margin-bottom: clamp(32px, 5vw, 52px); }
.reviews__grid { display: grid; gap: 14px; }
.reviews__photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.review {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--bg-raised);
  border: 1px solid var(--line);
}
.review p { font-size: 1.03rem; line-height: 1.55; }
.review footer { margin-top: auto; display: flex; flex-direction: column; font-size: 0.875rem; color: var(--ink-mute); }
.review footer strong { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.review--accent { background: rgba(255, 106, 61, 0.09); border-color: rgba(255, 106, 61, 0.32); }
@media (min-width: 720px) { .reviews__grid { grid-template-columns: 1fr 1fr; } .reviews__photo { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .reviews__grid { grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; }
  .reviews__photo { grid-column: 1; grid-row: 1 / 3; }
  .reviews__photo img { aspect-ratio: auto; min-height: 100%; }
}

/* ---------- 8. preguntas frecuentes ---------- */
.faq__grid { display: grid; gap: 32px; }
.faq__aside p { margin-top: 16px; color: var(--ink-soft); max-width: 40ch; }
.faq__aside img { margin-top: 28px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 16px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 16px no-repeat;
  transition: transform 220ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--ink-soft); }
.js .faq details[open] p { animation: faq-in 260ms var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
  .faq__aside { position: sticky; top: calc(var(--header-h) + 24px); }
  .faq__aside img { aspect-ratio: 1 / 1; max-width: 380px; }
}

/* ---------- 9. CTA final ---------- */
.final-cta {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(460px, 76svh, 760px);
  text-align: center;
  overflow: hidden;
}
.final-cta__media { position: absolute; inset: 0; z-index: -2; }
.final-cta__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 70% at 50% 55%, rgba(20, 17, 16, 0.55), rgba(20, 17, 16, 0.15) 70%),
    linear-gradient(180deg, var(--bg) 0%, rgba(20, 17, 16, 0) 22%, rgba(20, 17, 16, 0) 72%, var(--bg-deep) 100%);
}
.final-cta__content { display: flex; flex-direction: column; align-items: center; padding-block: var(--section-pad); }
.final-cta h2 { font-size: clamp(2.5rem, 6.4vw, 5.4rem); max-width: 14ch; }
.final-cta p { margin-top: 18px; max-width: 46ch; color: var(--ink); font-size: 1.0625rem; }
.final-cta .btn { margin-top: 30px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-deep);
  padding-top: 56px;
  padding-bottom: calc(36px + var(--bar-h));
  border-top: 1px solid var(--line);
}
.footer-grid { display: grid; gap: 36px; }
.footer-brand p { margin-top: 14px; max-width: 42ch; color: var(--ink-mute); font-size: 0.95rem; }
.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.footer-col p { margin-top: 8px; font-size: 0.9rem; color: var(--ink-mute); }
.footer-wa { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: none; }
.footer-wa .i { color: var(--accent); width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) { .footer-wa:hover { color: var(--accent); } }
.social { display: flex; gap: 10px; }
.social a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  transition: border-color 200ms ease, color 200ms ease;
}
.social .i { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .social a:hover { border-color: var(--accent); color: var(--accent); } }
.legal { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-mute); }
.legal--note { padding-top: 0; border-top: 0; margin-top: -24px; }
.legal a { color: var(--ink-soft); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------- barra de reserva (solo celular) ---------- */
.book-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(20, 17, 16, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-strong);
  transform: translateY(105%);
  transition: transform 280ms var(--ease-out);
}
.book-bar.is-visible { transform: none; }
.book-bar__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; font-size: 0.8125rem; color: var(--ink-mute); line-height: 1.2; }
.book-bar__price strong { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--ink); }
.book-bar .btn { min-width: 132px; }
@media (max-width: 767px) {
  .book-bar { display: flex; }
  /* Reserva el alto de la barra al final de la página: nunca tapa contenido. */
  :root { --bar-h: calc(68px + env(safe-area-inset-bottom)); }
}

/* Celular / táctil: sin backdrop-filter. En iOS, el desenfoque de las capas fijas
   (header, barra de reserva) sobre un video en reproducción se recalcula en cada
   cuadro del scroll y lo traba. Fondos casi opacos: se ve igual y no cuesta nada. */
@media (max-width: 767px), (hover: none) {
  .site-header.is-solid { background: rgba(20, 17, 16, 0.97); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .book-bar { background: rgb(20, 17, 16); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .step { background: var(--bg-raised); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .btn-ghost { background: rgba(20, 17, 16, 0.62); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Botón flotante de WhatsApp: solo pantallas grandes (en celular está la barra). */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 44;
  display: none;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 10px 30px rgba(214, 40, 40, 0.35);
  transition: transform 160ms var(--ease-out);
}
.wa-float svg { fill: currentColor; }
.wa-float:active { transform: scale(0.95); }
@media (min-width: 768px) { .wa-float { display: grid; } }

/* ---------- entrada al hacer scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (max-width: 767px) {
  .js [data-reveal] { transition-duration: 480ms; }
}

/* ---------- pantallas bajas (1366×768 al 100 %, ~600 px útiles) ---------- */
@media (min-width: 768px) and (max-height: 700px) {
  :root { --header-h: 60px; --section-pad: clamp(56px, 7vw, 88px); }
  .experience { min-height: max(480px, 92vh); }
  .final-cta { min-height: max(420px, 80vh); }
  .step { min-height: 228px; }
  .faq__aside img { max-width: 280px; }
}

/* ---------- movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { transform: none; transition: opacity 200ms ease; }
  .tour__media .media__poster, .tour__media .media__video { transition: none; }
  .js .faq details[open] p { animation: none; }
  .media__video { display: none; }
}

/* ---------- páginas legales y 404 ---------- */
.legal-doc { max-width: 760px; padding-top: calc(var(--header-h) + 56px); padding-bottom: 80px; }
.legal-doc h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1; text-transform: uppercase; margin-bottom: 24px; }
.legal-doc h2 { font-family: var(--font-body); font-size: 1.2rem; font-weight: 600; text-transform: none; margin: 32px 0 10px; }
.legal-doc p, .legal-doc li { color: var(--ink-soft); margin-bottom: 12px; }
.legal-doc ul { list-style: disc; padding-left: 22px; }
.legal-doc.center { text-align: center; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding-top: 40px; }
.legal-doc.center .actions { justify-content: center; }
.header-back { margin-left: auto; }
.site-footer .legal:only-child { border-top: 0; padding-top: 0; }
