/* ═══════════════════════════════════════════════════════════════
   CATERING ALMA — Hoja de estilos
   Arquetipo: Editorial Light Cream · Paleta: marfil + oliva + dorado
   1. Tokens · 2. Reset · 3. Utilidades · 4. Tipografía · 5. Botones
   6. Splash · 7. Marca lateral · 8. Nav · 9. Hero · 10. Recorrido 360
   11. Servicios · 12. Nosotros · 13. Galería · 14. Reseñas
   15. Reserva · 16. Footer · 17. Reveal/anim · 18. Responsive · 19. Reduced-motion
   ═══════════════════════════════════════════════════════════════ */

/* ───── 1. TOKENS ───── */
:root {
  /* Paleta */
  --cream:     #f4efe6;
  --cream-2:   #ece3d2;
  --paper:     #fbf8f2;
  --ink:       #2a2622;
  --ink-soft:  #4b443b;
  --ink-mute:  #8a7f6f;
  --olive:     #4a5836;
  --olive-deep:#38442a;
  --gold:      #a9823f;
  --gold-soft: #c9a86a;
  --rose:      #c68a6e;   /* rosa-terracota para hotspots */
  --line:      rgba(42, 38, 34, 0.14);

  /* Colores semánticos (cambian con data-theme) */
  --bg:   var(--cream);
  --fg:   var(--ink);
  --muted: var(--ink-mute);
  --accent: var(--gold);

  /* Tipografía fluida */
  --text-xs:   clamp(0.72rem, 0.68rem + 0.15vw, 0.8rem);
  --text-sm:   clamp(0.84rem, 0.79rem + 0.22vw, 0.95rem);
  --text-base: clamp(1rem,    0.95rem + 0.3vw,  1.12rem);
  --text-md:   clamp(1.15rem, 1.05rem + 0.5vw,  1.4rem);
  --text-lg:   clamp(1.3rem,  1.1rem + 0.9vw,   1.9rem);
  --text-xl:   clamp(1.7rem,  1.3rem + 1.7vw,   2.8rem);
  --text-2xl:  clamp(2.1rem,  1.5rem + 2.7vw,   3.8rem);
  --text-hero: clamp(2.9rem,  1.6rem + 6.2vw,   7rem);

  /* Espaciado */
  --space-2:  clamp(0.5rem, 0.46rem + 0.22vw, 0.63rem);
  --space-3:  clamp(0.75rem, 0.68rem + 0.33vw, 0.94rem);
  --space-4:  clamp(1rem, 0.9rem + 0.45vw, 1.3rem);
  --space-6:  clamp(1.5rem, 1.35rem + 0.65vw, 1.9rem);
  --space-8:  clamp(2rem, 1.8rem + 0.9vw, 2.6rem);
  --space-12: clamp(3rem, 2.6rem + 1.6vw, 4rem);
  --space-16: clamp(4rem, 3.4rem + 2.6vw, 6rem);
  --space-24: clamp(5.5rem, 4.4rem + 4vw, 9rem);

  /* Sombras */
  --shadow-md: 0 6px 22px rgba(56, 46, 30, 0.10), 0 2px 6px rgba(56, 46, 30, 0.06);
  --shadow-lg: 0 18px 50px rgba(56, 46, 30, 0.16), 0 6px 16px rgba(56, 46, 30, 0.08);

  /* Curvas y tiempos */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-fast: 200ms; --dur-mid: 420ms; --dur-slow: 700ms;

  /* Radios */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-pill: 999px;

  /* Fuentes */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;

  /* Z */
  --z-nav: 100; --z-splash: 400; --z-tour: 500;
}

/* Temas por sección */
[data-theme="olive"]  { --bg: var(--olive);   --fg: var(--cream); --muted: rgba(244,239,230,.72); --line: rgba(244,239,230,.2); }
[data-theme="cream2"] { --bg: var(--cream-2); }

/* ───── 2. RESET ───── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.05; font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--r-sm); }

/* ───── 3. UTILIDADES ───── */
.container { width: min(1200px, 90vw); margin-inline: auto; }
.section { padding-block: var(--space-24); background: var(--bg); color: var(--fg); position: relative; }
.section__head { max-width: 40ch; margin-bottom: var(--space-12); }
.eyebrow {
  font-size: var(--text-xs); letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: var(--space-3);
}
.eyebrow--light { color: var(--gold-soft); }
.section__title { font-family: var(--serif); font-size: var(--text-2xl); font-weight: 500; }
.section__lead { color: var(--muted); font-size: var(--text-md); margin-top: var(--space-4); }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: 0.6rem 1rem; background: var(--olive); color: var(--cream);
  border-radius: var(--r-sm); font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* ───── 4. TIPOGRAFÍA base ───── */
em { font-style: italic; }

/* ───── 5. BOTONES ───── */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em; justify-content: center;
  padding: 0.85em 1.5em; border-radius: var(--r-pill);
  font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.01em;
  transition: transform var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  will-change: transform;
}
.btn--xl { padding: 1.05em 1.9em; font-size: var(--text-base); }
.btn__ico { font-size: 0.85em; opacity: 0.9; }
.btn--primary { background: var(--olive); color: var(--cream); box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--olive-deep); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { background: rgba(255,255,255,0.12); color: var(--cream); border: 1px solid rgba(255,255,255,0.5); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.btn--line { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--line:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn--line-light { background: transparent; color: var(--cream); border: 1.5px solid rgba(244,239,230,.4); }
.btn--line-light:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn--whatsapp { background: #25d366; color: #08381d; box-shadow: var(--shadow-md); }
.btn--whatsapp:hover { background: #1fb857; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ───── 6. SPLASH ───── */
.splash {
  position: fixed; inset: 0; z-index: var(--z-splash);
  display: grid; place-items: center; background: var(--olive);
  animation: splashSafety 0.01s 4.5s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; transition: opacity 0.7s var(--ease-out); }
.splash__inner { text-align: center; color: var(--cream); }
.splash__mark { font-family: var(--serif); font-size: var(--text-xl); letter-spacing: 0.04em; }
.splash__line { display: block; width: 0; height: 1px; background: var(--gold-soft); margin: 1rem auto 0; animation: splashLine 1.8s var(--ease-out) forwards; }
@keyframes splashLine { to { width: 120px; } }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; visibility: hidden; } }

/* ───── 7. MARCA LATERAL FIJA ───── */
.railbrand {
  position: fixed; left: 0.6rem; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; z-index: 90; display: flex; gap: 1.4rem; align-items: center;
  font-size: var(--text-xs); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-mute);
}
.railbrand__name { font-weight: 600; }
.railbrand__tel { color: var(--gold); }
.railbrand::after { content: ""; height: 60px; width: 1px; background: var(--line); }

/* ───── 8. NAV ───── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav); transition: background var(--dur-mid), box-shadow var(--dur-mid); }
.nav__inner { width: min(1200px, 92vw); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; }
.nav__logo { font-family: var(--serif); font-size: var(--text-md); font-weight: 600; color: var(--cream); transition: color var(--dur-mid); }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__links a { font-size: var(--text-sm); color: rgba(244,239,230,.9); transition: color var(--dur-fast); }
.nav__links a:hover { color: var(--gold-soft); }
.nav__cta { padding: 0.5em 1.1em; border: 1px solid rgba(244,239,230,.5); border-radius: var(--r-pill); }
.nav__cta:hover { background: var(--gold); border-color: var(--gold); color: #fff !important; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 26px; height: 2px; background: var(--cream); transition: transform var(--dur-fast), opacity var(--dur-fast); }
/* Nav sólida al hacer scroll */
.nav.is-solid { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid .nav__logo { color: var(--olive); }
.nav.is-solid .nav__links a { color: var(--ink-soft); }
.nav.is-solid .nav__cta { border-color: var(--line); }
.nav.is-solid .nav__burger span { background: var(--olive); }

/* ───── 9. HERO ───── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,30,22,.55) 0%, rgba(35,30,22,.25) 35%, rgba(35,30,22,.72) 100%); }
.hero__inner { position: relative; z-index: 2; width: min(1200px, 90vw); margin-inline: auto; padding-block: var(--space-16) var(--space-12); color: var(--cream); }
.hero__eyebrow { font-size: var(--text-xs); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; margin-bottom: var(--space-4); }
.hero__title { font-family: var(--serif); font-size: var(--text-hero); font-weight: 500; letter-spacing: -0.01em; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title em { color: var(--gold-soft); }
.hero__sub { max-width: 44ch; margin-top: var(--space-6); font-size: var(--text-md); color: rgba(244,239,230,.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }
.hero__hint { margin-top: var(--space-4); font-size: var(--text-xs); color: rgba(244,239,230,.66); }
.hero__scroll { position: absolute; bottom: 1.3rem; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--cream); font-size: 1.3rem; animation: bob 2.4s var(--ease-soft) infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ───── 10. RECORRIDO 360 ───── */
.tour { position: fixed; inset: 0; z-index: var(--z-tour); background: #0c0a08; opacity: 0; transition: opacity var(--dur-mid) var(--ease-out); }
.tour.is-open { opacity: 1; }
.tour[hidden] { display: none; }
.tour__still { position: absolute; inset: 0; z-index: 0; background-color: #0c0a08; background-size: cover; background-position: center; transform: scale(1.06); }
.tour__still::after { /* velo sutil sobre el still borroso mientras carga */
  content: ""; position: absolute; inset: 0; background: rgba(12,10,8,.35); pointer-events: none;
  opacity: 0; transition: opacity var(--dur-mid); }
.tour.is-loading .tour__still::after { opacity: 1; }
.tour__stage { position: absolute; inset: 0; z-index: 1; background: transparent; }

/* Fundido a negro entre escenas */
.tour__fade { position: absolute; inset: 0; background: #050403; opacity: 0; pointer-events: none; transition: opacity 340ms ease; z-index: 6; }
.tour__fade.is-black { opacity: 1; }

/* Cartel de carga */
.tour__loading { position: absolute; inset: 0; display: none; flex-direction: column; gap: 1rem; align-items: center; justify-content: center; z-index: 7; color: var(--cream); }
.tour.is-loading .tour__loading { display: flex; }
.tour__spinner { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(244,239,230,.25); border-top-color: var(--gold-soft); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tour__loadingtxt { font-size: var(--text-sm); letter-spacing: 0.08em; color: rgba(244,239,230,.8); }

/* Barra superior */
.tour__bar { position: absolute; inset: 0 0 auto 0; z-index: 8; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: clamp(0.8rem, 2vw, 1.4rem); background: linear-gradient(180deg, rgba(6,5,4,.72), transparent); }
.tour__progress { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.tour__count { font-size: var(--text-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.tour__scenes { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.tour__scene-btn { font-size: var(--text-xs); color: rgba(244,239,230,.7); padding: 0.35em 0.8em; border-radius: var(--r-pill); border: 1px solid rgba(244,239,230,.22); transition: all var(--dur-fast); white-space: nowrap; }
.tour__scene-btn:hover { color: var(--cream); border-color: rgba(244,239,230,.5); }
.tour__scene-btn.is-active { background: var(--gold); border-color: var(--gold); color: #fff; }
.tour__exit { font-size: var(--text-sm); color: var(--cream); padding: 0.5em 1em; border: 1px solid rgba(244,239,230,.35); border-radius: var(--r-pill); transition: all var(--dur-fast); }
.tour__exit:hover { background: rgba(244,239,230,.15); }

/* Pistas inferiores */
.tour__hint { position: absolute; left: 50%; bottom: 1.3rem; transform: translateX(-50%); z-index: 8; font-size: var(--text-xs); color: rgba(244,239,230,.72); background: rgba(6,5,4,.4); padding: 0.5em 1em; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 0.5em; transition: opacity var(--dur-mid); }
.tour.is-touched .tour__hint { opacity: 0; }
.hs-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.hs-dot--scene { background: var(--gold-soft); box-shadow: 0 0 0 3px rgba(201,168,106,.35); }
.tour__gyro { position: absolute; right: 1rem; bottom: 1.3rem; z-index: 8; font-size: var(--text-xs); color: var(--cream); padding: 0.5em 1em; border: 1px solid rgba(244,239,230,.35); border-radius: var(--r-pill); }
.tour__gyro:hover { background: rgba(244,239,230,.15); }
.tour__gyro.is-on { background: var(--gold); border-color: var(--gold); color: #fff; }

/* Panel lateral de información (hotspots «!») — drawer a la derecha */
.tour__panel {
  position: absolute; top: 0; right: 0; bottom: 0; z-index: 10;
  width: min(380px, 88vw); display: flex; flex-direction: column; gap: var(--space-4);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  background: linear-gradient(180deg, rgba(20,16,12,.97), rgba(10,8,6,.97));
  border-left: 1px solid rgba(201,168,106,.45);
  box-shadow: -20px 0 60px rgba(0,0,0,.5); color: var(--cream);
  transform: translateX(100%); transition: transform var(--dur-mid) var(--ease-out);
  overflow-y: auto; justify-content: center;
}
.tour__panel.is-open { transform: translateX(0); }
.tour__panel-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%; color: var(--cream); border: 1px solid rgba(244,239,230,.3); font-size: 1rem; transition: background var(--dur-fast); }
.tour__panel-close:hover { background: rgba(244,239,230,.15); }
.tour__panel-badge { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--rose); color: #fff; font-weight: 700; font-size: var(--text-md); box-shadow: 0 6px 18px rgba(198,138,110,.4); }
.tour__panel-title { font-family: var(--serif); font-size: var(--text-xl); font-weight: 500; color: var(--cream); }
.tour__panel-text { font-size: var(--text-base); line-height: 1.6; color: rgba(244,239,230,.86); }
.tour__panel-cta { align-self: flex-start; margin-top: var(--space-2); }

/* Hotspots personalizados (sustituyen a los de Pannellum) */
.hs { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; cursor: pointer; }
.hs__pin { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 18px; font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.4); transition: transform var(--dur-fast) var(--ease-out); }
.hs__pin::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid currentColor; opacity: .5; animation: hsPulse 2.4s ease-out infinite; }
.hs__label { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%) translateY(4px); white-space: nowrap; background: rgba(6,5,4,.86); color: var(--cream); font-family: var(--sans); font-size: 13px; padding: 0.4em 0.75em; border-radius: var(--r-pill); opacity: 0; pointer-events: none; transition: opacity var(--dur-fast), transform var(--dur-fast); }
.hs:hover .hs__label { opacity: 1; transform: translateX(-50%) translateY(0); }
.hs:hover .hs__pin { transform: scale(1.12); }
.hs--scene .hs__pin { background: linear-gradient(150deg, var(--gold-soft), var(--gold)); color: #fff; }
.hs--info .hs__pin { background: linear-gradient(150deg, var(--rose), #b5745a); color: #fff; }
@keyframes hsPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.5); opacity: 0; } }
/* Ocultar UI por defecto de Pannellum (usamos la nuestra) */
.pnlm-load-box, .pnlm-about-msg, .pnlm-panorama-info { display: none !important; }
.pnlm-container { background: transparent !important; }

/* ───── 11. SERVICIOS ───── */
.services__grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
.scard { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); display: grid; grid-template-columns: 1fr; transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out); }
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.scard__media { overflow: hidden; aspect-ratio: 16/10; }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.scard:hover .scard__media img { transform: scale(1.06); }
.scard__body { padding: var(--space-6); }
.scard__tag { font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.scard__title { font-family: var(--serif); font-size: var(--text-lg); margin: 0.3em 0 0.4em; }
.scard__desc { color: var(--ink-soft); font-size: var(--text-sm); }
.scard__price { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--ink-mute); }
.scard__price strong { font-family: var(--serif); font-size: var(--text-lg); color: var(--olive); font-weight: 600; }
.scard__price span { color: var(--ink-mute); }
.services__foot { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; margin-top: var(--space-12); }

/* ───── 12. NOSOTROS ───── */
.about__grid { display: grid; gap: var(--space-12); align-items: center; }
.about__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about__title { font-family: var(--serif); font-size: var(--text-xl); margin-bottom: var(--space-4); }
.about__text p { color: var(--muted); margin-bottom: var(--space-4); }
.about__firma { font-family: var(--serif); font-style: italic; color: var(--gold-soft) !important; }
.about__stats { display: flex; flex-wrap: wrap; gap: var(--space-8); margin-top: var(--space-8); }
.about__stats li { display: flex; flex-direction: column; }
.about__num { font-family: var(--serif); font-size: var(--text-xl); color: var(--cream); line-height: 1; }
.about__num-suf { font-family: var(--serif); font-size: var(--text-md); color: var(--gold-soft); }
.about__stat-label { font-size: var(--text-xs); color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.4em; }

/* ───── 13. GALERÍA ───── */
.gallery__grid { width: min(1400px, 94vw); margin: var(--space-8) auto 0; display: grid; gap: 0.6rem; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; }
.gitem { overflow: hidden; border-radius: var(--r-md); background: var(--cream-2); }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.gitem:hover img { transform: scale(1.05); }
.gitem--tall { grid-row: span 2; }
.gitem--wide { grid-column: span 2; }

/* ───── 14. RESEÑAS ───── */
.reviews__rating { display: flex; align-items: center; gap: 0.6rem; margin-top: var(--space-4); flex-wrap: wrap; }
.reviews__score { font-family: var(--serif); font-size: var(--text-xl); color: var(--olive); }
.reviews__stars { color: var(--gold); letter-spacing: 0.1em; }
.reviews__count { color: var(--ink-mute); font-size: var(--text-sm); }
.reviews__grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr; margin-top: var(--space-8); }
.review { background: var(--paper); border-radius: var(--r-lg); padding: var(--space-8); box-shadow: var(--shadow-md); }
.review__stars { color: var(--gold); letter-spacing: 0.12em; margin-bottom: var(--space-3); }
.review__text { font-family: var(--serif); font-size: var(--text-md); font-style: italic; color: var(--ink); }
.review footer { margin-top: var(--space-4); display: flex; flex-direction: column; }
.review footer strong { font-weight: 600; }
.review footer span { font-size: var(--text-sm); color: var(--ink-mute); }

/* ───── 15. RESERVA ───── */
.booking__grid { display: grid; gap: var(--space-12); align-items: start; }
.booking__title { font-family: var(--serif); font-size: var(--text-xl); margin-bottom: var(--space-4); }
.booking__intro p { color: var(--muted); margin-bottom: var(--space-6); }
.booking__form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); background: var(--paper); padding: var(--space-8); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--text-xs); font-weight: 600; color: var(--ink-soft); letter-spacing: 0.04em; }
.field input, .field select, .field textarea { padding: 0.75em 0.9em; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--cream); color: var(--ink); transition: border-color var(--dur-fast); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; }
.booking__note { grid-column: 1/-1; margin-top: 0.4rem; font-size: var(--text-sm); color: var(--olive); }
.booking__note.is-error { color: #b5432f; }

/* ───── 16. FOOTER ───── */
.footer { background: var(--olive-deep); color: var(--cream); padding-top: var(--space-8); }
.footer__marquee { overflow: hidden; border-block: 1px solid rgba(244,239,230,.16); padding-block: var(--space-4); }
.footer__track { display: flex; white-space: nowrap; font-family: var(--serif); font-size: var(--text-lg); color: rgba(244,239,230,.5); animation: marquee 30s linear infinite; }
.footer__track span { padding-right: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.footer__grid { display: grid; gap: var(--space-8); grid-template-columns: 1fr; padding-block: var(--space-12); }
.footer__brand { font-family: var(--serif); font-size: var(--text-lg); margin-bottom: var(--space-4); }
.footer__col p { color: rgba(244,239,230,.78); margin-bottom: var(--space-3); }
.footer__col a:hover { color: var(--gold-soft); }
.footer__col--map iframe { width: 100%; height: 240px; border: 0; border-radius: var(--r-md); filter: saturate(0.9); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; padding-block: var(--space-6); border-top: 1px solid rgba(244,239,230,.16); font-size: var(--text-xs); color: rgba(244,239,230,.55); }

/* ───── 17. REVEAL / ANIM ─────
   Gating por clase .js: SIN JavaScript el contenido es visible (contenido primero).
   main.js añade .js a <html> y entonces se ocultan para animar la entrada. */
.js [data-reveal], .js [data-reveal-item] { opacity: 0; transform: translateY(28px); }
.js [data-reveal].is-in, .js [data-reveal-item].is-in { opacity: 1; transform: none; }

/* ───── 18. RESPONSIVE ───── */
@media (min-width: 720px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; }
  .gitem { grid-row: auto; } .gitem--tall { grid-row: span 2; } .gitem--wide { grid-column: span 2; }
}
@media (min-width: 960px) {
  .scard { grid-template-columns: 42% 1fr; align-items: stretch; }
  .scard__media { aspect-ratio: auto; }
  .about__grid { grid-template-columns: 0.85fr 1fr; }
  .booking__grid { grid-template-columns: 0.9fr 1.1fr; }
}
@media (max-width: 860px) {
  .railbrand { display: none; }
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--space-6); padding: var(--space-16) var(--space-8); background: var(--olive-deep); transform: translateX(100%); transition: transform var(--dur-mid) var(--ease-out); }
  .nav__links a { color: var(--cream); font-size: var(--text-md); }
  .nav.is-open .nav__links { transform: translateX(0); }
  .nav__burger { display: flex; z-index: 2; }
  .nav.is-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .booking__form { grid-template-columns: 1fr; }
}

/* ───── 19. REDUCED-MOTION (solo lo intrusivo) ───── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__scroll, .hs__pin::before { animation: none; }
  .footer__track { animation-duration: 90s; }
}
