/* =========================================================
   Sendero Austral — Trekking de un día en Aysén
   Design DNA: bg #F4F6F8 / surface #FFFFFF / ink #1C2530
   accent #2E6BE6 / accent-2 #F2B705
   ========================================================= */

:root {
  --bg: #F4F6F8;
  --surface: #FFFFFF;
  --surface-2: #EDF1F6;
  --ink: #1C2530;
  --ink-soft: #4A5568;
  --ink-faint: #7A8699;
  --accent: #2E6BE6;
  --accent-ink: #1E4FB0;
  --accent-2: #F2B705;
  --line: #DCE3EC;
  --line-strong: #C3CEDC;

  --easy: #2FA36B;
  --easy-bg: #E4F5EC;
  --mid: #E0A008;
  --mid-bg: #FBF1D6;
  --hard: #D64545;
  --hard-bg: #FBE3E3;

  --header-h: 74px;
  --maxw: 1320px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 4px 14px -10px rgba(28,37,48,.30);
  --shadow-md: 0 16px 40px -22px rgba(28,37,48,.45);
  --shadow-lg: 0 26px 60px -28px rgba(28,37,48,.50);

  --heading: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Consolas", "SF Mono", "JetBrains Mono", ui-monospace, monospace;

  interpolate-size: allow-keywords;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
}

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.08;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ---------- layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: clamp(16px, 3vw, 48px);
  padding-right: clamp(16px, 3vw, 48px);
}

.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tight { padding: clamp(36px, 5vw, 64px) 0; }
.section--band { background: var(--ink); color: #E9EEF5; }
.section--band h1, .section--band h2, .section--band h3, .section--band h4 { color: #F3F6FA; }
.section--soft { background: var(--surface-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--heading);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent-2);
  border-radius: 2px;
}
.section--band .eyebrow { color: var(--accent-2); }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-top: .3em; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 0; }
.section--band .section-head p { color: #B9C4D2; }

/* skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--heading);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: -.01em;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.2,.7,.2,1), background .22s, color .22s, box-shadow .22s, border-color .22s;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px -14px rgba(46,107,230,.9);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent-ink);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -14px rgba(46,107,230,.95);
}
.btn-primary .arrow { transition: transform .22s; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--surface);
  color: var(--accent-ink);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.btn-amber {
  background: var(--accent-2);
  color: #3A2C02;
}
.btn-amber:hover, .btn-amber:focus-visible {
  background: #DFA904;
  color: #3A2C02;
  transform: translateY(-2px);
}
.btn-block { width: 100%; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  height: var(--header-h);
  background: rgba(244, 246, 248, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: background .24s ease, box-shadow .24s ease, border-color .24s ease, height .24s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.98);
  box-shadow: 0 8px 24px -16px rgba(28,37,48,.28);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--heading);
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 36px; height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  background: var(--ink);
  border-radius: 10px;
  color: var(--accent-2);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand small {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-desktop a {
  position: relative;
  font-family: var(--heading);
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink-soft);
  padding: 8px 13px;
  border-radius: 8px;
  transition: color .2s;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 3px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s cubic-bezier(.2,.7,.2,1);
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { transform: scaleX(1); }
.nav-desktop a.is-active { color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta {
  font-family: var(--heading);
  font-weight: 700;
  font-size: .94rem;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  transition: background .2s, color .2s, transform .2s;
}
.nav-desktop .nav-cta::after { display: none; }
.nav-cta:hover, .nav-cta:focus-visible {
  background: var(--accent-ink);
  color: #fff;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 1100;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* drawer */
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  background: var(--surface);
  z-index: 1090;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .32s cubic-bezier(.2,.7,.2,1), visibility .32s;
  box-shadow: -20px 0 50px -30px rgba(28,37,48,.6);
  padding: calc(var(--header-h) + 20px) 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer a {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink);
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateX(16px);
  transition: opacity .22s ease, transform .24s cubic-bezier(.2,.7,.2,1), color .2s;
}
.drawer.is-open a { opacity: 1; transform: none; }
.drawer.is-open a:nth-child(1) { transition-delay: .04s; }
.drawer.is-open a:nth-child(2) { transition-delay: .07s; }
.drawer.is-open a:nth-child(3) { transition-delay: .10s; }
.drawer.is-open a:nth-child(4) { transition-delay: .13s; }
.drawer.is-open a:nth-child(5) { transition-delay: .16s; }
.drawer a:hover { color: var(--accent-ink); }
@media (prefers-reduced-motion: reduce) {
  .drawer, .drawer a { transition: none; }
  .drawer a { opacity: 1; transform: none; }
}
.drawer a.is-active { color: var(--accent-ink); }
.drawer .nav-cta {
  margin-top: 18px;
  text-align: center;
  border: none;
}
.drawer-meta {
  margin-top: auto;
  font-size: .86rem;
  color: var(--ink-faint);
  line-height: 1.7;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20,28,38,.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility .24s ease;
  z-index: 1040;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

main { padding-top: var(--header-h); }

/* =========================================================
   Difficulty chips + badges
   ========================================================= */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--heading);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .02em;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.chip::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.chip-easy { color: var(--easy); background: var(--easy-bg); }
.chip-mid  { color: var(--mid);  background: var(--mid-bg); }
.chip-hard { color: var(--hard); background: var(--hard-bg); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: .78rem;
  color: var(--ink-soft);
  background: var(--surface-2);
  padding: 4px 9px;
  border-radius: 7px;
  font-variant-numeric: tabular-nums;
}
.badge svg { width: 13px; height: 13px; color: var(--ink-faint); }

/* =========================================================
   Hero — split asymmetric (texto 40% + panel filtros 60%)
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -140px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(46,107,230,.14), transparent 68%);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -160px; left: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(242,183,5,.16), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: clamp(24px, 3.5vw, 52px);
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.2rem);
  letter-spacing: -.03em;
  margin: .28em 0 .3em;
}
.hero-copy h1 .u {
  background: linear-gradient(transparent 66%, rgba(242,183,5,.55) 66%);
}
.hero-sub {
  font-size: 1.14rem;
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: 1.5em;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.trust-strip svg { width: 17px; height: 17px; color: var(--easy); flex: 0 0 auto; }
.trust-strip ul { display: contents; }

/* hero search / filter panel */
.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 2.4vw, 30px);
  position: relative;
}
.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.hero-panel-head h2 {
  font-size: 1.18rem;
  margin: 0;
}
.hero-panel-head .live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--easy);
}
.hero-panel-head .live .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--easy);
  box-shadow: 0 0 0 0 rgba(47,163,107,.5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47,163,107,.5); }
  70% { box-shadow: 0 0 0 9px rgba(47,163,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,163,107,0); }
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 4px 4px 14px;
  margin-bottom: 16px;
}
.search-box svg { width: 20px; height: 20px; color: var(--ink-faint); flex: 0 0 auto; }
.search-box input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  padding: 11px 0;
  min-width: 0;
}
.search-box input:focus { outline: none; }
.search-box .btn { padding: 11px 18px; flex: 0 0 auto; }

.panel-filters-label {
  font-family: var(--heading);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 4px 0 9px;
}
.panel-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.panel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.panel-stat .n {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  display: block;
  line-height: 1;
}
.panel-stat .l {
  font-size: .78rem;
  color: var(--ink-faint);
  font-weight: 600;
}

/* =========================================================
   Filter bar
   ========================================================= */
.filter-bar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(16px, 2vw, 24px);
  display: grid;
  gap: 16px;
}
.filter-group { display: flex; flex-direction: column; gap: 9px; }
.filter-group > .lbl {
  font-family: var(--heading);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.fpill {
  font-family: var(--heading);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1.5px solid var(--line);
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s cubic-bezier(.2,.7,.2,1);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.fpill .swatch { width: 9px; height: 9px; border-radius: 50%; }
.fpill:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.fpill.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.fpill.is-on.fpill-easy { background: var(--easy); border-color: var(--easy); }
.fpill.is-on.fpill-mid  { background: var(--mid);  border-color: var(--mid); color: #3A2C02; }
.fpill.is-on.fpill-hard { background: var(--hard); border-color: var(--hard); }

.filter-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}
.filter-count {
  font-family: var(--heading);
  font-weight: 700;
  color: var(--ink);
}
.filter-count b { color: var(--accent-ink); }
.filter-reset {
  font-family: var(--heading);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink-soft);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.filter-reset:hover { color: var(--accent-ink); }

/* =========================================================
   Route grid + cards (theme signature: elevation profile)
   ========================================================= */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(18px, 2vw, 26px);
}
.route-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .26s cubic-bezier(.2,.7,.2,1), box-shadow .26s, border-color .26s, opacity .3s;
  min-width: 0;
}
.route-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.route-card.is-hidden {
  display: none;
}
.route-card.fade-out { opacity: 0; transform: translateY(6px); }

.rc-top {
  position: relative;
  padding: 16px 18px 0;
}
.rc-chips {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.rc-fav {
  color: var(--ink-faint);
  font-size: .78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-variant-numeric: tabular-nums;
}
.rc-fav svg { width: 14px; height: 14px; color: var(--accent-2); fill: var(--accent-2); }
.rc-title {
  font-size: 1.24rem;
  margin-bottom: 4px;
}
.rc-zone {
  font-size: .86rem;
  color: var(--ink-faint);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.rc-zone svg { width: 14px; height: 14px; }

/* elevation profile SVG */
.rc-elev {
  width: 100%;
  height: 66px;
  margin-bottom: 12px;
  display: block;
}
.rc-elev .grid-line { stroke: var(--line); stroke-width: 1; }
.rc-elev .fill { opacity: .16; }
.rc-elev .stroke { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.route-card[data-diff="easy"] .rc-elev .fill { fill: var(--easy); }
.route-card[data-diff="easy"] .rc-elev .stroke { stroke: var(--easy); }
.route-card[data-diff="mid"] .rc-elev .fill { fill: var(--mid); }
.route-card[data-diff="mid"] .rc-elev .stroke { stroke: var(--mid); }
.route-card[data-diff="hard"] .rc-elev .fill { fill: var(--hard); }
.route-card[data-diff="hard"] .rc-elev .stroke { stroke: var(--hard); }

.rc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 18px 14px;
}
.rc-foot {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.rc-price .cur { font-size: .78rem; color: var(--ink-faint); font-weight: 600; }
.rc-price .amt {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 1.42rem;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.rc-price .per { font-size: .78rem; color: var(--ink-faint); }
.rc-book {
  font-family: var(--heading);
  font-weight: 700;
  font-size: .88rem;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  transition: all .2s;
}
.rc-book:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.rc-book svg { width: 15px; height: 15px; }

.routes-empty {
  display: none;
  text-align: center;
  padding: 48px 20px;
  color: var(--ink-soft);
  grid-column: 1 / -1;
}
.routes-empty.show { display: block; }
.price-note {
  margin-top: 22px;
  font-size: .84rem;
  color: var(--ink-faint);
}

/* =========================================================
   Featured route
   ========================================================= */
.featured-wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}
.featured-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3.2;
}
.featured-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}
.featured-media:hover img { transform: scale(1.06); }
.featured-media .ribbon {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--accent-2);
  color: #3A2C02;
  font-family: var(--heading);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .02em;
  padding: 7px 14px;
  border-radius: 999px;
}
.featured-media .overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 20px 18px;
  background: linear-gradient(transparent, rgba(20,28,38,.82));
  color: #fff;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.featured-media .overlay .badge {
  background: rgba(255,255,255,.16);
  color: #fff;
  backdrop-filter: blur(4px);
}
.featured-media .overlay .badge svg { color: rgba(255,255,255,.8); }

.featured-body h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: .3em 0 .35em; }
.featured-body p { color: var(--ink-soft); font-size: 1.05rem; }
.featured-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
  display: grid;
  gap: 12px;
}
.featured-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}
.featured-list .ic {
  width: 30px; height: 30px;
  flex: 0 0 30px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border-radius: 8px;
  color: var(--accent-ink);
}
.featured-list .ic svg { width: 17px; height: 17px; }
.featured-list b { display: block; color: var(--ink); font-family: var(--heading); }
.featured-list span { color: var(--ink-soft); font-size: .92rem; }
.featured-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}
.featured-price .amt {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.featured-price .lbl { color: var(--ink-faint); font-size: .9rem; }

/* =========================================================
   Equipment (minimum kit)
   ========================================================= */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.equip-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform .24s cubic-bezier(.2,.7,.2,1), background .24s;
}
.equip-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.09); }
.equip-ic {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: rgba(242,183,5,.16);
  color: var(--accent-2);
  border-radius: 12px;
  margin-bottom: 14px;
}
.equip-ic svg { width: 24px; height: 24px; }
.equip-card h3 { color: #fff; font-size: 1.08rem; margin-bottom: 6px; }
.equip-card p { color: #B9C4D2; font-size: .92rem; margin: 0; }

/* =========================================================
   Reviews (editorial grid, no carousel)
   ========================================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .24s cubic-bezier(.2,.7,.2,1), box-shadow .24s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-card.feature { grid-column: span 2; }
.review-stars { color: var(--accent-2); margin-bottom: 12px; letter-spacing: 2px; font-size: 1rem; }
.review-text { color: var(--ink); font-size: 1rem; margin-bottom: 18px; }
.review-card.feature .review-text { font-size: 1.14rem; }
.review-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-ava {
  width: 42px; height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid; place-items: center;
  font-family: var(--heading);
  font-weight: 800;
  color: var(--accent-ink);
}
.review-who b { display: block; font-family: var(--heading); font-size: .96rem; }
.review-who span { font-size: .82rem; color: var(--ink-faint); }

/* rating banner */
.rating-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
  margin-bottom: 34px;
}
.rating-score {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.rating-score .big {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 2.6rem;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.rating-score .out { color: var(--ink-faint); font-weight: 600; }
.rating-meta { color: var(--ink-soft); font-size: .94rem; }
.rating-meta .stars { color: var(--accent-2); letter-spacing: 2px; }

/* =========================================================
   Steps (process) — vertical timeline
   ========================================================= */
.steps {
  display: grid;
  gap: 0;
  max-width: 860px;
}
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding-bottom: 30px;
  position: relative;
}
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 29px; top: 56px; bottom: 0;
  width: 2px;
  background: var(--line);
}
.step-num {
  width: 60px; height: 60px;
  flex: 0 0 60px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 2px solid var(--accent);
  color: var(--accent-ink);
  border-radius: 50%;
  font-family: var(--heading);
  font-weight: 800;
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
}
.step-body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.step-body .when {
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--surface-2);
  padding: 2px 9px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 8px;
}
.step-body p { color: var(--ink-soft); margin: 0; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 860px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px clamp(18px, 3vw, 26px);
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  color: var(--accent-ink);
  transition: transform .3s, background .3s, border-color .3s;
  position: relative;
}
.faq-item summary .ic::before,
.faq-item summary .ic::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.faq-item summary .ic::before { width: 12px; height: 2px; }
.faq-item summary .ic::after { width: 2px; height: 12px; transition: transform .3s; }
.faq-item[open] summary .ic { background: var(--accent); border-color: var(--accent); color: #fff; }
.faq-item[open] summary .ic::after { transform: scaleY(0); }
.faq-item > .answer {
  height: 0;
  padding: 0 clamp(18px, 3vw, 26px);
  overflow: hidden;
  transition: height 360ms cubic-bezier(.4,0,.2,1), padding-block-end 360ms cubic-bezier(.4,0,.2,1);
}
.faq-item[open] > .answer {
  height: auto;
  padding-block-end: 22px;
}
.faq-item > .answer p { color: var(--ink-soft); margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .faq-item > .answer { transition: none; }
}

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.channel-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  transition: transform .24s cubic-bezier(.2,.7,.2,1), box-shadow .24s, border-color .24s;
}
.channel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.channel-ic {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--accent-ink);
  margin-bottom: 14px;
  transition: background .24s, color .24s;
}
.channel-card:hover .channel-ic { background: var(--accent); color: #fff; }
.channel-ic svg { width: 22px; height: 22px; }
.channel-card .cname {
  font-family: var(--heading);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 3px;
}
.channel-card .cval {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--ink);
  word-break: break-word;
}
.channel-card .csub { font-size: .84rem; color: var(--ink-soft); margin-top: 3px; }

/* form */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label {
  font-family: var(--heading);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46,107,230,.14);
}
.field.consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.field.consent label {
  font-weight: 400;
  font-size: .86rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.field input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 18px; height: 18px;
  min-width: 18px; min-height: 18px;
  padding: 0; border: 0; margin: 2px 0 0;
  accent-color: var(--accent);
}

/* hours */
.hours-list {
  display: grid;
  gap: 4px;
  list-style: none;
  padding: 0; margin: 0;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
}
.hours-list li:nth-child(odd) { background: var(--surface-2); }
.hours-list li.today {
  background: rgba(46,107,230,.10);
  border: 1px solid rgba(46,107,230,.28);
}
.hours-list li b { font-family: var(--heading); }
.hours-list li span { color: var(--ink-soft); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: #B9C4D2;
  padding: clamp(44px, 6vw, 72px) 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3vw, 44px);
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand small { color: #8898AD; }
.footer-brand p { color: #94A2B6; font-size: .92rem; max-width: 34ch; }
.footer-col h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a { color: #B9C4D2; font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-col .line-item {
  display: flex;
  gap: 9px;
  font-size: .92rem;
  color: #B9C4D2;
  align-items: flex-start;
}
.footer-col .line-item svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 3px; color: #8898AD; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-size: .84rem;
  color: #8898AD;
}
.footer-bottom a { color: #8898AD; }
.footer-bottom a:hover { color: var(--accent-2); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badges span {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: .78rem;
}

/* =========================================================
   Cookie banner
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 240ms;
  z-index: 9999;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner h3 { font-size: 1.1rem; margin-bottom: 6px; }
.cookie-banner p { font-size: .9rem; color: var(--ink-soft); margin-bottom: 14px; }
.cookie-banner p a { color: var(--accent-ink); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { padding: 11px 18px; font-size: .92rem; flex: 1 1 auto; min-height: 44px; }
/* Consent parity: Rechazar must carry the same visual weight as Aceptar
   (solid fill, not a subordinate outline). Configurar stays tertiary. */
.cookie-actions [data-consent="reject"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.cookie-actions [data-consent="reject"]:hover,
.cookie-actions [data-consent="reject"]:focus-visible {
  background: #0F1620;
  color: #fff;
  border-color: #0F1620;
  transform: translateY(-2px);
}
.cookie-actions [data-consent="settings"] { flex: 1 1 100%; }
@media (min-width: 620px) {
  .cookie-banner { left: 24px; right: auto; max-width: 420px; }
}

/* cookie settings modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20,28,38,.55);
}
.cookie-modal.is-open { display: flex; }
.cookie-modal-box {
  background: var(--surface);
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}
.cookie-modal-box h3 { font-size: 1.24rem; margin-bottom: 8px; }
.cookie-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cookie-toggle:last-of-type { border-bottom: 0; }
.cookie-toggle b { font-family: var(--heading); display: block; margin-bottom: 3px; }
.cookie-toggle span { font-size: .86rem; color: var(--ink-soft); }
.cookie-toggle input {
  appearance: auto; -webkit-appearance: auto;
  width: 20px; height: 20px; margin-top: 3px;
  accent-color: var(--accent);
}
.cookie-modal-actions { margin-top: 18px; display: flex; justify-content: flex-end; }

/* =========================================================
   Reveal / motion
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms cubic-bezier(.2,.7,.2,1), transform 600ms cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
html.no-js .reveal { opacity: 1; transform: none; }

/* ambient decor */
.leaf-drift {
  position: absolute;
  pointer-events: none;
  color: var(--accent-2);
  opacity: .5;
  animation: drift 13s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(14px,-18px) rotate(18deg); }
}
@media (prefers-reduced-motion: reduce) { .leaf-drift { animation: none; } }

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero {
  padding: clamp(40px, 6vw, 78px) 0 clamp(28px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -100px; right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(46,107,230,.13), transparent 70%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: .3em 0 .3em; position: relative; }
.page-hero p { color: var(--ink-soft); font-size: 1.1rem; max-width: 58ch; position: relative; }
.breadcrumb {
  font-size: .86rem;
  color: var(--ink-faint);
  margin-bottom: 4px;
  position: relative;
}
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--accent-ink); }

/* prose / legal */
.prose { max-width: 800px; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.16rem; margin: 1.3em 0 .4em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--ink); }
.prose .updated { font-size: .88rem; color: var(--ink-faint); margin-bottom: 2em; }

/* team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .24s cubic-bezier(.2,.7,.2,1), box-shadow .24s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-photo { aspect-ratio: 4/3.4; overflow: hidden; background: var(--surface-2); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-info { padding: 20px; }
.team-info h3 { font-size: 1.16rem; margin-bottom: 2px; }
.team-info .role { color: var(--accent-ink); font-weight: 700; font-size: .88rem; margin-bottom: 10px; }
.team-info p { color: var(--ink-soft); font-size: .92rem; margin: 0; }

/* pricing tiers */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: stretch;
}
.tier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .24s cubic-bezier(.2,.7,.2,1), box-shadow .24s;
}
.tier:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tier.featured { border-color: var(--accent); box-shadow: 0 20px 50px -28px rgba(46,107,230,.55); }
.tier-tag {
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  font-family: var(--heading);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.tier h3 { font-size: 1.3rem; margin-bottom: 4px; }
.tier .tier-sub { color: var(--ink-soft); font-size: .9rem; margin-bottom: 16px; }
.tier .tier-price {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
.tier .tier-price small { font-size: .9rem; font-weight: 600; color: var(--ink-faint); }
.tier ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.tier ul li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  font-size: .93rem;
  color: var(--ink-soft);
  align-items: start;
}
.tier ul li svg { width: 16px; height: 16px; margin-top: 3px; flex: 0 0 16px; }
.tier ul li.yes svg { color: var(--easy); }
.tier ul li.no { color: var(--ink-faint); }
.tier ul li.no svg { color: var(--hard); }
.tier .btn { margin-top: auto; }

/* table */
.table-scroll {
  display: block; width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.table-scroll > table { margin: 0 !important; min-width: 480px; width: 100%; border-collapse: collapse; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }
table th, table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: .94rem;
}
table th {
  font-family: var(--heading);
  font-weight: 700;
  background: var(--surface-2);
  color: var(--ink);
}
table td { color: var(--ink-soft); }
table tr:last-child td { border-bottom: 0; }

/* thank you / 404 */
.centered-msg {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 20px;
}
.centered-msg .inner { max-width: 560px; }
.centered-msg .icon-big {
  width: 84px; height: 84px;
  margin: 0 auto 24px;
  display: grid; place-items: center;
  background: var(--easy-bg);
  color: var(--easy);
  border-radius: 50%;
}
.centered-msg .icon-big svg { width: 42px; height: 42px; }
.centered-msg h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .4em; }
.centered-msg p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 1.6em; }
.big-404 {
  font-family: var(--heading);
  font-weight: 800;
  font-size: clamp(5rem, 16vw, 10rem);
  letter-spacing: -.04em;
  color: var(--accent);
  line-height: .9;
  margin-bottom: .1em;
}

/* sitemap */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.sitemap-col h3 { font-size: 1.1rem; margin-bottom: 12px; }
.sitemap-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sitemap-col a { color: var(--ink-soft); display: inline-flex; gap: 8px; align-items: center; }
.sitemap-col a:hover { color: var(--accent-ink); }
.sitemap-col a::before { content: "→"; color: var(--accent-2); }

/* stat row generic */
.mini-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  color: var(--ink-soft);
  background: var(--surface-2);
  border-radius: 8px;
  padding: 8px 14px;
  margin-top: 16px;
}
.mini-note svg { width: 16px; height: 16px; color: var(--accent-ink); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .nav-desktop, .header-cta .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .featured-wrap { grid-template-columns: 1fr; }
  .featured-media { aspect-ratio: 16/10; max-width: 620px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .review-card.feature { grid-column: span 1; }
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .panel-stats { gap: 8px; }
  .step { grid-template-columns: 48px 1fr; gap: 14px; }
  .step-num { width: 48px; height: 48px; flex: 0 0 48px; font-size: 1.15rem; }
  .step:not(:last-child)::before { left: 23px; top: 48px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-panel { padding: 18px; }
  .panel-stat .n { font-size: 1.45rem; }
  .search-box { flex-wrap: wrap; padding: 10px; }
  .search-box .btn { width: 100%; }
  .cookie-actions .btn { flex: 1 1 100%; }
  .rc-title { font-size: 1.16rem; }
  .rating-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .routes-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 2.3rem; }
}

.scroll-progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--accent);z-index:9998;transition:width 80ms linear;pointer-events:none}

/* header-cta-padding-guard v1 */
.nav-desktop a.nav-cta, header a.nav-cta, .site-header a.nav-cta {
  padding: 10px 18px;
}

/* =========================================================
   ★ AWARD LAYER — cinematic hero, parallax, fog, tilt
   (appended; overrides earlier rules by order + specificity)
   ========================================================= */
:root {
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

/* editorial serif display for primary headings */
h1, h2,
.section-head h2,
.featured-body h2,
.page-hero h1,
.centered-msg h1 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.018em;
}
.hero-panel-head h2 { font-family: var(--display); }

/* ---- glass button (for dark photo hero) ---- */
.btn-glass {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.55);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
}
.btn-glass:hover, .btn-glass:focus-visible {
  background: rgba(255,255,255,.92);
  color: var(--ink);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ---- transparent header while over the cinematic hero ---- */
body.home main { padding-top: 0; }
body.home .site-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}
body.home .site-header:not(.is-scrolled) .brand { color: #fff; }
body.home .site-header:not(.is-scrolled) .brand small { color: rgba(255,255,255,.72); }
body.home .site-header:not(.is-scrolled) .nav-desktop a { color: rgba(255,255,255,.82); }
body.home .site-header:not(.is-scrolled) .nav-desktop a:hover,
body.home .site-header:not(.is-scrolled) .nav-desktop a.is-active { color: #fff; }
body.home .site-header:not(.is-scrolled) .nav-toggle {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.45);
}
body.home .site-header:not(.is-scrolled) .nav-toggle span { background: #fff; }
body.home .site-header.is-scrolled {
  background: rgba(255,255,255,.98);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -16px rgba(28,37,48,.28);
}

/* =========================================================
   Cinematic hero
   ========================================================= */
.hero--cinema {
  position: relative;
  min-height: 88vh;
  min-height: 88svh;
  padding: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0E141B;
  isolation: isolate;
}
.hero--cinema::before, .hero--cinema::after { display: none !important; }

.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-imgwrap { position: absolute; inset: -4% -2%; will-change: transform; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform: scale(1.06);
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0%   { transform: scale(1.06) translate3d(0,0,0); }
  100% { transform: scale(1.16) translate3d(-1.5%, -2%, 0); }
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,20,27,.52) 0%, rgba(14,20,27,.10) 24%, rgba(14,20,27,.34) 56%, rgba(14,20,27,.94) 100%),
    linear-gradient(72deg, rgba(14,20,27,.82) 0%, rgba(14,20,27,.34) 44%, rgba(14,20,27,0) 74%);
}
.hero-fog {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .6;
}
.hero-range {
  position: absolute; left: -8%; bottom: -1px;
  width: 116%; height: clamp(120px, 26vh, 260px);
  will-change: transform;
  pointer-events: none;
}
.hero-range--back path { fill: rgba(18,26,35,.55); }
.hero-range--front { height: clamp(90px, 20vh, 200px); }
.hero-range--front path { fill: rgba(9,13,18,.82); }

.hero--cinema .hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: calc(var(--header-h) + clamp(12px, 3vh, 32px));
  padding-bottom: clamp(64px, 11vh, 132px);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--heading);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-title {
  color: #fff;
  font-size: clamp(2.6rem, 8.4vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.03em;
  margin: .28em 0 .34em;
  text-shadow: 0 6px 40px rgba(0,0,0,.35);
  max-width: 16ch;
}
.hero-title.reveal { opacity: 1; transform: none; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span {
  display: block;
  transform: translateY(116%);
  transition: transform 1s cubic-bezier(.16,1,.3,1);
}
.hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.hero-title.is-in .line > span { transform: none; }
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-2);
}
html.no-js .hero-title .line > span { transform: none; }

.hero-lede {
  color: rgba(255,255,255,.9);
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.5;
  max-width: 46ch;
  margin: 0 0 1.7em;
  text-shadow: 0 2px 18px rgba(0,0,0,.4);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 12px 26px;
  list-style: none; padding: 0; margin: 0;
}
.hero-trust li {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--heading);
  font-weight: 600;
  font-size: .92rem;
  color: rgba(255,255,255,.92);
}
.hero-trust svg { width: 18px; height: 18px; color: var(--accent-2); flex: 0 0 auto; }

.hero-scroll {
  position: absolute;
  left: 50%; bottom: clamp(16px, 3vh, 30px);
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.85);
  font-family: var(--heading);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero-scroll svg { width: 22px; height: 22px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.hero-scroll:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .hero-img { animation: none; transform: scale(1.04); }
  .hero-title .line > span { transform: none !important; transition: none; }
  .hero-scroll svg { animation: none; }
}

/* =========================================================
   Stats band (counters: rutas / km / desnivel / años)
   ========================================================= */
.statband { background: var(--ink); color: #E9EEF5; padding: clamp(30px, 4vw, 52px) 0; }
.statband-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2.4vw, 40px);
}
.statband-item { position: relative; padding-left: 20px; }
.statband-item::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 3px; border-radius: 3px;
  background: linear-gradient(var(--accent-2), var(--accent));
}
.statband-item .n {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.statband-item .l {
  display: block;
  margin-top: 8px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: #9FB0C4;
}

/* =========================================================
   Route search (in filter bar)
   ========================================================= */
.route-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 4px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.route-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,107,230,.14); }
.route-search svg { width: 20px; height: 20px; color: var(--ink-faint); flex: 0 0 auto; }
.route-search input {
  flex: 1; min-width: 0;
  border: 0; background: transparent;
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  padding: 12px 0;
}
.route-search input:focus { outline: none; }

/* =========================================================
   Elevation line-draw + 3D tilt route cards
   ========================================================= */
.rc-elev .stroke {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.5s cubic-bezier(.2,.7,.2,1) .15s;
}
.route-card.is-in .rc-elev .stroke { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .rc-elev .stroke { stroke-dashoffset: 0; transition: none; }
}

.route-card {
  --ty: 0px; --rx: 0deg; --ry: 0deg;
  position: relative;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0, var(--ty), 0);
  transition: transform .32s cubic-bezier(.2,.7,.2,1), box-shadow .28s, border-color .26s, opacity .55s;
  will-change: transform;
}
.route-card.reveal { opacity: 0; --ty: 30px; }
.route-card.reveal.is-in { opacity: 1; --ty: 0px; }
.route-card:hover {
  --ty: -6px;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0, var(--ty), 0);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.route-card.is-tilting { transition: box-shadow .28s, border-color .26s, opacity .55s; }
.route-card .rc-sheen {
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(340px circle at var(--mx,50%) var(--my,0%), rgba(255,255,255,.22), transparent 60%);
  transition: opacity .3s;
  z-index: 2;
}
.route-card.is-tilting .rc-sheen { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .route-card { transition: box-shadow .28s, border-color .26s, opacity .3s; transform: none; }
  .route-card.reveal { --ty: 0px; }
}

/* image gallery tiles (real photos) */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(120px, 15vw, 200px);
  gap: clamp(10px, 1.4vw, 16px);
}
.gtile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.gtile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.gtile:hover img { transform: scale(1.07); }
.gtile figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 26px 16px 14px;
  background: linear-gradient(transparent, rgba(14,20,27,.82));
  color: #fff;
  font-family: var(--heading);
  font-weight: 700;
  font-size: .92rem;
  display: flex; align-items: center; gap: 7px;
}
.gtile figcaption svg { width: 15px; height: 15px; color: var(--accent-2); }
.gtile--a { grid-column: span 7; grid-row: span 2; }
.gtile--b { grid-column: span 5; }
.gtile--c { grid-column: span 5; }
.gtile--d { grid-column: span 4; }
.gtile--e { grid-column: span 4; }
.gtile--f { grid-column: span 4; }
@media (max-width: 760px) {
  .gallery { grid-auto-rows: clamp(120px, 30vw, 190px); }
  .gtile--a { grid-column: span 12; }
  .gtile--b, .gtile--c { grid-column: span 6; }
  .gtile--d, .gtile--e, .gtile--f { grid-column: span 4; }
}
@media (max-width: 480px) {
  .gtile--a { grid-row: span 2; }
  .gtile--d, .gtile--e, .gtile--f { grid-column: span 6; }
  .gtile--f { grid-column: span 12; }
}

/* =========================================================
   Cinematic hero — responsive
   ========================================================= */
@media (max-width: 1024px) {
  body.home .site-header .nav-cta { display: none; }
}
@media (max-width: 760px) {
  .statband-grid { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
}
@media (max-width: 420px) {
  .hero-title { font-size: clamp(2.1rem, 12vw, 2.6rem); max-width: 100%; }
  .hero--cinema { min-height: 92svh; }
}
