/* =========================================================
   Ecuador & Galápagos Tripplanners
   Paleta tomada del logotipo (azul y naranja) sobre una base crema.
   ========================================================= */

:root {
  --navy: #0f1d45;
  --navy-2: #172a5e;
  --blue: #2d3a8c;
  --orange: #e8913a;
  --orange-ink: #a04f0a;
  --orange-soft: #f2a65a;
  --cream: #f3ede4;
  --cream-2: #e8dfd1;
  --paper: #fbf8f3;
  --white: #fff;
  --ink: var(--navy);
  --muted: rgba(15, 29, 69, 0.66);
  --line: rgba(15, 29, 69, 0.14);
  --line-strong: rgba(15, 29, 69, 0.28);
  --line-dark: rgba(255, 255, 255, 0.18);
  --muted-dark: rgba(255, 255, 255, 0.72);

  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --header-h: 72px;
  --radius: 4px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: auto;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.15vw, 1.0625rem);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
::selection { background: var(--orange); color: var(--navy); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  padding: 10px 16px; background: var(--navy); color: #fff; border-radius: var(--radius);
  transform: translateY(-160%); transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(96px, 12vw, 192px); }

/* ---------- Tipografía ---------- */
.display {
  font-size: clamp(2.75rem, 1.1rem + 6.6vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: -0.038em;
  font-weight: 500;
  font-stretch: 92%;
  text-wrap: balance;
}
.h1 {
  font-size: clamp(2.4rem, 1.35rem + 4.1vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 500;
  font-stretch: 94%;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(2rem, 1.25rem + 3vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 500;
  font-stretch: 94%;
}
.h3 {
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.018em;
  font-weight: 500;
}
.lead {
  font-size: clamp(1.08rem, 0.98rem + 0.45vw, 1.34rem);
  line-height: 1.5;
  letter-spacing: -0.005em;
}

/* Envolturas de SplitText */
.nw { white-space: nowrap; }
.split-line { overflow: clip; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.w { display: inline-block; }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0 24px;
  font-size: 0.95rem; letter-spacing: -0.005em; font-weight: 500;
  border-radius: 2px; white-space: nowrap;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--cream); }
.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { background: var(--blue); }
.link {
  display: inline-block; font-size: 0.95rem; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.4s var(--ease);
}
.link:hover { background-size: 0% 1px; background-position: 100% 100%; }

/* ---------- Preloader ---------- */
.loader { display: none; }
.motion .loader {
  position: fixed; inset: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream); color: var(--navy);
}
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.loader__logo { width: 104px; height: 104px; }
.loader__word { display: flex; flex-direction: column; align-items: center; gap: 6px; text-transform: uppercase; font-weight: 500; }
.loader__word span:first-child { font-size: 0.86rem; letter-spacing: 0.26em; }
.loader__word span:last-child { font-size: 0.66rem; letter-spacing: 0.62em; margin-right: -0.62em; color: var(--orange-ink); }
.loader__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; height: 1px; background: var(--line); }
.loader__bar i { position: absolute; inset: 0; background: var(--navy); transform: scaleX(0); transform-origin: left; }

/* ---------- Encabezado ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  color: #fff;
  transition: transform 0.6s var(--ease), background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 29, 69, 0.45), rgba(15, 29, 69, 0));
  transition: opacity 0.5s var(--ease);
}
.header[data-tone="light"] {
  color: var(--navy);
  background: rgba(243, 237, 228, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.header[data-tone="light"]::before { opacity: 0; }
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  height: 100%; max-width: none;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; text-transform: uppercase; font-weight: 500; justify-self: start; }
.brand__text { display: flex; flex-direction: column; align-items: flex-start; white-space: nowrap; }
.brand__logo { flex: none; width: 44px; height: 44px; padding: 3px; border-radius: 50%; background: var(--cream); }
.brand__top { font-size: 0.8rem; letter-spacing: 0.22em; }
.brand__bottom { font-size: 0.6rem; letter-spacing: 0.58em; margin-top: 6px; opacity: 0.82; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav a { position: relative; font-size: 0.92rem; letter-spacing: -0.005em; font-weight: 500; }
.lang__link { position: relative; font-size: 0.78rem; letter-spacing: 0.06em; font-weight: 500; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 1.8vw, 28px); }
.lang { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; }
.lang span { opacity: 0.4; }
.lang__link { opacity: 0.5; padding: 6px 2px; transition: opacity 0.3s; }
.lang__link[aria-current="page"] { opacity: 1; }
.lang__link:hover { opacity: 1; }
.header__cta { min-height: 40px; padding: 0 18px; font-size: 0.88rem; }
.header[data-tone="light"] .header__cta { background: var(--navy); color: #fff; }
.header[data-tone="light"] .header__cta:hover { background: var(--blue); }

.burger { display: none; width: 44px; height: 44px; margin-right: -10px; align-items: center; justify-content: center; }
.burger__lines { position: relative; width: 24px; height: 10px; }
.burger__lines i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.burger__lines i:first-child { top: 0; }
.burger__lines i:last-child { top: 8.5px; }
.burger[aria-expanded="true"] .burger__lines i:first-child { top: 4.25px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines i:last-child { top: 4.25px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--navy); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}
.menu[hidden] { display: none; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: block;
  padding: 14px 0; border-bottom: 1px solid var(--line-dark);
  font-size: clamp(2rem, 1.2rem + 4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 500;
}
.menu__foot { display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; opacity: 0.85; }
.menu-open .header { color: #fff; background: transparent; box-shadow: none; transform: none; }
.menu-open .header::before { opacity: 0; }

/* ---------- Portada ---------- */
.hero { position: relative; background: var(--navy); color: #fff; }
.motion .hero { height: 380vh; }
.hero__sticky { position: relative; overflow: hidden; }
.motion .hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img--blur { display: none; }
.motion .hero__img--blur { display: block; opacity: 0; transform: scale(1.06); filter: brightness(0.62) saturate(1.1); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 62% 48% at 50% 54%, rgba(15, 29, 69, 0.46), rgba(15, 29, 69, 0) 72%),
    linear-gradient(180deg, rgba(15, 29, 69, 0.5) 0%, rgba(15, 29, 69, 0.2) 30%, rgba(15, 29, 69, 0.28) 62%, rgba(15, 29, 69, 0.8) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--header-h) + 32px) var(--gutter) 120px;
}
.hero__title { max-width: 11.5ch; text-shadow: 0 2px 30px rgba(10, 20, 50, 0.45); }
.hero__lead { max-width: 30rem; margin-top: 30px; font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.25rem); line-height: 1.5; text-wrap: balance; text-shadow: 0 1px 18px rgba(15, 29, 69, 0.55); }
.hero__credit {
  position: absolute; left: var(--gutter); bottom: 30px;
  font-size: 0.8rem; opacity: 0.75;
}
.scroll-cue {
  position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; padding: 8px 12px;
}
.scroll-cue i { position: relative; width: 1px; height: 56px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: #fff;
  animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue { to { top: 100%; } }

.floats { display: none; }
.motion .floats { display: block; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.float {
  position: absolute; top: 0; margin: 0;
  width: clamp(120px, 15vw, 260px); aspect-ratio: 4 / 5;
  overflow: hidden; border-radius: 3px;
  box-shadow: 0 30px 60px -20px rgba(5, 12, 35, 0.55);
  will-change: transform;
  transform: translateY(120vh);
}
.float img { width: 100%; height: 100%; object-fit: cover; }
.float--1 { left: 3%; aspect-ratio: 4 / 3; width: clamp(200px, 23vw, 400px); }
.float--2 { right: 4%; width: clamp(160px, 19vw, 330px); }
.float--3 { left: 7%; width: clamp(140px, 15vw, 260px); }
.float--4 { right: 8%; aspect-ratio: 3 / 4; width: clamp(150px, 16vw, 290px); }
.float--5 { left: 2%; aspect-ratio: 1; width: clamp(160px, 17vw, 300px); }
.float--6 { right: 2%; aspect-ratio: 4 / 3; width: clamp(200px, 22vw, 380px); }

.statement { position: relative; z-index: 4; display: flex; justify-content: center; padding: 16vh var(--gutter) 20vh; }
.motion .statement { position: absolute; inset: 0; align-items: center; padding: 0 var(--gutter); pointer-events: none; opacity: 0; visibility: hidden; }
.statement__text {
  max-width: 17em; text-align: center;
  font-size: clamp(1.55rem, 0.9rem + 2.9vw, 3.4rem); line-height: 1.13; letter-spacing: -0.022em; font-weight: 500;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(10, 20, 50, 0.35);
}

/* ---------- Regiones ---------- */
.regions { background: var(--cream); overflow: hidden; }
.regions__pin { padding-block: clamp(40px, 6vw, 96px) clamp(88px, 10vw, 150px); }
.regions__head { display: flex; justify-content: flex-end; align-items: flex-end; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
/* Apertura: cuatro fotos verticales suben y cubren la pantalla, una por región */
.worlds__stage { position: relative; overflow: hidden; }
.worlds__intro {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: clamp(96px, 12vw, 180px) var(--gutter) clamp(48px, 6vw, 80px);
}
.worlds__title { max-width: 9ch; }
.worlds__lead { margin-top: 28px; max-width: 28em; color: var(--muted); }
.worlds__cols { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); height: 80vh; height: 80svh; }
.worlds__cols li { position: relative; overflow: hidden; background: var(--navy-2); }
.worlds__cols img { width: 100%; height: 100%; object-fit: cover; }
.worlds__cols li::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%; pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 18, 45, 0.6), rgba(10, 18, 45, 0));
}
.worlds__cols span {
  position: absolute; z-index: 1; left: clamp(16px, 2vw, 32px); bottom: clamp(18px, 3vh, 36px);
  color: #fff; font-size: clamp(1.5rem, 0.9rem + 1.8vw, 2.8rem); line-height: 1; font-weight: 500; letter-spacing: -0.03em;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}
.motion .worlds__stage { height: 100vh; height: 100svh; }
.motion .worlds__intro { position: absolute; inset: 0; padding-block: 0; }
.motion .worlds__cols { position: absolute; inset: 0; height: auto; }
.motion .worlds__cols li { clip-path: inset(100% 0 0 0); }
/* En vertical, dos por dos; un teléfono en horizontal mantiene las cuatro columnas. */
@media (max-width: 899px) and (orientation: portrait) {
  .worlds__cols { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: 120vw; }
}
.regions__bar { display: none; position: relative; width: clamp(80px, 12vw, 180px); height: 1px; margin-bottom: 0.7em; background: var(--line-strong); }
.regions__bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0.25); }
.regions__track { display: flex; flex-direction: column; gap: clamp(72px, 10vw, 120px); padding-inline: var(--gutter); }
.region { display: grid; gap: 36px; }
.region__media { position: relative; padding-bottom: 12%; }
.region__main { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--cream-2); }
.region__main img { width: 100%; height: 100%; object-fit: cover; }
.region__small {
  position: absolute; right: 0; bottom: 0; width: 38%; aspect-ratio: 4 / 5;
  overflow: hidden; border-radius: var(--radius); border: 6px solid var(--cream); background: var(--cream-2);
}
.region__small img { width: 100%; height: 100%; object-fit: cover; }
/* Degradado bajo los pies de foto para que se lean sobre cualquier imagen */
.region__main::after, .region__small::after, .darwin__img::after, .about__ph::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 55%; pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 18, 45, 0.66), rgba(10, 18, 45, 0));
}
.region figcaption, .darwin__img figcaption, .about__ph figcaption {
  position: absolute; z-index: 1; left: 14px; bottom: 12px; right: 14px;
  font-size: 0.8rem; color: #fff; line-height: 1.35;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 1px 16px rgba(0, 0, 0, 0.5);
}
.region__main figcaption { right: 44%; }
@media (max-width: 1199px) { .region__small figcaption { display: none; } }
.region__name {
  margin: 0 0 0.45em;
  font-size: clamp(2.6rem, 1.3rem + 4vw, 5.2rem); line-height: 0.95; letter-spacing: -0.04em; font-weight: 500; font-stretch: 92%;
}
.region__body p { max-width: 30em; font-size: 1.06rem; }
.region__body .region__places { margin-top: 22px; font-size: 0.92rem; line-height: 1.5; color: var(--muted); }

@media (min-width: 900px) {
  .motion .regions__bar { display: block; }
  .region__media { padding-bottom: 0; padding-right: 9%; }
  .region__small { width: 30%; bottom: -8%; }
  .motion .regions__pin {
    height: 100vh; height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding-block: calc(var(--header-h) + 8px) 28px;
  }
  .motion .regions__head { margin-bottom: clamp(24px, 3vh, 44px); }
  /* Cada región ocupa una pantalla y queda alineada con el contenedor central. */
  .motion .regions { --rw: min(calc(var(--vw, 100vw) - var(--gutter) * 2), calc(var(--maxw) - var(--gutter) * 2)); }
  .motion .regions__track {
    flex-direction: row; width: max-content;
    gap: calc(var(--vw, 100vw) - var(--rw));
    padding-inline: calc((var(--vw, 100vw) - var(--rw)) / 2);
  }
  .motion .region {
    width: var(--rw);
    max-width: none;
    grid-template-columns: 1.3fr 1fr; align-items: center; gap: clamp(40px, 6vw, 112px);
  }
  .motion .region__main { aspect-ratio: auto; height: min(62vh, 640px); }
  .motion .region__main img { width: 114%; max-width: none; margin-left: -7%; }
  .motion .region__small { aspect-ratio: 4 / 5; }
}

/* ---------- Imagen expandible ---------- */
.expand { position: relative; background: var(--navy); color: #fff; }
.motion .expand { height: 280vh; }
.expand__sticky { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.motion .expand__sticky { position: sticky; top: 0; }
.expand__media { position: absolute; inset: 0; overflow: hidden; will-change: clip-path; }
.expand__media img { width: 100%; height: 100%; object-fit: cover; }
.expand__shade { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(15, 29, 69, 0.5), rgba(15, 29, 69, 0.3) 70%, rgba(15, 29, 69, 0.55)); }
.expand__content { position: relative; z-index: 2; text-align: center; padding-inline: var(--gutter); display: flex; flex-direction: column; align-items: center; }
.expand__title { max-width: 11ch; margin-top: 20px; }
.expand__lead { max-width: 34em; margin-top: 26px; opacity: 0.92; }

/* ---------- Formas de viajar ---------- */
.ways { position: relative; background: var(--navy); color: #fff; }
.way { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; }
.way__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.way::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15, 29, 69, 0.35) 0%, rgba(15, 29, 69, 0) 30%, rgba(15, 29, 69, 0.25) 55%, rgba(15, 29, 69, 0.86) 100%);
}
.way__content { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter) clamp(64px, 9vh, 96px); }
.way__title { margin: 0 0 20px; }
.way__text { max-width: 34em; font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.2rem); line-height: 1.55; opacity: 0.92; }
.ways__tabs { display: none; }

.motion .ways { height: 100vh; height: 100svh; overflow: hidden; }
.motion .ways__stage { position: absolute; inset: 0; }
.motion .way { position: absolute; inset: 0; min-height: 0; opacity: 0; visibility: hidden; transition: opacity 0.9s var(--ease), visibility 0s linear 0.9s; }
.motion .way.is-active { opacity: 1; visibility: visible; transition: opacity 0.9s var(--ease), visibility 0s; }
.motion .way__bg { transform: scale(1.1); transition: transform 2.6s var(--ease); }
.motion .way.is-active .way__bg { transform: scale(1); }
.motion .way__content { padding-bottom: calc(clamp(64px, 9vh, 96px) + 84px); }
.motion .way__content > * { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.motion .way.is-active .way__content > * { opacity: 1; transform: none; }
.motion .way.is-active .way__content > :nth-child(2) { transition-delay: 0.08s; }
.motion .way.is-active .way__content > :nth-child(3) { transition-delay: 0.16s; }
.motion .way.is-active .way__content > :nth-child(4) { transition-delay: 0.24s; }
.motion .ways__tabs {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(12px, 2vw, 32px);
  max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter) clamp(22px, 4vh, 36px);
}
.ways__tab {
  position: relative; display: flex; align-items: baseline; gap: 12px; text-align: left;
  padding-top: 18px; color: rgba(255, 255, 255, 0.55); transition: color 0.4s var(--ease);
  font-size: 0.92rem;
}
.ways__tab b { font-weight: 500; }
.ways__tab i { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.ways__tab em { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.ways__tab.is-active, .ways__tab:hover { color: #fff; }

/* ---------- Ruta ---------- */
.route { background: var(--cream); padding-bottom: 0; }
.route__head { padding: 0 var(--gutter) clamp(32px, 5vw, 72px); }
.route__head .h1 { max-width: 12ch; margin: 0 0 28px; }
.route__head .lead { max-width: 32em; color: var(--muted); }
.route__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); max-width: var(--maxw); margin-inline: auto; }
.route__mapwrap {
  position: sticky; top: 0; z-index: 2;
  height: 46vh; height: 46svh;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.route__map { width: 100%; height: 100%; }
/* Ruta en dos columnas desde 960 px y también en teléfonos en horizontal, donde el mapa arriba quedaría como una franja. */
@media (max-width: 959px) and (orientation: portrait), (max-width: 559px) {
  /* En móvil el resumen sube por encima del mapa fijo en vez de pasar por debajo */
  .route__grid .route__steps { z-index: auto; }
  .route__steps .step--summary {
    position: relative; z-index: 3; max-width: none; background: var(--cream);
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  }
  .step--summary .summary { max-width: 32rem; }
}
.route__map svg { width: 100%; height: 100%; overflow: hidden; }
.route__note {
  position: absolute; right: var(--gutter); bottom: 10px;
  font-size: 0.78rem; color: var(--muted);
}
.route__steps { position: relative; z-index: 1; padding: 0 var(--gutter); counter-reset: step; }
.step {
  min-height: 64vh; min-height: 64svh;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding-block: 7vh 4vh; padding-block: 7svh 4svh; max-width: 30rem;
}
.motion .step:not(.step--summary) { opacity: 0.28; transition: opacity 0.6s var(--ease); }
.motion .step.is-active { opacity: 1; }
.step__days { font-size: 0.9rem; font-weight: 500; color: var(--orange-ink); }
.step__title { margin: 14px 0 16px; }
.step > p:not(.step__days) { color: var(--muted); }
.step--summary { min-height: auto; padding-block: 6vh clamp(88px, 10vw, 150px); padding-block: 6svh clamp(88px, 10vw, 150px); max-width: 32rem; }

.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3vw, 44px); }
.summary__price { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem); line-height: 1; letter-spacing: -0.035em; font-weight: 500; }
.summary__price span { font-size: 0.32em; letter-spacing: 0.04em; vertical-align: 0.9em; margin-right: 0.3em; opacity: 0.7; }
.summary__price b { font-weight: 500; }
.summary__sub { margin-top: 12px; font-size: 0.92rem; color: var(--muted); }
.summary__list { margin-top: 22px; }
.summary__list li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.summary__fine { margin-top: 16px; font-size: 0.8rem; color: var(--muted); }
.summary__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 26px; }

/* Mapa */
.m-neigh { fill: var(--cream-2); stroke: rgba(15, 29, 69, 0.1); stroke-width: calc(1px * var(--k, 1)); }
.m-land { fill: var(--paper); stroke: rgba(15, 29, 69, 0.42); stroke-width: calc(1.1px * var(--k, 1)); stroke-linejoin: round; }
.m-frame { fill: none; stroke: rgba(15, 29, 69, 0.28); stroke-width: calc(1px * var(--k, 1)); stroke-dasharray: calc(5px * var(--k, 1)) calc(5px * var(--k, 1)); }
.m-path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion .m-path { stroke-dashoffset: 1; }
.m-flight { stroke: var(--navy); stroke-width: calc(1.6px * var(--k, 1)); opacity: 0.75; }
.m-ground { stroke: var(--orange); stroke-width: calc(3.4px * var(--k, 1)); }
.m-yacht { fill: none; stroke: var(--orange); stroke-width: calc(1.4px * var(--k, 1)); stroke-dasharray: calc(3px * var(--k, 1)) calc(4px * var(--k, 1)); stroke-linecap: round; }
.m-dot { fill: var(--navy); stroke: var(--paper); stroke-width: 2.5px; }
.m-dot--o { fill: var(--orange); }
.m-dot--s { fill: var(--paper); stroke: var(--orange); stroke-width: 2px; }
.m-label { font-family: var(--font); font-size: 19px; font-weight: 500; fill: var(--navy); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; letter-spacing: -0.01em; }
.m-label--s { font-size: 16px; fill: rgba(15, 29, 69, 0.75); }
.m-label--i { font-style: italic; font-size: 15px; fill: var(--orange-ink); }
.m-region { font-family: var(--font); font-size: 17px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; fill: rgba(15, 29, 69, 0.42); }
.m-gal, .m-yachts, .m-amz, .m-andes { opacity: 0; }
@media (max-width: 480px) { .m-region { font-size: 14px; letter-spacing: 0.14em; } }

@media (min-width: 960px), (orientation: landscape) and (min-width: 560px) {
  .route__grid { grid-template-columns: minmax(min(340px, 42vw), 0.82fr) 1.18fr; }
  /* El encabezado comparte pantalla con el mapa completo desde el primer momento */
  .route__head { grid-column: 1; grid-row: 1; padding-bottom: 0; }
  .route__mapwrap {
    grid-column: 2; grid-row: 1 / span 2; align-self: start;
    height: 100vh; height: 100svh;
    padding: calc(var(--header-h) + 12px) var(--gutter) 28px 0;
    border-bottom: 0; background: none;
  }
  .route__note { bottom: 28px; }
  .route__steps { grid-column: 1; grid-row: 2; }
  .step { min-height: 92vh; min-height: 92svh; justify-content: center; padding-block: 10vh; padding-block: 10svh; }
  .step__title { font-size: clamp(1.7rem, 1rem + 1.5vw, 2.6rem); line-height: 1.05; letter-spacing: -0.03em; margin: 16px 0 20px; }
  .step > p:not(.step__days) { font-size: 1.06rem; }
  .step--summary { min-height: 92vh; min-height: 92svh; }
}

/* ---------- Darwin ---------- */
.darwin { background: var(--navy); color: #fff; }
.darwin__head { padding-bottom: clamp(48px, 7vw, 112px); }
.darwin__head .h1 { max-width: 11ch; margin: 0 0 28px; }
.darwin__head .lead { max-width: 34em; color: var(--muted-dark); }
.darwin__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.darwin__visual {
  position: sticky; top: 0; z-index: 2;
  height: 40vh; height: 40svh;
  margin-inline: calc(var(--gutter) * -1);
  overflow: hidden; background: var(--navy-2);
}
.darwin__img { position: absolute; inset: 0; margin: 0; overflow: hidden; }
html:not(.motion) .darwin__img:not(.is-active) { display: none; }
.motion .darwin__img:not(.is-active) { clip-path: inset(100% 0 0 0); }
.darwin__img img { width: 100%; height: 100%; object-fit: cover; }
.darwin__days { position: relative; z-index: 1; }
.day { min-height: 54vh; min-height: 54svh; padding-block: 48px; border-bottom: 1px solid var(--line-dark); display: flex; flex-direction: column; justify-content: center; }
.motion .day:not(.day--price) { opacity: 0.32; transition: opacity 0.6s var(--ease); }
.motion .day.is-active { opacity: 1; }
.day__n { font-size: 0.9rem; font-weight: 500; color: var(--orange-soft); }
.day .h3 { margin: 14px 0 14px; }
.day:not(.day--price) p:not(.day__n) { color: var(--muted-dark); max-width: 32em; }
.day--price { border-bottom: 0; min-height: auto; padding-top: 56px; }
.day--price .summary__sub { color: var(--muted-dark); max-width: 30em; }
.day--price .summary__price span { opacity: 0.75; }

@media (max-width: 899px) {
  .darwin__days { z-index: auto; }
  .day--price {
    position: relative; z-index: 3; background: var(--navy);
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  }
}
@media (min-width: 900px) {
  .darwin__grid { grid-template-columns: 1.05fr 1fr; column-gap: clamp(40px, 6vw, 112px); }
  /* La foto ocupa la columna izquierda desde el inicio y el texto la derecha */
  .darwin__head { grid-column: 2; grid-row: 1; padding-top: calc(var(--header-h) + 24px); padding-bottom: 0; }
  .darwin__days { grid-column: 2; grid-row: 2; }
  .darwin__visual {
    grid-column: 1; grid-row: 1 / span 2; align-self: start;
    top: calc(var(--header-h) + 24px);
    height: calc(100vh - var(--header-h) - 48px); height: calc(100svh - var(--header-h) - 48px);
    max-height: 780px; margin-inline: 0; border-radius: var(--radius);
  }
  .day { min-height: 76vh; min-height: 76svh; }
  .day .h3 { margin: 16px 0 20px; font-size: clamp(1.7rem, 1rem + 1.5vw, 2.6rem); line-height: 1.05; letter-spacing: -0.03em; }
}

/* ---------- Cruceros ---------- */
.cruises { background: var(--cream); }
.cruises__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 6vw, 120px); align-items: end; margin-bottom: clamp(36px, 4vw, 60px); }
.cruises__head .h1 { max-width: 10ch; }
.cruises__head p { color: var(--muted); max-width: 40em; }
.filters { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 22px; }
.chip { position: relative; min-height: 40px; font-size: 0.95rem; font-weight: 500; color: var(--muted); transition: color 0.3s; }
.chip::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.chip:hover, .chip.is-active { color: var(--ink); }
.chip.is-active::after { transform: scaleX(1); }

.cruises__rail {
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding-block: 6px 12px; cursor: grab;
}
.js .cruises__rail::-webkit-scrollbar { display: none; }
.cruises__rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.cruises__rail.is-dragging a { pointer-events: none; }
.cruises__list { display: flex; gap: 14px; width: max-content; padding-inline: var(--gutter); }
.cruise { scroll-snap-align: start; width: clamp(272px, 24vw, 340px); }
.cruise.is-hidden { display: none; }
.cruise a {
  height: 100%; min-height: 360px;
  display: flex; flex-direction: column;
  padding: 26px 24px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.cruise a:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(15, 29, 69, 0.45); border-color: var(--line-strong); }
.cruise__days { display: flex; align-items: baseline; gap: 8px; }
.cruise__days b { font-size: 4.2rem; line-height: 0.85; font-weight: 500; letter-spacing: -0.05em; font-stretch: 90%; }
.cruise__days span { font-size: 0.95rem; color: var(--muted); }
.cruise__name { margin-top: 26px; font-size: 1.22rem; line-height: 1.2; font-weight: 500; letter-spacing: -0.015em; }
.cruise__ship { margin-top: 6px; font-size: 0.92rem; color: var(--orange-ink); font-weight: 500; }
.cruise__places { margin-top: 14px; font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.cruise__price { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; }
.cruise__price span { font-size: 0.9rem; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-right: 2px; }
.cruise__cta {
  align-self: flex-start; margin-top: 14px; padding-bottom: 2px; font-size: 0.9rem; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.4s var(--ease);
}
.cruise a:hover .cruise__cta { background-size: 0% 1px; background-position: 100% 100%; }
.cruises__nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.round-btn {
  width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center; transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.round-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.round-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.round-btn:disabled { opacity: 0.35; pointer-events: none; }

/* ---------- Nosotros ---------- */
.about { background: var(--cream); padding-top: 0; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 140px); align-items: start; }
.about__text .h1 { margin: 0 0 32px; max-width: 9ch; }
.about__text p + p { margin-top: 1.1em; }
.about__text p:not(.lead) { color: var(--muted); max-width: 34em; }
.about__collage { position: relative; height: clamp(540px, 54vw, 800px); }
.about__ph { position: absolute; overflow: hidden; border-radius: var(--radius); background: var(--cream-2); }
.about__ph img { width: 100%; height: 118%; object-fit: cover; }
.about__ph--1 { left: 0; top: 0; width: 74%; aspect-ratio: 4 / 3; }
.about__ph--2 { right: 0; top: 40%; width: 50%; aspect-ratio: 4 / 5; z-index: 1; border: 6px solid var(--cream); }
.about__ph--3 { left: 8%; bottom: 0; width: 46%; aspect-ratio: 1; }
.about__ph--1 figcaption { right: 38%; }
.about__ph--3 figcaption { right: 16%; }

/* ---------- Videos ---------- */
.films { background: var(--navy); color: #fff; }
.films__head .h1 { max-width: 11ch; }
.films__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin-top: clamp(40px, 5vw, 72px); }
.film__play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--navy-2); }
.film__play img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.6s; opacity: 0.88; }
.film__play:hover img { transform: scale(1.04); opacity: 1; }
.film__btn {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, 0.94); color: var(--navy);
  transition: transform 0.5s var(--ease);
}
.film__btn svg { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }
.film__play:hover .film__btn { transform: scale(1.08); }
.film iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); background: #000; }
.film figcaption { margin-top: 18px; font-size: 1.12rem; font-weight: 500; letter-spacing: -0.01em; }

/* ---------- Preguntas ---------- */
.faq { background: var(--cream); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 40px clamp(32px, 6vw, 120px); align-items: start; }
.faq__grid .h1 { max-width: 9ch; }
.qa { border-top: 1px solid var(--line-strong); }
.qa:last-child { border-bottom: 1px solid var(--line-strong); }
.qa summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 24px 52px 24px 0;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.32rem); line-height: 1.35; font-weight: 500; letter-spacing: -0.012em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.5px; background: currentColor;
  transition: transform 0.45s var(--ease);
}
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0deg); }
.qa summary:hover { color: var(--blue); }
.qa__a { padding: 0 52px 28px 0; }
.qa__a p { color: var(--muted); max-width: 60ch; }
.qa__a a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- Contacto ---------- */
.contact { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding-block: clamp(110px, 13vw, 200px) clamp(80px, 9vw, 140px); }
.contact__media { position: absolute; inset: -10% 0; }
.contact__media img { width: 100%; height: 100%; object-fit: cover; }
.contact__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 29, 69, 0.3) 0%, rgba(15, 29, 69, 0.62) 45%, rgba(15, 29, 69, 0.92) 100%); }
.contact__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px clamp(40px, 6vw, 112px); align-items: start; }
.contact__title { margin: 0 0 28px; max-width: 8ch; }
.contact__intro .lead { max-width: 28em; opacity: 0.92; }
.contact__info { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: clamp(40px, 5vw, 64px); }
.contact__info > div { padding-top: 18px; border-top: 1px solid var(--line-dark); }
.contact__info dt { font-size: 0.88rem; opacity: 0.7; }
.contact__info dd { margin-top: 10px; font-size: 1rem; line-height: 1.55; }
.contact__info dd a:not(.link) { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease); }
.contact__info dd a:not(.link):hover { background-size: 100% 1px; }
.contact__info .link { margin-top: 8px; font-size: 0.9rem; }
.contact__note { display: block; margin-top: 4px; font-size: 0.88rem; line-height: 1.5; opacity: 0.7; }
.contact__credit { margin-top: 40px; font-size: 0.8rem; opacity: 0.6; }

.form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.5); }
.form__title { font-size: 1.4rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 0.88rem; color: var(--muted); font-weight: 500; padding: 0; margin-bottom: 7px; }
.field label { margin-bottom: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 3px;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%230f1d45' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px;
}
.field textarea { padding: 12px 14px; resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45, 58, 140, 0.18); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field-row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check span { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; font-size: 0.95rem; cursor: pointer; }
.check span::before {
  content: ""; flex: none; width: 18px; height: 18px; border: 1px solid var(--line-strong); border-radius: 3px;
  background: #fff center / 12px no-repeat; transition: background-color 0.2s, border-color 0.2s;
}
.check input:checked + span::before {
  background-color: var(--navy); border-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E");
}
.check input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.form__submit { width: 100%; min-height: 54px; margin-top: 6px; }
.form__note { margin-top: 12px; font-size: 0.76rem; color: var(--muted); line-height: 1.45; }
.form__status { margin-top: 8px; font-size: 0.86rem; min-height: 1.3em; }
.form__status.is-error { color: #b3261e; }
.form__status.is-ok { color: #1f6b3d; }
.form__note a { text-decoration: underline; text-underline-offset: 2px; }
.form__copy { margin-left: 4px; font-size: inherit; color: var(--ink); }
.form__status textarea:not([hidden]) { display: block; width: 100%; margin-top: 8px; color: var(--ink); font: inherit; }
.film__fallback { display: inline-block; margin-top: 8px; }

/* ---------- Pie ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, 0.86); padding-top: clamp(72px, 8vw, 120px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer__brand img { width: 84px; height: 84px; padding: 5px; border-radius: 50%; background: var(--cream); }
.footer__brand p { margin-top: 20px; font-size: 0.84rem; line-height: 1.65; opacity: 0.75; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; align-content: start; }
.footer__nav a { font-size: 0.95rem; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease); }
.footer__nav a:hover { background-size: 100% 1px; }
.footer__contact { display: flex; flex-direction: column; gap: 10px; font-size: 0.95rem; }
.footer__contact p { font-size: 0.82rem; opacity: 0.7; margin-top: 6px; }
.footer__fine { display: grid; gap: 10px; padding-block: 28px; font-size: 0.74rem; line-height: 1.55; opacity: 0.58; }
.footer__fine p { max-width: 110ch; }
.footer__fine a { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer__word {
  margin: clamp(20px, 4vw, 48px) 0 0; padding-bottom: 0.3em;
  text-align: center; white-space: nowrap;
  font-size: clamp(2.4rem, 10.6vw, 12.4rem); line-height: 1; font-weight: 500; letter-spacing: -0.055em; font-stretch: 86%;
  color: var(--cream);
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header__inner { grid-template-columns: 1fr auto; }
}
@media (max-width: 899px) {
  .cruises__head, .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .films__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .about__collage { height: clamp(380px, 100vw, 620px); }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .header__cta { display: none; }
  .brand { gap: 10px; }
  .brand__top { font-size: 0.7rem; letter-spacing: 0.1em; }
  .brand__bottom { font-size: 0.54rem; letter-spacing: 0.5em; }
  .hero__credit { display: none; }
  .contact__info { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .float { width: 34vw; }
  .float--1, .float--6 { width: 42vw; }
  .float--1, .float--3, .float--5 { left: 3%; }
  .float--2, .float--4, .float--6 { right: 3%; }
  .brand__logo { width: 38px; height: 38px; }
  .statement__text { text-shadow: 0 2px 24px rgba(10, 20, 50, 0.7); }
  .ways__tab { font-size: 0.8rem; }
  .ways__tab b { line-height: 1.2; }
  .cruise { width: 80vw; }
  .qa summary { padding-right: 40px; }
  .qa__a { padding-right: 0; }
}

@media (max-width: 380px) {
  /* En pantallas muy estrechas basta el logotipo, que ya lleva el nombre */
  .brand__text { display: none; }
  .brand__logo { width: 42px; height: 42px; }
}

/* ---------- Sin JavaScript: se ocultan los controles que no funcionarían ---------- */
html:not(.js) .burger,
html:not(.js) .filters,
html:not(.js) .cruises__nav,
html:not(.map-ready) .route__mapwrap { display: none; }
html:not(.js) .cruises__rail { scrollbar-width: thin; cursor: auto; }
html:not(.js) .header { position: absolute; }
html:not(.map-ready) .step { min-height: 0; padding-block: 28px; }
html:not(.map-ready) .route__grid { grid-template-columns: minmax(0, 1fr); }
html:not(.map-ready) .route__head, html:not(.map-ready) .route__steps { grid-column: 1; grid-row: auto; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .scroll-cue i::after { display: none; }
}

/* Encuadre de las fotos de animales: la cara siempre a la vista */
.fp-iguanas { object-position: 55% 12%; }
.fp-boobies { object-position: 40% 30%; }
.fp-turtle { object-position: 45% 60%; }
.fp-sealion { object-position: 28% 70%; }
.fp-tortoise { object-position: 58% 68%; }
.fp-monkey { object-position: 62% 40%; }
.fp-canoe { object-position: 50% 78%; }
.fp-rock { object-position: 60% 50%; }
.fp-landiguana { object-position: 90% 30%; }

/* ---------- Páginas de política de privacidad y 404 ---------- */
.page-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.page-bar .link { font-size: 0.9rem; }
.legal { max-width: 48rem; padding-block: clamp(48px, 8vw, 112px); }
.legal__part + .legal__part { margin-top: clamp(64px, 9vw, 112px); padding-top: clamp(48px, 7vw, 80px); border-top: 1px solid var(--line); }
.legal__meta { margin-top: 14px; color: var(--muted); font-size: 0.92rem; }
.legal__meta a { text-decoration: underline; text-underline-offset: 3px; }
.legal h2.legal__h, .legal h3 { margin-top: 44px; font-size: 1.28rem; line-height: 1.25; font-weight: 500; letter-spacing: -0.015em; }
.legal p, .legal ul { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal p a, .legal li a { text-decoration: underline; text-underline-offset: 3px; }
.page-foot { padding-block: 28px 40px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.notfound { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-block: 96px; }
.notfound .btn { align-self: flex-start; }
