/*
================================================================================
Sistema: Ecovía Comechingones (Smart City & Tourism)
Creador y Desarrollador: Silvio Deandrea
Copyright: © 2026 Silvio Deandrea. Todos los derechos reservados.
Licencia: Propiedad Privada - Producto Protegido por Derechos de Autor.
================================================================================
F83 — Landing institucional premium. Tokens en /shared/styles/tokens-premium.css.
*/
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* Fallbacks con métricas ajustadas: el texto no salta cuando llega la fuente (CLS). */
@font-face { font-family: 'Fraunces Fallback'; src: local('Georgia'); size-adjust: 104%; ascent-override: 92%; descent-override: 24%; }
@font-face { font-family: 'Manrope Fallback'; src: local('Arial'); size-adjust: 103%; ascent-override: 102%; descent-override: 29%; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--sand-050); color: var(--ink);
  font-family: var(--font-ui); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.06; letter-spacing: -.02em; margin: 0; font-optical-sizing: auto; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--forest-950); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* F83.2 — contenedor fluido como en las referencias: márgenes proporcionales al
   ancho (no una caja fija de 1240 px que en pantallas grandes deja el contenido
   encajonado y descentrado respecto de las piezas a sangre). */
:root { --gutter: clamp(20px, 4.2vw, 72px); }
.container { width: min(100% - 2 * var(--gutter), 1600px); margin-inline: auto; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta-700); }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }
.on-dark .eyebrow, .eyebrow.light { color: #F6C7A8; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 60ch; }
.on-dark .lead { color: rgba(255,255,255,.84); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--terracotta); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius-pill);
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font: 700 16px/1 var(--font-ui); text-decoration: none; cursor: pointer;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), color var(--t-fast);
  box-shadow: 0 10px 24px -12px rgba(233,107,44,.7);
}
.btn:hover { transform: translateY(-1px); background: var(--terracotta-700); }
.btn svg { width: 18px; height: 18px; transition: transform var(--t-fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.55); box-shadow: none; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { --bg: transparent; --fg: var(--forest-950); --bd: rgba(6,47,53,.28); box-shadow: none; }
.btn-outline:hover { background: var(--forest-950); color: #fff; }
.btn-forest { --bg: var(--forest-950); box-shadow: 0 10px 24px -14px rgba(6,47,53,.8); }
.btn-forest:hover { background: var(--forest-700); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--forest-700); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease), color var(--t) var(--ease), backdrop-filter var(--t);
  padding-top: env(safe-area-inset-top);
}
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,47,53,.55), transparent); pointer-events: none; transition: opacity var(--t); }
.site-header.is-scrolled, .page-solid .site-header {
  background: rgba(250,248,242,.86); color: var(--ink);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(23,35,34,.08), 0 8px 24px -18px rgba(6,47,53,.4);
}
.site-header.is-scrolled::before, .page-solid .site-header::before { opacity: 0; }
.header-inner { position: relative; display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand svg { width: 44px; height: 30px; }
.brand-name { font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: .95; letter-spacing: -.01em; }
.brand-name small { display: block; font-family: var(--font-ui); font-size: 9.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; margin-top: 4px; opacity: .8; }
.nav-main { margin-left: auto; display: none; align-items: center; gap: 6px; }
.nav-main a { padding: 10px 14px; border-radius: var(--radius-pill); text-decoration: none; font-weight: 600; font-size: 15px; transition: background var(--t-fast); }
.nav-main a:hover { background: rgba(255,255,255,.14); }
.is-scrolled .nav-main a:hover, .page-solid .nav-main a:hover { background: rgba(6,47,53,.07); }
.nav-main a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--terracotta); border-radius: 0; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.lang-switch button { background: none; border: 0; color: inherit; font: inherit; padding: 10px 8px; min-width: 40px; min-height: 44px; cursor: pointer; opacity: .7; border-radius: 8px; }
.lang-switch button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--terracotta); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.lang-switch .sep { opacity: .4; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-actions .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid currentColor; border-color: rgba(255,255,255,.4); background: transparent; color: inherit; cursor: pointer; }
.is-scrolled .nav-toggle, .page-solid .nav-toggle { border-color: rgba(23,35,34,.18); }
.nav-toggle svg { width: 22px; height: 22px; }
.header-actions .lang-switch, .header-actions .btn { display: none; }
@media (min-width: 1040px) {
  .nav-main { display: flex; }
  .header-actions { margin-left: 8px; }
  .header-actions .lang-switch, .header-actions .btn { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Menú móvil */
.mobile-nav { position: fixed; inset: 0; z-index: 60; background: var(--forest-950); color: #fff; padding: calc(20px + env(safe-area-inset-top)) 24px 32px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t); }
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-nav .top { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.mobile-nav nav { margin-top: 40px; display: grid; gap: 4px; }
.mobile-nav nav a { font-family: var(--font-display); font-size: 34px; text-decoration: none; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav .bottom { margin-top: auto; display: grid; gap: 20px; }
.mobile-nav .btn { width: 100%; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; min-height: 92svh; color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: var(--forest-950); isolation: isolate; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media { z-index: -2; }
.hero-media img { object-position: 50% 55%; transform: scale(1.04); will-change: transform; animation: hero-in 1.4s var(--ease) both; }
@keyframes hero-in { from { transform: scale(1.1); opacity: .6; } to { transform: scale(1.04); opacity: 1; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(6,47,53,.88) 0%, rgba(6,47,53,.62) 34%, rgba(6,47,53,.12) 62%, rgba(6,47,53,0) 78%),
  linear-gradient(0deg, rgba(6,47,53,.9) 0%, rgba(6,47,53,.2) 32%, rgba(6,47,53,0) 52%); }
@media (max-width: 767px) { .hero::after { background: linear-gradient(0deg, rgba(6,47,53,.95) 0%, rgba(6,47,53,.72) 48%, rgba(6,47,53,.25) 78%, rgba(6,47,53,.45) 100%); } }
.hero-content { padding-block: 128px 36px; display: grid; gap: 32px; }
.hero h1 { font-size: clamp(42px, min(6.2vw, 9.5vh), 88px); max-width: 15ch; text-wrap: balance; margin-top: 18px; }
.hero h1 .line { display: block; }
.hero .lead { margin-top: 22px; max-width: 54ch; color: rgba(255,255,255,.88); text-shadow: 0 1px 12px rgba(6,47,53,.5); }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 20px; }
.hero-meta { font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; opacity: .8; font-weight: 700; }
.hero-credit { font-size: 11px; opacity: .6; text-decoration: none; }
.hero-credit:hover { opacity: 1; text-decoration: underline; }

/* Trazo de la RP1 con los pueblos */
.route-line { width: 100%; max-width: 640px; overflow: visible; }
.route-line path.track { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 2; stroke-dasharray: 1 7; stroke-linecap: round; }
.route-line path.draw { fill: none; stroke: var(--terracotta); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: var(--len, 900); stroke-dashoffset: var(--len, 900); transition: stroke-dashoffset 1.6s var(--ease); }
.route-line.is-drawn path.draw { stroke-dashoffset: 0; }
.route-line circle { fill: var(--terracotta); stroke: #fff; stroke-width: 3; }
.route-line text { fill: #fff; font: 600 15px var(--font-display); }
@media (max-width: 767px) { .route-line text { font-size: 22px; } }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(34px, 4.6vw, 60px); text-wrap: balance; }
.section-head.split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.on-dark { background: var(--forest-950); color: #fff; }
.bg-sand { background: var(--sand-100); }

/* Concepto */
.concept { display: grid; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (min-width: 960px) { .concept { grid-template-columns: 1fr 1.05fr; } }
.concept h2 { font-size: clamp(36px, 5vw, 64px); margin: 18px 0 24px; text-wrap: balance; }
.concept p + p { margin-top: 16px; }
.concept-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; }
.concept-media img { width: 100%; height: 100%; object-fit: cover; }
.concept-media figcaption { position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: 12px; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.stats { margin-top: 40px; display: grid; gap: 0; grid-template-columns: 1fr; border-top: var(--border); }
@media (min-width: 600px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { padding: 20px 20px 4px 0; }
@media (min-width: 600px) { .stat + .stat { padding-left: 20px; border-left: var(--border); } }
.stat strong { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--forest-950); line-height: 1.1; }
.stat span { font-size: 14.5px; color: var(--ink-soft); }

/* Pueblos */
.towns { display: grid; gap: 16px; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: thin; }
@media (min-width: 700px) { .towns { grid-auto-columns: minmax(260px, 42%); } }
@media (min-width: 1100px) { .towns { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; } }
.town { position: relative; scroll-snap-align: start; border-radius: var(--radius-lg); overflow: hidden; background: var(--forest-950); color: #fff; aspect-ratio: 4 / 5.6; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; box-shadow: var(--shadow); isolation: isolate; }
.town picture, .town img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--t-slow) var(--ease); }
.town::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,47,53,.96) 0%, rgba(6,47,53,.55) 42%, rgba(6,47,53,0) 70%); }
.town:hover img { transform: scale(1.04); }
.town-body { padding: 22px; display: grid; gap: 10px; }
.town-num { position: absolute; top: 16px; left: 18px; font-size: 12px; font-weight: 700; letter-spacing: .2em; opacity: .9; }
.town h3 { font-size: 30px; }
.town p { font-size: 15px; color: rgba(255,255,255,.85); line-height: 1.45; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(4px); }
.town-cta { margin-top: 4px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: #FFD2B6; }
.town-cta svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.town:hover .town-cta svg { transform: translateX(4px); }

/* Mapa narrativo */
.story-map { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .story-map { grid-template-columns: 1fr 1fr; } }
.map-card { position: relative; border-radius: var(--radius-lg); background: radial-gradient(120% 90% at 20% 0%, #0E4A4F 0%, var(--forest-950) 60%); border: 1px solid rgba(255,255,255,.08); padding: clamp(16px, 3vw, 32px); overflow: hidden; }
.map-card::before { content: ""; position: absolute; inset: 0; background-image: url('../img/topo.svg'); background-size: 520px; opacity: .14; pointer-events: none; }
.corridor-map { position: relative; width: 100%; height: auto; }
.corridor-map .sierra { fill: rgba(255,255,255,.05); stroke: rgba(255,255,255,.18); stroke-width: 1; }
.corridor-map .label-geo { fill: rgba(255,255,255,.5); font: italic 500 15px var(--font-display); letter-spacing: .04em; }
.corridor-map .label-caps { fill: rgba(255,255,255,.42); font: 700 10px var(--font-ui); letter-spacing: .3em; }
.corridor-map path.track { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.corridor-map path.draw { fill: none; stroke: var(--terracotta); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len, 700); stroke-dashoffset: var(--len, 700); transition: stroke-dashoffset 2s var(--ease); }
.corridor-map.is-drawn path.draw { stroke-dashoffset: 0; }
.corridor-map .pin { opacity: 0; transform: translateY(6px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.corridor-map.is-drawn .pin { opacity: 1; transform: none; }
.corridor-map .pin circle.halo { fill: rgba(233,107,44,.25); }
.corridor-map .pin circle.dot { fill: var(--terracotta); stroke: #fff; stroke-width: 3; }
.corridor-map .pin text { fill: #fff; font: 600 19px var(--font-display); }
.corridor-map .rp1 rect { fill: #fff; } .corridor-map .rp1 text { fill: var(--forest-950); font: 800 11px var(--font-ui); }
.map-steps { list-style: none; margin: 32px 0 36px; padding: 0; display: grid; gap: 0; counter-reset: paso; }
.map-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.map-steps li::before { counter-increment: paso; content: counter(paso, decimal-leading-zero); font-size: 12px; font-weight: 800; letter-spacing: .1em; color: #F6C7A8; padding-top: 5px; }
.map-steps strong { font-family: var(--font-display); font-size: 21px; font-weight: 600; display: block; }
.map-steps span { color: rgba(255,255,255,.72); font-size: 15px; }

/* Experiencias */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; } .bento .xl { grid-column: span 2; grid-row: span 2; } .bento .wide { grid-column: span 2; } }
.exp { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 240px; color: #fff; display: flex; align-items: flex-end; text-decoration: none; background: var(--forest-950); isolation: isolate; box-shadow: var(--shadow-sm); }
.exp picture, .exp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--t-slow) var(--ease); }
.exp::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,47,53,.9), rgba(6,47,53,.05) 60%); }
.exp:hover img { transform: scale(1.05); }
.exp-body { padding: 22px 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; width: 100%; }
.exp h3 { font-size: 28px; }
.exp.xl h3 { font-size: clamp(32px, 3.4vw, 44px); }
.exp p { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; opacity: .82; margin-top: 6px; }
.exp .round { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); display: grid; place-items: center; transition: background var(--t-fast), border-color var(--t-fast); }
.exp .round svg { width: 18px; height: 18px; }
.exp:hover .round { background: var(--terracotta); border-color: var(--terracotta); }

/* Instalación + QR */
.install { position: relative; border-radius: 28px; background: var(--forest-950); color: #fff; overflow: hidden; display: grid; gap: 40px; padding: clamp(28px, 5vw, 64px); isolation: isolate; }
.install::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: url('../img/topo.svg'); background-size: 640px; opacity: .1; }
.install::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -200px; background: radial-gradient(closest-side, rgba(20,125,104,.55), transparent); }
@media (min-width: 960px) { .install { grid-template-columns: 1.4fr .9fr; align-items: center; } }
.install h2 { font-size: clamp(34px, 4.4vw, 58px); margin: 16px 0 18px; }
.install .lead { color: rgba(255,255,255,.82); }
.install-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.install-list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: rgba(255,255,255,.8); }
.install-list li { display: inline-flex; gap: 8px; align-items: center; }
.install-list svg { width: 18px; height: 18px; color: #7FD1BC; }
.qr-card { justify-self: center; width: min(100%, 320px); background: var(--sand-050); color: var(--ink); border-radius: 22px; padding: 22px; text-align: center; box-shadow: var(--shadow-lg); }
.qr-card img { width: 100%; height: auto; border-radius: 10px; background: #fff; }
.qr-card strong { display: block; margin-top: 14px; font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.qr-card span { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.qr-card small { display: block; margin-top: 10px; font-size: 12px; color: var(--ink-soft); word-break: break-all; }

/* Institucional */
.pillars { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 800px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--sand-050); border: var(--border); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 12px; align-content: start; }
.pillar .ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(20,125,104,.12); color: var(--forest-700); display: grid; place-items: center; }
.pillar .ico svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 24px; }
.pillar p { color: var(--ink-soft); font-size: 16px; }
.pillar .link-arrow { margin-top: 6px; justify-self: start; }

/* CTA final */
.final { position: relative; color: #fff; text-align: center; padding-block: clamp(120px, 16vw, 200px); overflow: hidden; isolation: isolate; background: var(--forest-950); }
.final picture, .final img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,47,53,.55), rgba(6,47,53,.82)); }
.final h2 { font-size: clamp(40px, 6vw, 80px); text-wrap: balance; max-width: 16ch; margin: 18px auto 20px; }
.final .lead { margin-inline: auto; color: rgba(255,255,255,.86); }
.final .btn { margin-top: 36px; }

/* Footer */
.site-footer { background: #041F23; color: rgba(255,255,255,.78); padding-block: 64px calc(32px + env(safe-area-inset-bottom)); font-size: 15px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer h3 { font-family: var(--font-ui); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-weight: 800; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-note { margin-top: 16px; max-width: 36ch; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.55); }

/* ---------- Páginas interiores ---------- */
.page-hero { position: relative; color: #fff; min-height: 62vh; min-height: 62svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: var(--forest-950); }
.page-hero picture, .page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,47,53,.92) 0%, rgba(6,47,53,.45) 50%, rgba(6,47,53,.35) 100%); }
.page-hero .container { padding-block: 150px 56px; }
.page-hero h1 { font-size: clamp(42px, 6.4vw, 84px); max-width: 16ch; margin: 16px 0 18px; text-wrap: balance; }
.page-hero .lead { color: rgba(255,255,255,.86); }
.prose { max-width: 70ch; }
.prose p { color: var(--ink-soft); font-size: 18px; }
.prose p + p { margin-top: 18px; }
.prose h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 48px 0 16px; }
.two-col { display: grid; gap: clamp(32px, 6vw, 80px); }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }
.town-row { display: grid; gap: 24px; align-items: center; padding-block: 40px; border-top: var(--border); }
@media (min-width: 860px) { .town-row { grid-template-columns: 380px 1fr; gap: 56px; } .town-row:nth-child(even) { grid-template-columns: 1fr 380px; } .town-row:nth-child(even) .town-row-media { order: 2; } }
.town-row-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.town-row-media img { width: 100%; height: 100%; object-fit: cover; }
.town-row h2 { font-size: clamp(34px, 4vw, 52px); margin: 10px 0 14px; }
.town-row p { color: var(--ink-soft); max-width: 58ch; }
.town-row .chips .chip { background: rgba(20,125,104,.1); border-color: rgba(20,125,104,.2); color: var(--forest-700); backdrop-filter: none; }
.town-row .actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.town-row .chips { margin-top: 16px; }
.exp-row { display: grid; gap: 20px; }
@media (min-width: 800px) { .exp-row { grid-template-columns: repeat(2, 1fr); } }
.exp-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: var(--border); box-shadow: var(--shadow-sm); display: grid; }
.exp-card .media { aspect-ratio: 3 / 2; overflow: hidden; }
.exp-card .media img { width: 100%; height: 100%; object-fit: cover; }
.exp-card .body { padding: 24px; display: grid; gap: 10px; }
.exp-card h2 { font-size: 30px; }
.exp-card p { color: var(--ink-soft); }
.credits { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.credits th, .credits td { text-align: left; padding: 14px 16px; border-bottom: var(--border); vertical-align: top; }
.credits th { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); background: var(--sand-100); }
.credits img { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: var(--border); }

/* ---------- Movimiento ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .route-line path.draw, .corridor-map path.draw { stroke-dashoffset: 0; }
  .corridor-map .pin { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
}

/* ---------- Ajustes tras QA visual F83 (1440 px) ---------- */
.town { aspect-ratio: 4 / 6; }
.town::after { background: linear-gradient(0deg, rgba(6,47,53,.97) 0%, rgba(6,47,53,.82) 38%, rgba(6,47,53,.25) 64%, rgba(6,47,53,.05) 100%); }
.town h3 { text-shadow: 0 2px 16px rgba(6,47,53,.6); }
.town-num { text-shadow: 0 1px 8px rgba(0,0,0,.5); }
@media (min-width: 1100px) and (max-width: 1379px) { .town-body { padding: 18px; } .town h3 { font-size: 26px; } .town p { font-size: 14px; } }
@media (min-width: 1024px) { .bento .wide-2 { grid-column: span 2; } }
.story-map .lead { margin-top: 18px; }
.install-note { margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.62); max-width: 52ch; }
.exp p { letter-spacing: .12em; }
.credits img { min-width: 96px; max-width: none; height: 64px; }
.page-hero + .section .town-row:first-child { border-top: 0; padding-top: 0; }
.page-hero::after { background:
  linear-gradient(90deg, rgba(6,47,53,.82) 0%, rgba(6,47,53,.55) 45%, rgba(6,47,53,.15) 80%),
  linear-gradient(0deg, rgba(6,47,53,.92) 0%, rgba(6,47,53,.35) 55%, rgba(6,47,53,.3) 100%); }
.page-hero h1, .page-hero .lead { text-shadow: 0 2px 18px rgba(6,47,53,.55); }
.prose > h2:first-child { margin-top: 0; }
.two-col > div > h2:first-child { font-size: clamp(28px, 3.4vw, 40px); }

/* ==========================================================================
   F83.1 — Ajuste a las referencias visuales (2026-09-13)
   ========================================================================== */
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/caveat-latin.woff2') format('woff2'); }
.script { font-family: 'Caveat', 'Brush Script MT', cursive; font-weight: 500; line-height: 1.05; letter-spacing: 0; }
.caps { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.caps span { display: inline-block; }
.caps--ink { color: var(--forest-950); opacity: .72; }

/* Header: CTA con borde sobre el hero, sólido al hacer scroll */
.btn-header { --fg: #fff; --bd: rgba(255,255,255,.75); }
.is-scrolled .btn-header, .page-solid .btn-header { --fg: var(--forest-950); --bd: rgba(6,47,53,.3); backdrop-filter: none; }
.is-scrolled .btn-header:hover, .page-solid .btn-header:hover { background: var(--forest-950); color: #fff; }

/* Hero v2 */
.hero--v2 { min-height: 100vh; min-height: 100svh; align-items: stretch; flex-direction: column; justify-content: flex-end; }
.hero--v2::after { background:
  linear-gradient(90deg, rgba(6,47,53,.82) 0%, rgba(6,47,53,.5) 36%, rgba(6,47,53,.08) 64%, rgba(6,47,53,0) 80%),
  linear-gradient(0deg, rgba(6,47,53,.92) 0%, rgba(6,47,53,.35) 26%, rgba(6,47,53,0) 46%),
  linear-gradient(180deg, rgba(6,47,53,.45) 0%, rgba(6,47,53,0) 18%); }
.hero--v2 .hero-content { position: relative; padding-block: 118px 0; display: block; }
.hero-copy { max-width: 780px; }
.hero--v2 h1 { font-size: clamp(42px, min(6vw, 8.4vh), 96px); max-width: 16ch; line-height: 1; }
.hero-towns { display: none; margin: 0 0 18px; font-size: 11.5px; letter-spacing: .28em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.85); }
.hero-script { position: absolute; right: 32px; bottom: 40px; font-size: clamp(30px, 2.6vw, 44px); color: #fff; transform: rotate(-8deg); text-shadow: 0 2px 16px rgba(6,47,53,.5); max-width: 11ch; text-align: center; }
.hero-script::after { content: ""; display: block; width: 70%; height: 3px; margin: 8px auto 0; border-radius: 3px; background: rgba(255,255,255,.75); transform: rotate(-4deg); }
.hero-route { position: relative; width: 100%; padding: 0 0 4px; }
.route-wide { display: block; width: 100%; height: clamp(90px, 9vw, 130px); overflow: visible; }
.route-wide path.track { fill: none; stroke: rgba(255,255,255,.9); stroke-width: 2; vector-effect: non-scaling-stroke; }
.route-wide path.draw { fill: none; stroke: #fff; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: var(--len, 1600); stroke-dashoffset: var(--len, 1600); transition: stroke-dashoffset 1.8s var(--ease); opacity: 0; }
.route-wide.is-drawn path.draw { stroke-dashoffset: 0; }
.route-wide .rw-pin circle { fill: var(--terracotta); stroke: #fff; stroke-width: 3; vector-effect: non-scaling-stroke; }
.route-wide .rw-pin text { fill: #fff; font: 600 20px var(--font-ui); paint-order: stroke; stroke: rgba(6,47,53,.35); stroke-width: 4px; }
.hero-foot2 { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; padding-block: 0 22px; color: rgba(255,255,255,.78); }
.hero-foot2 .caps:first-child { flex-direction: column; gap: 6px; font-size: 10.5px; }
.hero-foot2 .caps--right { flex-direction: column; align-items: flex-end; gap: 5px; font-size: 9.5px; text-align: right; }
.hero-foot2 .caps--right::after { content: ""; width: 72px; height: 1px; background: rgba(255,255,255,.6); margin-top: 6px; }
.hero-foot2 .hero-credit { order: 3; width: 100%; text-align: center; }
.caps--mobile { display: none !important; }
@media (min-width: 900px) { .hero-foot2 .hero-credit { width: auto; order: 0; } }
@media (max-width: 899px) {
  .hero-script { right: 16px; bottom: -8px; font-size: 30px; }
  .hero-towns { display: block; }
  .hero--v2 .eyebrow { display: none; }
  .route-wide .rw-pin text { font-size: 34px; }
  .route-wide { height: 84px; }
  .hero-foot2 .caps:first-child, .hero-foot2 .caps--right { display: none; }
  .caps--mobile { display: flex !important; flex-direction: column; font-size: 10.5px; max-width: 26ch; }
  .hero--v2 .hero-cta .btn-ghost { display: none; }
}

/* Corredor + pueblos (sand) */
.corridor { position: relative; background: var(--sand-050); isolation: isolate; }
.corridor::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url('../img/topo-ink.svg') right -160px top -80px / 820px no-repeat; opacity: .06; }
.corridor-top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.corridor-top .caps:first-child { flex-direction: column; gap: 4px; }
.corridor-top .caps--towns { font-size: 10px; letter-spacing: .26em; }
.corridor-head { display: grid; gap: 32px; align-items: end; margin-bottom: 40px; }
.corridor-head h2 { font-size: clamp(36px, 4.6vw, 66px); color: var(--forest-950); text-wrap: balance; }
.corridor-head .lead { margin-top: 14px; max-width: 62ch; }
@media (min-width: 1100px) { .corridor-head { grid-template-columns: 1.25fr 1fr; gap: 56px; } }
.stats2 { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat2 { display: grid; justify-items: center; align-content: start; text-align: center; gap: 6px; padding: 6px 14px; }
.stat2 + .stat2 { border-left: 1px solid rgba(23,35,34,.16); }
.stat2 svg { width: 36px; height: 36px; color: var(--forest-950); margin-bottom: 4px; }
.stat2 strong { font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 23px); font-weight: 600; color: var(--forest-950); line-height: 1.1; }
.stat2 span { font-size: 14px; color: var(--ink-soft); line-height: 1.35; }
@media (max-width: 1099px) { .corridor-top .caps--towns { display: none; } }
@media (max-width: 560px) { .stat2 { padding: 4px 6px; } .stat2 svg { width: 28px; height: 28px; } .stat2 span { font-size: 12.5px; } }

.tcards { display: grid; gap: 14px; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 10%; padding: 8px 10% 16px; margin-inline: -16px; scrollbar-width: none; }
.tcards::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .tcards { grid-auto-columns: 46%; padding-inline: 16px; scroll-padding-inline: 16px; } }
@media (min-width: 1100px) { .tcards { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; } }
.tcard { position: relative; scroll-snap-align: center; display: flex; align-items: flex-end; aspect-ratio: 8 / 7; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; background: var(--forest-950); isolation: isolate; box-shadow: var(--shadow); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
@media (max-width: 699px) { .tcard { aspect-ratio: 3 / 4; } }
.tcard picture, .tcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--t-slow) var(--ease); }
.tcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,47,53,.9) 0%, rgba(6,47,53,.45) 38%, rgba(6,47,53,0) 62%); }
.tcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tcard:hover img { transform: scale(1.05); }
.tcard-body { width: 100%; padding: 18px 18px 16px; display: grid; gap: 4px; }
.tcard h3 { font-size: clamp(26px, 2.2vw, 32px); text-shadow: 0 2px 14px rgba(6,47,53,.5); }
.tcard p { font-size: 15px; color: rgba(255,255,255,.9); }
.tcard-cta { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 14.5px; }
.tcard .round { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.85); display: grid; place-items: center; transition: background var(--t-fast), border-color var(--t-fast); }
.tcard .round svg { width: 17px; height: 17px; }
.tcard:hover .round { background: var(--terracotta); border-color: var(--terracotta); }
@media (max-width: 699px) { .tcard .round { background: var(--terracotta); border-color: var(--terracotta); } }
.dots { display: flex; justify-content: center; gap: 4px; margin-top: 6px; }
.dots .dot { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.dots .dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(23,35,34,.22); transition: background var(--t-fast), transform var(--t-fast); }
.dots .dot[aria-current="true"]::before { background: var(--terracotta); transform: scale(1.25); }
@media (min-width: 1100px) { .dots { display: none; } }
.corridor-more { margin-top: 28px; text-align: center; }

/* Banda de la app (forest) */
.appband { position: relative; background: var(--forest-950); color: #fff; overflow: hidden; isolation: isolate; }
.appband::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: url('../img/topo.svg'); background-size: 720px; opacity: .1; }
.appband-grid { position: relative; display: grid; gap: 32px; padding-block: 56px 64px; align-items: center; }
@media (min-width: 1000px) { .appband-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; padding-block: 40px 40px; min-height: 560px; } }
.appband-left { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 360px; }
.appband-script { position: absolute; left: 0; top: 50%; transform: translateY(-50%) rotate(-6deg); display: grid; gap: 2px; font-size: 27px; color: rgba(255,255,255,.9); z-index: 3; text-shadow: 0 2px 12px rgba(6,47,53,.9); }
.appband-script::after { content: ""; width: 120px; height: 3px; margin-top: 10px; border-radius: 3px; background: var(--terracotta); }
@media (max-width: 999px) { .appband-script { display: none; } }
.phones { position: relative; width: min(100%, 400px); height: 460px; margin-left: auto; }
@media (min-width: 1000px) { .phones { margin-right: 0; margin-bottom: -40px; height: 520px; } }
.phone { position: absolute; margin: 0; width: 214px; aspect-ratio: 390 / 844; border-radius: 34px; padding: 9px; background: #0B0F10; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), inset 0 0 0 1.5px rgba(255,255,255,.12); }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 64px; height: 18px; border-radius: 12px; background: #0B0F10; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 26px; display: block; }
.phone--front { left: 34%; bottom: 0; z-index: 2; transform: rotate(3deg); }
.phone--back { left: 0; bottom: 40px; transform: rotate(-6deg); opacity: .96; }
@media (max-width: 520px) { .phones { height: 400px; } .phone { width: 180px; } .phone--front { left: 38%; } }
.appband-copy h2 { font-size: clamp(34px, 3.6vw, 52px); margin: 14px 0 16px; text-wrap: balance; }
.appband-copy .lead { color: rgba(255,255,255,.84); }
.feats { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
@media (min-width: 1000px) { .feats { display: none; } }
.feats li { display: flex; align-items: center; gap: 14px; font-size: 16px; color: rgba(255,255,255,.88); }
.feats .fi { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; flex-shrink: 0; }
.feats .fi svg { width: 22px; height: 22px; color: #9EDBC9; }
.feats strong { color: #fff; }
.appband-actions { margin-top: 30px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 640px) { .appband-actions { grid-template-columns: auto 1fr; } }
.qr-box { display: flex; align-items: center; gap: 14px; }
.qr-box img { width: 132px; height: 132px; background: #fff; border-radius: 12px; padding: 8px; }
.qr-box .script { font-size: 26px; color: rgba(255,255,255,.9); transform: rotate(-6deg); max-width: 8ch; }
.appband-btns { display: grid; gap: 12px; max-width: 320px; }
.appband-btns .btn { width: 100%; }
.appband-link { justify-self: center; color: rgba(255,255,255,.85); font-size: 14px; text-underline-offset: 4px; padding: 6px; }
.appband-link:hover { color: #fff; }
.appband-caps { position: absolute; right: 16px; bottom: 26px; flex-direction: column; gap: 6px; font-size: 10px; color: rgba(255,255,255,.55); }
@media (max-width: 1199px) { .appband-caps { display: none; } }
@media (max-width: 999px) { .appband-left { order: 2; } }

/* Franja institucional con silueta */
.strip { position: relative; background: var(--sand-050); padding-top: 56px; overflow: hidden; }
.strip-inner { display: grid; justify-items: center; gap: 10px; text-align: center; padding-bottom: 36px; }
.strip-text { font-size: 15px; color: var(--ink-soft); border-bottom: 1px solid rgba(23,35,34,.15); padding-bottom: 12px; }
.strip-script { font-size: clamp(34px, 3.4vw, 46px); color: var(--forest-950); transform: rotate(-4deg); }
.strip-script::after { content: ""; display: block; width: 60%; height: 3px; margin: 4px auto 0; border-radius: 3px; background: var(--terracotta); opacity: .85; }
.silueta { display: block; width: 100%; height: 110px; }
.silueta .s1 { fill: #C9CFC4; opacity: .55; }
.silueta .s2 { fill: #A9B3A6; opacity: .55; }

/* Página Pueblos: fotos apaisadas */
.town-row-media { aspect-ratio: 8 / 7; }
@media (min-width: 860px) { .town-row { grid-template-columns: 440px 1fr; } .town-row:nth-child(even) { grid-template-columns: 1fr 440px; } }

@media (min-width: 1000px) {
  .appband-grid { grid-template-columns: 1.1fr 1fr; }
  .phones { width: 380px; margin-right: 12px; }
  .phone { width: 200px; }
  .phone--back { left: 6px; }
}
/* Celular: sin frase manuscrita ni ruta en el hero (la referencia móvil lista los pueblos arriba del título). */
@media (max-width: 699px) {
  .hero-script, .hero-route { display: none; }
  .hero--v2 .hero-content { padding-bottom: 36px; }
}

/* ==========================================================================
   F83.2 — Hero v3 (corrección tras la revisión de Silvio: centrado y fiel a la referencia)
   ========================================================================== */
.hero--v3 { display: block; min-height: 100vh; min-height: 100svh; }
.hero--v3::after { background:
  linear-gradient(90deg, rgba(6,47,53,.74) 0%, rgba(6,47,53,.42) 34%, rgba(6,47,53,.08) 60%, rgba(6,47,53,0) 76%),
  linear-gradient(0deg, rgba(6,47,53,.86) 0%, rgba(6,47,53,.3) 26%, rgba(6,47,53,0) 44%),
  linear-gradient(180deg, rgba(6,47,53,.5) 0%, rgba(6,47,53,0) 20%); }
.hero--v3 .hero-media img { object-position: 50% 50%; filter: saturate(1.08) contrast(1.04); }
.hero3 { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: 1fr auto auto; }
.hero3-main { position: relative; align-self: center; padding-block: 112px 8px; }
.hero--v3 h1 { font-size: clamp(40px, min(5.9vw, 8.4vh), 104px); max-width: 15ch; line-height: 1; margin-top: 16px; text-wrap: balance; }
.hero--v3 .lead { max-width: 52ch; font-size: clamp(17px, 1.5vw, 22px); }
.hero--v3 .hero-script { right: 0; left: auto; top: 58%; bottom: auto; transform: translateY(-50%) rotate(-8deg); max-width: 12ch; font-size: clamp(30px, 2.5vw, 46px); }
.route3 { position: relative; height: clamp(88px, 10vh, 128px); }
.route3-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route3-line .track { fill: none; stroke: rgba(255,255,255,.92); stroke-width: 2; vector-effect: non-scaling-stroke; }
.route3-pins { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.route3-pins li { position: absolute; left: var(--x); top: var(--y); display: grid; justify-items: center; gap: 10px; transform: translate(-50%, -9px); }
.route3-pins .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--terracotta); border: 3px solid #fff; box-shadow: 0 0 0 4px rgba(233,107,44,.25); }
.route3-pins .lbl { color: #fff; font: 600 clamp(14px, 1.15vw, 19px)/1 var(--font-ui); white-space: nowrap; text-shadow: 0 1px 10px rgba(6,47,53,.75); }
.hero--v3 .hero-foot2 { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px; padding-block: 14px 24px; }
.hero--v3 .hero-foot2 .hero-credit { order: 0; width: auto; text-align: center; align-self: end; }
.hero--v3 .hero-foot2 .caps--right { justify-self: end; }
@media (max-width: 899px) {
  .hero--v3 .hero-foot2 { grid-template-columns: 1fr; }
  .hero--v3 .hero-foot2 .hero-credit { text-align: left; }
}
@media (max-width: 699px) {
  .hero--v3 .route3, .hero--v3 .hero-script { display: none; }
  .hero3 { grid-template-rows: 1fr auto; }
  .hero3-main { align-self: end; padding-block: 120px 20px; }
}

/* Corredor: menos aire muerto y datos alineados con el título */
.corridor.section { padding-block: clamp(56px, 7vw, 104px); }
.corridor-head { align-items: start; }
@media (min-width: 1100px) { .stats2 { padding-top: 22px; } }
.tcards { gap: 16px; }
.hero--v3 .hero-media img { filter: saturate(1.16) contrast(1.06) sepia(.08); }
@media (max-height: 860px) and (min-width: 700px) {
  .hero--v3 h1 { font-size: clamp(38px, min(5.6vw, 7.4vh), 96px); margin-top: 12px; }
  .hero3-main { padding-block: 96px 0; }
  .hero--v3 .lead { margin-top: 14px; }
  .hero--v3 .hero-cta { margin-top: 22px; }
  .route3 { height: 82px; }
  .hero--v3 .hero-foot2 { padding-block: 6px 16px; }
  .hero--v3 .hero-foot2 .caps:first-child { flex-direction: row; gap: 4px 14px; }
  .hero--v3 .hero-foot2 .caps--right { flex-direction: row; gap: 4px 14px; }
  .hero--v3 .hero-foot2 .caps--right::after { display: none; }
}
@media (max-width: 899px) {
  .hero--v3 .eyebrow { display: none; }
  .hero--v3 .hero-towns { display: block; }
  .hero--v3 .hero-cta .btn-ghost { display: none; }
}
@media (min-width: 1000px) {
  .appband-left { justify-content: center; }
  .phones { margin-inline: auto; transform: translateX(10%); }
  .appband-script { left: max(0px, calc(50% - 360px)); }
}
.corridor.section { padding-top: clamp(48px, 5vw, 80px); }
@media (min-width: 1000px) {
  .appband-grid { width: min(100% - 2 * var(--gutter), 1360px); grid-template-columns: 1fr 1fr; gap: 64px; }
  .phones { transform: none; margin-right: 0; }
  .appband-left { justify-content: flex-end; }
  .appband-script { left: 0; }
}

/* ==========================================================================
   F83.3 — Sistema de alineación (revisión en Chrome): un solo eje, nav centrada
   ========================================================================== */
:root { --gutter: clamp(20px, 5vw, 96px); }
.container { width: min(100% - 2 * var(--gutter), 1440px); }
/* Header en 3 columnas: la navegación queda en el centro geométrico de la pantalla. */
@media (min-width: 1040px) {
  .header-inner--grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .header-inner--grid .nav-main { margin: 0; justify-self: center; gap: 4px; }
  .header-inner--grid .header-actions { justify-self: end; margin: 0; gap: 20px; }
  .nav-main a { font-size: 15.5px; padding: 10px 16px; }
}
.header-inner { height: 80px; }
/* Hero: columna de texto contenida, firma manuscrita anclada al margen derecho del contenedor */
.hero3-main { display: grid; grid-template-columns: minmax(0, 720px) 1fr; align-items: center; column-gap: 40px; }
.hero-copy { grid-column: 1; }
.hero--v3 .hero-script { position: static; grid-column: 2; justify-self: end; transform: rotate(-8deg); margin-right: 4vw; }
@media (max-width: 899px) { .hero3-main { grid-template-columns: 1fr; } }
/* Secciones: mismo aire arriba y abajo, títulos siempre a la izquierda */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.corridor-more--left { text-align: left; margin-top: 22px; }
.corridor-head { margin-bottom: 32px; }
.stats2 { padding-top: 0; }
/* Mapa: la columna de texto se centra verticalmente con la tarjeta */
.story-map { align-items: center; }
.map-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.link-arrow--light { color: #F6C7A8; }
/* Cierre */
.final .container { display: grid; justify-items: center; }
.final-script { margin-top: 40px; font-size: clamp(30px, 2.6vw, 42px); color: rgba(255,255,255,.85); transform: rotate(-4deg); }
.final-script::after { content: ""; display: block; width: 60%; height: 3px; margin: 4px auto 0; border-radius: 3px; background: var(--terracotta); }
.strip { padding-top: 0; background: var(--sand-050); }
.silueta { height: 90px; }
/* Bento y pilares respetan la misma grilla que el resto */
.pillar { padding: 32px 28px; }
.pillars { gap: 20px; }
/* Escala editorial más generosa en pantallas grandes */
@media (min-width: 1600px) {
  .section-head h2, .corridor-head h2 { font-size: 68px; }
  .lead { font-size: 21px; }
  .tcard h3 { font-size: 34px; }
  .exp.xl h3 { font-size: 48px; }
}
.stat2 strong { white-space: nowrap; }
@media (max-width: 700px) { .stat2 strong { white-space: normal; } }
.section-head.split > div:last-child { align-self: end; }
