/* =============================================================
   LO SALTO LA VIEJA — styles.css
   Concepto: REFUGIO DE MONTAÑA — paleta "Bosque del Pirineo"
   Verde pino · piedra/lino · latón · verde bosque · toques a mano
   ============================================================= */

/* 1. TOKENS ---------------------------------------------------- */
:root {
  --paper:   #E9E4D6;   /* piedra / lino — fondo */
  --paper-2: #DCD4C0;   /* piedra cálida */
  --panel:   #F6F2E8;   /* hueso — paneles */
  --wood:    #1E2A20;   /* verde bosque oscuro — nav/footer/bandas */
  --wood-2:  #2A3A2D;
  --ink:     #232B22;   /* texto verde-carbón */
  --ink-soft:#46503F;
  --mute:    #7E8473;   /* salvia — metadatos */
  --accent:  #355E3A;   /* verde pino — acento principal */
  --accent-2:#284A2E;
  --gold:    #B08D4C;   /* latón / oro viejo — secundario */
  --on-wood: #ECE7D7;   /* texto sobre verde oscuro */
  --on-wood-mute: #AEB39B;
  --line:    rgba(30,42,30,.16);
  --line-2:  rgba(30,42,30,.08);

  --serif:  "Playfair Display", Georgia, serif;
  --sans:   "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --hand:   "Caveat", "Segoe Script", cursive;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --wrap: 1200px;
  --pad: clamp(1.2rem, 5vw, 3.2rem);
}

@property --accentglow { syntax: "<number>"; initial-value: 0; inherits: false; }

/* 2. RESET ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  font-family: var(--sans);
  font-size: 16px; line-height: 1.7;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip; overscroll-behavior-y: none;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.07; letter-spacing: -.01em; text-wrap: balance; color: var(--ink); }
::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 9999; padding: .6rem 1rem; background: var(--wood); color: var(--on-wood); border-radius: 4px; font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* paper grain texture (cálido, sutil) sobre todo el body */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 3. UTILS ----------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(3.5rem, 9vw, 7rem); position: relative; }
.kicker { font-family: var(--hand); font-weight: 700; font-size: 1.5rem; color: var(--accent); line-height: 1; margin-bottom: .4rem; }
.eyebrow { font-family: var(--sans); font-weight: 700; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(2.1rem, 5.5vw, 3.7rem); }
.section-lead { color: var(--ink-soft); margin-top: 1rem; font-size: 1.06rem; max-width: 60ch; }
em { font-style: italic; }
.ember-rule { display: inline-block; width: 60px; height: 3px; background: var(--accent); border-radius: 2px; }

/* 4. BUTTONS — rectos con filete ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.7rem; border-radius: 3px; font-weight: 700; font-size: .9rem;
  letter-spacing: .04em; text-transform: uppercase;
  border: 1.5px solid transparent; transition: transform .35s var(--ease-out), background-color .35s, color .35s, border-color .35s;
}
.btn-primary { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2.2rem; font-size: .95rem; }
/* sobre madera */
.on-dark .btn-ghost { color: var(--on-wood); border-color: rgba(242,231,210,.3); }
.on-dark .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* 5. NAV — centrada ------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 200; transition: background-color .5s, box-shadow .5s, padding .4s; }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; max-width: 1320px; margin-inline: auto; padding: .85rem var(--pad); }
.nav-brand { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.nav-brand img { width: 52px; height: 52px; transition: transform .4s var(--ease-out); }
.nav-brand-text { font-family: var(--serif); font-size: 1rem; color: var(--on-wood); letter-spacing: .02em; opacity: 0; max-height: 0; overflow: hidden; transition: opacity .4s, max-height .4s; }
.nav-links { grid-column: 3; justify-self: end; display: none; gap: 1.6rem; align-items: center; }
.nav-links a { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-wood); position: relative; padding: .3rem 0; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.nav[data-scrolled="true"] .nav-links a { text-shadow: none; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width .35s var(--ease-out); }
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { grid-column: 1; justify-self: start; display: none; }
.nav[data-scrolled="true"] { background: var(--wood); box-shadow: 0 2px 24px -8px rgba(0,0,0,.5); }
.nav[data-scrolled="true"] .nav-brand img { width: 42px; height: 42px; }

.nav-toggle { grid-column: 3; justify-self: end; display: flex; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--on-wood); transition: transform .3s, opacity .3s; }
.nav[data-open="true"] .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav[data-open="true"] .nav-toggle span:nth-child(2) { opacity: 0; }
.nav[data-open="true"] .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { display: grid; gap: .1rem; overflow: hidden; max-height: 0; background: var(--wood-2); transition: max-height .45s var(--ease-out); padding-inline: var(--pad); }
.nav[data-open="true"] .nav-mobile { max-height: 360px; padding-block: .8rem 1.4rem; }
.nav-mobile a { padding: .85rem .2rem; font-size: 1rem; color: var(--on-wood); border-bottom: 1px solid rgba(242,231,210,.12); letter-spacing: .08em; text-transform: uppercase; }
.nav-mobile a.btn { border: 0; margin-top: 1rem; justify-content: center; }

/* 6. SPLASH ---------------------------------------------------- */
.splash { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--wood); animation: splashSafety .01s 4.5s forwards; }
.splash.is-out { opacity: 0; pointer-events: none; transition: opacity .7s var(--ease-out); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; visibility: hidden; } }
.splash-inner { display: grid; justify-items: center; gap: 1rem; }
.splash-logo { width: 116px; height: 116px; animation: splashRise 1s var(--ease-out) both; }
.splash-name { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--on-wood); animation: splashRise 1s .12s var(--ease-out) both; }
.splash-ember { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(181,71,31,.3), transparent 65%); filter: blur(26px); animation: emberPulse 3.4s ease-in-out infinite; }
@keyframes splashRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes emberPulse { 0%,100% { transform: scale(1); opacity: .65; } 50% { transform: scale(1.14); opacity: 1; } }

/* 7. HERO — banner fijo + reveal (la imagen queda fija y el
   contenido sube por encima al hacer scroll) -------------------- */
.hero { position: relative; height: 88svh; min-height: 560px; overflow: hidden; display: grid; place-items: end center; text-align: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg picture { position: absolute; inset: 0; display: block; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform-origin: 62% 42%; animation: heroKenBurns 26s ease-in-out infinite alternate; will-change: transform; }
@keyframes heroKenBurns {
  0%   { transform: scale(1.04) translate3d(0, 0, 0); }
  100% { transform: scale(1.13) translate3d(-1.5%, -1.4%, 0); }
}
.hero-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(22,30,22,.5) 0%, transparent 16%, transparent 44%, rgba(22,30,22,.6) 72%, rgba(22,30,22,.92) 100%),
    radial-gradient(140% 80% at 50% 8%, transparent 60%, rgba(22,30,22,.35) 100%); }
/* resplandor cálido del atardecer (sol bajo) que respira */
.hero-glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen;
  background:
    radial-gradient(46% 42% at 79% 20%, rgba(255,198,122,.36), transparent 70%),
    radial-gradient(62% 46% at 34% 82%, rgba(201,138,60,.16), transparent 72%);
  animation: glowBreath 9s ease-in-out infinite; }
@keyframes glowBreath { 0%,100% { opacity: .55; } 50% { opacity: .95; } }
/* motas de polvo doradas flotando en la luz del sol */
.hero-embers { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.mote { position: absolute; bottom: -10px; width: var(--s,3px); height: var(--s,3px); border-radius: 50%;
  background: radial-gradient(circle, rgba(255,241,212,.95), rgba(255,206,140,.12));
  box-shadow: 0 0 6px 1px rgba(255,213,150,.4); filter: blur(.3px);
  opacity: 0; animation: moteFloat var(--d,18s) ease-in-out infinite var(--del,0s); }
@keyframes moteFloat {
  0%   { transform: translate3d(0, 0, 0) scale(.6); opacity: 0; }
  15%  { opacity: .55; }
  50%  { transform: translate3d(calc(var(--x,12px) * .5), -46svh, 0) scale(1); opacity: .7; }
  85%  { opacity: .4; }
  100% { transform: translate3d(var(--x,12px), -92svh, 0) scale(.85); opacity: 0; }
}
.hero-content { position: relative; z-index: 2; display: grid; justify-items: center; gap: .7rem; max-width: 880px; padding: 0 var(--pad) clamp(2.4rem, 6vh, 4.5rem); }
.hero-emblem { width: clamp(74px, 9vw, 100px); height: auto; filter: drop-shadow(0 12px 30px rgba(0,0,0,.55)); }
.hero-kicker { font-family: var(--hand); font-size: 1.75rem; color: var(--gold); line-height: 1; text-shadow: 0 2px 16px rgba(0,0,0,.55); }
.hero-title { font-size: clamp(2.6rem, 7vw, 5rem); line-height: .98; color: var(--paper); text-shadow: 0 3px 26px rgba(0,0,0,.6); }
.hero-title em { color: var(--gold); }
.hero-loc { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--on-wood); text-shadow: 0 1px 12px rgba(0,0,0,.65); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.1rem; }

/* 8. BLOQUES EDITORIALES (foto ↔ texto) ----------------------- */
.feature { display: grid; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.feature-fig { position: relative; overflow: hidden; border-radius: 4px; box-shadow: 0 30px 50px -34px rgba(30,42,30,.6); }
.feature-fig::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 4px; }
.feature-fig img { width: 100%; aspect-ratio: 5/4; object-fit: cover; transition: transform 1s var(--ease-out); }
.feature-fig:hover img { transform: scale(1.04); }
.feature-fig figcaption { position: absolute; left: 1rem; bottom: .8rem; font-family: var(--hand); font-size: 1.3rem; color: var(--paper); text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.feature-text h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
.feature-text h2 em { color: var(--accent); }
.feature-text p { color: var(--ink-soft); margin-top: 1.1rem; }
.feature-text .ember-rule { margin-top: 1.4rem; }

/* lista de valores (en vez de tarjetas bento) */
.valores { list-style: none; display: grid; gap: 1.3rem; margin-top: 2rem; }
.valor { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line-2); }
.valor:last-child { border-bottom: 0; }
.valor-ico { width: 50px; height: 50px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 50%; color: var(--accent); flex: 0 0 auto; }
.valor-ico svg { width: 26px; height: 26px; }
.valor h3 { font-size: 1.2rem; margin-bottom: .25rem; }
.valor p { color: var(--mute); font-size: .95rem; }

/* 9. SECCIÓN VALLE / SIRESA (banda piedra) -------------------- */
.valle { background: var(--paper-2); }

/* 10. CARTA — menú de casa CON fotos -------------------------- */
.carta { background: var(--panel); }
/* destacados con foto */
.destacados { display: grid; gap: 1.4rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.dish { position: relative; overflow: hidden; border-radius: 4px; min-height: 240px; display: flex; align-items: flex-end; box-shadow: 0 24px 44px -30px rgba(30,42,30,.6); }
.dish img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.dish:hover img { transform: scale(1.06); }
.dish-body { position: relative; width: 100%; padding: 1.4rem 1.3rem 1.2rem; color: var(--on-wood); background: linear-gradient(transparent, rgba(22,30,22,.55) 35%, rgba(22,30,22,.92)); }
.dish-body h3 { color: var(--paper); font-size: 1.5rem; }
.dish-body p { color: var(--on-wood-mute); font-size: .88rem; margin-top: .25rem; }
.dish-price { font-family: var(--hand); font-size: 1.9rem; color: var(--gold); line-height: 1; margin-top: .4rem; }

/* índice de carta (anclas) */
.carta-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.4rem; }
.carta-chips a { padding: .45rem 1rem; border: 1.5px solid var(--line); border-radius: 3px; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); transition: all .3s var(--ease-out); }
.carta-chips a:hover, .carta-chips a.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* listado por columnas tipo carta impresa */
.carta-cols { columns: 2; column-gap: clamp(2rem, 5vw, 4rem); }
.menu-block { break-inside: avoid; margin-bottom: 2.2rem; }
.menu-block h3 { font-size: 1.5rem; color: var(--accent); display: flex; align-items: baseline; gap: .6rem; }
.menu-block h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.menu-note { font-family: var(--hand); font-size: 1.15rem; color: var(--gold); margin: .3rem 0 .6rem; }
.menu-tags { color: var(--ink-soft); font-size: .9rem; margin: .4rem 0 .8rem; line-height: 1.7; }
.menu-sub { font-family: var(--serif); font-size: 1.15rem; margin: 1.2rem 0 .2rem; }
.m-list { display: grid; gap: 0; }
.m-row { display: flex; align-items: baseline; gap: .5rem; padding: .42rem 0; border-bottom: 1px dotted var(--line); }
.m-row:last-child { border-bottom: 0; }
.m-row .nm { color: var(--ink); }
.m-row .nm small { display: block; color: var(--mute); font-size: .78rem; line-height: 1.4; margin-top: .1rem; }
.m-row .dots { flex: 1; }
.m-row .pr { font-family: var(--serif); font-weight: 600; color: var(--ink); white-space: nowrap; }
.m-row .pr .sep { color: var(--mute); margin: 0 .1rem; }
.m-row .pr .ud { font-family: var(--sans); font-size: .7rem; color: var(--mute); font-weight: 400; }
.menu-foot { color: var(--mute); font-size: .8rem; line-height: 1.6; margin-top: .8rem; font-style: italic; }
.carta-legal { text-align: center; color: var(--mute); font-size: .82rem; margin-top: 2rem; font-style: italic; }

/* experiencia chuletón destacada */
.experiencia { margin: 1.4rem 0 0; border: 2px solid var(--accent); border-radius: 6px; background: rgba(40,74,46,.06); overflow: hidden; break-inside: avoid; display: grid; grid-template-columns: 1fr; }
.experiencia-fig { margin: 0; position: relative; min-height: 240px; }
.experiencia-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.experiencia-body { padding: clamp(1.5rem, 3vw, 2.2rem); display: flex; flex-direction: column; justify-content: center; }
.experiencia .menu-note { margin-top: 0; }
.experiencia h3 { color: var(--ink); }
.experiencia h3::after { display: none; }
.experiencia p { color: var(--ink-soft); font-size: .92rem; margin: .6rem 0; }
.experiencia .price-big { font-family: var(--serif); font-size: 2.2rem; color: var(--accent); margin-top: .4rem; }
@media (min-width: 720px) {
  .experiencia { grid-template-columns: 1fr 1.05fr; align-items: stretch; }
  .experiencia-fig { min-height: 100%; }
}

/* 11. GALERÍA — grupos por temática, rejilla uniforme --------- */
.galeria { background: var(--paper); }
.gallery-group { margin-top: clamp(2rem, 5vw, 3.2rem); }
.gallery-group-title { font-family: var(--hand); color: var(--accent); font-size: 1.7rem; line-height: 1; display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.gallery-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.g-cell { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4/3; box-shadow: 0 16px 30px -24px rgba(30,42,30,.5); }
.g-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.g-cell::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 4px; }
.g-cell:hover img { transform: scale(1.05); }

/* 12. RESERVAS — banda madera/noche (guiño al logo) ----------- */
.reservas { position: relative; background: var(--wood); color: var(--on-wood); text-align: center; overflow: hidden; }
.reservas .eyebrow { color: var(--gold); }
.reservas::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 0%, rgba(176,141,76,.22), transparent 70%); pointer-events: none; }
.reservas-inner { position: relative; display: grid; justify-items: center; gap: 1rem; }
.reservas h2 { color: var(--paper); font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
.reservas h2 em { color: var(--gold); }
.reservas .section-lead { color: var(--on-wood-mute); }
.reservas-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.4rem; }
.reservas-alt { margin-top: 1.4rem; color: var(--on-wood-mute); font-size: .95rem; }
.reservas-alt a { color: var(--gold); border-bottom: 1px solid transparent; }
.reservas-alt a:hover { border-color: var(--gold); }
.reservas-pending { margin-top: 1rem; color: var(--gold); font-size: .9rem; max-width: 40ch; }

/* 13. CÓMO LLEGAR --------------------------------------------- */
.llegar { background: var(--paper-2); }
.llegar-grid { display: grid; gap: 2rem; }
.llegar-map { position: relative; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); min-height: 340px; box-shadow: 0 20px 40px -30px rgba(30,42,30,.5); }
.llegar-map iframe { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 340px; border: 0; }
.map-fallback { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; text-align: center; background: linear-gradient(160deg, rgba(39,29,22,.55), rgba(39,29,22,.78)), url("assets/img/siresa-aerea.webp") center/cover; }
.map-fallback span { padding: .8rem 1.4rem; border: 1.5px solid var(--gold); color: var(--gold); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; background: rgba(39,29,22,.6); }
.info-block { padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.info-block:last-child { border-bottom: 0; }
.info-block h3 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 700; color: var(--accent); margin-bottom: .6rem; }
.info-block p { color: var(--ink-soft); }
.info-block a[href^="tel"] { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.hours { list-style: none; display: grid; gap: .45rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-soft); font-size: .95rem; border-bottom: 1px dotted var(--line); padding-bottom: .35rem; }
.hours li span:last-child { color: var(--accent); white-space: nowrap; font-weight: 700; }
.hours-note { color: var(--mute); font-size: .78rem; font-style: italic; margin-top: .6rem; }
.link-arrow { display: inline-block; margin-top: .7rem; color: var(--accent); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; transition: transform .3s var(--ease-out); }
.link-arrow:hover { transform: translateX(4px); }

/* 14. FOOTER — madera/noche ----------------------------------- */
.footer { background: var(--wood); color: var(--on-wood); padding-top: clamp(3rem, 7vw, 5rem); position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer-inner { display: grid; gap: 2.2rem; padding-bottom: 2.4rem; }
.footer-brand img { width: 88px; height: 88px; margin-bottom: 1rem; }
.footer-tag { color: var(--on-wood-mute); font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.5; }
.footer-col h4 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; color: var(--gold); margin-bottom: 1rem; }
.footer-col p { color: var(--on-wood); font-size: .95rem; margin-bottom: .5rem; opacity: .9; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; padding-block: 1.5rem; border-top: 1px solid rgba(242,231,210,.12); color: var(--on-wood-mute); font-size: .8rem; }
.footer-credits a { color: var(--gold); }
.footer-credits a:hover { text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer-legal a { color: var(--on-wood-mute); transition: color .2s var(--ease-out); }
.footer-legal a:hover { color: var(--gold); }

/* 15. WHATSAPP FLOTANTE --------------------------------------- */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 300; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #25D366; box-shadow: 0 10px 30px -8px rgba(37,211,102,.6); transition: transform .4s var(--ease-out); }
.wa-float:hover { transform: translateY(-4px) scale(1.05); }

/* 16. REVEALS -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* 17. RESPONSIVE ---------------------------------------------- */
@media (min-width: 720px) {
  .hero { height: 92svh; }
  .feature { grid-template-columns: 1fr 1fr; }
  .feature.flip .feature-fig { order: 2; }
  .destacados { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: .9rem; }
  .llegar-grid { grid-template-columns: 1.3fr .9fr; }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav[data-scrolled="true"] .nav-brand-text { opacity: 1; max-height: 24px; }
  .destacados { grid-template-columns: repeat(4, 1fr); }
  .carta-cols { columns: 3; }
}

/* 18. REDUCED MOTION (solo intrusivo) ------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .splash-ember, .hero-glow { animation: none; }
  .hero-bg img { animation: none; transform: none; }
  .hero-embers { display: none; }
}

/* =============================================================
   PÁGINAS LEGALES (aviso legal · privacidad · cookies)
   ============================================================= */
.legal-top { position: sticky; top: 0; z-index: 60; background: var(--wood); color: var(--on-wood); border-bottom: 1px solid rgba(236,231,215,.12); }
.legal-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.legal-top a { color: var(--on-wood); }
.legal-top .brand { display: flex; align-items: center; gap: .6rem; }
.legal-top .brand img { width: 40px; height: 40px; border-radius: 50%; }
.legal-top .brand span { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.legal-back { font-size: .82rem; letter-spacing: .04em; display: inline-flex; align-items: center; gap: .4rem; transition: color .2s var(--ease-out); }
.legal-back:hover { color: var(--gold); }

.legal-hero { background: var(--wood); color: var(--on-wood); padding-block: clamp(2.4rem,6vw,4rem) clamp(1.8rem,5vw,3rem); }
.legal-hero .eyebrow { color: var(--gold); }
.legal-hero h1 { color: var(--on-wood); font-size: clamp(2rem,5.5vw,3.2rem); }
.legal-hero p { color: var(--on-wood-mute); margin-top: .7rem; max-width: 60ch; }

.legal { max-width: 820px; margin-inline: auto; padding-block: clamp(2.6rem,6vw,4.5rem); }
.legal > p:first-child { margin-top: 0; }
.legal h2 { font-size: clamp(1.35rem,3vw,1.9rem); margin-top: 2.6rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.12rem; margin-top: 1.7rem; color: var(--accent-2); }
.legal p { color: var(--ink-soft); margin-top: .95rem; }
.legal ul { margin: .9rem 0 .9rem 1.25rem; }
.legal li { color: var(--ink-soft); margin-top: .45rem; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--gold); }
.legal strong { color: var(--ink); }
.legal .updated { font-family: var(--hand); font-size: 1.3rem; color: var(--accent); margin-bottom: 1.8rem; }
.legal .pending { background: rgba(176,141,76,.14); border-left: 3px solid var(--gold); padding: .15rem .4rem; border-radius: 3px; font-style: italic; }
.legal-data { list-style: none; margin: 1rem 0 0; padding: 1.2rem 1.4rem; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
.legal-data li { margin-top: .35rem; }
.legal-data li:first-child { margin-top: 0; }
.legal-nav { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.legal-nav a { font-size: .9rem; color: var(--ink-soft); text-decoration: none; }
.legal-nav a:hover { color: var(--accent); }
