:root {
  --navy: #0b1d2a;
  --petroleum: #14303f;
  --amber: #f2a65a;
  --terracotta: #c8552e;
  /* El terracota de marca da 3.77:1 sobre el fondo arena: suficiente para
     títulos grandes, insuficiente para texto pequeño (necesita 4.5:1). Esta
     variante oscura llega a 5.29:1 y se usa solo en eyebrows y datos chicos. */
  --terracotta-texto: #a8401b;
  --green: #2e8b7a;
  --sand: #f5ede0;
  --muted: #a9b7c4;
  --ink: #10232e;
  --line: rgba(245, 237, 224, 0.18);
  --display: "Fraunces", Georgia, serif;
  --body: "Sora", Arial, sans-serif;
  --mono: "Space Grotesk", monospace;
  --page: min(1180px, calc(100vw - 40px));
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--navy);
}
body {
  margin: 0;
  background: var(--navy);
  color: var(--sand);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
.page-width {
  width: var(--page);
  margin-inline: auto;
}
.section {
  position: relative;
  padding: 104px 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--sand);
  color: var(--navy);
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip-link:focus {
  transform: translateY(0);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.eyebrow,
.footer-label {
  margin: 0 0 16px;
  font: 500 11px/1.2 var(--mono);
  letter-spacing: 0.15em;
  color: var(--amber);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(80px, 20vw, 190px);
}
h2 {
  font-size: clamp(44px, 9vw, 92px);
}
h3 {
  font-size: clamp(26px, 4vw, 42px);
}
h1 em,
h2 em {
  font-weight: 500;
  color: var(--amber);
}
.section-heading > p,
.heading-row > p,
.presentation-copy > p,
.flavor-copy > p,
.sea-content > p,
.chepe-intro > p {
  max-width: 45ch;
  color: var(--muted);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  border: 1px solid transparent;
  padding: 13px 18px;
  font: 600 12px/1 var(--body);
  letter-spacing: 0.03em;
  transition:
    transform 0.25s,
    background 0.25s,
    color 0.25s;
  border-radius: 100px;
  cursor: pointer;
}
.button:hover {
  transform: translateY(-3px);
}
.button-primary {
  background: var(--amber);
  color: var(--navy);
}
.button-dark {
  background: var(--navy);
  color: var(--sand);
}
.text-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  border: 0;
  background: none;
  padding: 5px 0;
  font: 600 12px/1.2 var(--body);
  letter-spacing: 0.02em;
  cursor: pointer;
}
.text-link span {
  transition: transform 0.2s;
}
.text-link:hover span {
  transform: translate(3px, -2px);
}
.light-link {
  color: var(--sand);
}
.source-note {
  font-size: 11px !important;
  color: #52656b !important;
  line-height: 1.55;
}
.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px max(20px, calc((100vw - 1180px) / 2));
  transition:
    background 0.3s,
    padding 0.3s;
}
.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(11, 29, 42, 0.87);
  backdrop-filter: blur(16px);
}
.header-logo {
  position: relative;
  z-index: 2;
  width: 138px;
}
.header-logo img {
  filter: brightness(0) invert(1);
}
.site-nav {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 92px max(30px, calc((100vw - 980px) / 2));
  background: rgba(7, 23, 34, 0.98);
  font-family: var(--display);
  font-size: clamp(35px, 6vw, 76px);
  line-height: 1;
  color: var(--sand);
  opacity: 0;
  /* visibility (no solo opacity) saca los enlaces del orden de tabulación y
     del árbol de accesibilidad mientras el menú está cerrado. */
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s,
    visibility 0.25s;
}
.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.site-nav a {
  opacity: 1;
}
.site-nav a:hover {
  opacity: 1;
  color: var(--amber);
}
.menu-toggle {
  z-index: 2;
  display: grid;
  gap: 6px;
  width: 42px;
  height: 42px;
  place-content: center;
  border: 1px solid rgba(245, 237, 224, 0.35);
  background: rgba(11, 29, 42, 0.25);
  color: var(--sand);
  border-radius: 50%;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 0.2s;
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}
.hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  background: var(--navy);
  overflow: hidden;
}
.hero-media,
.hero-video,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video {
  display: block;
  z-index: -2;
}
.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(3, 14, 23, 0.15) 0%,
      rgba(3, 14, 23, 0.05) 30%,
      rgba(3, 14, 23, 0.88) 100%
    ),
    linear-gradient(90deg, rgba(7, 22, 33, 0.48), transparent 70%);
}
.hero-media {
  z-index: -2;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(112px, 14vh, 150px);
}
.hero-kicker {
  color: var(--sand);
}
.hero-lead {
  margin: 18px 0 34px;
  font-family: var(--display);
  font-size: clamp(26px, 6vw, 47px);
  line-height: 1;
}
.hero-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.scroll-cue {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 10px var(--mono);
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
}
.scroll-cue span {
  width: 1px;
  height: 40px;
  background: var(--amber);
  animation: scrollCue 1.7s infinite;
}
@keyframes scrollCue {
  50% {
    transform: scaleY(0.25);
    transform-origin: top;
  }
}
.mexico-map {
  background: var(--navy);
  color: var(--sand);
}
.mexico-map-layout {
  display: grid;
  gap: 40px;
}
.mexico-map .section-heading > p {
  color: #cbd8d7;
}
.mexico-map-chart {
  width: 100%;
  height: clamp(320px, 46vw, 560px);
}
.mexico-map-chart canvas {
  outline: none;
}
.route-intro {
  background: var(--sand);
  color: var(--ink);
}
.route-grid {
  display: grid;
  gap: 65px;
}
.route-grid > .source-note {
  margin-top: -45px;
}
.route-grid .eyebrow {
  color: var(--terracotta-texto);
}
.route-grid p {
  max-width: 38ch;
  color: #45606c;
}
.route-line {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.route-line:before {
  position: absolute;
  left: 16px;
  top: 25px;
  bottom: 25px;
  width: 1px;
  background: #c4c0b5;
  content: "";
}
.route-line li {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
}
.route-number {
  display: grid;
  place-items: center;
  flex: 0 0 33px;
  width: 33px;
  height: 33px;
  border: 1px solid #c4c0b5;
  border-radius: 50%;
  background: var(--sand);
  font: 500 10px var(--mono);
  color: #5c6d71;
}
.route-home .route-number {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: #fff;
}
.route-line strong {
  display: block;
  font: 600 16px var(--body);
}
.route-line small {
  display: block;
  color: #617177;
  font-size: 12px;
}
.route-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
}
.route-stat b {
  font: 600 20px var(--display);
  color: var(--terracotta-texto);
}
.route-stat i {
  font-style: normal;
  font-size: 11px;
  color: #7c8b8f;
}
.route-highway {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid #c4c0b5;
  color: #45606c;
  font-size: 14px;
}
.route-highway strong {
  color: var(--ink);
}
.route-frequencies {
  /* min-width: 0 permite que la columna del grid se encoja por debajo del
     min-content de la tabla; sin esto la tabla estira toda la sección y
     recorta el texto en móvil. El scroll horizontal lo resuelve el scroller. */
  min-width: 0;
  margin-top: 40px;
}
.route-frequencies .eyebrow {
  margin-bottom: 14px;
}
.route-frequencies-scroller {
  overflow-x: auto;
  border: 1px solid #c4c0b5;
  border-radius: 4px;
}
.route-frequencies table {
  width: 100%;
  min-width: 360px;
  border-collapse: collapse;
  font-size: 14px;
}
.route-frequencies th,
.route-frequencies td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #ddd6c7;
}
.route-frequencies thead th {
  font: 500 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7c8b8f;
  background: #ede5d6;
}
.route-frequencies tbody th {
  font-weight: 600;
  color: var(--ink);
}
.route-frequencies tbody tr:last-child th,
.route-frequencies tbody tr:last-child td {
  border-bottom: none;
}
.route-frequencies td {
  font: 500 13px var(--mono);
  color: var(--terracotta-texto);
}
.route-airlines {
  margin: 14px 0 0;
  font-size: 12px;
  color: #7c8b8f;
}
.route-photos {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.route-photos figure {
  margin: 0;
  overflow: hidden;
  background: #d9d0c1;
}
.route-photos img {
  width: 100%;
  /* height: auto es indispensable: los atributos width/height del HTML fijan
     una altura explícita que anula aspect-ratio. */
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.route-photos figcaption {
  padding: 10px 12px 12px;
  font: 500 10px/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #65777b;
}
.destination {
  background: #e8dfd1;
  color: var(--ink);
}
.heading-row {
  display: grid;
  gap: 20px;
  margin-bottom: 44px;
}
.heading-row > p {
  margin: 0;
  align-self: end;
  color: #50646c;
}
.heading-row .eyebrow {
  color: var(--terracotta-texto);
}
.editorial-grid {
  display: grid;
  gap: 14px;
}
.editorial-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: #fff;
  border-radius: 3px;
  background: var(--navy);
}
.editorial-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.editorial-card:after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    0deg,
    rgba(0, 18, 27, 0.8),
    rgba(0, 18, 27, 0.02) 70%
  );
}
.editorial-card > div {
  position: absolute;
  z-index: 1;
  right: 26px;
  bottom: 25px;
  left: 26px;
}
.editorial-card .eyebrow {
  color: var(--amber);
  margin-bottom: 9px;
}
.editorial-card h3 {
  font-size: clamp(26px, 5vw, 44px);
  max-width: 9ch;
}
.card-link {
  font-size: 12px;
  font-weight: 600;
}
.card-link span {
  color: var(--amber);
  margin-left: 5px;
}
.editorial-card:hover img {
  transform: scale(1.06);
}
.experiences {
  background: var(--navy);
  overflow: hidden;
}
.heading-row-dark p {
  color: var(--muted);
}
.experience-rail {
  display: flex;
  gap: 13px;
  overflow-x: auto;
  margin-right: calc((100vw - var(--page)) / 2);
  padding: 3px calc((100vw - var(--page)) / 2) 16px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.experience-rail::-webkit-scrollbar {
  display: none;
}
.experience-card {
  position: relative;
  flex: 0 0 min(76vw, 330px);
  height: 430px;
  overflow: hidden;
  scroll-snap-align: start;
  border-radius: 3px;
  background: #1e3a48;
}
.experience-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s;
}
.experience-card:after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 13, 20, 0.9), transparent 70%);
  content: "";
}
.experience-card > div {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
}
.experience-card p {
  margin-bottom: 7px;
  font: 500 10px var(--mono);
  letter-spacing: 0.13em;
  color: var(--amber);
}
.experience-card h3 {
  margin-bottom: 5px;
  font-size: 33px;
}
.experience-card span {
  font-size: 12px;
  color: #d3dedf;
}
.experience-card:hover img,
.experience-card:focus img {
  transform: scale(1.06);
}
.chepe {
  padding: 0;
  background: var(--navy);
}
.chepe-stage {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
}
.chepe-media,
.chepe-overlay {
  position: absolute;
  inset: 0;
}
.chepe-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 0.8s,
    transform 1.1s;
}
.chepe-media img.is-active {
  opacity: 1;
  transform: scale(1);
}
.chepe-overlay {
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(2, 15, 23, 0.93) 0%,
      rgba(3, 16, 25, 0.64) 57%,
      rgba(3, 16, 25, 0.08)
    ),
    linear-gradient(0deg, rgba(2, 15, 23, 0.55), transparent);
}
.chepe-layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 35px;
  min-height: 100svh;
  padding-top: 130px;
  padding-bottom: 65px;
}
.chepe-intro h2 {
  font-size: clamp(51px, 11vw, 102px);
}
.chepe-intro > p:last-child {
  max-width: 36ch;
  color: #d4e0df;
}
.chepe-stops {
  align-self: end;
  display: grid;
  gap: 0;
}
.chepe-stop {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  opacity: 0.56;
  transition:
    opacity 0.35s,
    transform 0.35s;
}
.chepe-stop.is-active {
  opacity: 1;
  transform: translateX(7px);
}
.chepe-stop > span {
  font: 500 12px var(--mono);
  color: var(--amber);
}
.chepe-stop p {
  margin: 0;
  color: var(--amber);
  font: 500 10px var(--mono);
  letter-spacing: 0.13em;
}
.chepe-stop h3 {
  margin: 3px 0;
  font-size: 29px;
}
.chepe-stop small {
  display: block;
  max-width: 44ch;
  color: #d2dddd;
  font-size: 11px;
  line-height: 1.5;
}
.chepe-stop-data {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 8px 0 0;
}
.chepe-stop-data > div {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.chepe-stop-data dt {
  font: 500 9px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fa3a2;
}
.chepe-stop-data dd {
  margin: 0;
  font: 600 12px var(--body);
  color: var(--sand);
}
.chepe-progress {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 43px;
  width: 80px;
  height: 2px;
  background: rgba(245, 237, 224, 0.3);
}
.chepe-progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--amber);
  transition: width 0.4s;
}
.chepe-amenities {
  position: relative;
  z-index: 2;
  padding: 50px 0 10px;
  border-top: 1px solid var(--line);
}
.chepe-amenities > .eyebrow {
  color: var(--amber);
}
.chepe-amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}
.chepe-amenity strong {
  display: block;
  font: 500 clamp(28px, 4vw, 40px) var(--display);
  color: var(--amber);
  letter-spacing: -0.03em;
}
.chepe-amenity span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #d2dddd;
}
.chepe-classes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.chepe-classes h4 {
  margin: 0 0 8px;
  font: 600 16px var(--body);
  color: var(--sand);
}
.chepe-classes p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: #d2dddd;
}
.chepe-fact {
  max-width: 62ch;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #d2dddd;
}
.chepe-fact strong {
  color: var(--amber);
}
.chepe-amenities .source-note {
  color: #92a5a4 !important;
}
.sea {
  min-height: 730px;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}
.sea-media,
.sea-media:after {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.sea-media:after {
  z-index: 1;
  content: "";
  /* Dos capas: la vertical cubre el bloque de texto anclado abajo y la
     horizontal refuerza la izquierda, donde va alineado. El velo debe
     funcionar con las seis imágenes del recorrido, no solo con la primera. */
  background:
    linear-gradient(
      0deg,
      rgba(7, 27, 37, 0.94) 0%,
      rgba(7, 27, 37, 0.86) 38%,
      rgba(7, 27, 37, 0.45) 72%,
      rgba(7, 27, 37, 0.2) 100%
    ),
    linear-gradient(90deg, rgba(7, 27, 37, 0.55), transparent 65%);
}
.sea-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.sea-media img.is-active {
  opacity: 1;
}
/* La foto de pesca es vertical: al recortarse a pantalla completa conviene
   anclar el encuadre a la zona donde está la caña, no al centro. */
.sea-media img.bahia-image-portrait {
  object-position: 60% 45%;
}
.sea-content {
  padding-bottom: 82px;
}
.sea-content > p:not(.eyebrow) {
  max-width: 39ch;
  color: #d8e1de;
}
.activity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}
.activity-list li {
  padding: 7px 10px;
  border: 1px solid rgba(245, 237, 224, 0.38);
  border-radius: 999px;
  font-size: 11px;
}
.flavor {
  background: var(--sand);
  color: var(--ink);
  overflow: hidden;
}
.flavor-grid {
  display: grid;
  gap: 42px;
  align-items: center;
}
.flavor-copy .eyebrow {
  color: var(--terracotta-texto);
}
.flavor-copy > p:not(.eyebrow) {
  max-width: 42ch;
  color: #48606a;
}
.flavor-gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: repeat(3, minmax(110px, 1fr));
  gap: 10px;
  min-height: 430px;
}
.flavor-gallery-item {
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #d9d0c1;
  cursor: pointer;
}
.flavor-gallery-item--wide {
  grid-row: span 2;
}
.flavor-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.flavor-gallery-item:hover img,
.flavor-gallery-item:focus-visible img {
  transform: scale(1.05);
}
.flavor-gallery-item:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
}
.presentation {
  background: #d7cab8;
  color: var(--ink);
}
.presentation-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.presentation-preview {
  position: relative;
  height: 315px;
  isolation: isolate;
}
.presentation-preview > img {
  position: absolute;
  inset: 0;
  width: 76%;
  height: 92%;
  object-fit: cover;
  filter: sepia(0.25) saturate(0.8);
}
.presentation-preview:after {
  position: absolute;
  inset: 0;
  width: 76%;
  height: 92%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(5, 26, 36, 0.67));
}
.presentation-preview span {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 20px;
  color: #fff;
  font: 500 11px/1.2 var(--mono);
  letter-spacing: 0.14em;
}
.preview-sheet {
  position: absolute;
  background: #f6f1e8;
  box-shadow: 0 17px 30px rgba(20, 30, 32, 0.17);
}
.preview-sheet-one {
  z-index: -1;
  top: 25px;
  right: 6%;
  width: 57%;
  height: 83%;
  transform: rotate(7deg);
}
.preview-sheet-two {
  z-index: -2;
  top: 41px;
  right: 0;
  width: 55%;
  height: 76%;
  transform: rotate(14deg);
}
.presentation-copy .eyebrow {
  color: var(--terracotta-texto);
}
.presentation-copy > p:not(.eyebrow) {
  max-width: 40ch;
  color: #445a62;
}
.presentation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin: 25px 0;
}
.closing {
  min-height: 720px;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}
.closing-media,
.closing-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.closing-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 24, 33, 0.85), rgba(7, 24, 33, 0.16)),
    linear-gradient(0deg, rgba(7, 24, 33, 0.6), transparent);
}
.closing-content {
  padding-bottom: 88px;
}
.closing-content > p:not(.eyebrow) {
  max-width: 38ch;
  color: #d2dedd;
}
.site-footer {
  padding: 58px 0 19px;
  background: #071722;
  color: var(--sand);
}
.footer-grid {
  display: grid;
  gap: 42px;
}
.footer-destination > img {
  width: 145px;
  filter: brightness(0) invert(1);
}
.footer-destination > p {
  margin: 13px 0 22px;
  font-family: var(--display);
  font-size: 22px;
}
.footer-destination nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  color: var(--muted);
}
.footer-label {
  color: #91a8ac;
  font-size: 9px;
}
.sectur-panel {
  display: flex;
  align-items: center;
  max-width: 295px;
  min-height: 89px;
  padding: 10px 17px;
  background: #f7f2eb;
}
.sectur-panel img {
  width: 100%;
  height: 66px;
  object-fit: cover;
  object-position: center 62%;
  mix-blend-mode: multiply;
}
.footer-maker > a {
  display: inline-block;
  width: 126px;
  border-radius: 3px;
  overflow: hidden;
}
.footer-maker img {
  width: 100%;
  height: auto;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 51px;
  padding-top: 17px;
  border-top: 1px solid rgba(245, 237, 224, 0.12);
  font-size: 10px;
  color: #84989e;
}
.footer-bottom a {
  color: var(--amber);
}
.footer-credit {
  margin: 10px auto 0;
  font-size: 9px;
  /* El footer tiene fondo CLARO (#f3eadc), no oscuro: aquí este gris da
     5.26:1. Medir el fondo efectivo antes de ajustar, no suponerlo. */
  color: #536367;
}

/* Las notas colocadas sobre fondos oscuros conservan un contraste suficiente. */
.stay .source-note,
.chepe .source-note,
.meetings .source-note {
  color: #c3d2cf !important;
}
/* La sección de presentación tiene un fondo más oscuro que el arena general
   (#d7cab8), donde el gris de las notas solo alcanzaba 3.80:1. */
.presentation .source-note {
  color: #46565c !important;
}
.pdf-dialog {
  width: min(1100px, calc(100vw - 20px));
  height: min(790px, calc(100svh - 20px));
  padding: 0;
  border: 0;
  background: #0b1d2a;
  color: var(--sand);
}
.pdf-dialog::backdrop {
  background: rgba(2, 13, 20, 0.84);
  backdrop-filter: blur(5px);
}
.pdf-dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 55px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
}
.pdf-dialog-bar h2 {
  margin: 0;
  font: 500 15px var(--body);
  letter-spacing: 0;
}
.dialog-close {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--sand);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}
.pdf-dialog iframe {
  width: 100%;
  height: calc(100% - 55px);
  border: 0;
  background: #fff;
}
.is-hidden {
  display: none !important;
}
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: calc(var(--reveal-delay, 0) * 0.1s);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}
@media (min-width: 700px) {
  :root {
    --page: min(1180px, calc(100vw - 80px));
  }
  .section {
    padding: 135px 0;
  }
  .route-grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
  }
  .heading-row {
    grid-template-columns: 1.2fr 0.65fr;
    align-items: end;
  }
  .editorial-grid {
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: 260px 260px;
  }
  .editorial-card {
    min-height: 0;
  }
  .editorial-card-wide {
    grid-row: span 2;
  }
  .editorial-card-tall {
    grid-row: span 1;
  }
  .editorial-card-small {
    grid-column: 2;
  }
  .experience-card {
    flex-basis: 280px;
  }
  .experience-card.feature-card {
    flex-basis: 390px;
  }
  .chepe-layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-top: 100px;
  }
  .chepe-stops {
    align-self: center;
  }
  .chepe-stop {
    padding: 20px 0;
  }
  .chepe-progress {
    right: max(40px, calc((100vw - 1180px) / 2));
    bottom: 37px;
    width: 180px;
  }
  .sea-content {
    padding-bottom: 110px;
  }
  .flavor-grid,
  .presentation-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 0.9fr 0.65fr;
    align-items: start;
  }
  .footer-bottom {
    margin-top: 68px;
  }
}
@media (min-width: 900px) {
  .hero-media {
    display: none;
  }
  .hero-content {
    padding-bottom: 150px;
  }
  .scroll-cue {
    right: max(30px, calc((100vw - 1180px) / 2));
  }
  .experience-rail {
    margin-right: 0;
    padding-right: 0;
  }
  .experience-card {
    flex: 1 1 0;
    height: 470px;
  }
  .experience-card.feature-card {
    flex: 1.5 1 0;
  }
  .experience-card:not(.feature-card):hover {
    flex-grow: 1.28;
  }
  .editorial-card h3 {
    font-size: 40px;
  }
  .chepe-stage {
    min-height: 100vh;
  }
  .site-footer {
    padding-top: 76px;
  }
}

@media (min-width: 900px) {
  .chepe-media {
    background: #071722 url("../assets/img/galeria/chepe-1600w.webp")
      center/cover no-repeat;
  }
  .chepe-media img {
    z-index: 0;
    transition:
      opacity 0.22s ease-out,
      transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .chepe-media img.is-active {
    z-index: 1;
    opacity: 1 !important;
  }
  .chepe-stop {
    will-change: opacity, transform;
  }
  .chepe-stop.is-active {
    transition-duration: 0.28s;
  }
}

/* Footer partner signatures: preserve each institutional mark without forced cropping. */
.sectur-panel {
  justify-content: center;
  width: min(100%, 330px);
  min-height: 112px;
  padding: 8px 18px;
  border: 1px solid rgba(245, 237, 224, 0.18);
  border-radius: 2px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.sectur-panel img {
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}
.footer-maker > a {
  width: auto;
  max-width: 250px;
  padding: 10px 0;
  transition: transform 0.25s;
}
.footer-destination > .footer-logo {
  width: 165px;
  height: auto;
  filter: none;
}
.footer-maker > a:hover {
  transform: translateY(-3px);
}
.maker-mark {
  display: block;
  width: 207px;
  overflow: hidden;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 8px 14px rgba(11, 29, 42, 0.18));
}
.maker-mark img {
  width: 100%;
  height: auto;
}
.maker-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #91a8ac;
  font-size: 10px;
  line-height: 1.45;
}
.maker-caption b {
  font-size: 14px;
  font-weight: 400;
  color: var(--amber);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .hero-video {
    display: none !important;
  }
}

/* Ritmo editorial: bento en explorar y una escena activa en la bahía. */
.experience-bento {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  grid-auto-rows: 230px;
  gap: 14px;
  overflow: visible;
}
.experience-bento .experience-card {
  min-width: 0;
  width: auto;
  height: auto;
  min-height: 0;
}
.experience-bento .experience-card:first-child {
  grid-row: span 2;
}
.experience-bento .experience-card:nth-child(4) {
  grid-row: span 2;
}
.experience-bento .experience-card:nth-child(6) {
  grid-column: 2;
}
.experience-bento .experience-card:nth-child(7) {
  grid-column: 1 / -1;
  height: 280px;
}
/* Teaser de galería en el home: la galería completa vive en galeria.html. */
.gallery-teaser {
  background: var(--sand);
  color: var(--ink);
}
.teaser-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 44px 0 34px;
}
.teaser-strip img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 3px;
  background: #ded5c6;
}
.lightbox-dialog {
  position: fixed;
  inset: 0;
  display: none;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: rgba(4, 12, 18, 0.96);
  color: var(--sand);
}
.lightbox-dialog[open] {
  display: flex;
}
.lightbox-dialog::backdrop {
  background: transparent;
}
.lightbox-dialog img {
  max-width: min(92vw, 1400px);
  max-height: 84vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 44px;
  height: 44px;
  background: rgba(11, 29, 42, 0.6);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(11, 29, 42, 0.6);
  color: var(--sand);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}
.lightbox-prev {
  left: 20px;
}
.lightbox-next {
  right: 20px;
}
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  font: 500 11px var(--mono);
  letter-spacing: 0.1em;
  color: #9fb0af;
}
.meetings {
  background: var(--petroleum);
  overflow: hidden;
}
.meetings-grid {
  display: grid;
  gap: 38px;
  align-items: center;
}
.meetings-film {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: #071722;
  isolation: isolate;
}
.meetings-film-media,
.meetings-film-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.meetings-film-media img {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 0.8s ease,
    transform 5s linear;
}
.meetings-film-media img.is-active {
  opacity: 1;
  transform: scale(1);
}
.meetings-film:after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(2, 13, 20, 0.82), transparent 62%);
  pointer-events: none;
}
.meetings-film-caption {
  position: absolute;
  z-index: 2;
  right: 25px;
  bottom: 29px;
  left: 25px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 14px;
  align-items: end;
}
.meetings-film-caption span {
  grid-row: span 2;
  color: var(--amber);
  font: 500 12px var(--mono);
}
.meetings-film-caption strong {
  font: 600 clamp(25px, 4vw, 43px)/0.95 var(--display);
}
.meetings-film-caption small {
  color: #d2dddd;
  font-size: 11px;
}
.meetings-film-progress {
  position: absolute;
  z-index: 3;
  right: 25px;
  bottom: 20px;
  width: 110px;
  height: 2px;
  background: rgba(245, 237, 224, 0.35);
}
.meetings-film-progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--amber);
  transition: width 0.4s;
}
/* Encuentros: el recorrido es el acto principal; texto y cifras acompañan. */
@media (min-width: 700px) {
  .meetings-grid {
    grid-template-columns: 1fr 1fr;
    gap: 58px 80px;
    align-items: start;
  }
  .meetings-film {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: clamp(520px, 62vw, 720px);
    aspect-ratio: 16 / 9;
  }
  .meetings-copy {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
  }
  .meetings-stats {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }
  .meetings-note {
    grid-column: 2;
    grid-row: 3;
  }
}
@media (max-width: 699px) {
  .meetings-grid {
    display: flex;
    flex-direction: column;
    gap: 31px;
  }
  .meetings-film {
    order: 1;
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }
  .meetings-copy {
    order: 2;
  }
  .meetings-stats {
    order: 3;
    width: 100%;
  }
  .meetings-note {
    order: 4;
  }
}

/* Iteración editorial: capítulos de la presentación sin convertirla en un catálogo. */
.stay {
  isolation: isolate;
  overflow: hidden;
  padding-block: 88px;
  background: #163847;
  color: var(--sand);
}
.stay-media,
.stay-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.stay-media {
  z-index: -2;
  object-fit: cover;
}
.stay-scrim {
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(7, 23, 34, 0.94),
    rgba(7, 23, 34, 0.62) 55%,
    rgba(7, 23, 34, 0.78)
  );
}
.stay-grid {
  display: grid;
  gap: 30px;
  align-items: end;
}
.stay-copy > p:not(.eyebrow) {
  max-width: 35ch;
  color: #cbd8d7;
}
.stay-copy h2 {
  font-size: clamp(44px, 7vw, 78px);
}
.stay-numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(245, 237, 224, 0.18);
}
.stay-numbers > div {
  min-height: 142px;
  padding: 23px 19px;
  background: #163847;
}
.stay-numbers strong {
  display: block;
  font: 500 clamp(44px, 6vw, 72px)/0.88 var(--display);
  color: var(--amber);
  letter-spacing: -0.06em;
}
.stay-numbers span {
  display: block;
  margin-top: 10px;
  font: 500 10px/1.3 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cbd8d7;
}
.stay-note {
  margin: 0;
}

.nature-chapter {
  overflow: hidden;
  background: #e8dfd1;
  color: var(--ink);
}
.nature-garden {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  isolation: isolate;
}
.nature-garden > img,
.nature-garden:after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.nature-garden:after {
  content: "";
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 23, 34, 0.86), rgba(7, 23, 34, 0.18) 72%),
    linear-gradient(0deg, rgba(7, 23, 34, 0.62), transparent 60%);
}
.nature-garden-copy {
  padding-bottom: 75px;
  color: var(--sand);
}
.nature-garden-copy > p:not(.eyebrow) {
  max-width: 37ch;
  color: #d9e1d7;
}
.nature-garden-copy h2 {
  max-width: 8ch;
}
.cerro-panel {
  display: grid;
  gap: 24px;
  align-items: end;
  padding-top: 44px;
  padding-bottom: 70px;
}
.cerro-stat {
  display: flex;
  align-items: end;
  gap: 14px;
}
.cerro-stat span {
  font: 500 clamp(90px, 15vw, 172px)/0.65 var(--display);
  letter-spacing: -0.09em;
  color: var(--terracotta);
}
.cerro-stat small {
  padding-bottom: 3px;
  font: 500 10px/1.25 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cerro-photo {
  position: relative;
}
.cerro-photo img {
  width: 100%;
  /* Misma proporción que .nature-diptych para que el capítulo se lea como una
     sola secuencia. height: auto es necesario: sin él, el atributo height del
     HTML dejaba esta imagen en 999 px de alto. */
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.cerro-photo p {
  max-width: 31ch;
  margin: 16px 0 0;
  color: #46606a;
}
.nature-diptych {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 88px;
}
.nature-diptych figure {
  margin: 0;
}
.nature-diptych img {
  width: 100%;
  /* Igual que en .route-photos: sin height auto, los atributos del HTML
     dejaban estas imágenes en 1067 px de alto. */
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.nature-diptych figcaption {
  margin-top: 10px;
  color: #68766f;
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fuerte-bridge {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 680px;
  isolation: isolate;
  overflow: hidden;
  color: var(--sand);
}
.fuerte-bridge > img,
.fuerte-scrim {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fuerte-scrim {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(6, 20, 29, 0.93),
      rgba(6, 20, 29, 0.38) 67%,
      rgba(6, 20, 29, 0.1)
    ),
    linear-gradient(0deg, rgba(6, 20, 29, 0.6), transparent);
}
.fuerte-copy {
  padding-bottom: 75px;
}
.fuerte-copy h2 {
  max-width: 8ch;
}
.fuerte-copy > p:not(.eyebrow) {
  max-width: 39ch;
  color: #d3dfda;
}
.fuerte-detail {
  display: inline-block;
  margin-top: 9px;
  color: var(--amber);
  font: 500 10px/1.45 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bahia-film {
  max-width: 46ch;
  margin-top: 28px;
}
.bahia-caption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
}
.bahia-caption span {
  grid-row: span 2;
  align-self: start;
  padding-top: 4px;
  font: 500 12px var(--mono);
  color: var(--amber);
}
.bahia-caption strong {
  font: 500 26px/1.1 var(--display);
  color: var(--sand);
}
.bahia-caption small {
  font-size: 12.5px;
  line-height: 1.5;
  color: #d8e1de;
}
.bahia-progress {
  height: 2px;
  margin-top: 18px;
  background: rgba(245, 237, 224, 0.26);
}
.bahia-progress span {
  display: block;
  width: 16.6%;
  height: 100%;
  background: var(--amber);
  transition: width 0.45s ease;
}
.bahia-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}
.bahia-dots {
  display: flex;
  gap: 4px;
}
.bahia-dots button {
  display: grid;
  place-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}
/* El punto visible es pequeño, pero el área tocable del botón mide 44 px. */
.bahia-dots button:before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 237, 224, 0.42);
  content: "";
  transition:
    background 0.2s,
    transform 0.2s;
}
.bahia-dots button[aria-current="true"]:before {
  background: var(--amber);
  transform: scale(1.4);
}
.bahia-dots button:hover:before {
  background: var(--sand);
}
.bahia-toggle {
  border: 1px solid rgba(245, 237, 224, 0.4);
  border-radius: 999px;
  min-height: 44px;
  padding: 9px 16px;
  background: rgba(7, 23, 34, 0.34);
  color: var(--sand);
  font: 500 10px/1.2 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.bahia-toggle:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.sea-media img {
  transform: scale(1.05);
  transition:
    opacity 0.9s ease,
    transform 6s linear;
}
.sea-media img.is-active {
  transform: scale(1);
}

.meetings {
  background: #193746;
  color: var(--sand);
}
.meetings-grid {
  display: grid;
  gap: 34px;
  align-items: end;
}
.meetings-copy h2 {
  max-width: 9ch;
}
.meetings-copy > p:not(.eyebrow) {
  max-width: 39ch;
  color: #d1ddda;
}
.meeting-link {
  margin-top: 18px;
  color: var(--amber);
}
.meetings-stats {
  display: grid;
  gap: 1px;
  background: rgba(245, 237, 224, 0.16);
}
.meetings-stats > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  background: #193746;
}
.meetings-stats strong {
  font: 500 clamp(34px, 5vw, 60px)/0.9 var(--display);
  letter-spacing: -0.06em;
  color: var(--amber);
}
.meetings-stats span {
  max-width: 15ch;
  text-align: right;
  font: 500 10px/1.35 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cfddda;
}
.meetings-note {
  margin: 0;
}

@media (min-width: 700px) {
  .stay-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 75px;
  }
  .stay-note {
    grid-column: 2;
  }
  .nature-garden {
    min-height: 760px;
  }
  .cerro-panel {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 70px;
    padding-top: 75px;
    padding-bottom: 105px;
  }
  .cerro-photo p {
    margin-left: 12%;
    font-size: 16px;
  }
  .fuerte-bridge {
    min-height: 760px;
  }
  .meetings-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
  }
  .meetings-note {
    grid-column: 2;
  }
  .meetings-stats > div {
    padding: 24px;
  }
  .bahia-film {
    max-width: 530px;
  }
}
