/* =========================================================
   SIMA Expediciones — landing
   Paleta «basalto y nieve»: roca volcánica, nieve, ceniza, hielo de glaciar
   y el azul SIMA como único color de acción.
   Tipografías de la marca: Bebas Neue (títulos, cifras) + Montserrat (texto).
   Lo memorable es la línea de cumbres (Expediciones); el resto se mantiene sobrio.
   ========================================================= */
:root {
  --snow: #eef1f0;      /* fondo */
  --snow-2: #e3e8e7;    /* fondo alterno */
  --white: #fbfcfc;     /* superficies (formulario, diálogos) */
  --basalt: #22262a;    /* texto, volcanes */
  --basalt-2: #3b4146;  /* texto secundario */
  --ash: #6f767b;       /* notas, ejes */
  --line: #cfd6d6;      /* líneas finas */
  --glacier: #c9dce0;   /* hielo, nieve sobre fondo claro */
  --blue: #1c4587;      /* azul SIMA: acciones y selección */
  --blue-ink: #163a72;
  --blue-light: #9fbbe6; /* azul sobre fondo oscuro */
  --film: #16191c;      /* rollo y galería */
  --wa: #1f9d55;
  --display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --body: "Montserrat", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.7, 0, .2, 1);
  /* escala tipográfica (razón ~1.25 sobre 17px) */
  --t-sm: .82rem; --t-base: 1.0625rem; --t-md: 1.25rem; --t-lg: 2rem; --t-xl: clamp(2.8rem, 6vw, 4.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--snow); color: var(--basalt);
  font: 400 var(--t-base)/1.65 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: .95; margin: 0; }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-lg); }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--basalt); color: var(--snow); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.lead { color: var(--basalt-2); max-width: 46ch; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.hero :focus-visible, .gallery :focus-visible, .footer :focus-visible, .lightbox :focus-visible { outline-color: var(--blue-light); }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 3px; border: 1px solid transparent;
  font: 600 .9rem/1 var(--body); text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-light { background: var(--snow); color: var(--basalt); }
.btn-light:hover { background: #fff; }
.btn-ghost { border-color: rgba(238,241,240,.5); color: var(--snow); }
.btn-ghost:hover { border-color: var(--snow); background: rgba(238,241,240,.1); }
.btn-dark { background: var(--blue); color: #fff; }
.btn-dark:hover { background: var(--blue-ink); }
.btn-outline { border-color: var(--basalt); color: var(--basalt); background: transparent; }
.btn-outline:hover { background: var(--basalt); color: var(--snow); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178046; }
.btn-text {
  background: none; border: 0; padding: 4px 0; font: 600 .9rem/1.3 var(--body); color: var(--blue);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; align-self: flex-start;
}
.btn-text:hover { color: var(--blue-ink); text-decoration-thickness: 2px; }
.btn-text[hidden] { display: none; }

/* =========================================================
   HEADER · CARRUSEL A PANTALLA COMPLETA (limpio: solo la foto)
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; background: var(--film); color: var(--snow);
  display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate;
  --nav-h: 84px; /* alto de la nav: la foto pasa por debajo de ella */
  z-index: 10; /* debe quedar sobre <main> para que la nav fija no quede tapada */
}
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--gutter); color: var(--snow); transition: padding .35s var(--ease);
}
/* el desenfoque va en un pseudo-elemento: backdrop-filter en .nav rompería el menú móvil (position: fixed) */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: rgba(22,25,28,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav.is-scrolled { padding-block: 8px; }
.nav.is-scrolled::before { opacity: 1; }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.brand-mark { font: 400 2rem/1 var(--display); letter-spacing: .04em; }
/* logo oficial: turquesa sobre transparente; se achica un poco al bajar */
.brand-logo { display: block; height: 78px; width: auto; transition: height .35s var(--ease); filter: drop-shadow(0 1px 8px rgba(0,0,0,.35)); }
.nav.is-scrolled .brand-logo { height: 54px; }
.brand-sub { font: 500 .85rem/1 var(--body); opacity: .8; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); list-style: none; margin: 0; padding: 0; }
.nav-links a { font: 500 .9rem/1 var(--body); text-decoration: none; opacity: .82; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { border: 1px solid rgba(238,241,240,.55); padding: 11px 16px; border-radius: 3px; opacity: 1 !important; }
.nav-cta:hover { background: var(--snow); color: var(--basalt); }
/* selector de idioma: siempre visible en la barra superior (también en el celular) */
.nav-links { order: 2; margin-left: auto; }
.lang-switch { order: 3; display: flex; gap: 2px; padding: 3px; margin-left: clamp(14px, 2vw, 24px); border: 1px solid rgba(238,241,240,.35); border-radius: 3px; }
.lang-switch a { padding: 6px 8px; border-radius: 2px; font: 600 .78rem/1 var(--body); letter-spacing: .04em; color: var(--snow); text-decoration: none; opacity: .72; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a[aria-current="true"] { background: var(--snow); color: var(--basalt); opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--snow); transition: transform .3s; }
.nav-toggle span:first-child { top: 18px; } .nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* --- la tira de película: cada fotograma ocupa todo el ancho --- */
.reel { --frame-w: 100%; position: relative; align-self: start; width: 100%; overflow: hidden; }
.reel-track { display: flex; will-change: transform; transition: transform 1.25s var(--ease); }
.reel-track.no-anim { transition: none; }
.frame {
  position: relative; flex: 0 0 var(--frame-w); background-color: #111;
  opacity: .32; filter: grayscale(.7) brightness(.8);
  transition: opacity 1.1s var(--ease), filter 1.1s var(--ease);
}
.frame.is-active { opacity: 1; filter: none; }
.frame-img { position: relative; height: clamp(460px, calc(100svh - 77px), 1200px); overflow: hidden; background: #222; }
.frame-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.frame.is-active .frame-img img { transform: scale(1); }
.frame-img::after { /* viñeta: para que la nav y el titular se lean sobre cualquier foto */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 45%, transparent 70%),
              linear-gradient(180deg, rgba(0,0,0,.5) 0%, transparent 26%, transparent 55%, rgba(0,0,0,.6) 100%);
}
/* --- texto del hero --- */
.hero-copy { position: absolute; z-index: 4; left: clamp(24px, 4vw, 64px); right: 24px; bottom: calc(40px + clamp(22px, 3.2vw, 48px)); }
.hero h1 { font-size: clamp(3.2rem, 7.4vw, 7.6rem); line-height: .9; max-width: 11ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-sub { max-width: 38ch; margin: 18px 0 28px; font-size: var(--t-md); line-height: 1.5; opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.slate {
  position: relative; z-index: 4; display: flex; align-items: center; gap: 20px;
  padding: 18px var(--gutter); font: 500 .85rem/1 var(--body); color: rgba(238,241,240,.72);
}
.slate b { color: var(--snow); font-weight: 600; }
.slate-scene { font-variant-numeric: tabular-nums; }
.slate-progress { width: clamp(60px, 10vw, 140px); height: 2px; background: rgba(238,241,240,.18); overflow: hidden; flex: none; }
.slate-progress i { display: block; height: 100%; background: var(--snow); transform-origin: left; animation: progress 6.5s linear forwards; }
.reel.is-paused ~ .slate .slate-progress i { animation-play-state: paused; }
@keyframes progress { from { transform: scaleX(0) } to { transform: scaleX(1) } }
.slate-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slate-ctrl { display: flex; gap: 6px; }
.slate-ctrl button {
  width: 42px; height: 42px; border-radius: 3px; border: 1px solid rgba(238,241,240,.28); background: transparent; color: var(--snow);
  transition: background .2s, border-color .2s;
}
.slate-ctrl button:hover { border-color: var(--snow); background: rgba(238,241,240,.08); }

/* =========================================================
   SECCIONES
   ========================================================= */
main > section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 48px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .lead { flex: 0 1 40ch; }

/* ---------- expediciones: la línea de cumbres ---------- */
.exps { padding-bottom: clamp(56px, 8vw, 104px); }
.skyline-scroll { max-width: 1440px; margin-inline: auto; padding-inline: clamp(0px, 2vw, 32px); }
.skyline { display: block; width: 100%; height: auto; overflow: visible; }
.sk-grid line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 6; }
.sk-grid text, .sk-region text, .sk-dir { font: 500 13px var(--body); fill: var(--ash); }
.sk-grid text { text-anchor: end; }
.sk-base { stroke: var(--basalt); stroke-width: 1.5; }
.sk-region line { stroke: var(--ash); stroke-width: 1; }
.sk-dir { text-anchor: end; font-style: italic; }
.peak { cursor: pointer; outline: none; }
/* solo contorno: el relleno es el mismo fondo de la página, así el volcán de adelante tapa la línea del de atrás */
.pk-body { fill: var(--snow); stroke: var(--basalt-2); stroke-width: 1.6; stroke-linejoin: round; transition: stroke .25s, stroke-width .25s; }
.pk-name { font: 400 22px var(--display); letter-spacing: .02em; fill: var(--basalt); text-anchor: middle; }
.pk-alt { font: 500 13px var(--body); fill: var(--ash); text-anchor: middle; font-variant-numeric: tabular-nums; }
.peak:hover .pk-body, .peak:focus-visible .pk-body { stroke: #000; stroke-width: 2.2; }
.sk-front { pointer-events: none; }
.skyline:not(.is-in) .sk-front { display: none; }
/* el elegido crece desde su base y pasa a negro */
.sk-front .pk-body { stroke: #000; stroke-width: 2.6; }
.sk-front .pk-name { fill: #000; }
.sk-front .pk-alt { fill: var(--basalt); }
.pk-grow { transform-box: view-box; transform: scale(1.14); animation: pk-grow .45s var(--ease); }
@keyframes pk-grow { from { transform: scale(1); } }
.skyline.is-in .peak.is-on .pk-label { opacity: 0; transition: none; }
.skyline.has-sel .peak:not(.is-on) .pk-body { stroke: #a3aaae; }
.skyline.has-sel .peak:not(.is-on) .pk-name { fill: var(--ash); }
.skyline.has-sel .peak:not(.is-on):hover .pk-body { stroke: #000; }
.peak:focus-visible .pk-name { text-decoration: underline; text-decoration-thickness: 2px; }
/* el único momento animado: los conos se levantan desde el horizonte, de norte a sur */
.skyline .peak { transform-origin: 50% 84.7%; transform-box: view-box; transform: scaleY(0); }
.skyline .pk-label { opacity: 0; }
.skyline.is-in .peak { transform: none; transition: transform 1s var(--ease) var(--d); }
.skyline.is-in .pk-label { opacity: 1; transition: opacity .6s ease calc(var(--d) + .6s); }

.routes-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: clamp(28px, 4vw, 44px) 0 0; padding-bottom: 14px; border-bottom: 2px solid var(--basalt); }
.routes-head h3 { font-size: var(--t-lg); }
/* «Todas las salidas»: grilla de 4 columnas, todas las expediciones a la vista */
.routes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: clamp(22px, 3vw, 32px); }
.route {
  position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .35s, filter .35s, border-color .35s;
}
.route:hover, .route:focus-within { transform: translateY(-4px); box-shadow: 0 14px 30px -12px rgba(22,25,28,.35); }
.route-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--basalt-2); }
.route-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.route:hover .route-media img { transform: scale(1.05); }
.ph { display: grid; place-items: center; width: 100%; height: 100%; font: 400 1.4rem/1 var(--display); color: rgba(238,241,240,.4); background: linear-gradient(160deg, #3b4146, #22262a); }
.route-flag { position: absolute; top: 10px; left: 10px; font: 600 .72rem/1 var(--body); color: #fff; background: var(--blue); padding: 6px 8px; border-radius: 3px; }
.route-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; flex: 1; }
.route-where { font-size: .78rem; font-weight: 500; color: var(--ash); }
.route-body h4 { font-size: 1.65rem; line-height: .95; }
.route-body h4 a { text-decoration: none; }
.route-body h4 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* toda la tarjeta abre la ficha */
.route-alt { font-size: .8rem; color: var(--basalt-2); }
.route-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.route-foot .exp-actions { position: relative; z-index: 2; }
.price { font: 700 1.2rem/1.1 var(--body); font-variant-numeric: tabular-nums; }
.price small { display: block; margin-top: 3px; font: 500 .72rem/1.3 var(--body); color: var(--ash); }
.exp-actions { display: flex; gap: 6px; }
.exp-actions .btn { min-height: 40px; padding: 0 14px; font-size: .82rem; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 3px; display: grid; place-items: center; border: 1px solid var(--line); background: transparent;
  transition: background .2s, border-color .2s;
}
.icon-btn svg { width: 18px; height: 18px; fill: var(--wa); }
.icon-btn:hover { border-color: var(--wa); background: #e8f4ed; }

/* volcán elegido en la línea de cumbres: sus salidas se elevan con un borde azul y un brillo; el resto se apaga */
.routes.has-sel .route:not(.is-match) { opacity: .38; filter: grayscale(.85); transform: scale(.97); }
.routes.has-sel .route:not(.is-match):hover { opacity: .8; filter: none; transform: none; }
.route.is-match {
  border-color: var(--blue); transform: translateY(-8px);
  box-shadow: 0 0 0 3px var(--blue), 0 22px 44px -14px rgba(28,69,135,.55);
  animation: route-pop .6s var(--ease) both; animation-delay: calc(var(--k, 0) * 90ms);
}
.route.is-match .route-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-100%); animation: route-shine 1.1s .25s var(--ease) both;
}
@keyframes route-pop { 0% { transform: translateY(0) scale(.96); } 60% { transform: translateY(-11px) scale(1.02); } 100% { transform: translateY(-8px) scale(1); } }
@keyframes route-shine { to { transform: translateX(100%); } }

/* ---------- nosotros ---------- */
.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; background: var(--snow-2); }
main > section.about { padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); max-width: none; }
.about-body > p { font-size: var(--t-md); line-height: 1.6; color: var(--basalt-2); max-width: 52ch; margin-bottom: 40px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin: 0; }
.stats div { padding: 16px 0; border-top: 1px solid var(--basalt); }
.stats dt { font: 400 2.4rem/1 var(--display); }
.stats dd { margin: 6px 0 0; font-size: var(--t-sm); color: var(--ash); }

/* ---------- comunidad / instagram ---------- */
.ig-profile {
  display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 8px 18px 8px 8px;
  border: 1px solid var(--line); border-radius: 3px; background: var(--white); transition: border-color .2s;
}
.ig-profile:hover { border-color: var(--basalt); }
.ig-profile b { display: block; font-weight: 600; font-size: .95rem; }
.ig-profile small { color: var(--ash); font-size: var(--t-sm); }
.ig-ring { width: 44px; height: 44px; border-radius: 2px; display: grid; place-items: center; background: var(--basalt); }
.ig-ring svg { width: 22px; height: 22px; fill: none; stroke: var(--snow); stroke-width: 1.8; }
.lead + .lead, h2 + .lead { margin-top: 14px; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.ig-post { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--line); display: block; }
.ig-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ig-post:hover img { transform: scale(1.05); }
.ig-post figcaption {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px;
  background: linear-gradient(180deg, transparent 30%, rgba(22,25,28,.88)); color: var(--snow); font-size: .8rem; line-height: 1.45;
  opacity: 0; transition: opacity .3s;
}
.ig-post:hover figcaption, .ig-post:focus-visible figcaption { opacity: 1; }
.ig-meta { font-weight: 600; font-size: .78rem; }
.ig-post p { margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

.voices { margin-top: clamp(56px, 8vw, 96px); }
.voices > h3 { margin-bottom: 24px; }
.voice-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px 40px; }
.voice { margin: 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--basalt); display: flex; flex-direction: column; gap: 14px; }
.voice blockquote { margin: 0; color: var(--basalt); font-size: var(--t-md); line-height: 1.55; font-style: italic; }
.voice-head { display: flex; align-items: center; gap: 12px; order: 2; }
.voice-route { order: 3; font-size: var(--t-sm); color: var(--ash); display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--basalt); color: var(--snow); font: 400 1rem/1 var(--display); letter-spacing: .04em; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.voice-head b { display: block; font-size: .9rem; }
.voice-head small { color: var(--ash); font-size: var(--t-sm); }
.stars { margin-left: auto; color: var(--blue); letter-spacing: 2px; font-size: .8rem; }
.voice.demo { border-left-style: dashed; border-left-color: var(--ash); }
.voice.demo blockquote { color: var(--basalt-2); }
.demo-badge { font: 600 .72rem/1 var(--body); background: var(--glacier); color: var(--blue-ink); padding: 4px 7px; border-radius: 2px; }

/* ---------- galería: hoja de contactos ---------- */
.gallery { background: var(--film); color: var(--snow); }
.gallery .lead { color: rgba(238,241,240,.68); }
.contact-sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 240px), 1fr)); gap: 28px 14px; }
.cs-item { margin: 0; border: 0; padding: 0; background: none; text-align: left; color: inherit; display: block; }
.cs-item .cs-img { aspect-ratio: 3 / 2; overflow: hidden; background: #22262a; }
.cs-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cs-item:hover img { transform: scale(1.03); }
.cs-meta { margin-top: 10px; font-size: var(--t-sm); line-height: 1.4; color: rgba(238,241,240,.66); }

/* ---------- agendar ---------- */
.booking-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 5vw, 56px) clamp(36px, 7vw, 110px); align-items: start; }
.booking-copy > p { color: var(--basalt-2); max-width: 40ch; margin-top: 18px; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; border-top: 2px solid var(--basalt); }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.contact-list span { font-size: var(--t-sm); color: var(--ash); }
.contact-list a { text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }
.booking-form {
  grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 88px; display: grid; gap: 18px;
  background: var(--white); padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); border-radius: 3px;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: var(--t-sm); font-weight: 600; color: var(--basalt-2); }
.field small { font-weight: 400; color: var(--ash); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1px solid var(--line); background: var(--snow); padding: 10px 12px;
  font: 400 1rem/1.4 var(--body); color: var(--basalt); border-radius: 3px; transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 1px var(--blue); }
.field [aria-invalid="true"] { border-color: #b42318; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.form-actions .btn { flex: 1 1 200px; }
.form-error { color: #b42318; font-size: .9rem; font-weight: 500; }
.form-error:empty { display: none; }
.form-note { font-size: var(--t-sm); color: var(--ash); }

/* políticas */
.policies { grid-column: 1; }
.policies h3 { margin-bottom: 16px; }
.policy-list { border-top: 2px solid var(--basalt); }
.policy-list details { border-bottom: 1px solid var(--line); }
.policy-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 15px 0; font: 600 1rem/1.3 var(--body);
}
.policy-list summary::-webkit-details-marker { display: none; }
.policy-list summary::after { content: "+"; font: 400 1.5rem/1 var(--body); color: var(--ash); transition: transform .3s; }
.policy-list details[open] summary::after { transform: rotate(45deg); }
.policy-list details p { margin: 0 0 18px; max-width: 60ch; color: var(--basalt-2); font-size: .95rem; }
.menu-open .dock { opacity: 0; pointer-events: none; }

/* ---------- footer ---------- */
.footer { background: var(--basalt); color: rgba(238,241,240,.75); padding: 56px 0 110px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 26px 40px; align-items: end; }
.footer-brand { font: 400 2.2rem/1 var(--display); color: var(--snow); letter-spacing: .03em; }
.footer-loc { margin-top: 8px; font-size: .9rem; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; font-weight: 500; font-size: .92rem; }
.footer-links a:hover { color: var(--snow); text-decoration: underline; }
.footer-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 18px; padding-top: 22px; border-top: 1px solid rgba(238,241,240,.12); font-size: var(--t-sm); }
.footer-legal a { margin-left: auto; }

/* ---------- dock flotante (WhatsApp + Instagram) ---------- */
.dock { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.dock a { display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 10px 28px -10px rgba(0,0,0,.5); transition: transform .25s; }
.dock a:hover { transform: translateY(-2px); }
.dock-ig { width: 46px; height: 46px; border-radius: 50%; background: var(--basalt); }
.dock-ig svg { width: 21px; height: 21px; fill: none; stroke: var(--snow); stroke-width: 1.8; }
.dock-wa { height: 56px; min-width: 56px; padding: 0 18px; gap: 10px; border-radius: 999px; background: var(--wa); color: #fff; }
.dock-wa svg { width: 26px; height: 26px; fill: #fff; }
.dock-label { font: 600 .9rem/1 var(--body); }

/* ---------- diálogos (lightbox) ---------- */
dialog { border: 0; padding: 0; }
dialog::backdrop { background: rgba(22,25,28,.74); backdrop-filter: blur(3px); }

/* ---------- lightbox ---------- */
.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; background: rgba(12,14,16,.96); color: var(--snow); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: 92vw; display: grid; gap: 12px; }
.lightbox img { max-height: 80svh; width: auto; margin: auto; }
.lightbox figcaption { font-size: .9rem; text-align: center; opacity: .82; }
.lb-close, .lb-nav { position: fixed; border: 1px solid rgba(238,241,240,.25); background: rgba(22,25,28,.6); color: var(--snow); width: 48px; height: 48px; border-radius: 3px; font-size: 1.2rem; }
.lb-close { top: 16px; right: 16px; font-size: 1.6rem; }
.lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; }

/* foto que no cargó: fondo de basalto con su descripción (ver site.js → fallback) */
.img-fallback {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  width: 100%; height: 100%; min-height: 100%; padding: clamp(12px, 2vw, 22px); overflow: hidden;
  color: rgba(238,241,240,.85); text-align: left;
  background: radial-gradient(120% 80% at 80% 0%, rgba(28,69,135,.4), transparent 60%), linear-gradient(160deg, #3b4146, #16191c 70%);
}
.img-fallback b { font: 400 clamp(1.1rem, 2.4vw, 2rem)/1 var(--display); letter-spacing: .03em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.img-fallback small { font-size: .72rem; font-weight: 500; color: rgba(238,241,240,.55); }
.route-media .img-fallback small { display: none; }
.frame-img .img-fallback b, .frame-img .img-fallback small,
.avatar .img-fallback b, .avatar .img-fallback small { display: none; }
.avatar .img-fallback { padding: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .routes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .about, .booking-inner { grid-template-columns: 1fr; }
  .booking-form { position: static; grid-column: auto; grid-row: auto; }
  .policies { grid-column: auto; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; z-index: 6; order: 4; }
  .lang-switch { margin-left: auto; margin-right: 6px; }
  .lang-switch a { padding: 8px 10px; }
  .nav-links {
    position: fixed; inset: 0; z-index: 5; flex-direction: column; justify-content: center; gap: 28px;
    background: rgba(22,25,28,.97); opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1.15rem; }
  .hero { --nav-h: 70px; }
  .nav { padding-block: 10px; }
  .nav.is-scrolled { padding-block: 6px; }
  .brand-mark { font-size: 1.7rem; }
  .brand-logo { height: 58px; }
  .nav.is-scrolled .brand-logo { height: 46px; }
  .frame-img { height: clamp(440px, calc(100svh - 52px), 900px); }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero-sub { font-size: 1rem; margin: 12px 0 20px; }
  .slate { gap: 14px; padding-block: 14px; }
  .slate-title, .slate-ctrl { display: none; } /* en móvil se navega deslizando; deja espacio al botón de WhatsApp */
  .slate-scene { margin-right: auto; }
  .slate-progress { width: 64px; margin-right: 72px; }
  .section-head { display: block; }
  .section-head > * + * { margin-top: 16px; }
  /* la línea de cumbres conserva su escala: se recorre deslizando */
  .skyline-scroll { overflow-x: auto; padding-inline: 0; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .skyline { width: 860px; max-width: none; margin-inline: 4px 16px; }
  .routes { gap: 12px; }
  .route-body { padding: 12px 12px 14px; gap: 4px; }
  .route-body h4 { font-size: 1.3rem; }
  .route-alt { display: none; }
  .route-foot { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 10px; }
  .route-foot .exp-actions .btn { flex: 1; }
  .ig-grid { gap: 3px; margin-inline: calc(var(--gutter) * -1); }
  .ig-post figcaption { display: none; }
  .voice-track { gap: 28px; }
  .contact-list li { flex-direction: column; gap: 2px; }
  .form-actions .btn { flex-basis: 100%; }
  .row { grid-template-columns: 1fr; }
  .contact-sheet { gap: 22px 10px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-legal a { margin-left: 0; }
  .dock-label { display: none; }
  .dock-wa { padding: 0; width: 56px; }
}
@media (max-height: 760px) and (min-width: 761px) {
  .hero h1 { font-size: clamp(2.8rem, 9svh, 5.4rem); }
  .hero-sub { display: none; }
  .hero-actions { margin-top: 20px; }
  .slate { padding-block: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}
