/* =============================================================
   SANJOSERGIO · Guía de Media Montaña
   Archetype: Editorial Dark (alpine cold night + alpenglow accent)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --bg:      #0A0E13;
  --bg-2:    #0F151C;
  --bg-3:    #161F28;
  --ink:     #EEEFE9;
  --ink-2:   #C6CBC6;
  --ink-3:   #7D8992;
  --accent:  #E9855B;   /* alpenglow */
  --accent-2:#D26B42;
  --gold:    #D9B46C;
  --ice:     #9CC7D9;
  --wa:      #25D366;
  --line:    rgba(238,239,233,.12);
  --line-2:  rgba(238,239,233,.22);
  --glass:   rgba(16,22,29,.62);

  --serif: "Fraunces", "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(18px, 4.5vw, 64px);
  --maxw: 1320px;
  --radius: 22px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, .8, .24, 1);
  --nav-h: 76px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; line-height: 1.04; letter-spacing: -0.02em; }
em { font-style: italic; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
svg use { pointer-events: none; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg); border-radius: 10px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-title {
  font-family: var(--serif); font-variation-settings: "SOFT" 50, "opsz" 144;
  font-size: clamp(38px, 6vw, 84px); font-weight: 300;
}
.sec-title em, .hero-title em, .contact-title em {
  font-variation-settings: "SOFT" 100, "opsz" 144; color: var(--accent); font-weight: 300;
}
.sec-sub { margin-top: 22px; color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); max-width: 560px; }

/* =============================================================
   4. Components — buttons
   ============================================================= */
.btn {
  --bh: 50px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .3s, color .3s, border-color .3s;
  isolation: isolate; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { --bh: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --bh: 58px; padding: 0 30px; font-size: 16px; }
.btn-primary { background: var(--accent); color: #1A0F0A; box-shadow: 0 10px 30px -12px rgba(233,133,91,.7); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform .5s var(--ease-out); border-radius: inherit;
}
.btn-primary:hover::before { transform: none; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(233,133,91,.8); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(255,255,255,.03); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #06210f; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(37,211,102,.75); }

.tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}

/* =============================================================
   5. Splash / progress / grain
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 10000; background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .8s var(--ease-out), clip-path 1.1s var(--ease-out);
  clip-path: inset(0 0 0 0);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-inner { text-align: center; display: grid; justify-items: center; gap: 10px; }
.splash-mark { width: 54px; height: 54px; color: var(--accent); animation: rise 1s var(--ease-out) both; }
.splash-alt { font-family: var(--serif); font-size: clamp(54px, 10vw, 110px); font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; }
.splash-alt small { font-size: .35em; color: var(--ink-3); margin-left: 6px; }
.splash-name { font-family: var(--mono); letter-spacing: .5em; font-size: 12px; color: var(--ink-3); padding-left: .5em; }
.splash-line { width: 160px; height: 1px; background: var(--line); position: relative; overflow: hidden; margin-top: 8px; }
.splash-line::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; animation: load 1.6s var(--ease-out) forwards; }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1001; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); transform-origin: left; transform: scaleX(0); }

.grain {
  position: fixed; inset: -50%; z-index: 999; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-5%,4%); } 40% { transform: translate(4%,-6%); }
  60% { transform: translate(-3%,7%); } 80% { transform: translate(6%,2%); }
}

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: background .4s, backdrop-filter .4s, border-color .4s, height .4s var(--ease-out), transform .5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  --nav-h: 66px;
  background: rgba(10,14,19,.72); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; color: var(--accent); }
.brand-name { font-family: var(--mono); font-size: 13px; letter-spacing: .26em; font-weight: 500; display: flex; flex-direction: column; line-height: 1.15; }
.brand-name small { font-size: 9px; letter-spacing: .5em; color: var(--ink-3); }
.nav-links { display: none; gap: 34px; font-size: 14px; }
.nav-links a { position: relative; color: var(--ink-2); transition: color .3s; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav-links a:hover, .nav-links a.is-current { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta { display: none; }

/* Language switcher */
.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.04); font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  transition: border-color .3s, background .3s;
}
.lang-btn:hover { border-color: var(--ink); background: rgba(255,255,255,.08); }
.flag { width: 22px; height: 15px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.18); flex: none; }
.lang-btn .chev { width: 14px; height: 14px; transition: transform .35s var(--ease-out); }
.lang.is-open .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 180px; padding: 6px;
  background: rgba(15,21,28,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(-8px) scale(.97); transform-origin: top right; pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease-out);
}
.lang.is-open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; font-size: 14px; text-align: left; transition: background .25s; }
.lang-menu button:hover { background: rgba(255,255,255,.07); }
.lang-menu button[aria-selected="true"] { background: rgba(233,133,91,.14); color: var(--accent); }

.burger { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-content: center; gap: 6px; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease-out); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 999; background: rgba(10,14,19,.97);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 40px) 38px); transition: clip-path .8s var(--ease-out); pointer-events: none;
}
.mmenu.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); pointer-events: auto; }
.mmenu nav { display: grid; gap: 6px; }
.mmenu nav a { font-family: var(--serif); font-size: clamp(38px, 10vw, 64px); font-weight: 300; line-height: 1.15; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease-out), color .3s; }
.mmenu nav a:hover { color: var(--accent); }
.mmenu.is-open nav a { opacity: 1; transform: none; }
.mmenu.is-open nav a:nth-child(2) { transition-delay: .05s; } .mmenu.is-open nav a:nth-child(3) { transition-delay: .1s; }
.mmenu.is-open nav a:nth-child(4) { transition-delay: .15s; } .mmenu.is-open nav a:nth-child(5) { transition-delay: .2s; }
.mmenu-foot { margin-top: auto; display: grid; gap: 12px; color: var(--ink-2); font-size: 15px; }
.mmenu-foot a { display: flex; align-items: center; gap: 10px; }
.mmenu-foot svg { width: 20px; height: 20px; color: var(--accent); }

/* =============================================================
   7. Hero
   ============================================================= */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding-top: calc(var(--nav-h) + 40px); }
.hero-bg { position: absolute; inset: -6% 0 0 0; z-index: -3; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(1.05) contrast(1.05); animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1%, -1%); } }
.hero-tint {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(10,14,19,.55) 0%, rgba(10,14,19,0) 28%, rgba(10,14,19,0) 45%, rgba(10,14,19,.78) 82%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10,14,19,.55) 0%, rgba(10,14,19,0) 60%);
}
.hero-mesh {
  position: absolute; inset: -20%; z-index: -1; mix-blend-mode: soft-light; opacity: .55; pointer-events: none;
  background: conic-gradient(from var(--mesh-angle) at 60% 40%, rgba(233,133,91,.6), rgba(156,199,217,.35), rgba(217,180,108,.45), rgba(233,133,91,.6));
  filter: blur(80px); animation: mesh 22s linear infinite;
}
@keyframes mesh { to { --mesh-angle: 360deg; } }
.hero-inner { padding-bottom: clamp(30px, 6vh, 70px); }
.hero-kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
  padding: 9px 16px; border-radius: 999px; background: rgba(10,14,19,.35); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-bottom: 28px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(233,133,91,.7); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(233,133,91,.6); } 70% { box-shadow: 0 0 0 10px rgba(233,133,91,0); } 100% { box-shadow: 0 0 0 0 rgba(233,133,91,0); } }
.hero-title { font-family: var(--serif); font-variation-settings: "SOFT" 50, "opsz" 144; font-weight: 300; font-size: clamp(50px, 10.5vw, 168px); line-height: .94; letter-spacing: -.035em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease-out) var(--d, 0s); }
.is-ready .hero-title .line > span { transform: none; }
.reveal-up { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
.is-ready .reveal-up { opacity: 1; transform: none; }
.hero-sub { max-width: 520px; margin-top: 28px; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; padding-bottom: 26px; border-top: 1px solid var(--line); padding-top: 18px; }
.hero-meta { display: flex; align-items: center; gap: 14px; color: var(--ink-3); font-size: 11px; }
.hero-meta b { color: var(--ink); font-weight: 500; }
.hero-meta .sep { width: 24px; height: 1px; background: var(--line-2); }
.scroll-cue { display: flex; align-items: center; gap: 12px; color: var(--ink-3); }
.scroll-cue i { width: 1px; height: 38px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--accent); animation: drip 2s var(--ease-soft) infinite; }
@keyframes drip { to { top: 100%; } }

/* =============================================================
   8. Marquee
   ============================================================= */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: var(--bg); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(26px, 3.4vw, 46px); white-space: nowrap; color: var(--ink-2); }
.marquee-track svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   9. Manifesto
   ============================================================= */
.manifesto { padding-block: clamp(90px, 14vw, 190px); }
.manifesto-quote { font-family: var(--serif); font-variation-settings: "SOFT" 80, "opsz" 144; font-weight: 300; font-size: clamp(36px, 6.4vw, 96px); line-height: 1.04; letter-spacing: -.03em; max-width: 1150px; }
.manifesto-quote .w { opacity: .14; transition: opacity .3s; }
.manifesto-quote .w.on { opacity: 1; }
.manifesto-grid { display: grid; gap: 40px; margin-top: clamp(50px, 7vw, 90px); }
.manifesto-grid > p { color: var(--ink-2); font-size: clamp(17px, 1.5vw, 20px); max-width: 540px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pillars li { padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; font-size: 15px; color: var(--ink-2); }
.pillars li:nth-child(odd) { padding-right: 16px; }
.pillars b { font-family: var(--mono); font-size: 11px; color: var(--accent); font-weight: 500; }

/* =============================================================
   10. Experiencias
   ============================================================= */
.exp { padding-bottom: clamp(90px, 12vw, 160px); }
.exp-grid { display: grid; gap: 22px; }
.exp-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--bg-3);
  aspect-ratio: 4 / 5; transform-style: preserve-3d; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
}
.exp-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.14), transparent 45%);
}
.exp-card:hover::after { opacity: 1; }
.exp-img { position: absolute; inset: 0; }
.exp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .8s; }
.exp-card:hover .exp-img img { transform: scale(1.07); filter: saturate(1.15); }
.exp-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,19,.15) 0%, rgba(10,14,19,0) 30%, rgba(10,14,19,.92) 100%); }
.exp-body { position: absolute; inset: auto 0 0 0; padding: clamp(22px, 2.6vw, 34px); z-index: 1; }
.exp-num { position: absolute; top: -1px; right: clamp(22px, 2.6vw, 34px); transform: translateY(-100%); color: var(--ink-3); }
.exp-body .tag { background: rgba(10,14,19,.4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.exp-body h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3vw, 42px); margin: 14px 0 10px; }
.exp-body p { color: var(--ink-2); font-size: 15px; line-height: 1.6; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease-out), opacity .5s, margin .5s; }
.exp-card:hover .exp-body p, .exp-card:focus-visible .exp-body p { max-height: 160px; opacity: 1; }
.exp-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--accent); }
.exp-more svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.exp-card:hover .exp-more svg { transform: translateX(5px); }
@media (hover: none) { .exp-body p { max-height: 200px; opacity: 1; } }

/* =============================================================
   11. Rutas — tabs + rail
   ============================================================= */
.routes { padding-block: clamp(90px, 12vw, 150px); background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.routes-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 46px; }
.routes-head .sec-title { margin: 0; }
.tabs { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.tabs button { position: relative; z-index: 1; height: 42px; padding: 0 clamp(14px, 2vw, 24px); border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: color .35s; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: #1A0F0A; font-weight: 500; }
.tabs-ink { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--accent); transition: transform .55s var(--ease-out), width .55s var(--ease-out); }

.rail-wrap { display: none; }
.rail-wrap.is-active { display: block; animation: panelIn .8s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.rail {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 6px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 30px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  scrollbar-width: none; cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag * { pointer-events: none; }
.route {
  flex: 0 0 min(84vw, 400px); scroll-snap-align: start; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .6s var(--ease-out), border-color .4s;
}
.route:hover { transform: translateY(-6px); border-color: var(--line-2); }
.route-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.route-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); user-select: none; -webkit-user-drag: none; }
.route:hover .route-img img { transform: scale(1.06); }
.route-level { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(10,14,19,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.route-body { padding: 26px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.route-body h3 { font-family: var(--serif); font-weight: 400; font-size: 27px; margin-bottom: 10px; }
.route-body > p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 20px 0 22px; }
.stats div { background: var(--bg-3); padding: 12px 14px; }
.stats dt { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.stats dd { font-size: 15px; font-weight: 500; margin-top: 2px; }
.route-cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 500; transition: background .35s, color .35s, border-color .35s; }
.route-cta svg { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.route-cta:hover { background: var(--accent); border-color: var(--accent); color: #1A0F0A; }
.route-cta:hover svg { transform: translateX(4px); }
.route-custom { background: radial-gradient(120% 80% at 100% 0%, rgba(233,133,91,.22), transparent 60%), var(--bg-3); justify-content: center; min-height: 520px; }
.route-custom .route-body { justify-content: center; gap: 4px; padding: 40px 32px; }
.route-custom-mark { width: 56px; height: 56px; color: var(--accent); margin-bottom: 20px; }
.route-custom h3 { font-size: 40px; font-style: italic; }
.route-custom .btn { margin-top: 26px; align-self: flex-start; }
.rail-ctrl { display: flex; align-items: center; gap: 24px; margin-top: 10px; }
.rail-bar { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rail-bar span { display: block; height: 100%; width: 30%; background: var(--accent); transform-origin: left; transition: transform .2s; }
.rail-btns { display: flex; gap: 10px; }
.rail-btns button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.rail-btns button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.rail-btns svg { width: 20px; height: 20px; }
.routes-note { margin-top: 30px; font-size: 13.5px; color: var(--ink-3); max-width: 720px; }

/* =============================================================
   12. Why — sticky figure narrative
   ============================================================= */
.why { padding-block: clamp(90px, 12vw, 160px); }
.why-grid { display: grid; gap: 40px; }
.why-media { display: none; }
.why-frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.why-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease-out), transform 1.6s var(--ease-out); }
.why-frame img.is-on { opacity: 1; transform: none; }
.why-count { position: absolute; left: 20px; bottom: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(10,14,19,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink-2); }
.why-count b { color: var(--accent); font-weight: 500; }
.why-item { padding: 34px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 50px 1fr; column-gap: 10px; transition: opacity .5s; }
.why-item .mono { color: var(--accent); padding-top: 12px; grid-row: span 2; }
.why-item h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.2vw, 44px); margin-bottom: 12px; }
.why-item p { color: var(--ink-2); max-width: 480px; }

/* =============================================================
   13. Band quote
   ============================================================= */
.band { position: relative; min-height: 78vh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.band-bg { position: absolute; inset: -18% 0; z-index: -2; will-change: transform; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band-tint { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(10,14,19,.25) 25%, rgba(10,14,19,.35) 75%, var(--bg) 100%); }
.band-quote { max-width: 1100px; }
.band-mark { display: block; font-family: var(--serif); font-size: 140px; line-height: .6; color: var(--accent); height: 60px; }
.band-quote p { font-family: var(--serif); font-variation-settings: "SOFT" 100, "opsz" 144; font-style: italic; font-weight: 300; font-size: clamp(34px, 5.6vw, 82px); line-height: 1.06; letter-spacing: -.025em; text-shadow: 0 4px 40px rgba(0,0,0,.4); }

/* =============================================================
   14. About
   ============================================================= */
.about { padding-block: clamp(90px, 12vw, 160px); }
.about-grid { display: grid; gap: 50px; align-items: center; }
.about-media { position: relative; }
.about-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; right: -10px; bottom: 30px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 18px; background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-2); box-shadow: 0 30px 50px -20px rgba(0,0,0,.6); }
.about-badge svg { width: 34px; height: 34px; color: var(--accent); }
.about-badge b { display: block; font-family: var(--mono); letter-spacing: .2em; font-size: 14px; }
.about-badge span { font-size: 12.5px; color: var(--ink-2); }
.about-text > p { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 18px); margin-top: 20px; max-width: 560px; }
.about-text .sec-title { margin-bottom: 8px; }
.about-quote { margin-top: 34px; padding-left: 24px; border-left: 2px solid var(--accent); }
.about-quote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(21px, 2vw, 27px); line-height: 1.35; }
.about-quote cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.creds li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-2); }
.stats-row { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(60px, 9vw, 110px); border-top: 1px solid var(--line); }
.stat { padding: 30px 10px 30px 0; border-bottom: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(46px, 6vw, 86px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }

/* =============================================================
   15. Gallery
   ============================================================= */
.gallery { padding-bottom: clamp(90px, 12vw, 160px); }
.gallery-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.gallery-head .sec-title { margin: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.g { border-radius: 18px; overflow: hidden; background: var(--bg-3); aspect-ratio: 1; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; }
.g:hover img { transform: scale(1.06); filter: saturate(1.15); }
.g2 { grid-column: span 2; aspect-ratio: 16 / 9; }

/* =============================================================
   16. Testimonial
   ============================================================= */
.testi { padding-block: clamp(80px, 10vw, 130px); background: var(--bg-2); border-block: 1px solid var(--line); text-align: center; }
.testi-inner { max-width: 980px; display: grid; justify-items: center; }
.stars { color: var(--gold); letter-spacing: .3em; font-size: 18px; margin-bottom: 26px; }
.testi blockquote p { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 3.2vw, 42px); line-height: 1.25; letter-spacing: -.015em; }
.testi cite { display: block; margin-top: 30px; font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }

/* =============================================================
   17. FAQ
   ============================================================= */
.faq { padding-block: clamp(90px, 12vw, 160px); }
.faq-grid { display: grid; gap: 40px; }
.faq-side .btn { margin-top: 30px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; font-size: clamp(17px, 1.5vw, 21px); transition: color .3s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }
.faq-list summary i { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; transition: transform .5s var(--ease-out), background .3s, border-color .3s; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq-list summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease-out); }
.faq-list details[open] summary i { background: var(--accent); border-color: var(--accent); color: #1A0F0A; transform: rotate(180deg); }
.faq-list details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.faq-a > p { overflow: hidden; color: var(--ink-2); max-width: 680px; }
details[open] .faq-a { grid-template-rows: 1fr; }
details[open] .faq-a > p { padding-bottom: 26px; }

/* =============================================================
   18. Contact
   ============================================================= */
.contact { position: relative; padding-block: clamp(100px, 13vw, 170px); overflow: hidden; }
.contact-bg { position: absolute; inset: 0; z-index: -2; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.contact-tint { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(10,14,19,.55) 30%, rgba(10,14,19,.8) 100%); }
.contact-grid { display: grid; gap: 50px; align-items: start; }
.contact-title { font-family: var(--serif); font-weight: 300; font-variation-settings: "SOFT" 50, "opsz" 144; font-size: clamp(54px, 9vw, 140px); line-height: .95; letter-spacing: -.035em; }
.channels { margin-top: 36px; display: grid; gap: 10px; max-width: 460px; }
.channels a, .channels .nolink { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; background: rgba(10,14,19,.45); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .3s, transform .45s var(--ease-out), background .3s; }
.channels a:hover { border-color: var(--accent); transform: translateX(6px); background: rgba(10,14,19,.7); }
.channels svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.channels span { display: flex; flex-direction: column; font-size: 15px; line-height: 1.35; }
.channels small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

.cform { padding: clamp(26px, 3.5vw, 44px); border-radius: 28px; background: var(--glass); border: 1px solid var(--line-2); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.cform h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 2.6vw, 36px); margin-bottom: 26px; }
.field { position: relative; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 26px 16px 10px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(10,14,19,.5);
  outline: none; transition: border-color .3s, background .3s; font-size: 15.5px; appearance: none; -webkit-appearance: none; color-scheme: dark;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%23C6CBC6' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 36px; }
.field select option { background: var(--bg-2); color: var(--ink); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: rgba(10,14,19,.75); }
.field label { position: absolute; left: 17px; top: 18px; font-size: 15px; color: var(--ink-3); pointer-events: none; transition: transform .3s var(--ease-out), font-size .3s, color .3s, top .3s; }
.field label.is-static,
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 9px; font-size: 11px; letter-spacing: .06em; color: var(--accent); }
.cform-err { color: #FF9C86; font-size: 13.5px; margin: 4px 0 10px; }
.cform-btns { display: grid; gap: 10px; margin-top: 8px; }
.cform-btns .btn { width: 100%; }
.cform-note { font-size: 12.5px; color: var(--ink-3); margin-top: 16px; text-align: center; }

/* =============================================================
   19. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); padding-top: 60px; overflow: hidden; }
.footer-top { display: grid; gap: 30px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand > svg { width: 40px; height: 40px; color: var(--accent); }
.footer-brand b { font-family: var(--mono); letter-spacing: .24em; font-size: 14px; font-weight: 500; }
.footer-brand p { color: var(--ink-3); font-size: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 26px; color: var(--ink-2); font-size: 14.5px; }
.footer-nav a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s, transform .45s var(--ease-out); }
.footer-social a:hover { background: var(--accent); color: #1A0F0A; transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-giant { font-family: var(--serif); font-weight: 300; font-size: 14.2vw; line-height: .8; letter-spacing: -.05em; text-align: center; margin-top: 50px; white-space: nowrap;
  background: linear-gradient(180deg, rgba(238,239,233,.16), rgba(238,239,233,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px 28px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }

/* =============================================================
   20. Chatbot
   ============================================================= */
.chat { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 1100; }
.chat-fab { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #1A0F0A; display: grid; place-items: center; box-shadow: 0 18px 40px -12px rgba(233,133,91,.8); transition: transform .5s var(--ease-out); }
.chat-fab:hover { transform: scale(1.07); }
.chat-fab svg { width: 30px; height: 30px; grid-area: 1 / 1; transition: transform .5s var(--ease-out), opacity .3s; }
.chat-fab .ico-close { opacity: 0; transform: rotate(-90deg) scale(.6); width: 24px; height: 24px; }
.chat.is-open .chat-fab .ico-open { opacity: 0; transform: rotate(90deg) scale(.6); }
.chat.is-open .chat-fab .ico-close { opacity: 1; transform: none; }
.chat-fab-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ring 2.6s var(--ease-out) infinite; }
.chat.is-open .chat-fab-ring { display: none; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.chat-hint { position: absolute; right: 76px; bottom: 14px; white-space: nowrap; padding: 10px 16px; border-radius: 14px 14px 4px 14px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; box-shadow: 0 16px 30px -12px rgba(0,0,0,.5);
  opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .5s, transform .6s var(--ease-out); }
.chat-hint.is-on { opacity: 1; transform: none; }
.chat.is-open .chat-hint { opacity: 0; }

.chat-panel {
  position: fixed; inset: 0; display: flex; flex-direction: column; background: var(--bg-2);
  opacity: 0; transform: translateY(30px); pointer-events: none; transition: opacity .4s, transform .6s var(--ease-out);
}
.chat.is-open .chat-panel { opacity: 1; transform: none; pointer-events: auto; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; padding-top: max(16px, env(safe-area-inset-top)); border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 140% at 0% 0%, rgba(233,133,91,.22), transparent 60%), var(--bg-3); }
.chat-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--accent); flex: none; }
.chat-avatar svg { width: 26px; height: 26px; }
.chat-who { flex: 1; display: grid; line-height: 1.3; }
.chat-who b { font-weight: 600; font-size: 15px; }
.chat-who > span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }
.chat-who i { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); }
.chat-x { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); }
.chat-x svg { width: 18px; height: 18px; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 12px 15px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; animation: msgIn .5s var(--ease-out) both; white-space: pre-line; }
.msg a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.msg-bot { align-self: flex-start; background: var(--bg-3); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg-me { align-self: flex-end; background: var(--accent); color: #1A0F0A; border-bottom-right-radius: 6px; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.typing { display: inline-flex; gap: 4px; padding: 15px 16px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: bounce 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.msg-actions { display: grid; gap: 8px; margin-top: 10px; }
.msg-actions a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 14px; border-radius: 12px; font-weight: 600; font-size: 14px; text-decoration: none; transition: transform .35s var(--ease-out); }
.msg-actions a:hover { transform: translateY(-2px); }
.msg-actions svg { width: 18px; height: 18px; }
.msg-actions .a-wa { background: var(--wa); color: #06210f; }
.msg-actions .a-mail { background: var(--ink); color: var(--bg); }
.msg-date { display: flex; gap: 8px; margin-top: 10px; }
.msg-date input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color-scheme: dark; }
.msg-date button { padding: 0 14px; border-radius: 12px; background: var(--accent); color: #1A0F0A; font-weight: 600; font-size: 14px; }
.chat-chips { display: flex; gap: 8px; padding: 6px 16px 10px; overflow-x: auto; scrollbar-width: none; flex-wrap: wrap; }
.chat-chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(233,133,91,.5); color: var(--accent); font-size: 13.5px; background: rgba(233,133,91,.06); transition: background .3s, color .3s; animation: msgIn .5s var(--ease-out) both; }
.chip:hover { background: var(--accent); color: #1A0F0A; }
.chat-input { display: flex; gap: 8px; padding: 12px 14px; padding-bottom: max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-3); }
.chat-input input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); outline: none; font-size: 16px; }
.chat-input input:focus { border-color: var(--accent); }
.chat-input button { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #1A0F0A; display: grid; place-items: center; flex: none; }
.chat-input button svg { width: 20px; height: 20px; }
body.chat-lock { overflow: hidden; }

/* =============================================================
   21. Reveal effects
   ============================================================= */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease-soft) var(--d, 0s), transform 1s var(--ease-soft) var(--d, 0s); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
.clip-reveal { clip-path: inset(12% 12% 12% 12% round var(--radius)); transition: clip-path 1.4s var(--ease-out); }
.clip-reveal img { transform: scale(1.25); transition: transform 1.8s var(--ease-out); }
.clip-reveal.is-revealed { clip-path: inset(0 0 0 0 round 18px); }
.about-img.clip-reveal.is-revealed { clip-path: inset(0 0 0 0 round var(--radius)); }
.clip-reveal.is-revealed img { transform: none; }
.no-js [data-reveal], .no-js .reveal-up { opacity: 1; transform: none; }
.no-js .clip-reveal { clip-path: none; }

/* =============================================================
   22. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .g2 { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}
@media (min-width: 720px) {
  .exp-grid { grid-template-columns: repeat(3, 1fr); }
  .exp-card { aspect-ratio: 3 / 4.4; }
  .stats-row { grid-template-columns: repeat(4, 1fr); }
  .stat { padding-left: 0; }
  .cform-btns { grid-template-columns: 1fr 1fr; }
  .chat-panel { inset: auto 0 80px auto; width: 390px; height: min(620px, calc(100vh - 120px)); border-radius: 24px; border: 1px solid var(--line-2); overflow: hidden; box-shadow: 0 40px 90px -20px rgba(0,0,0,.75); transform-origin: bottom right; transform: translateY(16px) scale(.96); position: absolute; }
  .chat-head { padding-top: 16px; }
  .chat-input { padding-bottom: 12px; }
  body.chat-lock { overflow: auto; }
  .route { flex-basis: 380px; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .burger { display: none; }
  .manifesto-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: clamp(50px, 7vw, 110px); align-items: start; }
  .why-media { display: block; position: sticky; top: 110px; }
  .why-item { opacity: .35; padding: 44px 0; }
  .why-item.is-on { opacity: 1; }
  .why-list .sec-head { margin-bottom: 30px; }
  .about-grid { grid-template-columns: 5fr 6fr; gap: clamp(50px, 7vw, 110px); }
  .faq-grid { grid-template-columns: 4fr 7fr; gap: clamp(50px, 7vw, 110px); }
  .faq-side { position: sticky; top: 120px; align-self: start; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: clamp(50px, 6vw, 100px); align-items: center; }
  .footer-top { grid-template-columns: 1.3fr 2fr auto; align-items: center; }
  .footer-nav { justify-content: center; }
  .gallery-grid { grid-template-columns: repeat(5, 1fr); grid-auto-rows: 250px; }
  .g { aspect-ratio: auto; }
  .g1 { grid-column: 1; grid-row: 1 / span 2; }
  .g2 { grid-column: 2 / span 2; grid-row: 1 / span 2; }
  .g3 { grid-column: 4; grid-row: 1; }
  .g4 { grid-column: 4; grid-row: 2; }
  .g5 { grid-column: 5; grid-row: 1 / span 2; }
}
@media (min-width: 1280px) {
  .route { flex-basis: 400px; }
}
@media (max-width: 539px) {
  .hero-title { font-size: clamp(46px, 13.5vw, 64px); }
  .hero-actions .btn { width: 100%; }
  .hero-meta span:first-child, .hero-meta .sep { display: none; }
  .brand-name { font-size: 11.5px; letter-spacing: .2em; }
  .brand-name small { display: none; }
  .lang-btn [data-lang-code] { display: none; }
  .lang-btn { padding: 0 10px; }
  .about-badge { right: 12px; bottom: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 0 8px; font-size: 13.5px; }
  .chat-hint { display: none; }
}

/* =============================================================
   23. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .hero-mesh { animation: none; }
  .grain { animation: none; }
  .marquee-track { animation-duration: 90s; }
  .chat-fab-ring { animation: none; }
}

/* No-JS fallback: content always visible */
.no-js .hero-title .line > span { transform: none; }
.no-js .splash { display: none; }

.menu-open .chat { opacity: 0; pointer-events: none; }
.chat { transition: opacity .3s; }
@media (max-width: 539px) { .scroll-cue { display: none; } }

/* =============================================================
   24. Multilanguage blocks (data-l) — CSS decides, no flash
   ============================================================= */
html[lang="es"] [data-l]:not([data-l="es"]),
html[lang="en"] [data-l]:not([data-l="en"]),
html[lang="fr"] [data-l]:not([data-l="fr"]) { display: none !important; }

/* =============================================================
   25. Descubre — editorial rows with price
   ============================================================= */
.disc { padding-bottom: clamp(90px, 12vw, 160px); }
.disc-row { display: grid; gap: 34px; align-items: center; margin-bottom: clamp(70px, 9vw, 130px); }
.disc-row:last-child { margin-bottom: 0; }
.disc-media { position: relative; padding: 0 12% 12% 0; }
.disc-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.disc-img img, .disc-img-sm img { width: 100%; height: 100%; object-fit: cover; }
.disc-img-sm { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; border: 6px solid var(--bg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); transition: transform .8s var(--ease-out); }
.disc-row:hover .disc-img-sm { transform: translateY(-10px) rotate(-2deg); }
.disc-num { color: var(--accent); }
.disc-body h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 4.6vw, 66px); margin: 12px 0 22px; }
.disc-body > p { color: var(--ink-2); font-size: clamp(15.5px, 1.2vw, 17px); }
.disc-body .disc-sub { margin-top: 14px; padding-left: 16px; border-left: 1px solid var(--line-2); color: var(--ink-3); font-size: 14.5px; }
.disc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.price { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.price b { font-family: var(--serif); font-size: clamp(36px, 3.4vw, 50px); font-weight: 300; letter-spacing: -.02em; color: var(--ink); text-transform: none; margin-left: 6px; }
.price small { font-size: 12px; color: var(--ink-3); margin-left: 4px; }
@media (min-width: 960px) {
  .disc-row { grid-template-columns: 1fr 1.1fr; gap: clamp(50px, 7vw, 110px); }
  .disc-row.is-rev .disc-media { order: 2; padding: 0 0 12% 12%; }
  .disc-row.is-rev .disc-img-sm { right: auto; left: 0; }
}

/* Route cards (home rail) */
.route-img { display: block; }
.route-body h3 a { transition: color .3s; }
.route-body h3 a:hover { color: var(--accent); }
.route .clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.route-level { background: rgba(233,133,91,.92); color: #1A0F0A; font-weight: 500; }
.route-actions { margin-top: auto; display: flex; gap: 10px; }
.route-actions .route-cta { flex: 1; }
.route-book { width: 52px; flex: none; border-radius: 14px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.route-book svg { width: 18px; height: 18px; }
.route-book:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.route-custom .route-actions { margin-top: 26px; }
.route-custom .btn { margin-top: 0; }

/* About secondary image + headings */
.about-img-sm { position: absolute; left: -14px; top: 26px; width: 38%; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; border: 5px solid var(--bg); box-shadow: 0 30px 50px -20px rgba(0,0,0,.7); }
.about-img-sm img { width: 100%; height: 100%; object-fit: cover; }
.about-h { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 34px 0 4px; font-weight: 500; }
.about-text .about-quote { margin-top: 26px; }
.about-text > div > p { color: var(--ink-2); font-size: clamp(15.5px, 1.2vw, 17px); margin-top: 12px; }
.testi cite { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testi-ph { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.gallery-grid a { display: block; cursor: zoom-in; }

/* =============================================================
   26. Route detail pages
   ============================================================= */
.r-hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; padding: calc(var(--nav-h) + 40px) 0 clamp(40px, 7vh, 80px); }
.r-hero-bg { position: absolute; inset: -6% 0 0 0; z-index: -2; }
.r-hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 30s ease-in-out infinite alternate; }
.r-hero-tint { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,14,19,.6) 0%, rgba(10,14,19,.1) 30%, rgba(10,14,19,.35) 60%, var(--bg) 100%), linear-gradient(90deg, rgba(10,14,19,.55), rgba(10,14,19,0) 65%); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--ink-2); margin-bottom: 26px; font-size: 11px; }
.crumbs a { transition: color .3s; } .crumbs a:hover { color: var(--accent); }
.crumbs i { font-style: normal; color: var(--ink-3); }
.crumbs span { color: var(--ink); }
.r-tagline { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: rgba(10,14,19,.4); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.r-tagline i { font-style: normal; color: var(--accent); }
.r-title { font-family: var(--serif); font-weight: 300; font-variation-settings: "SOFT" 50, "opsz" 144; font-size: clamp(46px, 8.6vw, 136px); line-height: .95; letter-spacing: -.035em; max-width: 1100px; }
.r-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.r-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease-out) var(--d, 0s); }
.is-ready .r-title .line > span, .no-js .r-title .line > span { transform: none; }
.r-quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 30px; max-width: 760px; border-radius: 18px; overflow: hidden; background: var(--line); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.r-quick > div { padding: 14px 18px; background: rgba(10,14,19,.55); display: grid; gap: 2px; }
.r-quick .mono { font-size: 10px; color: var(--ink-3); }
.r-quick b { font-weight: 500; font-size: 17px; }
@media (min-width: 720px) { .r-quick { grid-template-columns: repeat(4, 1fr); } }

.r-body { padding-block: clamp(70px, 9vw, 120px); }
.r-grid { display: grid; gap: 50px; }
.r-intro p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; color: var(--ink-2); margin-bottom: 18px; max-width: 760px; }
.r-intro p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 4.4em; line-height: .8; padding: 6px 12px 0 0; color: var(--accent); font-weight: 300; }
.r-intro strong, .r-card strong { color: var(--ink); font-weight: 500; }
.r-h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.2vw, 44px); margin-bottom: 22px; }
.r-block { margin-top: clamp(40px, 6vw, 70px); }
.r-tech { border-top: 1px solid var(--line); }
.r-tech > div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.r-tech dt { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.r-tech dd { font-size: 16.5px; }
@media (min-width: 720px) { .r-tech > div { grid-template-columns: 240px 1fr; gap: 20px; align-items: baseline; } }
.r-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); font-style: italic; }
.r-cards { display: grid; gap: 16px; margin-top: clamp(40px, 6vw, 70px); }
.r-card { padding: 28px 26px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.r-card h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 18px; }
.r-card p { color: var(--ink-2); }
.r-list li { position: relative; padding: 9px 0 9px 30px; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.r-list li:last-child { border-bottom: 0; }
.r-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%; background: rgba(233,133,91,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23E9855B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.r-card-no .r-list li::before { background: rgba(255,255,255,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7 7 17' fill='none' stroke='%237D8992' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
@media (min-width: 720px) { .r-cards { grid-template-columns: 1fr 1fr; } .r-card-wide, .r-cards > .r-card:nth-child(3):last-child { grid-column: span 2; } }

.r-aside { position: relative; }
.r-price-card { padding: 30px 28px; border-radius: 26px; background: radial-gradient(120% 70% at 100% 0%, rgba(233,133,91,.2), transparent 60%), var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.r-price-l { color: var(--ink-3); margin-top: 22px; }
.r-price { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.02em; margin-top: 4px; }
.r-price-n { font-size: 13.5px; color: var(--ink-3); margin-top: 10px; }
.r-price-btns { display: grid; gap: 10px; margin-top: 24px; }
.r-price-btns .btn { width: 100%; }
.r-guide { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.r-guide svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
@media (min-width: 960px) {
  .r-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(50px, 6vw, 90px); align-items: start; }
  .r-aside { position: sticky; top: 100px; }
}

.r-gallery { padding-bottom: clamp(80px, 10vw, 130px); }
.r-gal-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.r-gal-head .sec-title { font-size: clamp(32px, 4.4vw, 60px); }
.r-gal-head .mono { color: var(--ink-3); }
.r-gal { columns: 2 160px; column-gap: 12px; }
.r-gi { display: block; margin-bottom: 12px; border-radius: 14px; overflow: hidden; break-inside: avoid; cursor: zoom-in; background: var(--bg-3); }
.r-gi img { width: 100%; height: auto; transition: transform 1s var(--ease-out), filter .5s; }
.r-gi:hover img { transform: scale(1.05); filter: saturate(1.15); }
@media (min-width: 720px) { .r-gal { columns: 3; } }
@media (min-width: 1100px) { .r-gal { columns: 4; } }

.r-more .routes-head { margin-bottom: 36px; }
.r-more-grid { display: grid; gap: 20px; }
.r-more-grid .route { flex: none; }
@media (min-width: 720px) { .r-more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .r-more-grid { grid-template-columns: repeat(3, 1fr); } }

.r-cta { position: relative; padding-block: clamp(110px, 14vw, 180px); overflow: hidden; text-align: center; }
.r-cta-bg { position: absolute; inset: 0; z-index: -2; }
.r-cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.r-cta-tint { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(10,14,19,.6) 35%, rgba(10,14,19,.75) 100%); }
.r-cta-inner { display: grid; justify-items: center; }
.r-cta .sec-sub { margin-inline: auto; }
.r-cta .hero-actions { justify-content: center; }

/* =============================================================
   27. Lightbox
   ============================================================= */
.lb { position: fixed; inset: 0; z-index: 1200; background: rgba(6,9,12,.94); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .35s; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb img { max-width: min(92vw, 1600px); max-height: 84vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 40px 100px -20px rgba(0,0,0,.9); transform: scale(.96); transition: transform .5s var(--ease-out), opacity .3s; }
.lb.is-open img { transform: none; }
.lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(10,14,19,.6); display: grid; place-items: center; color: var(--ink); transition: background .3s, color .3s; }
.lb button:hover { background: var(--ink); color: var(--bg); }
.lb button svg { width: 22px; height: 22px; }
.lb-x { top: 18px; right: 18px; }
.lb-p { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-n { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-c { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--ink-2); }
@media (max-width: 719px) { .lb-p, .lb-n { top: auto; bottom: 14px; transform: none; } .lb-c { bottom: 32px; } }

/* =============================================================
   28. Brand logo (Sanjosergio ibex)
   ============================================================= */
img.brand-mark { width: auto; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(0,0,0,.35)); transition: transform .5s var(--ease-out), height .4s var(--ease-out); }
.brand:hover img.brand-mark { transform: rotate(-6deg) scale(1.06); }
.nav.is-solid img.brand-mark { height: 40px; }
.splash-logo { width: clamp(150px, 22vw, 220px); height: auto; animation: rise 1s var(--ease-out) both; margin-bottom: 6px; }
.splash-alt { font-size: clamp(40px, 7vw, 72px); }
.mq-ibex { width: auto; height: 34px; flex: none; }
.route-custom-mark { width: auto !important; height: 72px !important; }
.chat-fab img.ico-open { width: 34px; height: 34px; object-fit: contain; grid-area: 1 / 1; transition: transform .5s var(--ease-out), opacity .3s; }
.chat-avatar img { width: 30px; height: 30px; object-fit: contain; }
.about-badge img { width: 34px; height: 44px; object-fit: contain; }
.footer-logo { width: 96px; height: auto; flex: none; }
.r-guide img { width: 20px; height: 26px; object-fit: contain; flex: none; }
