/* =============================================================
   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 {
  /* Paleta «Bosque alpino» */
  --paper:  #F7F7F2;   /* blanco roto */
  --stone:  #D9DDD7;   /* gris piedra */
  --sage:   #A5B3A1;   /* verde salvia */
  --forest: #203D32;   /* verde bosque */
  --forest-deep: #162B23;

  /* Tema claro (por defecto). Las secciones oscuras/verdes redefinen estos tokens en la sección 28 */
  --bg:      var(--paper);
  --bg-2:    #EDEFE9;
  --bg-3:    #E2E6DF;
  --ink:     var(--forest);
  --ink-2:   #3D5246;
  --ink-3:   #5B6D61;
  --accent:  #E5B84B;   /* dorado árnica: botones y detalles de relleno */
  --accent-2:#C99A2E;
  --accent-ink: #3E7058; /* acento para TEXTO (verde en claro, salvia en oscuro) */
  --em:      #3E7058;    /* palabra destacada de los títulos */
  --gold:    #D9B46C;
  --ice:     #9CC7D9;
  --wa:      #25D366;
  --line:    rgba(32,61,50,.14);
  --line-2:  rgba(32,61,50,.26);
  --glass:   rgba(247,247,242,.78);
  --tint:    rgba(32,61,50,.05);
  --tint-2:  rgba(32,61,50,.10);
  --shadow-c: rgba(22,48,38,.30);
  --btn-hover-ink: var(--paper);

  /* Tipografía: títulos = Oswald · subtítulos/etiquetas = Pompiere · texto = Inter */
  --title: "Oswald", "Arial Narrow", "Helvetica Neue", Impact, sans-serif;
  --sub:   "Pompiere", "Oswald", "Arial Narrow", sans-serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --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-family: var(--title); font-weight: 500; text-transform: uppercase; text-wrap: balance; line-height: 1.08; letter-spacing: .015em; font-synthesis: none; }
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 = etiqueta pequeña (ahora en Pompiere; el nombre de la clase se mantiene para no tocar el HTML) */
.mono { font-family: var(--sub); font-size: 15px; letter-spacing: .1em; 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(--sub); font-size: 17px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 20px;
}
.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(--title); font-weight: 500; line-height: 1.04; letter-spacing: .012em;
  font-size: clamp(34px, 5.2vw, 72px);
}
.sec-title em, .hero-title em, .contact-title em, .r-title em {
  font-style: normal; color: var(--em); font-weight: inherit;
}
.sec-sub { margin-top: 20px; color: var(--ink-2); font-family: var(--sub); text-transform: uppercase; letter-spacing: .06em; line-height: 1.35; font-size: clamp(19px, 1.9vw, 24px); max-width: 640px; }

/* =============================================================
   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: #17302A; box-shadow: 0 10px 30px -12px rgba(229,184,75,.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 { color: var(--btn-hover-ink); transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(229,184,75,.8); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: var(--tint); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--ink); background: var(--tint-2); 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(--sub); font-size: 15px; letter-spacing: .1em; 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-ink); animation: rise 1s var(--ease-out) both; }
.splash-alt { font-family: var(--title); font-size: clamp(50px, 9vw, 100px); font-weight: 500; letter-spacing: .02em; 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(--sub); text-transform: uppercase; letter-spacing: .5em; font-size: 16px; 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: .04;
  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(18,38,30,.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-ink); }
.brand-name { font-family: var(--title); font-size: 15px; letter-spacing: .2em; font-weight: 500; display: flex; flex-direction: column; line-height: 1.15; }
.brand-name small { font-size: 10px; letter-spacing: .5em; color: var(--ink-3); font-weight: 400; }
.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: var(--tint); font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .08em;
  transition: border-color .3s, background .3s;
}
.lang-btn:hover { border-color: var(--ink); background: var(--tint-2); }
.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(24,47,38,.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 30px 60px -20px var(--shadow-c);
  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: var(--tint-2); }
.lang-menu button[aria-selected="true"] { background: rgba(229,184,75,.14); color: var(--accent-ink); }

.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(18,38,30,.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(--title); text-transform: uppercase; letter-spacing: .02em; font-size: clamp(34px, 9.5vw, 58px); font-weight: 500; 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-ink); }
.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-ink); }

/* =============================================================
   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(18,38,30,.55) 0%, rgba(18,38,30,0) 28%, rgba(18,38,30,0) 45%, rgba(18,38,30,.78) 82%, var(--bg) 100%),
    linear-gradient(90deg, rgba(18,38,30,.55) 0%, rgba(18,38,30,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(229,184,75,.6), rgba(165,179,161,.40), rgba(217,180,108,.45), rgba(229,184,75,.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(--sub); font-size: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  padding: 8px 16px; border-radius: 999px; background: rgba(18,38,30,.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(229,184,75,.7); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229,184,75,.6); } 70% { box-shadow: 0 0 0 10px rgba(229,184,75,0); } 100% { box-shadow: 0 0 0 0 rgba(229,184,75,0); } }
.hero-title { font-family: var(--title); font-weight: 500; font-size: clamp(46px, 9.2vw, 148px); line-height: 1.02; letter-spacing: .01em; }
.hero-title .line { display: block; overflow: hidden; padding-block: .16em .06em; margin-block: -.16em -.06em; } /* hueco arriba para tildes en mayúsculas (À, É…) */
.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: 560px; margin-top: 26px; font-family: var(--sub); text-transform: uppercase; letter-spacing: .07em; line-height: 1.3; font-size: clamp(21px, 2.1vw, 28px); color: var(--ink); }
.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-2); font-size: 16px; }
.hero-meta b { color: var(--ink); font-weight: 400; }
.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(--title); text-transform: uppercase; letter-spacing: .05em; font-weight: 400; font-size: clamp(22px, 2.8vw, 38px); white-space: nowrap; color: var(--ink-2); }
.marquee-track svg { width: 26px; height: 26px; color: var(--accent-ink); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   9. Manifesto
   ============================================================= */
.manifesto { padding-block: clamp(90px, 14vw, 190px); }
.manifesto-quote { font-family: var(--title); text-transform: uppercase; font-weight: 400; font-size: clamp(32px, 5.6vw, 84px); line-height: 1.1; letter-spacing: .012em; 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(--title); font-size: 16px; letter-spacing: .06em; color: var(--accent-ink); 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 var(--shadow-c);
}
.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(18,38,30,.15) 0%, rgba(18,38,30,0) 30%, rgba(18,38,30,.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(18,38,30,.4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.exp-body h3 { font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); 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-ink); }
.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); color: var(--ink); 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: var(--tint); }
.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: #17302A; 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(18,38,30,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--sub); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.route-body { padding: 26px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.route-body h3 { font-weight: 500; font-size: 25px; line-height: 1.12; 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(--sub); font-size: 14.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.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: #17302A; }
.route-cta:hover svg { transform: translateX(4px); }
.route-custom { background: radial-gradient(120% 80% at 100% 0%, rgba(229,184,75,.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-ink); 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(18,38,30,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink-2); }
.why-count b { color: var(--accent-ink); 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-ink); padding-top: 12px; grid-row: span 2; }
.why-item h3 { font-weight: 500; font-size: clamp(24px, 2.8vw, 38px); 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, rgba(18,38,30,.62) 0%, rgba(18,38,30,.32) 30%, rgba(18,38,30,.42) 70%, rgba(18,38,30,.72) 100%); }
.band-quote { max-width: 1100px; }
.band-mark { display: block; font-family: var(--title); font-size: 140px; line-height: .6; color: var(--accent); height: 60px; }
.band-quote p { font-family: var(--title); text-transform: uppercase; font-weight: 400; font-size: clamp(28px, 4.8vw, 70px); line-height: 1.12; letter-spacing: .012em; 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 var(--shadow-c); }
.about-badge svg { width: 34px; height: 34px; color: var(--accent-ink); }
.about-badge b { display: block; font-family: var(--title); font-weight: 500; letter-spacing: .2em; font-size: 15px; }
.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-ink); }
.about-quote p { font-family: var(--sans); font-weight: 300; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; }
.about-quote cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--sub); font-size: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.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(--title); font-weight: 500; font-size: clamp(40px, 5.2vw, 72px); line-height: 1.05; letter-spacing: .01em; 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); color: var(--ink); 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(--sans); font-weight: 300; font-size: clamp(19px, 2.2vw, 28px); line-height: 1.5; }
.testi cite { display: block; margin-top: 30px; font-style: normal; font-family: var(--sub); font-size: 17px; letter-spacing: .16em; 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-ink); }
.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: #17302A; 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, rgba(18,38,30,.78) 0%, rgba(18,38,30,.58) 30%, rgba(18,38,30,.84) 100%); }
.contact-grid { display: grid; gap: 50px; align-items: start; }
.contact-title { font-family: var(--title); font-weight: 500; font-size: clamp(44px, 8vw, 120px); line-height: 1.02; letter-spacing: .012em; }
.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(18,38,30,.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(18,38,30,.7); }
.channels svg { width: 22px; height: 22px; color: var(--accent-ink); flex: none; }
.channels span { display: flex; flex-direction: column; font-size: 15px; line-height: 1.35; }
.channels small { font-family: var(--sub); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }

.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 var(--shadow-c); }
.cform h3 { font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); 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(18,38,30,.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(18,38,30,.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-ink); }
.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-ink); }
.footer-brand b { font-family: var(--title); letter-spacing: .2em; font-size: 16px; 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-ink); }
.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: #17302A; transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-giant { font-family: var(--title); font-weight: 600; font-size: 13vw; line-height: .9; letter-spacing: .02em; text-align: center; margin-top: 50px; white-space: nowrap;
  background: linear-gradient(180deg, rgba(247,247,242,.16), rgba(247,247,242,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: #17302A; display: grid; place-items: center; box-shadow: 0 18px 40px -12px rgba(229,184,75,.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(229,184,75,.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-ink); 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-ink); 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: #17302A; 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: light; }
.msg-date button { padding: 0 14px; border-radius: 12px; background: var(--accent); color: #17302A; 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(229,184,75,.5); color: var(--accent-ink); font-size: 13.5px; background: rgba(229,184,75,.06); transition: background .3s, color .3s; animation: msgIn .5s var(--ease-out) both; }
.chip:hover { background: var(--accent); color: #17302A; }
.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: #17302A; 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(40px, 12.2vw, 58px); }
  .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 var(--shadow-c); transition: transform .8s var(--ease-out); }
.disc-row:hover .disc-img-sm { transform: translateY(-10px) rotate(-2deg); }
.disc-num { color: var(--accent-ink); }
.disc-body h3 { font-weight: 500; font-size: clamp(32px, 4vw, 56px); line-height: 1.06; 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(--sub); font-size: 17px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.price b { font-family: var(--title); font-size: clamp(32px, 3vw, 44px); font-weight: 500; letter-spacing: .01em; color: var(--ink); 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-ink); }
.route .clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.route-level { background: rgba(229,184,75,.92); color: #17302A; 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 var(--shadow-c); }
.about-img-sm img { width: 100%; height: 100%; object-fit: cover; }
.about-h { font-family: var(--sub); font-size: 18px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin: 34px 0 4px; font-weight: 400; line-height: 1.2; }
.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(18,38,30,.6) 0%, rgba(18,38,30,.1) 30%, rgba(18,38,30,.35) 60%, var(--bg) 100%), linear-gradient(90deg, rgba(18,38,30,.55), rgba(18,38,30,0) 65%); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--ink-2); margin-bottom: 26px; font-size: 16px; }
.crumbs a { transition: color .3s; } .crumbs a:hover { color: var(--accent-ink); }
.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(18,38,30,.4); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-family: var(--sub); font-size: 16px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px; }
.r-tagline i { font-style: normal; color: var(--accent-ink); }
.r-title { font-family: var(--title); font-weight: 500; font-size: clamp(38px, 7.4vw, 116px); line-height: 1.02; letter-spacing: .012em; max-width: 1100px; overflow-wrap: break-word; }
.r-title .line { display: block; overflow: hidden; padding-block: .16em .08em; margin-block: -.16em 0; }
.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(18,38,30,.55); display: grid; gap: 2px; }
.r-quick .mono { font-size: 14.5px; color: var(--ink-2); }
.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(--title); text-transform: uppercase; float: left; font-size: 3.8em; line-height: .85; padding: 4px 12px 0 0; color: var(--accent-ink); font-weight: 500; }
.r-intro strong, .r-card strong { color: var(--ink); font-weight: 500; }
.r-h2 { font-weight: 500; font-size: clamp(26px, 3vw, 40px); 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(--sub); font-size: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.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(--sub); font-size: 19px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); font-weight: 400; line-height: 1.2; margin-bottom: 16px; }
.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(62,112,88,.14) 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='%233E7058' 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: var(--tint) 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(229,184,75,.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(--title); font-weight: 500; font-size: clamp(34px, 3.2vw, 46px); line-height: 1.08; letter-spacing: .01em; 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-ink); 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, rgba(18,38,30,.78) 0%, rgba(18,38,30,.62) 35%, rgba(18,38,30,.78) 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(12,28,21,.95); 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(18,38,30,.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(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; 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; }

/* =============================================================
   27. Tipografía — reglas de seguridad
   Pompiere solo existe en peso 400 y Oswald/Pompiere no tienen cursiva:
   se desactiva la síntesis para que el navegador no invente negrita/cursiva.
   ============================================================= */
.kicker, .tag, .mono, .sec-sub, .hero-sub, .hero-kicker, .hero-meta, .r-tagline, .crumbs,
.stats dt, .r-tech dt, .r-card h3, .about-h, .price, .channels small, .testi cite, .about-quote cite,
.route-level, .splash-name,
.hero-title, .r-title, .sec-title, .contact-title, .manifesto-quote, .band-quote p, .marquee-track span,
.mmenu nav a, .brand-name, .footer-giant, .stat b, .price b, .r-price { font-synthesis: none; }
.kicker, .tag, .mono, .sec-sub, .hero-sub, .hero-kicker, .hero-meta, .hero-meta b, .r-tagline, .crumbs,
.stats dt, .r-tech dt, .r-card h3, .about-h, .price, .channels small, .testi cite, .about-quote cite,
.route-level, .splash-name { font-weight: 400; }
/* Etiquetas tipo píldora: interlineado compacto (Pompiere es baja y condensada) */
.hero-kicker, .r-tagline, .route-level, .tag, .kicker { line-height: 1.25; }


/* =============================================================
   28. Temas por sección — paleta «Bosque alpino»
   Cada sección redefine los tokens (--bg, --ink…) y el resto del CSS
   se adapta solo. Secuencia en la portada:
   hero (foto) · bosque (cinta+manifiesto) · blanco · piedra (rutas) · blanco ·
   foto (cita) · salvia (quién soy) · blanco · bosque (opiniones) · blanco ·
   foto (contacto) · bosque oscuro (pie)
   ============================================================= */

/* Verde bosque y superficies sobre foto: texto claro */
.testi, .r-gallery, .splash,
.hero, .band, .contact, .r-hero, .r-cta, .lb, .nav, .mmenu, .about-badge, .why-count {
  --bg: var(--forest); --bg-2: #2A4D3F; --bg-3: #315A49;
  --ink: var(--paper); --ink-2: #D3DCCF; --ink-3: var(--sage);
  --accent-ink: var(--sage); --em: var(--accent);
  --line: rgba(247,247,242,.14); --line-2: rgba(247,247,242,.28);
  --glass: rgba(24,47,38,.68);
  --tint: rgba(247,247,242,.05); --tint-2: rgba(247,247,242,.10);
  --shadow-c: rgba(0,0,0,.55); --btn-hover-ink: #17302A;
  color: var(--ink);
}
.manifesto, .r-gallery { background: var(--bg); }

/* Pie: verde más profundo */
.footer {
  --bg: var(--forest-deep); --bg-2: #1D372D; --bg-3: #244237;
  --ink: var(--paper); --ink-2: #D3DCCF; --ink-3: var(--sage);
  --accent-ink: var(--sage);
  --line: rgba(247,247,242,.14); --line-2: rgba(247,247,242,.28);
  --tint: rgba(247,247,242,.05); --tint-2: rgba(247,247,242,.10);
  --shadow-c: rgba(0,0,0,.55); --btn-hover-ink: #17302A;
  background: var(--bg); color: var(--ink);
}

/* Gris piedra: rutas (tarjetas blancas encima) */
.routes {
  --bg: var(--stone); --bg-2: #E8EBE5; --bg-3: var(--paper);
  --ink: var(--forest); --ink-2: #34493D; --ink-3: #4C5F53;
  --accent-ink: #2F5E48; --em: #2F5E48;
  --line: rgba(32,61,50,.16); --line-2: rgba(32,61,50,.30);
  --tint: rgba(32,61,50,.06); --tint-2: rgba(32,61,50,.12);
}

/* Verde salvia: quién soy */
.about {
  --bg: var(--sage); --bg-2: #B8C4B4; --bg-3: #C9D3C6;
  --ink: #17302A; --ink-2: var(--forest); --ink-3: #2E4A3D;
  --accent-ink: #1F5B43; --em: #1F5B43;
  --line: rgba(23,48,42,.20); --line-2: rgba(23,48,42,.34);
  --tint: rgba(23,48,42,.07); --tint-2: rgba(23,48,42,.13);
  --shadow-c: rgba(22,48,38,.35);
  background: var(--bg); color: var(--ink);
}

/* Texto largo bajo el título de «Por qué»: Inter normal (en mayúsculas finas no se leería bien) */
.why .sec-sub { font-family: var(--sans); text-transform: none; letter-spacing: 0; line-height: 1.7; font-size: clamp(16px, 1.4vw, 18px); max-width: 560px; }

/* Cinta + «Philosophy»: verde bosque un punto más claro (texto claro) */
.manifesto, .marquee {
  --bg: #3A6A52; --bg-2: #447761; --bg-3: #4E836B;
  --ink: var(--paper); --ink-2: #EAEFE6; --ink-3: #D3DCCF;
  --accent-ink: #DDE6D8; --em: var(--accent);
  --line: rgba(247,247,242,.18); --line-2: rgba(247,247,242,.32);
  --glass: rgba(40,76,58,.68);
  --tint: rgba(247,247,242,.07); --tint-2: rgba(247,247,242,.12);
  --shadow-c: rgba(0,0,0,.4); --btn-hover-ink: #17302A;
  color: var(--ink);
}
.hero { --bg: #3A6A52; } /* el hero se funde con la cinta */

/* =============================================================
   29. Portada resumida y páginas nuevas (Rutas · Experiencias · Sobre mí)
   ============================================================= */

/* Cinta: ahora es un enlace a Rutas */
a.marquee { display: block; color: var(--ink); text-decoration: none; cursor: pointer; }
a.marquee:hover .marquee-track, a.marquee:focus-visible .marquee-track { animation-play-state: paused; }
a.marquee:hover .marquee-track span { color: var(--ink); }

/* «Tres formas de vivir la montaña»: tarjetas que enlazan a Rutas */
.disc-compact { padding-top: clamp(70px, 9vw, 120px); }
.disc-cards { display: grid; gap: 22px; }
.disc-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--tint); color: var(--ink); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s; }
.disc-card:hover, .disc-card:focus-visible { transform: translateY(-6px); box-shadow: 0 30px 60px -28px var(--shadow-c); border-color: var(--line-2); }
.disc-card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.disc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.disc-card:hover .disc-card-img img { transform: scale(1.05); }
.disc-card-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 22px; flex: 1; }
.disc-card-body h3 { font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.08; margin: 4px 0 2px; }
.disc-card-sub { display: block; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.disc-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.disc-card-foot .price b { font-size: clamp(28px, 2.6vw, 36px); }
@media (min-width: 900px) { .disc-cards { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

/* «Por qué Sanjosergio»: tarjeta verde que enlaza a Sobre mí */
.why-intro { padding-block: clamp(10px, 3vw, 30px) clamp(80px, 10vw, 140px); }
.why-card {
  display: grid; overflow: hidden; border-radius: calc(var(--radius) + 6px);
  background: var(--forest); color: var(--paper);
  --ink: var(--paper); --ink-2: #D3DCCF; --ink-3: var(--sage);
  --accent-ink: var(--sage); --em: var(--accent);
  --line: rgba(247,247,242,.18); --line-2: rgba(247,247,242,.32);
  --btn-hover-ink: #17302A;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.why-card:hover, .why-card:focus-visible { transform: translateY(-4px); box-shadow: 0 40px 70px -34px rgba(22,48,38,.6); }
.why-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.why-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.why-card:hover .why-card-img img { transform: scale(1.05); }
.why-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(26px, 5vw, 56px) clamp(22px, 5vw, 56px); }
.why-card-body .kicker { margin-bottom: 0; }
.why-card-body .sec-title { color: var(--ink); }
.why-card-text { display: block; color: var(--ink-2); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; max-width: 520px; }
@media (min-width: 900px) { .why-card { grid-template-columns: 1fr 1.1fr; } .why-card-img { aspect-ratio: auto; min-height: 100%; } }

/* Rutas de la portada: botón «ver todas» */
.routes-all { margin-top: 36px; display: flex; justify-content: center; }

/* Páginas nuevas */
.routes-page { padding-top: clamp(60px, 8vw, 100px); }
.disc-page { padding-top: clamp(70px, 9vw, 120px); }
.r-hero .hero-sub { margin-top: 22px; }

/* =============================================================
   30. Ajustes de la portada
   ============================================================= */
/* Filosofía: solo el texto (sin los 4 puntos) */
.manifesto-grid { grid-template-columns: 1fr; }
.manifesto-grid > div { max-width: 620px; }

/* Tarjeta «A medida»: el logo de la cabra es vertical, no se debe estirar; sin cursiva falsa */
.route-custom .route-custom-mark { align-self: flex-start; width: auto !important; height: 92px !important; max-width: 100%; object-fit: contain; margin-bottom: 22px; }
.route-custom h3 { font-style: normal; font-size: clamp(34px, 3vw, 42px); }

/* =============================================================
   31. Blog (listado y entradas)
   ============================================================= */
.blog-list { padding-block: clamp(60px, 8vw, 100px) clamp(90px, 12vw, 150px); }
.blog-grid { display: grid; gap: 24px; }
.blog-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--tint); color: var(--ink); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s; }
.blog-card:hover, .blog-card:focus-visible { transform: translateY(-6px); box-shadow: 0 30px 60px -28px var(--shadow-c); border-color: var(--line-2); }
.blog-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 24px; flex: 1; }
.blog-date { color: var(--accent-ink); }
.blog-card-body h3 { font-weight: 500; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; }
.blog-card-sum { display: block; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.blog-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; font-weight: 500; font-size: 14.5px; color: var(--ink); }
.blog-more svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.blog-card:hover .blog-more svg { transform: translateX(4px); }
.blog-empty { max-width: 560px; color: var(--ink-2); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.7; }
@media (min-width: 720px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .blog-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.post { padding-block: clamp(60px, 8vw, 100px) clamp(80px, 10vw, 130px); }
.post-inner { max-width: 760px; }
.post-body > * + * { margin-top: 1.3em; }
.post-body p, .post-body li { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.8; color: var(--ink-2); }
.post-body h2 { font-weight: 500; font-size: clamp(26px, 3vw, 38px); margin-top: 2em; color: var(--ink); }
.post-body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body ul { padding-left: 1.2em; list-style: disc; }
.post-body li + li { margin-top: .5em; }
.post-body blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 22px; font-family: var(--title); text-transform: uppercase; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.25; letter-spacing: .012em; color: var(--ink); }
.post-body figure { margin-block: 2em; }
.post-body figure img { width: 100%; border-radius: var(--radius); }
.post-body figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.post-inner > .btn { margin-top: 56px; }

/* Botón Reservar bajo el texto de Filosofía */
.manifesto-cta { margin-top: 34px; }
@media (max-width: 719px) { .manifesto-cta .btn { width: 100%; } }

/* =============================================================
   32. Pantalla de entrada: el logo aparece poco a poco dentro de un círculo que se dibuja
   ============================================================= */
.splash-badge { position: relative; width: clamp(200px, 50vw, 260px); aspect-ratio: 1; display: grid; place-items: center; }
.splash-badge::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(247,247,242,.12), rgba(247,247,242,0) 70%); opacity: 0; animation: splashGlow 1.4s .2s var(--ease-out) forwards; }
.splash-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.splash-ring circle { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 604; stroke-dashoffset: 604; animation: splashRing 1.5s .1s var(--ease-out) forwards; }
.splash-badge .splash-logo { width: 50%; height: auto; margin: 0; opacity: 0; transform: scale(.82); filter: blur(8px); animation: splashLogo 1.2s .35s var(--ease-out) forwards; }
.splash-name { opacity: 0; letter-spacing: .9em; animation: splashName 1.1s .8s var(--ease-out) forwards; }
.splash-inner { gap: 22px; }
@keyframes splashRing { to { stroke-dashoffset: 0; } }
@keyframes splashLogo { to { opacity: 1; transform: none; filter: none; } }
@keyframes splashName { to { opacity: 1; letter-spacing: .5em; } }
@keyframes splashGlow { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .splash-ring circle { animation: none; stroke-dashoffset: 0; }
  .splash-badge .splash-logo { animation: none; opacity: 1; transform: none; filter: none; }
  .splash-badge::before { animation: none; opacity: 1; }
  .splash-name { animation: none; opacity: 1; letter-spacing: .5em; }
}

/* =============================================================
   33. Filosofía con foto de bosque y velo verde
   ============================================================= */
.manifesto {
  background-color: #2C5340;
  background-image: linear-gradient(180deg, rgba(24,47,38,.78) 0%, rgba(30,58,45,.70) 50%, rgba(24,47,38,.80) 100%), url("assets/img/bosque-sendero.webp");
  background-size: cover; background-position: 50% 55%; background-repeat: no-repeat;
}
.manifesto-quote, .manifesto-grid > div p { text-shadow: 0 1px 14px rgba(10,24,18,.45); }

/* =============================================================
   34. Transición orgánica hero → Filosofía → cinta
   La foto de Filosofía se funde con la del inicio (máscara en degradado) y la
   cinta flota sobre el final de la foto, sin franja sólida.
   ============================================================= */
.manifesto {
  position: relative; z-index: 1;
  margin-top: calc(-1 * clamp(110px, 16vw, 200px));
  padding-top: calc(clamp(90px, 14vw, 190px) + clamp(110px, 16vw, 200px) * .55);
  padding-bottom: clamp(110px, 14vw, 170px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 clamp(110px, 16vw, 200px), #000 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 clamp(110px, 16vw, 200px), #000 100%);
}
.hero { padding-bottom: clamp(70px, 14vw, 140px); }
a.marquee, .marquee {
  position: relative; z-index: 3; border-block: 0;
  background: linear-gradient(180deg, rgba(24,47,38,0) 0%, rgba(24,47,38,.6) 45%, rgba(24,47,38,.6) 100%);
  padding: clamp(26px, 4vw, 40px) 0;
  margin-top: calc(-1 * clamp(110px, 14vw, 150px));
  margin-bottom: 0;
}
.marquee-track span { font-family: var(--sub); font-size: clamp(30px, 3.6vw, 50px); letter-spacing: .08em; }
.hero-foot { border-top-color: transparent !important; }

/* =============================================================
   35. Fotos nuevas (atardecer · camiseta amarilla) y Filosofía → cinta
   ============================================================= */
.why-card-img { aspect-ratio: 4 / 5; }
.why-card-img img, .why-frame img[src*="atardecer"] { object-position: 50% 38%; }
@media (min-width: 900px) { .why-card-img { aspect-ratio: auto; } }
.about-img img { object-position: 50% 30%; }

/* Filosofía se desvanece hacia el fondo claro y la cinta (en verde) flota sobre ese desvanecido */
.manifesto {
  padding-bottom: clamp(150px, 18vw, 230px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 clamp(110px, 16vw, 200px), #000 calc(100% - clamp(150px, 17vw, 220px)), transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 clamp(110px, 16vw, 200px), #000 calc(100% - clamp(150px, 17vw, 220px)), transparent 100%);
}
a.marquee, .marquee {
  --ink: #1D3A2D; --ink-2: #2C5340; --accent-ink: #2C5340; --line: rgba(29,58,45,.2);
  background: none; padding: clamp(18px, 3vw, 28px) 0;
  margin-top: calc(-1 * clamp(110px, 13vw, 140px));
  margin-bottom: clamp(10px, 3vw, 30px);
}
a.marquee:hover .marquee-track span { color: #10261C; }
