/* =========================================================
   PRADA A TOPE — Palacio de Canedo
   Sistema visual inspirado en la narrativa inmersiva de Era
   ========================================================= */

:root {
  --wine: #3B0D1C;
  --wine-deep: #22060E;
  --wine-2: #5A1428;
  --cream: #F3EEE3;
  --paper: #E9E1D1;
  --ink: #1D1613;
  --ink-soft: #4A3F38;
  --mist: #CAD2C1;
  --moss: #2E3924;
  --gold: #C9A15B;
  --red: #C8232C;

  --f-display: "Playfair", "Bodoni Moda", Georgia, serif;
  --f-script: "Pinyon Script", "Brush Script MT", cursive;
  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(1.25rem, 3.4vw, 3.5rem);
  --wrap: 1480px;
  --ease-out: cubic-bezier(.25, 1, .5, 1);
  --ease-inout: cubic-bezier(.75, 0, .25, 1);

  --fs-mega: clamp(4.6rem, 15.5vw, 18rem);
  --fs-xl: clamp(2.9rem, 7.2vw, 8.4rem);
  --fs-l: clamp(2.1rem, 4.3vw, 4.9rem);
  --fs-m: clamp(1.45rem, 2.2vw, 2.4rem);
  --fs-body: clamp(1rem, .95rem + .25vw, 1.2rem);

  --hc: var(--cream);          /* header colour */
  --svh: 100vh;
}

@supports (height: 100svh) { :root { --svh: 100svh; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
img, video { width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
figure, blockquote, h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
em { font-style: italic; }
::selection { background: var(--wine); color: var(--cream); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

/* ---------- Typographic primitives ---------- */
.micro {
  font-family: var(--f-sans);
  font-size: .72rem;
  font-weight: 500;
  font-stretch: 125%;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}
.script { font-family: var(--f-script); font-weight: 400; text-transform: none; letter-spacing: 0; line-height: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: .9rem; margin-bottom: 2rem; opacity: .75; }
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; opacity: .6; }

.title-xl, .title-l, .hero__title, .footer__title, .palacio__title, .h-intro__title, .manifesto__text,
.stats__num, .facts__num, .rooms__name, .wines__name, .tour h3, .tour__price, .marquee, .voice p,
.header__big, .menu__list a, .h-year, .h-copy h3, .h-quote__text, .enologo__quote, .bodega__big,
.posada__quote, .stack__copy h3, .bodas-more__quote, .seasons__lines p, .bodas__lines p,
.spaces h3, .resto__list h3, .pillar h3, .shop__cap h3, .perks h3, .fundacion .title-l, .footer__phone, .palacio__story-text {
  font-family: var(--f-display);
  font-weight: 400;
  font-variation-settings: "opsz" 1200, "wdth" 87.5;
  letter-spacing: -.01em;
}
.title-xl { font-size: var(--fs-xl); line-height: .95; letter-spacing: -.02em; }
.title-l { font-size: var(--fs-l); line-height: 1.02; letter-spacing: -.015em; }
.title-xl em, .title-l em { font-variation-settings: "opsz" 1200, "wdth" 100; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); position: relative; }

/* SplitText helpers */
.split-line { overflow: clip; padding-bottom: .06em; margin-bottom: -.06em; }
.split-char, .split-word { display: inline-block; will-change: transform; }
[data-r], [data-intro], [data-pl] { visibility: hidden; }
.no-js [data-r], .no-js [data-intro] { visibility: visible !important; }

/* Titulares sobre imagen: menos contraste óptico para que los trazos finos no desaparezcan */
.hero__title, .hero__side, .footer__title, .bodega__intro-text .title-xl, .bodas__head .title-xl, .palacio__title, .gate__words, .bodegon__copy .title-l, .bodas__lines p, .palacio__story-text, .stack__copy h3 {
  font-variation-settings: "opsz" 420, "wdth" 87.5;
}
.header:not(.is-light) { text-shadow: 0 0 1.4rem rgba(20, 5, 9, .35); }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.15rem 2.1rem; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-family: var(--f-sans); font-size: .74rem; font-weight: 600; font-stretch: 125%;
  letter-spacing: .15em; text-transform: uppercase; line-height: 1;
  transition: color .6s var(--ease-out), border-color .6s var(--ease-out);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .7s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn--dark { background: var(--wine); color: var(--cream); }
.btn--dark::before { background: var(--ink); }
.btn--light { background: var(--cream); color: var(--wine); }
.btn--light::before { background: var(--gold); }
.btn--ghost { border: 1px solid currentColor; color: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--cream); }
.btn--ghost-light { border: 1px solid rgba(243, 238, 227, .5); color: var(--cream); }
.btn--ghost-light::before { background: var(--cream); }
.btn--ghost-light:hover { color: var(--wine); border-color: var(--cream); }

.link-u { position: relative; display: inline-block; padding-bottom: .3rem; }
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform .7s var(--ease-out);
}
.link-u:hover::after { transform: scaleX(0); }

[data-hover-link] { position: relative; display: inline-block; perspective: 600px; }
[data-hover-link] [data-ht] { display: block; white-space: nowrap; }
[data-hover-link] [data-ht] + [data-ht] { position: absolute; inset: 0; }

.circle-btn { position: relative; width: 4.2rem; height: 4.2rem; display: grid; place-items: center; font-size: 1.2rem; }
.circle-btn svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.circle-btn circle { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.circle-btn__base { opacity: .25; }
.circle-btn__arc { stroke-width: 2; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 120; pointer-events: none; color: var(--cream); --aw: 24; --ay: 104; }
.preloader__arch {
  position: absolute; left: 50%; top: calc(var(--ay) * 1vh);
  width: calc(var(--aw) * 1vw); height: calc((160 - var(--ay)) * 1vh); transform: translateX(-50%);
  border-radius: calc(var(--aw) * .5vw) calc(var(--aw) * .5vw) 0 0;
  box-shadow: 0 0 0 250vmax var(--wine-deep);
}
.preloader__watermark {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-script); font-size: 34vw; line-height: 1; color: var(--cream);
  opacity: .045; white-space: nowrap; transform: rotate(-8deg);
}
.preloader__content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.preloader__kicker { opacity: .7; margin-bottom: 1.6rem; }
.preloader__title {
  font-family: var(--f-display); font-variation-settings: "opsz" 1200, "wdth" 87.5;
  font-size: clamp(3.4rem, 10vw, 11rem); line-height: .9; text-transform: uppercase; letter-spacing: -.01em;
  perspective: 800px;
}
.preloader__sign { width: clamp(9rem, 16vw, 15rem); margin-top: 1rem; clip-path: inset(0 100% 0 0); visibility: visible; }
.preloader__sign img { height: auto; object-fit: contain; }
.preloader__progress { position: absolute; left: 50%; bottom: 3.2rem; transform: translateX(-50%); display: flex; align-items: center; gap: 1.2rem; opacity: .75; }
.preloader__track { width: 9rem; height: 1px; background: rgba(243, 238, 227, .25); position: relative; overflow: hidden; }
.preloader__track i { position: absolute; inset: 0; background: var(--cream); transform-origin: left; transform: scaleX(0); }
.no-js .preloader { display: none; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; color: var(--cc, var(--cream)); }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: currentColor; transition: opacity .3s; }
.cursor__ring {
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid currentColor; opacity: .55;
  display: grid; place-items: center;
  transition: width .5s var(--ease-out), height .5s var(--ease-out), margin .5s var(--ease-out), background-color .4s, opacity .4s, border-color .4s;
}
.cursor__label { font-family: var(--f-sans); font-size: .62rem; font-weight: 600; font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; color: var(--wine); opacity: 0; transition: opacity .3s; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; opacity: .9; }
.cursor.is-view .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--cream); border-color: var(--cream); opacity: 1; }
.cursor.is-view .cursor__label { opacity: 1; }
.cursor.is-view .cursor__dot { opacity: 0; }
.cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: clamp(1rem, 2vw, 1.8rem) var(--pad); pointer-events: none; color: var(--hc);
  transition: color .6s var(--ease-out), transform .8s var(--ease-inout);
}
.header > * { pointer-events: auto; }
.header.is-light { --hc: var(--ink); }
.header.is-hidden { transform: translateY(-120%); }
.seal { position: relative; width: clamp(4.4rem, 6.4vw, 6.4rem); aspect-ratio: 1; display: block; }
.seal__ring { width: 100%; height: 100%; overflow: visible; }
.seal__ring text { font-family: var(--f-sans); font-size: 15.5px; font-weight: 600; font-stretch: 125%; letter-spacing: .08em; fill: currentColor; }
.seal__face { position: absolute; left: 50%; top: 50%; width: 46%; height: auto; transform: translate(-50%, -50%); transition: filter .6s; }
.header.is-light .seal__face { filter: invert(1) brightness(.35) sepia(.4); }

.header__right { display: flex; align-items: flex-start; gap: clamp(1.2rem, 2.4vw, 2.6rem); text-align: right; }
.header__big { font-size: clamp(1.4rem, 1.9vw, 2rem); line-height: 1; text-transform: uppercase; }
.header__small { display: flex; flex-direction: column; gap: .35rem; align-items: flex-end; padding-top: .15rem; }
.header__small a { font-family: var(--f-sans); font-size: .68rem; font-weight: 600; font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; }
.menu-btn { display: flex; align-items: center; gap: .8rem; padding: .55rem 0 .55rem 1rem; }
.menu-btn__dots { display: grid; gap: 5px; }
.menu-btn__dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; transition: transform .6s var(--ease-out); }
.menu-btn:hover .menu-btn__dots i:first-child { transform: translateX(-4px); }
.menu-btn:hover .menu-btn__dots i:last-child { transform: translateX(4px); }

/* ---------- Scroll progress ---------- */
.sbar { position: fixed; left: calc(var(--pad) * .5); top: 50%; z-index: 70; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: .9rem; color: var(--hc); transition: color .6s, opacity .6s; }
.sbar.is-light { --hc: var(--ink); }
.sbar__track { position: relative; width: 1px; height: 22vh; }
.sbar__track::before { content: ""; position: absolute; inset: 0; background: currentColor; opacity: .25; }
.sbar__track i { position: absolute; left: -1px; top: 0; width: 3px; height: 14%; background: currentColor; transform: translateY(calc(var(--p, 0) * 614%)); }
body.is-loading .sbar, body.is-loading .header { opacity: 0; }
.sbar, .header { transition: opacity 1s var(--ease-out), color .6s var(--ease-out); }

/* ---------- Menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 100; background: var(--wine); color: var(--cream);
  clip-path: circle(0% at calc(100% - 3rem) 3rem); visibility: hidden;
}
.menu.is-open { visibility: visible; }
.menu__inner { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 34%) 1fr; grid-template-rows: 1fr auto; gap: 0 5vw; padding: clamp(5rem, 11vh, 8rem) var(--pad) 2.5rem; }
.menu__media { grid-row: 1 / 3; position: relative; display: flex; align-items: center; justify-content: center; }
.menu__arch { width: min(100%, 26rem); aspect-ratio: 3 / 4.4; border-radius: 50vw 50vw 0 0; overflow: hidden; }
.menu__arch img { transition: transform 1.2s var(--ease-out); }
.menu__script { position: absolute; bottom: 12%; right: -8%; font-size: clamp(3rem, 6vw, 6.5rem); color: var(--gold); transform: rotate(-8deg); }
.menu__list { align-self: center; columns: 2; column-gap: 4vw; }
.menu__list li { break-inside: avoid; overflow: hidden; }
.menu__list a { display: flex; align-items: baseline; gap: 1rem; font-size: clamp(2rem, 4.1vw, 4.6rem); line-height: 1.12; text-transform: uppercase; transition: color .5s, transform .7s var(--ease-out), font-variation-settings .6s; }
.menu__list a .micro { font-size: .62rem; opacity: .55; transform: translateY(-1.2em); }
.menu__list a:hover { color: var(--gold); transform: translateX(.6rem); font-style: italic; }
.menu__foot { display: grid; grid-template-columns: auto auto 1fr; gap: 4vw; align-items: end; border-top: 1px solid rgba(243, 238, 227, .18); padding-top: 1.6rem; font-size: .95rem; }
.menu__label { opacity: .55; margin-bottom: .5rem; }
.menu__ctas { display: flex; gap: .8rem; justify-content: flex-end; flex-wrap: wrap; }
.menu__close { position: absolute; top: clamp(1.4rem, 3vh, 2.2rem); right: var(--pad); width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 1px solid rgba(243, 238, 227, .35); }
.menu__close span { position: absolute; left: 25%; right: 25%; top: 50%; height: 1px; background: currentColor; transform: rotate(45deg); transition: transform .6s var(--ease-out); }
.menu__close span + span { transform: rotate(-45deg); }
.menu__close:hover span { transform: rotate(135deg); }
.menu__close:hover span + span { transform: rotate(45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 240vh; background: var(--wine-deep); color: var(--cream); }
.hero__sticky { position: sticky; top: 0; height: var(--svh); overflow: hidden; }
.hero__media { position: absolute; inset: 0; will-change: transform; transform-origin: 50% 70%; }
.hero__zoom { position: absolute; inset: 0; }
.hero__video, .hero__night { position: absolute; inset: 0; }
.hero__night { opacity: 0; transform: scale(1.08); transition: opacity 1.4s var(--ease-inout), transform 6s var(--ease-out); }
.hero.is-night .hero__night { opacity: 1; transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 5, 9, .55) 0%, rgba(20, 5, 9, .05) 32%, rgba(20, 5, 9, .1) 62%, rgba(20, 5, 9, .72) 100%),
    radial-gradient(ellipse at 50% 45%, rgba(20, 5, 9, .35), transparent 65%);
}
.hero__content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--pad); padding-bottom: 4vh; }
.hero__kicker { margin-bottom: clamp(1rem, 2.4vh, 2rem); opacity: .85; }
.hero__title { position: relative; display: flex; flex-direction: column; align-items: center; font-size: var(--fs-mega); line-height: .8; text-transform: uppercase; letter-spacing: -.02em; perspective: 900px; }
.hero__line { display: block; }
.hero__script {
  position: absolute; right: -4%; bottom: -.34em; font-size: .52em; color: var(--cream);
  transform: rotate(-9deg); text-shadow: 0 .05em .3em rgba(20, 5, 9, .35); white-space: nowrap;
  clip-path: inset(-20% 100% -20% 0);
}
.hero__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; width: min(1180px, 88vw); margin-top: clamp(3rem, 8vh, 6rem); }
.hero__side { font-family: var(--f-display); font-variation-settings: "opsz" 420, "wdth" 87.5; font-size: clamp(1.3rem, 2.2vw, 2.4rem); text-transform: uppercase; line-height: 1; }
.hero__side:first-child { text-align: left; }
.hero__side:last-child { text-align: right; }
.daynight { display: flex; align-items: center; gap: 1rem; }
.daynight button { opacity: .5; transition: opacity .4s; font-size: .64rem; }
.daynight button.is-active { opacity: 1; }
.daynight__track { position: relative; width: 5.5rem; height: 1px; background: rgba(243, 238, 227, .35); }
.daynight__track i { position: absolute; top: -2px; left: 0; width: 50%; height: 5px; border-radius: 3px; background: var(--cream); transition: transform .8s var(--ease-inout); }
.hero.is-night .daynight__track i { transform: translateX(100%); }
.hero__bottom { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 var(--pad) clamp(1.3rem, 3.4vh, 2.4rem); }
.hero__scroll { display: flex; align-items: center; gap: .9rem; }
.hero__scroll-line { position: relative; width: 1px; height: 3.2rem; background: rgba(243, 238, 227, .3); overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 45%; background: var(--cream); animation: scrollLine 2.2s var(--ease-inout) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
.hero__ctas { display: flex; gap: 2.2rem; }
.hero__ctas a { font-size: .66rem; }

/* ---------- Manifesto ---------- */
.manifesto {
  position: relative; z-index: 3; margin-top: calc(var(--svh) * -1);
  background: var(--cream); color: var(--ink);
  padding: clamp(9rem, 26vh, 16rem) 0 clamp(6rem, 16vh, 11rem);
  border-radius: 50% 50% 0 0 / clamp(3rem, 9vw, 11rem) clamp(3rem, 9vw, 11rem) 0 0;
}
.manifesto__text { font-size: clamp(1.9rem, 4.15vw, 5rem); line-height: 1.08; letter-spacing: -.015em; text-indent: 18%; max-width: 20ch; max-width: 1280px; }
.manifesto__text .w { opacity: .13; transition: none; }
.manifesto__text em { color: var(--wine); font-variation-settings: "opsz" 1200, "wdth" 100; }
.manifesto__sign { display: flex; align-items: center; gap: 2rem; margin: clamp(2.5rem, 6vh, 4rem) 0 0 18%; }
.manifesto__sign-img { width: clamp(9rem, 15vw, 15rem); clip-path: inset(0 100% 0 0); }
.manifesto__sign-img img { height: auto; object-fit: contain; }
.manifesto__leaf { position: absolute; right: 3vw; top: 44%; width: clamp(10rem, 19vw, 20rem); color: var(--wine); opacity: .28; transform: rotate(18deg); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(5rem, 12vh, 9rem); border-top: 1px solid rgba(29, 22, 19, .15); }
.stats li { padding: 2rem 1.5rem 0 0; display: flex; flex-direction: column; gap: 1rem; border-right: 1px solid rgba(29, 22, 19, .1); padding-left: 1.5rem; }
.stats li:first-child { padding-left: 0; }
.stats li:last-child { border-right: 0; }
.stats__num { font-size: clamp(3rem, 6vw, 6.6rem); line-height: .9; color: var(--wine); }
.stats__num small { font-size: .32em; margin-left: .25em; font-family: var(--f-sans); font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; vertical-align: .9em; }
.stats .micro { opacity: .65; }

/* ---------- Botanic line art ---------- */
.botanic { fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }

/* ---------- Gate ---------- */
.gate { position: relative; height: 280vh; background: var(--wine); color: var(--cream); }
.gate__sticky { position: sticky; top: 0; height: var(--svh); overflow: hidden; display: grid; place-items: center; }
.gate__arch { position: absolute; left: 50%; top: 50%; width: clamp(15rem, 25vw, 28rem); height: min(64vh, 46rem); transform: translate(-50%, -56%); border-radius: 50vw 50vw 0 0; overflow: hidden; z-index: 1; }
.gate__arch img { transform-origin: 50% 60%; }
.gate__words { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 0; font-family: var(--f-display); font-variation-settings: "opsz" 420, "wdth" 87.5; font-size: clamp(3rem, 7vw, 8.4rem); line-height: 1; text-transform: uppercase; white-space: nowrap; letter-spacing: -.01em; mix-blend-mode: normal; text-shadow: 0 .04em .5em rgba(20, 5, 9, .3); }
.gate__words span { display: inline-block; }
.gate__script { position: absolute; z-index: 3; bottom: 7vh; left: 50%; transform: translateX(-50%); font-size: clamp(2rem, 4.4vw, 4.6rem); color: var(--gold); white-space: nowrap; }

/* ---------- Historia ---------- */
.historia { position: relative; background: var(--paper); color: var(--ink); }
.historia__sticky { position: sticky; top: 0; height: var(--svh); overflow: hidden; }
.historia__track { display: flex; align-items: center; height: 100%; gap: clamp(4rem, 7vw, 9rem); padding: 0 12vw 0 var(--pad); width: max-content; will-change: transform; }
.h-panel { flex: none; position: relative; }
.h-intro { width: min(64vw, 60rem); padding-left: 4vw; }
.h-intro__title { font-size: clamp(3rem, 7.4vw, 8.6rem); line-height: .96; letter-spacing: -.02em; text-transform: none; }
.h-intro__line { display: block; white-space: nowrap; }
.h-intro__line:nth-child(2) { padding-left: 12%; color: var(--wine); }
.h-intro__line:nth-child(4) { padding-left: 6%; }
.h-intro__title em { font-variation-settings: "opsz" 1200, "wdth" 100; }
.h-intro__lead { max-width: 28rem; margin: 2.6rem 0 0 12%; color: var(--ink-soft); }
.h-intro__hint { display: inline-flex; gap: .6rem; margin: 2rem 0 0 12%; opacity: .6; }
.h-intro__hint i { font-style: normal; animation: nudge 1.8s var(--ease-inout) infinite; }
@keyframes nudge { 50% { transform: translateX(.5rem); } }
.h-item { width: max-content; max-width: 40vw; }
.h-item--up { transform: translateY(-4vh); }
.h-item--down { transform: translateY(5vh); }
.h-year {
  position: absolute; z-index: 0; top: -.62em; left: -.06em; font-size: clamp(5.5rem, 10.5vw, 12.5rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(59, 13, 28, .45); pointer-events: none; white-space: nowrap;
}
.h-fig { position: relative; z-index: 1; height: min(42vh, 26rem); width: auto; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.h-fig--tall { height: min(48vh, 30rem); aspect-ratio: 3 / 4; }
.h-fig--square { height: min(40vh, 24rem); aspect-ratio: 1; }
.h-fig--arch { height: min(50vh, 31rem); aspect-ratio: 3 / 4; border-radius: 50vw 50vw 0 0; }
.h-fig--paper { background: var(--cream); padding: 12%; }
.h-fig--paper img { object-fit: contain; }
.h-fig img { will-change: transform; }
.h-copy { position: relative; z-index: 1; margin-top: 1.5rem; max-width: 26rem; }
.h-copy .micro { color: var(--wine); margin-bottom: .7rem; }
.h-copy h3 { font-size: clamp(1.4rem, 1.9vw, 2.1rem); line-height: 1.08; margin-bottom: .8rem; }
.h-copy p:not(.micro) { color: var(--ink-soft); font-size: .98rem; }
.h-copy .btn { margin-top: 1.8rem; }
.h-quote { width: clamp(22rem, 38vw, 40rem); padding: 3rem 0; }
.h-quote__text { font-size: clamp(2.2rem, 4vw, 4.6rem); line-height: 1.04; margin-bottom: 1.6rem; }
.h-quote__text em { color: var(--wine); font-variation-settings: "opsz" 1200, "wdth" 100; }
.h-item--hoy { width: max-content; }
.historia__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(1.5rem, 4vh, 2.6rem); height: 1px; background: rgba(29, 22, 19, .15); }
.historia__progress i { position: absolute; inset: 0; background: var(--wine); transform-origin: left; transform: scaleX(0); }

/* ---------- Palacio ---------- */
.palacio { position: relative; height: 420vh; background: var(--wine); color: var(--cream); }
.palacio__sticky { position: sticky; top: 0; height: var(--svh); overflow: hidden; }
.palacio__img { position: absolute; inset: 0; }
.palacio__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 5, 9, .2), rgba(20, 5, 9, 0) 40%, rgba(20, 5, 9, .75)); opacity: var(--shade, 0); }
.palacio__img img { transform-origin: 50% 62%; }
.palacio__mask { position: absolute; inset: 0; width: 100%; height: 100%; }
.palacio__intro { position: absolute; left: 0; right: 0; top: clamp(5.5rem, 13vh, 9rem); text-align: center; }
.palacio__intro .micro { opacity: .7; margin-bottom: 1.2rem; }
.palacio__title { font-size: clamp(3rem, 7.6vw, 8.8rem); line-height: .86; text-transform: uppercase; letter-spacing: -.02em; }
.palacio__script { font-size: clamp(2rem, 4vw, 4.4rem); color: var(--gold); margin-top: -.25em; transform: rotate(-6deg); }
.palacio__story { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(2.5rem, 9vh, 6rem); max-width: 54rem; margin: 0 auto; text-align: center; opacity: 0; }
.palacio__story .micro { opacity: .8; margin-bottom: 1.4rem; }
.palacio__story-text { font-size: clamp(1.4rem, 2.35vw, 2.6rem); line-height: 1.2; }
.palacio__story-text em { color: var(--gold); }

/* Puntos de interés (pins) */
.pins { position: absolute; inset: 0; pointer-events: none; }
.pin { position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; margin: -1.2rem 0 0 -1.2rem; pointer-events: auto; opacity: 0; visibility: hidden; color: var(--cream); }
.pin.is-off { display: none; }
.pin__dot { position: absolute; inset: 0; border-radius: 50%; background: rgba(243, 238, 227, .92); display: grid; place-items: center; box-shadow: 0 .4rem 1.4rem rgba(20, 5, 9, .35); transition: transform .5s var(--ease-out); }
.pin__dot i, .pin__dot i::after { position: absolute; width: .8rem; height: 1.5px; background: var(--wine); transition: transform .6s var(--ease-out); }
.pin__dot i::after { content: ""; left: 0; top: 0; transform: rotate(90deg); }
.pin__pulse { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(243, 238, 227, .8); animation: pinPulse 2.4s var(--ease-out) infinite; }
.pin__pulse + .pin__pulse { animation-delay: .8s; }
@keyframes pinPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.pin__card {
  position: absolute; left: 50%; bottom: calc(100% + .9rem); width: 16rem; transform: translate(-50%, .6rem); opacity: 0; pointer-events: none;
  background: var(--cream); color: var(--ink); border-radius: .8rem; padding: 1rem 1.1rem 1.1rem; text-align: left;
  font-size: .86rem; line-height: 1.45; box-shadow: 0 1.2rem 3rem rgba(20, 5, 9, .35);
  transition: opacity .45s var(--ease-out), transform .6s var(--ease-out);
}
.pin__card .micro { display: block; color: var(--wine); font-size: .58rem; margin-bottom: .35rem; }
.pin__card b { display: block; font-family: var(--f-display); font-weight: 400; font-variation-settings: "opsz" 600, "wdth" 87.5; font-size: 1.35rem; line-height: 1.1; margin-bottom: .35rem; }
.pin:hover .pin__card, .pin:focus-visible .pin__card, .pin.is-open .pin__card { opacity: 1; transform: translate(var(--tx, -50%), 0); }
.pin__card { transform: translate(var(--tx, -50%), .6rem); }
.pin:hover .pin__dot, .pin.is-open .pin__dot { transform: scale(1.12); }
.pin:hover .pin__dot i, .pin.is-open .pin__dot i { transform: rotate(135deg); }

/* Barra de reserva móvil */
.mbar { display: none; }
@media (max-width: 991px) {
  .mbar {
    position: fixed; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 75; display: flex; gap: .35rem; padding: .35rem;
    transform: translate(-50%, 160%); background: rgba(34, 6, 14, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid rgba(243, 238, 227, .14); border-radius: 999px; transition: transform .8s var(--ease-inout);
  }
  .mbar.is-visible { transform: translate(-50%, 0); }
  .mbar a { display: grid; place-items: center; padding: .85rem 1.2rem; border-radius: 999px; color: var(--cream); font-size: .64rem; font-weight: 600; font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
  .mbar a:first-child { background: var(--cream); color: var(--wine); }
  .mbar a:last-child { width: 2.8rem; padding: 0; }
  .mbar svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
}

/* ---------- Posada ---------- */
.posada { position: relative; background: var(--cream); padding: clamp(7rem, 16vh, 12rem) 0; overflow: hidden; }
.posada__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: start; }
.posada__lead { grid-column: 1 / 8; }
.posada__lead em { color: var(--wine); }
.posada__body { grid-column: 8 / 13; padding-top: 3.2rem; color: var(--ink-soft); }
.posada__quote { margin-top: 2rem; font-size: clamp(1.5rem, 2.2vw, 2.3rem); line-height: 1.15; color: var(--ink); }
.posada__quote em { color: var(--wine); }
.posada__fig { overflow: hidden; }
.posada__fig--a { grid-column: 2 / 6; aspect-ratio: 3 / 4; margin-top: 5rem; border-radius: 50vw 50vw 0 0; }
.posada__fig--b { grid-column: 8 / 12; aspect-ratio: 4 / 3; margin-top: 12rem; }

/* ---------- Rooms ---------- */
.rooms { background: var(--cream); padding: 0 0 clamp(7rem, 16vh, 12rem); }
.rooms__head { max-width: 60rem; margin-bottom: clamp(3rem, 8vh, 5.5rem); }
.rooms__head em { color: var(--wine); }
.rooms__grid { display: grid; grid-template-columns: 1.05fr 1.2fr .9fr; gap: clamp(1.5rem, 3.4vw, 4rem); align-items: stretch; }
.rooms__list { display: flex; flex-direction: column; border-top: 1px solid rgba(29, 22, 19, .15); }
.rooms__tab { width: 100%; text-align: left; display: grid; grid-template-columns: 2.6rem 1fr; grid-template-rows: auto auto; column-gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(29, 22, 19, .15); transition: color .5s; }
.rooms__n { grid-row: 1 / 3; font-family: var(--f-sans); font-size: .72rem; font-weight: 600; font-stretch: 125%; letter-spacing: .12em; padding-top: .7rem; opacity: .5; }
.rooms__name { font-size: clamp(1.6rem, 2.5vw, 2.8rem); line-height: 1.05; transition: transform .7s var(--ease-out), color .5s; }
.rooms__tab .micro { opacity: .5; margin-top: .45rem; }
.rooms__tab:hover .rooms__name, .rooms__tab.is-active .rooms__name { color: var(--wine); transform: translateX(.6rem); font-style: italic; }
.rooms__tab.is-active .rooms__n { opacity: 1; color: var(--wine); }
.rooms__stage { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 50vw 50vw 0 0; background: var(--ink); }
.rooms__slide { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); }
.rooms__slide.is-active { clip-path: inset(0 0 0 0); }
.rooms__info { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2rem; }
.rooms__texts { position: relative; }
.rooms__text { display: none; color: var(--ink-soft); }
.rooms__text.is-active { display: block; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: clamp(4rem, 10vh, 7rem); padding-top: 2.8rem; border-top: 1px solid rgba(29, 22, 19, .15); }
.perks svg { width: 2.6rem; height: 2.6rem; fill: none; stroke: var(--wine); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.2rem; }
.perks h3 { font-size: 1.45rem; line-height: 1.1; margin-bottom: .5rem; }
.perks p { font-size: .92rem; color: var(--ink-soft); }

/* ---------- Seasons ---------- */
.seasons { position: relative; height: 420vh; color: var(--cream); background: var(--s-bg, #56626B); }
.seasons__sticky { position: sticky; top: 0; height: var(--svh); overflow: hidden; display: grid; place-items: center; }
.seasons__eyebrow { position: absolute; top: clamp(6rem, 14vh, 9rem); left: 0; right: 0; text-align: center; opacity: .8; }
.seasons__names { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.seasons__names span { grid-area: 1 / 1; font-size: clamp(6rem, 21vw, 24rem); opacity: 0; transform: translateY(20%) rotate(-6deg); white-space: nowrap; color: rgba(243, 238, 227, .92); }
.seasons__arch { position: relative; z-index: 2; width: clamp(14rem, 22vw, 24rem); aspect-ratio: 3 / 4.3; border-radius: 50vw 50vw 0 0; overflow: hidden; box-shadow: 0 2rem 5rem rgba(0, 0, 0, .25); }
.seasons__arch img { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
.seasons__arch img:first-child { clip-path: inset(0 0 0 0); }
.seasons__lines { position: absolute; left: 0; right: 0; bottom: clamp(3rem, 9vh, 6rem); display: grid; text-align: center; padding: 0 var(--pad); }
.seasons__lines p { grid-area: 1 / 1; font-size: clamp(1.3rem, 2.3vw, 2.5rem); line-height: 1.15; opacity: 0; font-style: italic; }
.seasons__dots { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); display: grid; gap: .8rem; }
.seasons__dots li { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .3; transition: opacity .4s, transform .4s; }
.seasons__dots li.is-active { opacity: 1; transform: scale(1.5); }

/* ---------- Bodega ---------- */
.bodega { position: relative; background: var(--wine-deep); color: var(--cream); overflow-x: clip; }
.bodega__intro { position: relative; height: 210vh; }
.bodega__pin { position: sticky; top: 0; height: var(--svh); overflow: hidden; }
.bodega__frame { position: absolute; inset: 0; clip-path: inset(16% 30% 16% 30% round 40vw 40vw 0 0); }
.bodega__frame-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(20, 5, 9, .15), rgba(20, 5, 9, .65)); }
.bodega__intro-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.bodega__intro-text .micro { margin-bottom: 1.4rem; opacity: .8; }
.bodega__intro-text .title-xl { font-size: clamp(3.6rem, 12vw, 14rem); text-transform: uppercase; line-height: .85; perspective: 900px; text-shadow: 0 .04em .4em rgba(20, 5, 9, .5); }
.bodega__script { font-size: clamp(2rem, 4.6vw, 5rem); color: var(--gold); margin-top: -.15em; transform: rotate(-7deg); }
.bodega__story { padding: clamp(6rem, 14vh, 10rem) var(--pad) clamp(4rem, 10vh, 7rem); }
.bodega__story-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 6vw; align-items: end; }
.bodega__big { font-size: clamp(1.7rem, 3vw, 3.4rem); line-height: 1.12; }
.bodega__big em { color: var(--gold); }
.bodega__side { color: rgba(243, 238, 227, .72); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(4rem, 10vh, 7rem); border-top: 1px solid rgba(243, 238, 227, .18); }
.facts li { padding: 2rem 1.5rem 0; border-right: 1px solid rgba(243, 238, 227, .12); display: flex; flex-direction: column; gap: 1rem; }
.facts li:first-child { padding-left: 0; }
.facts li:last-child { border-right: 0; }
.facts__num { font-size: clamp(2.8rem, 5.4vw, 6rem); line-height: .9; color: var(--gold); }
.facts__num small { font-size: .3em; margin-left: .3em; font-family: var(--f-sans); font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; vertical-align: 1em; color: var(--cream); }
.facts .micro { opacity: .6; max-width: 16rem; }
.panorama { position: relative; margin: 0 var(--pad); aspect-ratio: 3.05 / 1; overflow: hidden; border-radius: .4rem; }
.wines { padding-top: clamp(6rem, 15vh, 11rem); padding-bottom: clamp(6rem, 14vh, 10rem); }
.wines__head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: end; margin-bottom: 3.5rem; }
.wines__head .eyebrow { margin-bottom: 0; }
.wines__head em { color: var(--gold); }
.wines__list { border-top: 1px solid rgba(243, 238, 227, .18); }
.wines__list a { position: relative; display: grid; grid-template-columns: 4rem 1.1fr 1.2fr 3rem; align-items: center; gap: 1.5rem; padding: 1.35rem 0; border-bottom: 1px solid rgba(243, 238, 227, .18); transition: color .5s; }
.wines__list a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(201, 161, 91, .12), transparent 70%); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-out); z-index: -1; }
.wines__list a:hover::before { transform: scaleY(1); }
.wines__list .micro { opacity: .5; }
.wines__name { font-size: clamp(2.2rem, 5vw, 5.6rem); line-height: 1; text-transform: uppercase; transition: transform .8s var(--ease-out), color .5s; }
.wines__desc { color: rgba(243, 238, 227, .66); font-size: .98rem; }
.wines__arrow { font-size: 1.6rem; justify-self: end; transition: transform .6s var(--ease-out); }
.wines__list a:hover .wines__name { transform: translateX(1.2rem); color: var(--gold); font-style: italic; }
.wines__list a:hover .wines__arrow { transform: translateX(.4rem) rotate(-45deg); }
.wines__float { position: fixed; left: 0; top: 0; z-index: 60; width: clamp(14rem, 20vw, 21rem); aspect-ratio: 3 / 4; pointer-events: none; overflow: hidden; border-radius: 50vw 50vw 0 0; opacity: 0; transform: translate(-50%, -50%) scale(.6); }
.enologo { display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; align-items: center; padding-bottom: clamp(5rem, 12vh, 9rem); }
.enologo__fig { aspect-ratio: 3 / 4.2; overflow: hidden; border-radius: 50vw 50vw 0 0; }
.enologo__quote { font-size: clamp(2rem, 3.6vw, 4rem); line-height: 1.06; margin-bottom: 2rem; }
.enologo__quote em { color: var(--gold); }
.enologo__copy > p:not(.micro) { color: rgba(243, 238, 227, .72); max-width: 36rem; margin-bottom: 1.6rem; }
.enologo__copy > .micro:last-child { color: var(--gold); }
.bottles { position: relative; padding: 0 0 clamp(4rem, 10vh, 7rem); overflow: hidden; }
.bottles img { width: min(1400px, 110vw); height: auto; object-fit: contain; margin: 0 auto; filter: drop-shadow(0 2rem 3rem rgba(0, 0, 0, .45)); }

/* ---------- Marquee ---------- */
.marquee { position: relative; background: var(--paper); color: var(--ink); overflow: hidden; padding: clamp(2rem, 5vh, 3.4rem) 0; border-top: 1px solid rgba(29, 22, 19, .1); border-bottom: 1px solid rgba(29, 22, 19, .1); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee span { font-size: clamp(2.6rem, 6.6vw, 7.6rem); line-height: 1; text-transform: uppercase; padding: 0 2.2vw; white-space: nowrap; }
.marquee em { color: var(--wine); text-transform: none; font-variation-settings: "opsz" 1200, "wdth" 100; }
.marquee i { font-style: normal; color: var(--gold); font-size: clamp(1rem, 2vw, 2rem); }

/* ---------- Conservas ---------- */
.conservas { position: relative; background: var(--cream); padding-top: clamp(7rem, 16vh, 12rem); }
.conservas__intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 6vw; align-items: center; }
.conservas__intro-copy { position: relative; }
.conservas__title em { color: var(--wine); }
.conservas__intro-copy p:not(.micro) { color: var(--ink-soft); max-width: 36rem; margin-top: 1.5rem; }
.conservas__intro-copy .title-xl { font-size: clamp(2.6rem, 6vw, 7rem); margin-bottom: 1rem; }
.botanic--cherry { position: absolute; right: 6%; bottom: -34%; width: clamp(7rem, 11vw, 11rem); color: var(--red); opacity: .55; transform: rotate(-12deg); }
.conservas__media { position: relative; }
.conservas__arch { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 50vw 50vw 0 0; }
.conservas__script { margin-top: 1.4rem; text-align: right; font-size: clamp(2rem, 3.4vw, 3.6rem); color: var(--wine); transform: rotate(-5deg); line-height: .95; }
.stack { position: relative; padding: clamp(7rem, 16vh, 12rem) var(--pad) 4rem; max-width: 1560px; margin: 0 auto; }
.stack__card {
  position: sticky; top: 9vh; height: min(82vh, 52rem); margin-bottom: 6vh;
  display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; border-radius: 1.6rem;
  background: var(--card); color: var(--cream); transform-origin: 50% 0;
  box-shadow: 0 -1.5rem 4rem rgba(20, 5, 9, .18);
}
.stack__img { position: relative; overflow: hidden; }
.stack__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 5.5rem); }
.stack__copy .micro { opacity: .7; margin-bottom: 1.2rem; }
.stack__copy h3 { font-size: clamp(2.8rem, 6vw, 7rem); line-height: .9; text-transform: uppercase; margin-bottom: 1rem; }
.stack__tag { font-family: var(--f-script); font-size: clamp(1.8rem, 3vw, 3.2rem); line-height: 1.05; color: var(--gold); margin-bottom: 1.6rem; }
.stack__copy p:not(.micro):not(.stack__tag) { color: rgba(243, 238, 227, .82); max-width: 30rem; }
.stack__link { margin-top: 2rem; align-self: flex-start; padding-bottom: .35rem; border-bottom: 1px solid currentColor; transition: letter-spacing .6s var(--ease-out); }
.stack__link:hover { letter-spacing: .24em; }
.bodegon { position: relative; height: 110vh; overflow: hidden; color: var(--cream); }
.bodegon__img { position: absolute; inset: 0; }
.bodegon__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 5, 9, .5), rgba(20, 5, 9, .05) 40%, rgba(20, 5, 9, .6)); }
.bodegon__copy { position: absolute; left: 0; right: 0; top: 14vh; text-align: center; padding: 0 var(--pad); }
.bodegon__copy .title-l { max-width: 18ch; margin: 0 auto; }
.bodegon__copy em { color: var(--gold); }

/* ---------- Restaurante ---------- */
.resto { background: var(--paper); padding: clamp(7rem, 16vh, 12rem) 0; overflow: hidden; }
.resto__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 6vw; align-items: start; }
.resto__copy .title-xl { font-size: clamp(2.8rem, 6.4vw, 7.4rem); margin-bottom: 2rem; }
.resto__copy .title-xl em { color: var(--wine); }
.resto__copy > div > p { color: var(--ink-soft); max-width: 34rem; margin-bottom: 1.1rem; }
.resto__list { margin: 2.6rem 0; border-top: 1px solid rgba(29, 22, 19, .15); }
.resto__list li { display: grid; grid-template-columns: 3rem 1fr; padding: 1.2rem 0; border-bottom: 1px solid rgba(29, 22, 19, .15); }
.resto__list .micro { padding-top: .5rem; opacity: .5; }
.resto__list h3 { font-size: 1.6rem; line-height: 1.1; }
.resto__list p { font-size: .92rem; color: var(--ink-soft); }
.resto__ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.resto__collage { position: relative; height: clamp(38rem, 88vh, 60rem); }
.resto__f { position: absolute; overflow: hidden; }
.resto__f--1 { left: 0; top: 0; width: 72%; aspect-ratio: 4 / 3; }
.resto__f--2 { right: 0; top: 30%; width: 44%; aspect-ratio: 3 / 4; border-radius: 50vw 50vw 0 0; }
.resto__f--3 { left: 8%; bottom: 0; width: 34%; aspect-ratio: 2 / 3; }
.resto__f--4 { left: 46%; bottom: 4%; width: 30%; aspect-ratio: 1; border-radius: 50%; }
.resto__script { position: absolute; right: 0; bottom: -7%; max-width: 17ch; text-align: right; font-size: clamp(1.6rem, 2.3vw, 2.5rem); line-height: 1.05; color: var(--wine); transform: rotate(-5deg); z-index: 2; }

/* ---------- Visitas ---------- */
.visitas { position: relative; background: var(--mist); color: var(--ink); padding: clamp(7rem, 16vh, 12rem) 0; overflow: hidden; }
.visitas__grapes { position: absolute; left: -2vw; top: 6%; width: clamp(9rem, 15vw, 16rem); color: var(--moss); opacity: .45; transform: rotate(-14deg); }
.visitas__head { text-align: center; max-width: 56rem; margin: 0 auto clamp(3.5rem, 9vh, 6rem); }
.visitas__head .eyebrow { justify-content: center; }
.visitas__head .eyebrow::after { content: ""; width: 2.2rem; height: 1px; background: currentColor; opacity: .6; }
.visitas__head em { color: var(--wine); }
.visitas__lead { color: var(--ink-soft); max-width: 40rem; margin: 1.8rem auto 0; }
.tours { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 2rem); align-items: start; }
.tour { position: relative; background: var(--cream); border-radius: 1.2rem; overflow: hidden; transform-style: preserve-3d; will-change: transform; transition: box-shadow .6s; }
.tour:hover { box-shadow: 0 2.5rem 5rem rgba(29, 22, 19, .18); }
.tour--feature { background: var(--wine); color: var(--cream); margin-top: -2.5rem; }
.tour__img { aspect-ratio: 4 / 3.6; overflow: hidden; }
.tour__img img { transition: transform 1.4s var(--ease-out); }
.tour:hover .tour__img img { transform: scale(1.06); }
.tour__body { position: relative; padding: 1.8rem 1.8rem 2rem; }
.tour__badge { position: absolute; top: -1rem; left: 1.8rem; background: var(--gold); color: var(--wine-deep); padding: .55rem .9rem; border-radius: 999px; font-size: .6rem; }
.tour__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.tour h3 { font-size: clamp(2.2rem, 3.2vw, 3.4rem); line-height: 1; text-transform: uppercase; }
.tour__price { font-size: clamp(2.6rem, 3.8vw, 4rem); line-height: 1; color: var(--wine); }
.tour--feature .tour__price { color: var(--gold); }
.tour__price small { font-size: .5em; margin-left: .1em; }
.tour__meta { opacity: .6; margin: .6rem 0 1.4rem; }
.tour ul { display: grid; gap: .55rem; margin-bottom: 1.8rem; font-size: .93rem; }
.tour li { position: relative; padding-left: 1.2rem; }
.tour li::before { content: ""; position: absolute; left: 0; top: .7em; width: .45rem; height: 1px; background: currentColor; }
.tour__cta { display: inline-block; padding-bottom: .3rem; border-bottom: 1px solid currentColor; }
.visitas__note { text-align: center; margin-top: 3rem; opacity: .6; }

/* ---------- Bodas ---------- */
.bodas { position: relative; height: 340vh; background: #140B0A; color: var(--cream); }
.bodas__sticky { position: sticky; top: 0; height: var(--svh); overflow: hidden; }
.bodas__arch { position: absolute; inset: 0; clip-path: inset(14% 34% 0% 34% round 16vw 16vw 0vw 0vw); }
.bodas__shade { position: absolute; inset: 0; background: rgba(20, 11, 10, var(--bshade, .25)); }
.bodas__head { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; padding: 0 var(--pad); }
.bodas__head .micro { opacity: .8; margin-bottom: 1.6rem; }
.bodas__head .title-xl { text-transform: uppercase; font-size: clamp(2.6rem, 7vw, 8rem); line-height: .92; }
.bodas__si { display: inline-block; font-size: 1.05em; color: var(--gold); text-transform: none; transform: rotate(-5deg) translateY(.08em); }
.bodas__lines { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: .4rem; text-align: center; padding: 0 var(--pad); }
.bodas__lines p { font-size: clamp(2rem, 5vw, 5.6rem); line-height: 1.05; opacity: 0; }
.bodas__lines em { color: var(--gold); }
.bodas-more { background: #140B0A; color: var(--cream); padding: clamp(6rem, 14vh, 10rem) 0 clamp(6rem, 14vh, 10rem); overflow: hidden; }
.bodas-more__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 6vw; align-items: end; }
.bodas-more__grid em { color: var(--gold); }
.bodas-more__grid > div > p:not(.micro) { color: rgba(243, 238, 227, .72); max-width: 34rem; margin-top: 1.6rem; }
.spaces { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid rgba(243, 238, 227, .16); }
.spaces li { padding: 1.6rem 1.4rem 1.6rem 0; border-bottom: 1px solid rgba(243, 238, 227, .16); }
.spaces li:nth-child(odd) { border-right: 1px solid rgba(243, 238, 227, .16); }
.spaces li:nth-child(even) { padding-left: 1.4rem; }
.spaces .micro { color: var(--gold); }
.spaces h3 { font-size: 1.9rem; line-height: 1.1; margin: .5rem 0 .3rem; }
.spaces p { font-size: .92rem; color: rgba(243, 238, 227, .66); }
.gallery { position: relative; margin-top: clamp(5rem, 12vh, 8rem); cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.gallery.is-dragging { cursor: grabbing; }
.gallery__track { display: flex; gap: 1.2rem; padding: 0 var(--pad); width: max-content; align-items: center; will-change: transform; }
.gallery figure { flex: none; height: clamp(18rem, 52vh, 34rem); aspect-ratio: 3 / 2; overflow: hidden; border-radius: .4rem; }
.gallery figure.is-tall { aspect-ratio: 2 / 3; }
.gallery img { pointer-events: none; transition: transform 1.2s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery__hint { text-align: center; margin-top: 1.6rem; opacity: .5; }
.gallery__hint i { font-style: normal; }
.bodas-more__foot { display: grid; grid-template-columns: 1.3fr 1fr; gap: 5vw; align-items: end; margin-top: clamp(5rem, 12vh, 8rem); }
.bodas-more__quote { font-size: clamp(1.8rem, 3.2vw, 3.4rem); line-height: 1.1; }
.bodas-more__quote em { color: var(--gold); }
.bodas-more__quote cite { display: block; font-style: normal; margin-top: 1.4rem; opacity: .7; }
.bodas-more__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; justify-content: flex-end; }

/* ---------- Voices ---------- */
.voices { background: var(--cream); padding: clamp(7rem, 16vh, 12rem) 0; }
.voices__stage { display: grid; margin-top: 1rem; }
.voice { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.voice.is-active { opacity: 1; visibility: visible; }
.voice p { font-size: clamp(1.9rem, 3.9vw, 4.4rem); line-height: 1.08; letter-spacing: -.015em; max-width: 24ch; max-width: 1200px; }
.voice em { color: var(--wine); font-variation-settings: "opsz" 1200, "wdth" 100; }
.voice cite { display: flex; align-items: center; gap: 1.2rem; margin-top: 2.4rem; font-style: normal; }
.voice cite span:first-child { font-family: var(--f-script); font-size: 2.6rem; line-height: 1; color: var(--wine); }
.voice cite .micro { opacity: .6; }
.voices__nav { display: flex; align-items: center; gap: 1.6rem; margin-top: 3.4rem; }
.voices__count b { font-weight: 600; color: var(--wine); }

/* ---------- Fundación ---------- */
.fundacion { background: var(--moss); color: var(--cream); padding: clamp(7rem, 16vh, 12rem) 0; }
.fundacion__head { display: grid; grid-template-columns: auto 1fr; gap: 2rem 4vw; align-items: start; margin-bottom: clamp(3.5rem, 9vh, 6rem); }
.fundacion__logo { width: clamp(6rem, 10vw, 10rem); height: auto; grid-row: 1 / 3; }
.fundacion .title-l em { color: var(--gold); }
.fundacion__lead { color: rgba(243, 238, 227, .75); max-width: 44rem; }
.pillars { border-top: 1px solid rgba(243, 238, 227, .2); }
.pillar { border-bottom: 1px solid rgba(243, 238, 227, .2); }
.pillar__head { width: 100%; display: grid; grid-template-columns: 4rem 1fr 3rem; align-items: center; padding: 1.8rem 0; text-align: left; }
.pillar__head .micro { opacity: .55; }
.pillar h3 { font-size: clamp(1.8rem, 3.6vw, 3.8rem); line-height: 1; transition: transform .7s var(--ease-out), color .5s; }
.pillar__head:hover h3 { transform: translateX(.8rem); color: var(--gold); }
.pillar__ico { position: relative; width: 1.6rem; height: 1.6rem; justify-self: end; }
.pillar__ico::before, .pillar__ico::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .6s var(--ease-out); }
.pillar__ico::after { transform: rotate(90deg); }
.pillar.is-open .pillar__ico::after { transform: rotate(0deg); }
.pillar__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .9s var(--ease-inout); }
.pillar.is-open .pillar__body { grid-template-rows: 1fr; }
.pillar__inner { overflow: hidden; display: grid; grid-template-columns: minmax(0, 22rem) 1fr; gap: 4vw; align-items: start; padding-left: 4rem; }
.pillar__inner img { aspect-ratio: 4 / 3; border-radius: .4rem; margin-bottom: 2.2rem; }
.pillar__inner > div { padding-bottom: 2.2rem; display: grid; gap: 1.2rem; justify-items: start; max-width: 38rem; }
.pillar__inner p:not(.micro) { color: rgba(243, 238, 227, .8); }
.pillar__inner .micro { color: var(--gold); }
.fundacion__cta { margin-top: 3.4rem; }

/* ---------- Tienda ---------- */
.tienda { background: var(--cream); padding: clamp(7rem, 16vh, 12rem) 0; }
.tienda__head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: clamp(3.5rem, 9vh, 6rem); }
.tienda__head em { color: var(--wine); }
.shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.8vw, 1.8rem); }
.shop__item { position: relative; display: block; border-radius: 1rem; overflow: hidden; background: var(--ink); color: var(--cream); aspect-ratio: 4 / 5; }
.shop__item--wide { grid-column: span 2; aspect-ratio: auto; }
.shop__item:last-child { grid-column: span 2; aspect-ratio: auto; }
.shop__img { position: absolute; inset: 0; }
.shop__img img { transition: transform 1.4s var(--ease-out); }
.shop__item:hover .shop__img img { transform: scale(1.07); }
.shop__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20, 5, 9, .78)); }
.shop__item--cut { background: var(--mist); color: var(--ink); }
.shop__item--cut::after { background: linear-gradient(180deg, transparent 55%, rgba(243, 238, 227, .6)); }
.shop__item--cut .shop__img { inset: 8% 8% 26%; }
.shop__item--cut img { object-fit: contain; }
.shop__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.6rem 1.8rem; }
.shop__cap h3 { font-size: clamp(1.8rem, 2.6vw, 2.8rem); line-height: 1; margin-bottom: .4rem; }
.shop__cap p { font-size: .9rem; opacity: .8; transform: translateY(.6rem); opacity: 0; transition: transform .7s var(--ease-out), opacity .7s; }
.shop__item:hover .shop__cap p, .shop__item:focus-visible .shop__cap p { transform: none; opacity: .85; }
.tienda__cta { display: flex; justify-content: center; margin-top: 3.4rem; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--wine-deep); color: var(--cream); min-height: 112vh; overflow: hidden; }
.footer__clip { position: absolute; inset: 0; clip-path: inset(0% 0% 0% 0% round 0rem); }
.footer__clip::after { content: ""; position: absolute; inset: 0; background: rgba(20, 5, 9, .55); }
.footer__inner { position: relative; z-index: 1; min-height: 112vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 9rem var(--pad) 2rem; }
.footer__inner > .micro { opacity: .8; margin-bottom: 1.4rem; }
.footer__title { font-size: clamp(3rem, 8.6vw, 10rem); line-height: .86; text-transform: uppercase; letter-spacing: -.02em; }
.footer__title .script { display: inline-block; font-size: .72em; color: var(--gold); text-transform: none; transform: rotate(-7deg); margin-top: -.1em; }
.footer__ctas { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; margin: 2.6rem 0 4.4rem; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem; width: min(1100px, 100%); text-align: left; padding-top: 2.4rem; border-top: 1px solid rgba(243, 238, 227, .18); font-size: .95rem; }
.footer__label { opacity: .55; margin-bottom: .8rem; }
.footer__cols ul { display: grid; gap: .35rem; }
.footer__cols a:not(.link-u) { transition: color .4s; }
.footer__cols a:not(.link-u):hover { color: var(--gold); }
.footer__cols .link-u { margin-top: .8rem; }
.footer__phone { font-size: 1.9rem; line-height: 1; }
.footer__motto { margin-top: 4rem; font-family: var(--f-display); font-variation-settings: "opsz" 1200, "wdth" 87.5; font-size: clamp(1.2rem, 1.8vw, 1.8rem); opacity: .85; }
.footer__motto em { color: var(--gold); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; justify-content: center; margin-top: 3rem; opacity: .55; font-size: .62rem; }
.footer__bottom a:hover { opacity: 1; color: var(--gold); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
  .header__big, .header__small { display: none; }
  .sbar { display: none; }
  .hero { height: 200vh; }
  .hero__title { font-size: clamp(4rem, 21vw, 9rem); }
  .hero__script { right: -2%; }
  .hero__row { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
  .hero__row .daynight { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .hero__ctas { display: none; }
  .manifesto__text { text-indent: 0; }
  .manifesto__sign { margin-left: 0; }
  .stats, .facts, .perks { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stats li, .facts li { border-right: 0; padding: 1.6rem 1rem 1.6rem 0; border-bottom: 1px solid rgba(128, 128, 128, .18); }
  .perks { gap: 2rem 1.4rem; }

  .historia { height: auto !important; }
  .historia__sticky { position: relative; height: auto; overflow: visible; padding: 6rem 0 4rem; }
  .historia__track { flex-direction: column; align-items: stretch; width: 100%; height: auto; gap: 5.5rem; padding: 0 var(--pad); transform: none !important; }
  .h-intro, .h-item, .h-quote, .h-item--hoy { width: 100%; max-width: none; padding-left: 0; }
  .h-fig, .h-fig--tall, .h-fig--square, .h-fig--arch { height: auto; width: 100%; }
  .h-fig--tall, .h-fig--arch { width: 78%; }
  .h-fig--square { width: 82%; }
  .h-item--up, .h-item--down { transform: none; }
  .h-intro__line { white-space: normal; }
  .h-intro__lead, .h-intro__hint { margin-left: 0; }
  .h-intro__hint { display: none; }
  .h-year { font-size: 26vw; top: -.45em; }
  .historia__progress { display: none; }

  .posada__lead, .posada__body { grid-column: 1 / -1; }
  .posada__body { padding-top: 0; }
  .posada__fig--a { grid-column: 1 / 7; margin-top: 2rem; }
  .posada__fig--b { grid-column: 7 / 13; margin-top: 8rem; }
  .rooms__grid { grid-template-columns: 1fr; }
  .rooms__stage { max-width: 30rem; width: 100%; margin: 0 auto; }

  .bodega__story-grid, .wines__head, .enologo, .conservas__intro, .resto__grid, .bodas-more__grid, .bodas-more__foot { grid-template-columns: 1fr; }
  .wines__list a { grid-template-columns: 2.4rem 1fr 2rem; }
  .wines__desc { grid-column: 2 / 3; grid-row: 2; }
  .wines__arrow { grid-row: 1 / 3; grid-column: 3; }
  .wines__float { display: none; }
  .enologo__fig { max-width: 26rem; }
  .stack__card { grid-template-columns: 1fr; grid-template-rows: 42% 1fr; top: 6vh; height: 86vh; }
  .stack__copy { justify-content: flex-start; padding: 1.8rem 1.6rem; }
  .stack__copy h3 { font-size: clamp(2.4rem, 11vw, 4rem); }
  .stack__copy p:not(.micro):not(.stack__tag) { font-size: .94rem; }
  .stack__tag { margin-bottom: .8rem; }
  .stack__link { margin-top: 1.2rem; }
  .resto__collage { height: 34rem; margin-top: 2rem; }
  .tours { grid-template-columns: 1fr; max-width: 32rem; margin: 0 auto; }
  .tour--feature { margin-top: 0; }
  .bodas__arch { clip-path: inset(18% 12% 0% 12% round 38vw 38vw 0vw 0vw); }
  .bodas-more__ctas { justify-content: flex-start; }
  .spaces { grid-template-columns: 1fr 1fr; }
  .fundacion__head { grid-template-columns: 1fr; }
  .fundacion__logo { grid-row: auto; }
  .pillar__inner { grid-template-columns: 1fr; padding-left: 0; gap: 0; }
  .pillar__head { grid-template-columns: 2.6rem 1fr 2rem; }
  .shop { grid-template-columns: 1fr 1fr; }
  .shop__item--wide, .shop__item:last-child { grid-column: span 2; aspect-ratio: 16 / 10; }
  .shop__cap p { opacity: .85; transform: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .menu__inner { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .menu__media { display: none; }
  .menu__list { columns: 1; }
  .menu__list a { font-size: clamp(2rem, 8.4vw, 3.4rem); line-height: 1.08; }
  .menu__foot { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .menu__ctas { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; line-height: 1.3; }
  .manifesto__leaf { right: 1vw; width: 8rem; }
  .hero__side { font-size: 1.15rem; }
  .gate__words { font-size: 14vw; display: flex; flex-direction: column; align-items: center; row-gap: 0; line-height: .9; }
  .gate__script { font-size: 7.6vw; bottom: 3.5vh; white-space: normal; width: 86%; text-align: center; line-height: 1.05; }
  .seasons__names span { font-size: 23vw; }
  .gate__arch { width: 62vw; height: 58vh; }
  .stats__num { font-size: 2.8rem; }
  .shop { grid-template-columns: 1fr; }
  .shop__item--wide, .shop__item:last-child { grid-column: auto; aspect-ratio: 4 / 5; }
  .footer__cols { grid-template-columns: 1fr; text-align: center; }
  .footer__cols ul { justify-items: center; }
  .spaces { grid-template-columns: 1fr; }
  .spaces li:nth-child(odd) { border-right: 0; }
  .spaces li:nth-child(even) { padding-left: 0; }
  .seasons__arch { width: 58vw; }
  .posada__fig--b { margin-top: 5rem; }
  .voices__nav { margin-top: 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line::after, .h-intro__hint i, .pin__pulse { animation: none; }
}
