﻿/* Casa Rojanda · nueva versión
   Tema único oscuro de bodega. Un acento: el rojo del logotipo. */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #100a0b;
  --ink-2: #19100f;
  --ink-3: #251816;
  --line: rgb(243 236 232 / 0.14);
  --bone: #f3ece8;
  --bone-2: rgb(243 236 232 / 0.74);
  --bone-3: rgb(243 236 232 / 0.58);
  --red: #d0152f;
  --red-hi: #ff5a6a;
  --red-deep: #8e0c1f;

  --display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 1320px;
  --radius: 14px;
  --radius-sm: 10px;
  --nav-h: 68px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--bone); color: var(--ink); padding: .6rem 1rem; border-radius: 999px;
  text-decoration: none; font-weight: 600; transition: top 200ms var(--ease-out);
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* Grano fijo, fuera del flujo de scroll */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- Tipografía ---------- */
.display {
  font-family: var(--display);
  font-variation-settings: "wdth" 75, "opsz" 96;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: .9;
  margin: 0;
}
.h2 {
  font-family: var(--display);
  font-variation-settings: "wdth" 78, "opsz" 96;
  font-weight: 650;
  font-size: clamp(2.5rem, 6.2vw, 5.6rem);
  line-height: .95;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}
.lede {
  font-size: clamp(1.0625rem, 1.3vw, 1.2rem);
  color: var(--bone-2);
  max-width: 44ch;
  margin: 1.25rem 0 0;
  text-wrap: pretty;
}
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bone-2);
  margin: 0 0 1.25rem;
}
.note { font-size: .875rem; color: var(--bone-3); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: 0 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: #fff;
  font-weight: 600; font-size: 1rem; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
  -webkit-tap-highlight-color: rgb(243 236 232 / 0);
}
.btn:active { transform: scale(0.97); }
.btn .icon { transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --bg: #e21d39; }
  .btn:hover .icon--nudge { transform: translateX(3px); }
}
.btn--ghost {
  --bg: rgb(16 10 11 / .35);
  border-color: rgb(243 236 232 / .38);
  color: var(--bone);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover { --bg: rgb(243 236 232 / .1); border-color: var(--bone); }
}
.btn--bone { --bg: var(--bone); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn--bone:hover { --bg: #fff; } }
.btn--small { min-height: 42px; padding: 0 1.1rem; font-size: .9375rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--bone); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgb(243 236 232 / .35); padding-bottom: 2px;
  transition: border-color 200ms ease;
}
.link-arrow:hover { border-color: var(--bone); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color 300ms ease, border-color 300ms ease, transform 400ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgb(16 10 11 / .82);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 2rem; }
.brand {
  font-family: var(--display); font-variation-settings: "wdth" 75, "opsz" 48;
  font-weight: 700; font-size: 1.45rem; letter-spacing: -.01em; line-height: 1;
  text-decoration: none; display: inline-flex; align-items: baseline; gap: .35rem;
}
.brand span { color: var(--red-hi); }
.nav__inner > nav { margin-left: auto; }
.nav__links { display: flex; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.nav__links a {
  text-decoration: none; font-size: .9375rem; font-weight: 500; color: var(--bone-2);
  padding: .5rem 0; position: relative; transition: color 200ms ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--ease-out);
}
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--bone); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { margin-left: .5rem; }
.nav__menu {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 999px;
  border: 1px solid var(--line); background: rgb(16 10 11 / .5); cursor: pointer;
  align-items: center; justify-content: center;
  transition: transform 160ms var(--ease-out);
}
.nav__menu:active { transform: scale(.95); }
.nav__menu .icon { width: 22px; height: 22px; }

.sheet {
  position: fixed; inset: 0; z-index: 60;
  background: var(--ink);
  display: flex; flex-direction: column;
  padding: 1rem var(--gutter) 2rem;
  visibility: hidden; opacity: 0;
  transition: opacity 260ms var(--ease-out), visibility 0s linear 260ms;
}
.sheet.is-open { visibility: visible; opacity: 1; transition: opacity 260ms var(--ease-out); }
.sheet__top { display: flex; align-items: center; justify-content: space-between; height: calc(var(--nav-h) - 1rem); }
.sheet__links { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: .25rem; }
.sheet__links a {
  display: block; text-decoration: none;
  font-family: var(--display); font-variation-settings: "wdth" 75, "opsz" 96; font-weight: 650;
  font-size: clamp(2.6rem, 12vw, 4rem); line-height: 1.1;
  transform: translateY(16px); opacity: 0;
  transition: transform 500ms var(--ease-out), opacity 400ms var(--ease-out);
  transition-delay: calc(60ms + var(--i) * 45ms);
}
.sheet.is-open .sheet__links a { transform: none; opacity: 1; }
.sheet__foot { margin-top: auto; display: grid; gap: .75rem; }

/* ---------- Portada ---------- */
.hero {
  position: relative; min-height: 100dvh; isolation: isolate;
  display: grid; align-items: end;
  padding: calc(var(--nav-h) + 2rem) 0 clamp(2rem, 6vh, 4.5rem);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 75% 20%, #7a0f1f 0%, #3a0710 45%, var(--ink) 80%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1200ms ease; }
.hero__canvas.is-ready { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, rgb(16 10 11 / .92) 0%, rgb(16 10 11 / .35) 38%, transparent 65%),
    linear-gradient(to right, rgb(16 10 11 / .55), transparent 55%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2.5rem; align-items: end; }
.hero__title {
  font-size: clamp(5rem, 15.5vw, 15.5rem);
  line-height: .84;
  letter-spacing: -0.025em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .line > span { display: block; }
.hero__title .line:nth-child(2) { color: var(--bone); }
.hero__side { padding-bottom: 1.2rem; }
.hero__sub { font-size: clamp(1.0625rem, 1.35vw, 1.25rem); color: var(--bone); max-width: 30ch; margin: 0 0 1.75rem; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__hint {
  position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 1.25rem);
  font-size: .8125rem; color: var(--bone-3); display: flex; align-items: center; gap: .5rem;
}
.hint--touch { display: none; }
@media (hover: none) { .hint--fine { display: none; } .hint--touch { display: inline; } }

/* Coreografía de entrada */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .line > span { transform: translateY(105%); }
  .js .hero [data-intro] { opacity: 0; transform: translateY(14px); }
  .js .nav { transform: translateY(-100%); }
  .is-loaded .hero__title .line > span { transform: none; transition: transform 1100ms var(--ease-out); }
  .is-loaded .hero__title .line:nth-child(2) > span { transition-delay: 90ms; }
  .is-loaded .hero [data-intro] { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(450ms + var(--d, 0) * 70ms); }
  .is-loaded .nav { transform: none; transition-delay: 300ms; }
}

/* ---------- Revelado genérico ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Declaración ---------- */
.statement { padding: clamp(6rem, 16vh, 11rem) 0 clamp(4rem, 10vh, 7rem); }
.statement__text {
  font-family: var(--display); font-variation-settings: "wdth" 85, "opsz" 48; font-weight: 500;
  font-size: clamp(1.9rem, 4.1vw, 3.9rem); line-height: 1.14; letter-spacing: -0.01em;
  max-width: 22ch; margin: 0; text-wrap: pretty;
}
.statement__text .w { color: var(--bone); }
.statement__text em { font-style: normal; color: var(--red-hi); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .statement__text .w { animation: lit linear both; animation-timeline: --statement; }
    .statement__text { view-timeline-name: --statement; }
  }
}
@keyframes lit { from { opacity: .18; } to { opacity: 1; } }

/* ---------- La casa ---------- */
.house { padding-bottom: clamp(5rem, 12vh, 9rem); }
.house__figure { margin: 0; }
.house__frame {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 800 / 532; max-width: 1040px; margin-inline: auto;
  background: var(--ink-3);
}
.house__frame img { width: 100%; height: 100%; object-fit: cover; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .house__frame { animation: open-frame linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .house__frame img { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  }
}
@keyframes open-frame { from { clip-path: inset(12% 22% 12% 22% round 28px); } to { clip-path: inset(0 0 0 0 round 14px); } }
@keyframes settle { from { transform: scale(1.18); } to { transform: scale(1); } }
.house__caption { max-width: 1040px; margin: 1rem auto 0; font-size: .875rem; color: var(--bone-3); }
.facts {
  list-style: none; margin: clamp(3.5rem, 8vh, 6rem) auto 0; padding: 0; max-width: 1040px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem;
}
.facts li { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.facts strong {
  display: block; font-family: var(--display); font-variation-settings: "wdth" 75, "opsz" 96;
  font-weight: 700; font-size: clamp(3.4rem, 7vw, 6rem); line-height: .9; letter-spacing: -.02em;
}
.facts strong small { font-size: .45em; font-weight: 600; margin-left: .08em; color: var(--red-hi); }
.facts p { margin: .75rem 0 0; color: var(--bone-2); max-width: 26ch; }

/* ---------- Habitaciones (pan horizontal) ---------- */
.rooms { position: relative; background: var(--ink-2); border-block: 1px solid var(--line); }
.rooms__head { padding-top: clamp(5rem, 12vh, 8rem); }
.rooms__viewport { position: relative; }
.rooms__track {
  display: flex; gap: clamp(1rem, 2.5vw, 2rem); align-items: flex-end;
  padding: clamp(2.5rem, 6vh, 4rem) var(--gutter) clamp(2.5rem, 6vh, 4rem);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.rooms__track::-webkit-scrollbar { display: none; }
.room { flex: none; margin: 0; scroll-snap-align: start; width: min(78vw, 340px); }
.room__img { overflow: hidden; border-radius: var(--radius); background: var(--ink-3); aspect-ratio: 325 / 500; }
.room--wide { width: min(88vw, 560px); }
.room--wide .room__img { aspect-ratio: 722 / 480; }
.room__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .room:hover .room__img img { transform: scale(1.035); } }
.room figcaption { margin-top: 1rem; color: var(--bone-2); font-size: .9688rem; max-width: 34ch; }
.room__num { display: block; margin-bottom: .3rem; color: var(--bone); font-weight: 600; font-size: 1rem; }
.room__cta {
  flex: none; width: min(78vw, 340px); aspect-ratio: 325 / 500; scroll-snap-align: start;
  border-radius: var(--radius); background: var(--red); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; padding: 1.75rem;
  text-decoration: none; align-self: flex-start; margin-bottom: calc(1rem + 3.2em);
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.room__cta:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .room__cta:hover { background: #e21d39; } }
.room__cta strong { font-family: var(--display); font-variation-settings: "wdth" 75, "opsz" 96; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: .95; font-weight: 700; }
.room__cta span { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.rooms__controls { display: flex; gap: .5rem; padding-inline: var(--gutter); max-width: var(--max); margin-inline: auto; }
.round-btn {
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform 160ms var(--ease-out), border-color 200ms ease, opacity 200ms ease;
}
.round-btn:active { transform: scale(.95); }
.round-btn:hover { border-color: var(--bone); }
.round-btn[disabled] { opacity: .35; cursor: default; }
.round-btn[hidden] { display: none; }
.amenities {
  list-style: none; margin: 0 auto; padding: clamp(2rem, 5vh, 3rem) var(--gutter) clamp(4rem, 10vh, 6.5rem);
  max-width: var(--max);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem 2rem;
}
.amenities li { display: flex; align-items: center; gap: .75rem; color: var(--bone-2); font-size: .9688rem; white-space: nowrap; }
@media (max-width: 899px) {
  .amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
  .amenities li { white-space: normal; }
}
.amenities .icon { width: 26px; height: 26px; color: var(--bone); }

/* Escritorio con scroll-driven: la pista se desplaza mientras la sección está fijada */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rooms__viewport { height: var(--pan-h, 320vh); view-timeline-name: --rooms; }
    .rooms__sticky { position: sticky; top: 0; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
    .rooms__track {
      overflow: visible; width: max-content; scroll-snap-type: none;
      padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
      animation: pan linear both; animation-timeline: --rooms; animation-range: contain 0% contain 100%;
    }
    .room { width: auto; }
    .room__img { height: min(58vh, 520px); width: auto; }
    .room--wide .room__img { height: min(52vh, 480px); }
    .room__cta { width: auto; height: min(58vh, 520px); margin-bottom: 0; align-self: center; }
    .rooms__controls { display: none; }
    .rooms__progress { display: block; }
  }
}
@media (min-width: 900px) { .stage .stage__word { right: 50%; top: calc(50% + (var(--nav-h) + 3.75rem) / 2); font-size: clamp(8rem, 16vw, 19rem); } }
.stage__word[data-for="tinto"] { --word-a: rgb(255 120 135 / .34); --word-b: rgb(255 90 106 / .07); }
.stage__word[data-for="blanco"] { --word-a: rgb(245 222 140 / .32); --word-b: rgb(245 222 140 / .06); }
.stage__word[data-for="cosecha"] { --word-a: rgb(240 130 210 / .32); --word-b: rgb(240 130 210 / .06); }
@keyframes pan { from { transform: translateX(0); } to { transform: translateX(calc(-100% + 100vw)); } }
.rooms__progress { display: none; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2rem; height: 1px; background: var(--line); }
.rooms__progress::after {
  content: ""; position: absolute; inset: 0; background: var(--bone); transform-origin: left;
  animation: grow linear both; animation-timeline: --rooms; animation-range: contain 0% contain 100%;
}
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Espacios comunes (bento) ---------- */
.spaces { padding: clamp(6rem, 14vh, 10rem) 0; }
.bento {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  display: grid; gap: clamp(.75rem, 1.4vw, 1.25rem);
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, clamp(200px, 22vw, 300px));
}
.bento figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); }
.bento img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .bento figure:hover img { transform: scale(1.04); } }
.bento figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.1rem 1rem;
  background: linear-gradient(to top, rgb(16 10 11 / .88), transparent);
  font-size: .9688rem; font-weight: 500;
}
.b1 { grid-column: 1 / 7; grid-row: 1; }
.b2 { grid-column: 7 / 10; grid-row: 1 / 3; }
.b3 { grid-column: 10 / 13; grid-row: 1 / 3; }
.b4 { grid-column: 1 / 7; grid-row: 2; }

/* ---------- Vinos ---------- */
.wines { position: relative; }
.wines__head { padding-top: clamp(6rem, 14vh, 10rem); padding-bottom: clamp(2rem, 5vh, 3rem); }
.wines__scroller { position: relative; }
.stage {
  position: sticky; top: 0; height: 100dvh; min-height: 600px; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  /* Hueco reservado para la barra y las pestañas, para que nunca pisen el contenido */
  padding: calc(var(--nav-h) + 5.75rem) 0 2rem;
  --x: 0;
}
.stage__bg { position: absolute; inset: 0; z-index: -3; opacity: 0; }
.stage__bg[data-for="tinto"] { background: radial-gradient(60% 70% at 30% 55%, #7d1223 0%, #3c0811 45%, #120708 85%); }
.stage__bg[data-for="blanco"] { background: radial-gradient(60% 70% at 30% 55%, #7a6a2a 0%, #342c12 45%, #110f08 85%); }
.stage__bg[data-for="cosecha"] { background: radial-gradient(60% 70% at 30% 55%, #5c1245 0%, #2c081f 45%, #10060c 85%); }
.stage[data-bg="tinto"] .stage__bg[data-for="tinto"],
.stage[data-bg="blanco"] .stage__bg[data-for="blanco"],
.stage[data-bg="cosecha"] .stage__bg[data-for="cosecha"] { opacity: 1; }

/* Vertido: el vino nuevo sube desde abajo con su superficie en movimiento y, al llenarse, se funde en su brillo */
.pour { position: absolute; inset: 0; z-index: -3; pointer-events: none; visibility: hidden; }
.pour.is-pouring { visibility: visible; }
.pour__fill { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--pour-top), var(--pour-deep) 85%); }
.pour__wave {
  position: absolute; left: 0; bottom: calc(100% - 2px); width: 200%; max-width: none; height: clamp(56px, 9vh, 96px);
  animation: wave-x 2.4s linear infinite; animation-play-state: paused;
}
.pour.is-pouring .pour__wave { animation-play-state: running; }
.pour__back { fill: var(--pour-crest); opacity: .45; }
.pour__front { fill: var(--pour-top); }
.pour__shine { fill: none; stroke: rgb(255 235 238 / .35); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
@keyframes wave-x { to { transform: translateX(-50%); } }
.pour[data-to="tinto"] { --pour-top: #4c0b16; --pour-deep: #1e0509; --pour-crest: #8a1528; }
.pour[data-to="blanco"] { --pour-top: #4a4019; --pour-deep: #1a170b; --pour-crest: #9a883f; }
.pour[data-to="cosecha"] { --pour-top: #3d0c2e; --pour-deep: #17060f; --pour-crest: #7a1a5e; }

.stage__word {
  position: absolute; z-index: -2; left: 0; right: 0; top: 50%; translate: 0 -50%; margin: 0;
  font-family: var(--display); font-variation-settings: "wdth" 75, "opsz" 96; font-weight: 800;
  font-size: clamp(8rem, 27vw, 30rem); line-height: 1; letter-spacing: -.02em; text-align: center;
  color: rgb(243 236 232 / 0);
  background: linear-gradient(180deg, var(--word-a) 10%, var(--word-b) 85%);
  -webkit-background-clip: text; background-clip: text;
  white-space: nowrap; pointer-events: none; user-select: none;
  opacity: 0; transform: translateY(8%); filter: blur(6px);
  transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out), filter 700ms var(--ease-out);
}
.stage__bottles { position: relative; height: min(calc(100dvh - var(--nav-h) - 8.5rem), 640px); display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; }
.bottle {
  grid-area: 1 / 1; height: 100%; width: auto; max-width: none;
  filter: drop-shadow(0 40px 50px rgb(0 0 0 / .55)) blur(8px);
  opacity: 0; transform: translateY(12%) rotate(-4deg) scale(.96);
  transition: opacity 600ms var(--ease-out), transform 900ms var(--ease-out), filter 600ms var(--ease-out);
}
.stage__glow {
  position: absolute; left: 50%; bottom: 4%; width: 60%; height: 8%; translate: -50% 0; z-index: -1;
  background: radial-gradient(closest-side, rgb(0 0 0 / .6), transparent); filter: blur(6px);
}
.stage__panels { position: relative; display: grid; padding-right: var(--gutter); }
.panel {
  grid-area: 1 / 1; max-width: 520px;
  opacity: 0; transform: translateY(18px); visibility: hidden; filter: blur(4px);
  transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out), filter 500ms var(--ease-out), visibility 0s linear 500ms;
}
.stage[data-wine="tinto"] [data-for="tinto"],
.stage[data-wine="blanco"] [data-for="blanco"],
.stage[data-wine="cosecha"] [data-for="cosecha"] {
  opacity: 1; transform: none; filter: none; visibility: visible;
  transition-delay: 120ms, 120ms, 120ms, 0s;
}
.stage[data-wine="tinto"] .bottle[data-for="tinto"],
.stage[data-wine="blanco"] .bottle[data-for="blanco"],
.stage[data-wine="cosecha"] .bottle[data-for="cosecha"] {
  filter: drop-shadow(0 40px 50px rgb(0 0 0 / .55)) blur(0);
  transform: rotate(0) translateY(calc(var(--x) * 1px));
}
.panel__kicker { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-2); margin: 0 0 1rem; font-weight: 600; }
.panel__status {
  display: inline-block; margin: 0 0 1rem; padding: .35rem .75rem; border-radius: 999px;
  border: 1px solid rgb(243 236 232 / .4); font-size: .8125rem; font-weight: 600;
}
.panel h3 {
  font-family: var(--display); font-variation-settings: "wdth" 75, "opsz" 96; font-weight: 700;
  font-size: clamp(3rem, 5.4vw, 5.2rem); line-height: .92; letter-spacing: -.015em; margin: 0;
}
.panel p { color: var(--bone-2); margin: 1.25rem 0 0; max-width: 46ch; }
.props { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; margin: 2rem 0 0; }
.props div { border-top: 1px solid var(--line); padding-top: .75rem; }
.props dt { font-size: .8125rem; color: var(--bone-3); }
.props dd { margin: .2rem 0 0; font-weight: 600; }
.wine-tabs {
  position: absolute; top: calc(var(--nav-h) + 1.25rem); left: 50%; translate: -50% 0; z-index: 2;
  display: flex; padding: 4px; border-radius: 999px;
  background: rgb(16 10 11 / .5); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.wine-tabs button {
  position: relative; border: 0; background: transparent; cursor: pointer;
  padding: .6rem 1.15rem; min-height: 44px; border-radius: 999px; font-weight: 600; font-size: .9375rem;
  color: var(--bone-2); transition: color 200ms ease;
}
.wine-tabs button[aria-selected="true"] { color: var(--ink); }
.wine-tabs__pill {
  position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--bone);
  transition: transform 450ms var(--ease-drawer), width 450ms var(--ease-drawer);
}
.wine-tabs button span { position: relative; z-index: 1; }
.wines__steps { position: relative; margin-top: -100dvh; pointer-events: none; }
.wines__steps > div { height: 100dvh; }
.wines__note { padding-block: 2rem clamp(5rem, 12vh, 8rem); }
.wines__note p { max-width: 60ch; margin: 0; color: var(--bone-2); }
@media (prefers-reduced-motion: reduce) {
  .bottle, .panel, .stage__word { transform: none !important; }
  .stage__bg { transition: opacity 400ms ease; }
}

/* ---------- Opiniones ---------- */
.voices { padding: clamp(6rem, 14vh, 10rem) 0; border-top: 1px solid var(--line); overflow: hidden; }
.voices__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; }
.reviews {
  margin-top: clamp(3rem, 7vh, 5rem);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  grid-template-areas: "tabs stage" "controls stage";
  grid-template-rows: auto 1fr;
  gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start;
}
.reviews__tabs { grid-area: tabs; display: grid; border-top: 1px solid var(--line); }
.reviews__tabs button {
  position: relative; display: grid; gap: .3rem; text-align: left; cursor: pointer;
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 1.15rem 0 1.25rem; color: var(--bone-3); transition: color 250ms ease;
}
.reviews__topic {
  font-family: var(--display); font-variation-settings: "wdth" 80, "opsz" 48; font-weight: 650;
  font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.05;
}
.reviews__who { font-size: .875rem; }
@media (hover: hover) and (pointer: fine) { .reviews__tabs button:hover { color: var(--bone-2); } }
.reviews__tabs button[aria-selected="true"] { color: var(--bone); }
.reviews__tabs button[aria-selected="true"] .reviews__who { color: var(--bone-2); }
.reviews__bar {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red-hi);
  transform: scaleX(0); transform-origin: left;
}
.reviews__tabs button[aria-selected="true"] .reviews__bar { transform: scaleX(1); }
.reviews.is-auto button[aria-selected="true"] .reviews__bar { transform: scaleX(0); animation: rv-progress var(--rv-dur, 8000ms) linear forwards; }
@keyframes rv-progress { to { transform: scaleX(1); } }
.reviews__controls { grid-area: controls; display: flex; gap: .5rem; }
.reviews__controls [data-rv-toggle][aria-pressed="true"] { border-color: var(--bone); }

.reviews__stage { grid-area: stage; position: relative; isolation: isolate; display: grid; padding-top: clamp(1.5rem, 3vw, 2.75rem); }
.reviews__mark {
  position: absolute; z-index: -1; top: -.18em; left: -.06em; pointer-events: none; user-select: none;
  font-family: var(--display); font-variation-settings: "wdth" 75, "opsz" 96; font-weight: 800;
  font-size: clamp(10rem, 20vw, 19rem); line-height: 1;
  color: rgb(243 236 232 / 0); -webkit-text-stroke: 1.5px rgb(255 90 106 / .4);
}
.review { grid-area: 1 / 1; margin: 0; visibility: hidden; transition: visibility 0s linear 260ms; }
.review.is-active { visibility: visible; transition-delay: 0s; }
.review blockquote { margin: 0; }
.review p {
  margin: 0; font-family: var(--display); font-variation-settings: "wdth" 85, "opsz" 48; font-weight: 550;
  font-size: clamp(1.8rem, 3.3vw, 3.1rem); line-height: 1.1; letter-spacing: -.01em; text-wrap: pretty;
}
.review .w { display: inline-block; opacity: 0; transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease; }
.review.is-active .w { opacity: 1; transition: opacity 500ms var(--ease-out), filter 600ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(120ms + var(--w) * 22ms); }
.review mark {
  color: var(--red-hi); background: linear-gradient(currentColor, currentColor) 0 100% / 0% 2px no-repeat;
  transition: background-size 200ms ease;
}
.review.is-active mark { background-size: 100% 2px; transition: background-size 800ms var(--ease-out) 650ms; }
.review figcaption {
  margin-top: 2rem; display: flex; align-items: center; gap: .9rem; font-size: .9375rem; color: var(--bone-3);
  opacity: 0; transition: opacity 200ms ease;
}
.review.is-active figcaption { opacity: 1; transition: opacity 600ms var(--ease-out) 450ms; }
.review figcaption b { display: block; color: var(--bone); font-weight: 600; font-size: 1rem; }
.review figcaption b + span { display: block; }
.score {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 12px;
  background: var(--bone); color: var(--ink);
  font-family: var(--display); font-variation-settings: "wdth" 80, "opsz" 36; font-weight: 700; font-size: 1.25rem;
}
.voices__note { margin: 3rem 0 0; }
@media (prefers-reduced-motion: no-preference) {
  .review .w { filter: blur(8px); transform: translateY(.3em); }
  .review.is-active .w { filter: none; transform: none; }
}

/* ---------- Elciego (máscara de texto) ---------- */
.village { position: relative; }
.mask { position: relative; height: 230vh; }
.mask__sticky { position: sticky; top: 0; height: 100dvh; overflow: hidden; isolation: isolate; }
.mask__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Capa oscura con la palabra recortada, dibujada en un lienzo que se redibuja con el scroll.
   Siempre se pinta completa y nítida a cualquier zoom (antes, la máscara SVG se rompía por bloques). */
.mask__layer { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.mask__caption {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 1.5rem; z-index: 2;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .8125rem; color: var(--bone-2);
}
.mask__line {
  position: absolute; left: var(--gutter); bottom: 4.5rem; z-index: 2; max-width: 30ch;
  font-family: var(--display); font-variation-settings: "wdth" 85, "opsz" 48; font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1.02; text-shadow: 0 2px 24px rgb(0 0 0 / .5);
}
.js .mask__line { opacity: 0; will-change: opacity, transform; }
@media (prefers-reduced-motion: reduce) {
  .mask { height: auto; }
  .mask__sticky { height: min(80vh, 720px); }
  .js .mask__line { opacity: 1; }
}

.places { padding: clamp(5rem, 12vh, 8rem) 0 clamp(6rem, 14vh, 10rem); }
.strips { margin-top: clamp(2.5rem, 6vh, 4rem); display: flex; gap: .75rem; height: clamp(420px, 62vh, 600px); }
.strip {
  position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: var(--radius);
  background: var(--ink-3); cursor: pointer; border: 0; padding: 0; text-align: left;
  transition: flex-grow 700ms var(--ease-drawer);
}
.strip.is-active { flex-grow: 3.2; }
.strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(16 10 11 / .9) 0%, rgb(16 10 11 / .2) 55%, transparent); }
.strip__body { display: block; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.5rem; }
.strip__title { display: block;
  margin: 0; font-family: var(--display); font-variation-settings: "wdth" 80, "opsz" 48; font-weight: 650;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1; white-space: nowrap;
}
.strip p {
  margin: .75rem 0 0; color: var(--bone-2); max-width: 38ch; font-size: .9688rem;
  opacity: 0; transform: translateY(10px); transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out);
}
.strip.is-active p { opacity: 1; transform: none; transition-delay: 250ms; }
.strip:not(.is-active) .strip__title { writing-mode: vertical-rl; rotate: 180deg; }

/* ---------- Cómo llegar ---------- */
.route { padding: clamp(6rem, 14vh, 10rem) 0; border-top: 1px solid var(--line); }
.route__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.route__groups { margin-top: 2.5rem; }
.route__h { font-size: .8125rem; font-weight: 600; color: var(--bone-3); letter-spacing: .02em; margin: 2rem 0 .4rem; }
.route__h:first-child { margin-top: 0; }
.route__list { list-style: none; margin: 0; padding: 0; }
.route__list a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 4.75rem; align-items: baseline; gap: 1rem;
  padding: .7rem .8rem; margin-inline: -.8rem; border-radius: var(--radius-sm);
  text-decoration: none; transition: background-color 200ms ease;
}
.route__name { font-weight: 600; display: flex; align-items: center; gap: .6rem; min-width: 0; }
.route__name .icon { width: 20px; height: 20px; color: var(--red-hi); align-self: center; }
.route__time {
  font-family: var(--display); font-variation-settings: "wdth" 80, "opsz" 36; font-weight: 650;
  font-size: 1.2rem; line-height: 1; font-variant-numeric: tabular-nums; transition: color 200ms ease;
}
.route__km { color: var(--bone-3); font-size: .875rem; text-align: right; font-variant-numeric: tabular-nums; }
.route__list a:hover, .route__list a.is-hot { background: var(--ink-3); }
.route__list a:hover .route__time, .route__list a.is-hot .route__time { color: var(--red-hi); }
.route__actions { margin-top: 2rem; }
.route__note { margin: 1.25rem 0 0; max-width: 60ch; }

.route__map {
  position: sticky; top: calc(var(--nav-h) + 2rem); width: 100%; max-width: 640px; justify-self: end;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map__sea { fill: url(#map-sea); }
.map__sea-line { stroke: rgb(243 236 232 / .12); stroke-width: .25; }
.map__land { fill: #221718; stroke: rgb(243 236 232 / .4); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.map__river { fill: none; stroke: rgb(243 236 232 / .34); stroke-width: 1.6px; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.map__route {
  fill: none; stroke: rgb(243 236 232 / .55); stroke-width: .34;
  stroke-linecap: round; stroke-linejoin: round; transition: stroke 200ms ease, stroke-width 200ms ease, opacity 200ms ease;
}
.map__route.is-minor { opacity: 0; }
.map__hit { fill: none; stroke: transparent; stroke-width: 3.6; pointer-events: stroke; cursor: pointer; }
.map__dot { fill: var(--bone); transform-box: fill-box; transform-origin: center; transition: fill 200ms ease, transform 300ms var(--ease-out), opacity 200ms ease; }
.map__dot.is-minor { opacity: 0; }
.map__home { fill: var(--red-hi); }
.map__ping { fill: none; stroke: var(--red-hi); stroke-width: 1.5px; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; opacity: 0; }
.map__scale-bar { stroke: rgb(243 236 232 / .6); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.map__label, .map__homelabel, .map__north, .map__geo, .map__scale { position: absolute; white-space: nowrap; line-height: 1.2; pointer-events: none; }
.map__label { font-size: .8125rem; color: var(--bone-3); transition: color 200ms ease, opacity 200ms ease; }
.map__label b { display: block; color: var(--bone); font-weight: 600; transition: color 200ms ease; }
.map__label b .icon { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: .3rem; color: var(--red-hi); }
.map__label.is-minor { opacity: 0; }
.map__label[data-side="r"] { transform: translate(10px, -50%); }
.map__label[data-side="l"] { transform: translate(calc(-100% - 10px), -50%); text-align: right; }
.map__label[data-side="t"] { transform: translate(-50%, calc(-100% - 8px)); text-align: center; }
.map__label[data-side="b"] { transform: translate(-50%, 8px); text-align: center; }
.map__label.is-edge[data-side="r"] { transform: translate(2px, -50%); }
.map__homelabel { transform: translate(-62%, 11px); font-family: var(--display); font-variation-settings: "wdth" 80, "opsz" 36; font-weight: 700; font-size: 1rem; color: var(--red-hi); }
.map__geo { transform: translate(-50%, -50%); font-size: .75rem; font-style: italic; letter-spacing: .03em; color: rgb(243 236 232 / .5); }
.map__scale { transform: translate(-50%, 6px); font-size: .6875rem; color: var(--bone-3); }
.map__north { top: .6rem; right: .75rem; font-size: .75rem; font-weight: 600; color: var(--bone-3); display: flex; align-items: center; gap: .3rem; }
.map__north .icon { width: 14px; height: 14px; }
/* Destacado: la ruta del destino que se señala en la lista o en el mapa */
.route__map.is-hot .map__route { stroke: rgb(243 236 232 / .16); }
.route__map .map__route.is-hot { stroke: var(--red-hi); stroke-width: .62; opacity: 1; filter: drop-shadow(0 0 3px rgb(255 90 106 / .55)); }
.route__map .map__dot.is-hot { fill: var(--red-hi); opacity: 1; transform: scale(1.6); }
.route__map.is-hot .map__label { color: rgb(243 236 232 / .3); }
.route__map.is-hot .map__label b { color: rgb(243 236 232 / .45); }
.route__map .map__label.is-hot { opacity: 1; color: var(--bone-2); }
.route__map .map__label.is-hot b { color: var(--red-hi); }
@media (prefers-reduced-motion: no-preference) {
  .js .route__map .map__route { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1400ms var(--ease-in-out), stroke 200ms ease, stroke-width 200ms ease, opacity 200ms ease; transition-delay: calc(200ms + var(--i) * 110ms), 0s, 0s, 0s; }
  .js .route__map .map__dot, .js .route__map .map__label:not(.is-minor) { opacity: 0; transition: opacity 500ms var(--ease-out), fill 200ms ease, color 200ms ease, transform 300ms var(--ease-out); transition-delay: calc(900ms + var(--i) * 110ms), 0s, 0s, 0s; }
  .route__map.is-drawn .map__route { stroke-dashoffset: 0; }
  .route__map.is-drawn .map__dot:not(.is-minor), .route__map.is-drawn .map__label:not(.is-minor) { opacity: 1; }
  .route__map.is-drawn .map__ping { animation: ping 2.6s var(--ease-out) 1.2s infinite; }
}
@keyframes ping { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(6); } }

/* ---------- Consulta ---------- */
.enquiry { position: relative; isolation: isolate; overflow: hidden; padding: clamp(6rem, 14vh, 10rem) 0; background: var(--ink-2); border-block: 1px solid var(--line); }
.enquiry::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 72% 42%, rgb(142 12 31 / .38), transparent 70%);
}
.has-snap .enquiry::before {
  background: var(--wine-snap) center / cover no-repeat; opacity: .5;
  -webkit-mask-image: radial-gradient(55% 65% at 72% 45%, #000 10%, transparent 75%);
  mask-image: radial-gradient(55% 65% at 72% 45%, #000 10%, transparent 75%);
}
.enquiry__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.channels { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: .5rem; }
.channels a, .channels div {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 0; text-decoration: none;
  border-top: 1px solid var(--line);
}
.channels .icon { width: 24px; height: 24px; color: var(--red-hi); }
.channels small { display: block; font-size: .8125rem; color: var(--bone-3); }
.channels strong { font-weight: 600; }
.channels a .go { margin-left: auto; width: 20px; height: 20px; color: var(--bone-3); transition: transform 240ms var(--ease-out), color 200ms ease; }
.channels a:hover .go { transform: translate(2px, -2px); color: var(--bone); }
/* Alternativa secundaria: reservar en Booking (la vía principal sigue siendo la consulta directa) */
.booking-alt { margin-top: 1.75rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgb(243 236 232 / .03); }
.booking-alt p { margin: 0 0 .75rem; color: var(--bone-2); font-size: .9688rem; }
.booking-alt strong { color: var(--bone); font-weight: 600; }

.form { background: var(--ink); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(1.25rem, 3vw, 2.25rem); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .5rem; margin-bottom: 1.25rem; }
.field label, .field .label { font-size: .875rem; font-weight: 600; color: var(--bone); }
.field .help { font-size: .8125rem; color: var(--bone-3); }
.input {
  width: 100%; min-height: 52px; padding: .75rem 1rem;
  background: var(--ink-2); border: 1px solid rgb(243 236 232 / .28); border-radius: var(--radius-sm);
  transition: border-color 200ms ease, box-shadow 200ms ease;
  color-scheme: dark;
}
.input::placeholder { color: rgb(243 236 232 / .55); }
.input:hover { border-color: rgb(243 236 232 / .45); }
.input:focus { outline: none; border-color: var(--bone); box-shadow: 0 0 0 3px rgb(255 90 106 / .35); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--bone) 50%), linear-gradient(135deg, var(--bone) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
select.input option { background: var(--ink-2); color: var(--bone); }
textarea.input { min-height: 96px; resize: vertical; }
.field.is-invalid .input { border-color: var(--red-hi); }
.error { font-size: .8125rem; color: var(--red-hi); min-height: 0; }
.error:empty { display: none; }
.stepper { display: flex; align-items: center; border: 1px solid rgb(243 236 232 / .28); border-radius: var(--radius-sm); background: var(--ink-2); min-height: 52px; }
.stepper button { width: 52px; height: 50px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; transition: transform 160ms var(--ease-out); }
.stepper button:active { transform: scale(.9); }
.stepper button[disabled] { opacity: .3; cursor: default; }
.stepper output { flex: 1; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.estimate {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 0; margin: .25rem 0 1rem; border-block: 1px solid var(--line);
}
.estimate strong { font-family: var(--display); font-variation-settings: "wdth" 75, "opsz" 96; font-size: 2.25rem; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.estimate span { color: var(--bone-2); font-size: .9375rem; }
.preview { margin: 0 0 1.25rem; }
.preview summary { cursor: pointer; font-size: .875rem; font-weight: 600; color: var(--bone-2); padding: .25rem 0; }
.preview pre {
  white-space: pre-wrap; font-family: var(--body); font-size: .9375rem; line-height: 1.55; color: var(--bone-2);
  background: var(--ink-2); border-radius: var(--radius-sm); padding: 1rem; margin: .75rem 0 0;
}
.form__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.form__actions .btn { flex: 1 1 200px; }
.form__legal { margin: 1rem 0 0; font-size: .8125rem; color: var(--bone-3); }
.form__status { margin: 1rem 0 0; font-size: .9375rem; color: var(--bone); }
.form__status:empty { display: none; }

/* ---------- Preguntas ---------- */
.faq { padding: clamp(6rem, 14vh, 10rem) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--nav-h) + 2rem); }
.ask {
  margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--radius);
  background: linear-gradient(160deg, rgb(208 21 47 / .2), rgb(208 21 47 / .04) 70%), var(--ink-2);
  border: 1px solid rgb(255 90 106 / .28);
}
.ask__title { margin: 0; font-family: var(--display); font-variation-settings: "wdth" 80, "opsz" 48; font-weight: 650; font-size: 1.6rem; line-height: 1.1; }
.ask__text { margin: .5rem 0 1.25rem; color: var(--bone-2); }
.ask__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.ask__actions .btn { flex: 1 1 auto; }
.faq__list { display: grid; gap: .6rem; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: background-color 250ms ease, border-color 250ms ease;
}
@media (hover: hover) and (pointer: fine) { .faq details:hover { border-color: rgb(243 236 232 / .3); } }
.faq details[open] { background: var(--ink-2); border-color: rgb(243 236 232 / .24); }
.faq summary {
  list-style: none; cursor: pointer; border-radius: var(--radius);
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 34px; align-items: center; gap: 1rem;
  padding: 1rem 1.1rem 1rem 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink-3); color: var(--red-hi); transition: background-color 250ms ease, color 250ms ease;
}
.faq__icon .icon { width: 22px; height: 22px; }
.faq details[open] .faq__icon { background: var(--red); color: #fff; }
.faq__q { font-family: var(--display); font-variation-settings: "wdth" 85, "opsz" 36; font-weight: 600; font-size: clamp(1.15rem, 1.55vw, 1.4rem); line-height: 1.2; }
.faq__toggle {
  width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center;
  transition: transform 300ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.faq__toggle .icon { width: 16px; height: 16px; }
.faq details[open] .faq__toggle { transform: rotate(45deg); background: var(--bone); border-color: var(--bone); color: var(--ink); }
.faq__a { padding: 0 1.25rem 1.4rem calc(1rem + 44px + 1rem); }
.faq__a p { margin: 0; color: var(--bone-2); max-width: 58ch; }
.faq__a a { color: var(--bone); text-decoration-color: var(--red-hi); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height 380ms var(--ease-out), content-visibility 380ms allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq__a { animation: faq-in 450ms var(--ease-out); }
}
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Pie ---------- */
.footer { padding: clamp(5rem, 12vh, 8rem) 0 calc(2rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); overflow: hidden; }
.footer__glass { position: relative; margin: 0 0 3rem; font-size: clamp(6rem, 33vw, 36rem); }
.footer__word {
  font-family: var(--display); font-variation-settings: "wdth" 75, "opsz" 96; font-weight: 800;
  font-size: 1em; line-height: .78; letter-spacing: -.035em; margin: 0; white-space: nowrap;
  color: rgb(243 236 232 / 0); -webkit-text-stroke: 1.5px rgb(255 90 106 / .55);
}
/* Las letras como copas: un lienzo WebGL las dibuja y las llena de vino al llegar al pie */
.footer__canvas {
  position: absolute; left: 0; width: 100%; top: -.3em; height: calc(100% + .6em);
  opacity: 0; transition: opacity 500ms ease; pointer-events: none;
}
.footer__glass.is-live .footer__canvas { opacity: 1; }
.footer__glass.is-live .footer__word { color: rgb(243 236 232 / 0); -webkit-text-stroke: 0; background: none; }
.has-snap .footer__word {
  background: var(--wine-snap) center 45% / cover no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer__grid h2 { font-size: .8125rem; font-weight: 600; color: var(--bone-3); margin: 0 0 .75rem; letter-spacing: .02em; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.footer__grid a { text-decoration: none; color: var(--bone-2); transition: color 200ms ease; }
.footer__grid a:hover { color: var(--bone); }
.footer__logo { width: 235px; height: auto; filter: invert(1); mix-blend-mode: screen; opacity: .9; margin-bottom: 1rem; }
.footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .8125rem; color: var(--bone-3); }

.footer__bottom a { color: var(--bone-2); text-decoration-color: rgb(243 236 232 / .35); text-underline-offset: 3px; }
.footer__bottom a:hover { color: var(--bone); }
.form__legal a { color: var(--bone-2); text-underline-offset: 3px; }

/* ---------- Página legal ---------- */
.legal { padding: calc(var(--nav-h) + clamp(3rem, 8vh, 5rem)) 0 clamp(4rem, 10vh, 7rem); }
.legal__inner { max-width: 74ch; }
.legal .lede { margin-bottom: 1rem; }
.legal h2 {
  font-family: var(--display); font-variation-settings: "wdth" 82, "opsz" 48; font-weight: 650;
  font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; margin: 3rem 0 1rem;
}
.legal h3 { font-size: 1.0625rem; margin: 1.75rem 0 .5rem; }
.legal p, .legal li { color: var(--bone-2); }
.legal ul { padding-left: 1.2rem; }
.legal li + li { margin-top: .4rem; }
.legal a { color: var(--bone); text-decoration-color: var(--red-hi); text-underline-offset: 3px; }
.legal__data { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .6rem 1.5rem; margin: 1.25rem 0 0; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); }
.legal__data dt { color: var(--bone-3); font-size: .9375rem; }
.legal__data dd { margin: 0; color: var(--bone); font-weight: 500; overflow-wrap: anywhere; }
.legal__updated { margin-top: 3rem; font-size: .875rem; color: var(--bone-3); }
.nav--static { background: rgb(16 10 11 / .92); border-bottom: 1px solid var(--line); }
.nav--static .link-arrow { margin-left: auto; }
@media (max-width: 520px) { .legal__data { grid-template-columns: 1fr; gap: .15rem; } .legal__data dd { margin-bottom: .6rem; } }

/* ---------- Barra móvil ---------- */
.dock {
  position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 40;
  display: none; gap: .5rem; padding: .5rem; border-radius: 999px;
  background: rgb(25 16 15 / .88); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: translateY(calc(100% + 2rem)); transition: transform 450ms var(--ease-drawer);
}
.dock.is-visible { transform: none; }
.dock .btn { flex: 1; min-height: 48px; }
.dock .btn--wa { flex: none; width: 48px; padding: 0; background: #1f7a4a; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__menu { display: inline-flex; margin-left: .5rem; }
}
@media (max-width: 899px) {
  .hero__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero__side { padding-bottom: 0; }
  .hero__title { font-size: clamp(4.4rem, 24vw, 9rem); }
  .facts { grid-template-columns: 1fr; gap: 1.75rem; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; }
  .bento figure { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 4; }
  .bento .b1, .bento .b4 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; position: relative; height: auto; min-height: 0; padding: calc(var(--nav-h) + 5rem) var(--gutter) 3rem; }
  .wine-tabs { top: calc(var(--nav-h) + .5rem); }
  .stage__bottles { height: 46vh; min-height: 300px; }
  .stage__panels { padding-right: 0; margin-top: 1.5rem; }
  .stage__word { top: 30%; }
  .wines__steps { display: none; }
  .reviews { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tabs" "stage" "controls"; grid-template-rows: none; gap: 1.5rem; }
  .reviews__tabs { display: flex; gap: 1.5rem; overflow-x: auto; border-top: 0; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .reviews__tabs::-webkit-scrollbar { display: none; }
  .reviews__tabs button { flex: none; padding: .75rem 0 .9rem; }
  .reviews__topic { font-size: 1.15rem; }
  .reviews__mark { font-size: 9rem; }
  .route__grid { grid-template-columns: minmax(0, 1fr); }
  .route__text { display: contents; }
  .route__map { position: relative; top: 0; justify-self: center; order: 2; margin: 1rem 0 .5rem; }
  .route__groups { order: 3; margin-top: 1rem; }
  .route__actions { order: 4; }
  .route__note { order: 5; }
  .route__grid { gap: 1.25rem; }
  .strips { flex-direction: column; height: auto; }
  .strip { flex: none !important; height: 300px; }
  .strip p { opacity: 1; transform: none; }
  .strip:not(.is-active) .strip__title { writing-mode: horizontal-tb; rotate: none; }
  .enquiry__grid, .faq__grid { grid-template-columns: 1fr; }
  .faq__aside { display: contents; }
  .faq__aside .ask { order: 3; margin-top: .5rem; }
  .faq__list { order: 2; }
  .faq__grid { gap: 1.25rem; }
  .faq__grid .lede { margin-bottom: 1rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .dock { display: flex; }
  .footer { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 520px) {
  .nav__cta { display: none; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .props { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .faq summary { grid-template-columns: 40px minmax(0, 1fr) 30px; gap: .8rem; padding: .85rem .9rem .85rem .85rem; }
  .faq__icon { width: 40px; height: 40px; }
  .faq__a { padding: 0 1rem 1.2rem 1rem; }
  .route__list a { grid-template-columns: minmax(0, 1fr) auto; }
  .route__km { display: none; }
  .map__label { font-size: .6875rem; }
  .map__t { display: none; }
  .map__geo { font-size: .625rem; }
  .map__homelabel { font-size: .875rem; }
}

/* Menos movimiento: se conservan los fundidos de color y opacidad, se quitan desplazamientos */
@media (prefers-reduced-motion: reduce) {
  .strip, .wine-tabs__pill, .sheet__links a, .room__img img, .bento img, .dock, .faq__toggle { transition-property: opacity, background-color, color; }
  .sheet__links a { transform: none; }
  .btn:active, .round-btn:active, .room__cta:active { transform: none; }
}
