/* ==========================================================
   Finca María del Pilar — sitio web
   Identidad: serif elegante + Montserrat · greige, taupe, oliva
   ========================================================== */
@property --c1 { syntax: '<color>'; inherits: true; initial-value: #2a2325; }
@property --c2 { syntax: '<color>'; inherits: true; initial-value: #5a4a4f; }

:root {
  --bone: #ded8da;
  --paper: #ece8e6;
  --cream: #f4f1ee;
  --taupe: #93857a;
  --ink: #2b2526;
  --plum: #2a2325;
  --plum-2: #3a3034;
  --olive: #4b6a3c;
  --olive-d: #31451f;
  --sage: #8fa583;
  --gold: #c1a374;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --pad: clamp(20px, 5vw, 84px);
  --hh: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.7;
  color: var(--ink); background: var(--paper); overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
::selection { background: var(--olive); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* grano de película */
body::after {
  content: ''; position: fixed; inset: -50%; z-index: 9000; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 1120px; }

/* ---------- tipografía ---------- */
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--olive); margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--bone); }
.h0 { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 8vw, 128px); line-height: .98; letter-spacing: -.01em; color: #fff; }
.h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(42px, 6vw, 96px); line-height: 1; letter-spacing: -.01em; }
.h1--light, .h2--light { color: #fff; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.8vw, 58px); line-height: 1.06; }
.h1 em, .h2 em, .h0 em { color: var(--olive); }
.h1--light em, .h2--light em, .h0 em { color: var(--gold); }

/* ---------- botones ---------- */
.btn {
  --bg: var(--ink); --fg: var(--bone); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; position: relative; overflow: hidden;
  padding: 17px 32px; border-radius: 999px; border: 1px solid var(--bd); background: var(--bg); color: var(--fg);
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.2; text-align: center;
  transition: color .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease), transform .4s var(--ease);
  isolation: isolate; cursor: pointer;
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--fg); transform: translateY(101%); border-radius: 50% 50% 0 0 / 100% 100% 0 0; transition: transform .6s var(--ease), border-radius .6s var(--ease); }
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn:hover { color: var(--bg); }
.btn--light { --bg: var(--bone); --fg: var(--ink); --bd: var(--bone); }
.btn--light::before { background: var(--ink); } .btn--light:hover { color: var(--bone); border-color: var(--ink); }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.5); }
.btn--ghost-light:hover { color: var(--ink); border-color: #fff; }
.btn--dark { --bg: var(--ink); --fg: var(--bone); --bd: var(--ink); }
.btn--dark:hover { border-color: var(--olive); } .btn--dark::before { background: var(--olive); } .btn--dark:hover { color: #fff; }
.btn--ghost-dark { --bg: transparent; --fg: var(--ink); --bd: rgba(43,37,38,.35); }
.btn--ghost-dark:hover { color: var(--bone); }
.btn--wa { --bg: var(--olive); --fg: #fff; --bd: var(--olive); }
.btn--wa::before { background: var(--bone); } .btn--wa:hover { color: var(--olive-d); border-color: var(--bone); }
.btn--wa span::before { content: ''; display: inline-block; width: 15px; height: 15px; margin-right: 10px; vertical-align: -2px; background: currentColor; -webkit-mask: var(--wa-icon) center/contain no-repeat; mask: var(--wa-icon) center/contain no-repeat; }
:root { --wa-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M16 3C9 3 3.4 8.6 3.4 15.5c0 2.4.7 4.6 1.9 6.5L3 29l7.2-2.2a12.6 12.6 0 0 0 5.8 1.4c7 0 12.6-5.6 12.6-12.6S23 3 16 3zm5.5 15.300c-.3-.1-1.800-.9-2.100-1-.3-.1-.5-.1-.7.1-.2.300-.8 1-1 1.200-.2.200-.4.200-.7.100-1.900-.9-3.100-1.700-4.300-3.800-.3-.6.3-.5.9-1.700.1-.2 0-.4 0-.5-.1-.1-.7-1.700-1-2.300-.3-.6-.5-.5-.7-.5h-.6c-.2 0-.5.100-.8.400-.3.300-1.100 1.100-1.100 2.700s1.200 3.100 1.300 3.300c.2.200 2.300 3.500 5.600 4.900 2.100.9 2.900.9 3.900.8.6-.1 1.800-.7 2-1.500.3-.7.3-1.300.2-1.500-.1-.1-.3-.2-.6-.4z'/></svg>"); }

/* ---------- reveals ---------- */
.js .rv { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-img { overflow: hidden; }
.js .rv-img > img { clip-path: inset(100% 0 0 0); transform: scale(1.3); transition: clip-path 1.4s var(--ease-io), transform 2s var(--ease); }
.js .rv-img.in > img { clip-path: inset(0 0 0 0); transform: scale(1); }
.js .ocard.rv-img.in:hover > img { transform: scale(1.06); }

/* ==========================================================
   GATE
   ========================================================== */
.gate { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; color: var(--bone); text-align: center; transition: transform 1.1s var(--ease-io), opacity .3s 1s; }
.gate__bg { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 20%, #4a3a3f 0%, #2a2325 60%, #1b1517 100%); }
.gate__inner { position: relative; padding: 24px; max-width: 560px; }
.gate__logo { width: clamp(150px, 20vw, 210px); margin: 0 auto 30px; opacity: 0; transform: translateY(20px) scale(.96); animation: gIn 1.4s .2s var(--ease) forwards; }
.gate__vine { width: 200px; height: 20px; margin: 0 auto; display: block; }
.gate__vine path { stroke: var(--gold); stroke-width: 1; fill: none; stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.6s .5s var(--ease-io) forwards; }
.gate__tag { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3vw, 34px); margin-top: 18px; opacity: 0; animation: gIn 1.2s 1s var(--ease) forwards; }
.gate__ask { margin-top: 38px; opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); pointer-events: none; }
.gate.is-ask .gate__ask { opacity: 1; transform: none; pointer-events: auto; }
.gate__q { font-size: 14px; letter-spacing: .04em; margin-bottom: 22px; opacity: .85; }
.gate__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.gate__legal { margin-top: 26px; font-size: 11px; letter-spacing: .08em; opacity: .55; }
.gate__deny { margin-top: 32px; font-size: 15px; opacity: .9; }
.gate.is-out { transform: translateY(-100%); pointer-events: none; opacity: 0; }
@keyframes gIn { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ==========================================================
   CURSOR
   ========================================================== */
.cursor { position: fixed; z-index: 10050; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; opacity: 0; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s; display: grid; place-items: center; }
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cursor__label { font-size: 9px; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; color: #000; opacity: 0; }
.cursor.has-label { mix-blend-mode: normal; background: var(--bone); }
.cursor.has-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body.cursor-on, body.cursor-on a, body.cursor-on button { cursor: none; } }

/* ==========================================================
   HEADER
   ========================================================== */
.header { position: fixed; z-index: 800; top: 0; left: 0; right: 0; height: var(--hh); padding-inline: var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #fff; transition: transform .7s var(--ease), background .5s, height .5s var(--ease), backdrop-filter .5s; }
.header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(20,14,16,.55), transparent); transition: opacity .5s; }
.header.is-solid { --hh: 72px; background: rgba(42,35,37,.88); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.header.is-solid::before { opacity: 0; }
.header.is-hidden { transform: translateY(-101%); }
.header__logo img { height: 66px; width: auto; transition: height .5s var(--ease); margin-inline: auto; }
.header.is-solid .header__logo img { height: 50px; }
.header__nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 44px); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.header__nav--r { justify-content: flex-end; }
.header__nav a:not(.pill) { position: relative; padding: 6px 0; }
.header__nav a:not(.pill)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.header__nav a:not(.pill):hover::after, .header__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.pill { padding: 12px 22px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; transition: background .4s, color .4s; }
.pill:hover { background: #fff; color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; position: relative; justify-self: end; grid-column: 3; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded='true'] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { top: 22px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 790; background: var(--plum); color: var(--bone); clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .9s var(--ease-io); pointer-events: none; display: grid; place-items: center; }
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); pointer-events: auto; }
.menu__inner { display: flex; flex-direction: column; gap: 6px; padding: 100px var(--pad) 40px; width: 100%; }
.menu__inner a { font-family: var(--serif); font-size: clamp(36px, 9vw, 64px); line-height: 1.15; display: flex; align-items: baseline; gap: 16px; opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease); }
.menu__inner a span { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.menu.is-open .menu__inner a { opacity: 1; transform: none; }
.menu.is-open .menu__inner a:nth-child(1) { transition-delay: .35s; } .menu.is-open .menu__inner a:nth-child(2) { transition-delay: .42s; } .menu.is-open .menu__inner a:nth-child(3) { transition-delay: .49s; } .menu.is-open .menu__inner a:nth-child(4) { transition-delay: .56s; } .menu.is-open .menu__inner a:nth-child(5) { transition-delay: .63s; } .menu.is-open .menu__inner a:nth-child(6) { transition-delay: .7s; }
.menu__foot { margin-top: 36px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }

.dots { position: fixed; z-index: 700; right: 22px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; mix-blend-mode: difference; }
.dots a { position: relative; display: block; width: 9px; height: 9px; border-radius: 50%; border: 1px solid #fff; transition: background .3s, transform .3s; }
.dots a.is-active { background: #fff; transform: scale(1.3); }
.dots a::after { content: attr(data-label); position: absolute; right: 20px; top: 50%; transform: translate(8px, -50%); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #fff; white-space: nowrap; opacity: 0; transition: .35s var(--ease); pointer-events: none; }
.dots a:hover::after { opacity: 1; transform: translate(0, -50%); }

.wa-fab { position: fixed; z-index: 760; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px; background: var(--olive); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 12px 30px -8px rgba(0,0,0,.45); transition: transform .5s var(--ease), background .3s, opacity .5s; opacity: 0; transform: translateY(20px); pointer-events: none; }
.wa-fab.is-show { opacity: 1; transform: none; pointer-events: auto; }
.wa-fab:hover { background: var(--olive-d); }
.wa-fab::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(75,106,60,.55); animation: ping 3s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(75,106,60,.55); } 70%, 100% { box-shadow: 0 0 0 20px rgba(75,106,60,0); } }

/* ==========================================================
   HERO
   ========================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: #1b1517; }
.hero__media { position: absolute; inset: -4% 0 0; will-change: transform; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: slowzoom 24s ease-in-out infinite alternate; }
@keyframes slowzoom { to { transform: scale(1.18); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,16,.35) 0%, rgba(20,14,16,0) 30%, rgba(20,14,16,.15) 55%, rgba(20,14,16,.78) 100%); }
.hero__content { position: relative; z-index: 2; padding: 0 var(--pad) clamp(70px, 11vh, 120px); width: 100%; max-width: 1480px; margin: 0 auto; }
.hero__title { text-shadow: 0 4px 40px rgba(0,0,0,.35); font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 13vw, 220px); line-height: .88; letter-spacing: -.02em; margin: 6px 0 28px -.04em; }
.hero__title em { color: var(--gold); font-weight: 300; }
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line__in { display: block; transform: translateY(115%) rotate(2deg); transition: transform 1.5s var(--ease); }
.is-ready .line__in { transform: none; }
.is-ready .line:nth-child(2) .line__in { transition-delay: .14s; }
.hero__eyebrow, .hero__sub, .hero__cta { opacity: 0; transform: translateY(20px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.is-ready .hero__eyebrow { opacity: 1; transform: none; transition-delay: .2s; }
.is-ready .hero__sub { opacity: .9; transform: none; transition-delay: .7s; }
.is-ready .hero__cta { opacity: 1; transform: none; transition-delay: .9s; }
.hero__eyebrow, .hero__sub { text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.hero__sub { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll { position: absolute; z-index: 2; right: var(--pad); bottom: 34px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; height: 64px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: #fff; animation: scrolldrip 2.2s var(--ease-io) infinite; }
@keyframes scrolldrip { 0% { top: -100%; } 60%, 100% { top: 100%; } }

/* marquee */
.marquee { background: var(--plum); color: var(--bone); overflow: hidden; padding: 20px 0; border-block: 1px solid rgba(255,255,255,.08); }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 34px; animation: marq 38s linear infinite; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 36px); white-space: nowrap; padding-right: 34px; }
.marquee__track i { font-style: normal; font-size: 14px; color: var(--gold); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ==========================================================
   MANIFIESTO
   ========================================================== */
.manifesto { background: var(--bone); padding: clamp(100px, 16vw, 240px) 0; }
.manifesto__text { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.6vw, 72px); line-height: 1.12; letter-spacing: -.01em; }
.manifesto__text .w { display: inline-block; opacity: .16; transition: opacity .25s linear; margin-right: .26em; }
.manifesto__text .w.on { opacity: 1; }

/* ==========================================================
   ORIGEN
   ========================================================== */
.origin { position: relative; display: grid; grid-template-columns: minmax(300px, 46%) 1fr; background: var(--paper); }
.origin__sticky { position: relative; background: var(--taupe); }
.origin__map { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.origin__map::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 45%, rgba(255,255,255,.14), transparent 70%); }
.map__stage { position: relative; height: min(76vh, 760px); aspect-ratio: 687 / 1331; margin-left: -6%; }
.map__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: sepia(.35) saturate(.7) brightness(.86) drop-shadow(10px 14px 18px rgba(30,20,16,.4)); }
.map__prov { position: absolute; left: 42%; top: 10.8%; width: 19.3%; height: 16.1%; background: var(--olive); clip-path: polygon(0 2%, 70% 0, 100% 4%, 96% 100%, 12% 98%, 2% 70%); opacity: 0; transform: scale(.6); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.origin.in-view .map__prov { opacity: .95; transform: none; }
.map__route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.map__route path { fill: none; stroke: #f0d9a8; stroke-linecap: round; stroke-dasharray: 2 10; vector-effect: non-scaling-stroke; stroke-width: 3; opacity: 0; transition: opacity .8s; filter: drop-shadow(0 0 4px rgba(0,0,0,.35)); }
.origin[data-ch='0'] .map__route path { opacity: 1; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.map__chile { position: absolute; left: -62%; top: 33%; font-family: var(--serif); font-style: italic; font-size: 24px; color: rgba(255,255,255,.75); opacity: 0; transition: opacity .8s; }
.origin[data-ch='0'] .map__chile { opacity: 1; }
.map__pin { position: absolute; left: 50.5%; top: 19%; width: 0; height: 0; }
.map__pin b { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.3); }
.map__pin i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; border: 1px solid #fff; animation: pulse 2.6s var(--ease) infinite; }
.map__pin i:nth-child(2) { animation-delay: 1.3s; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(7); opacity: 0; } }
.map__pin span { position: absolute; left: 18px; top: -11px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.origin__year { position: absolute; right: 6%; bottom: 3%; font-family: var(--serif); font-weight: 300; font-size: clamp(90px, 13vw, 210px); line-height: .8; color: rgba(255,255,255,.92); letter-spacing: -.03em; transition: opacity .4s; }
.origin__year.swap { opacity: 0; }
.origin__chapters { padding-inline: clamp(24px, 6vw, 110px); }
.chapter { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding-block: 12vh; max-width: 640px; }
.chapter__body p { margin-top: 18px; color: #4a4244; font-size: 16.5px; }
.chapter__body p strong { color: var(--ink); font-weight: 600; }
.chapter .h2 { margin-top: 4px; }
.chapter__fig { overflow: hidden; border-radius: 4px; aspect-ratio: 5 / 4; }
.chapter__fig img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================
   NÚMEROS
   ========================================================== */
.numbers { background: var(--olive-d); color: var(--bone); padding: clamp(60px, 8vw, 120px) 0; position: relative; overflow: hidden; }
.numbers::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 120% at 80% 0, rgba(143,165,131,.22), transparent 60%); }
.numbers__grid { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.numbers__grid li { border-left: 1px solid rgba(222,216,218,.22); padding-left: 22px; }
.numbers__grid b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 6vw, 96px); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.numbers__grid span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }

/* ==========================================================
   FILM
   ========================================================== */
.film { background: var(--paper); padding: clamp(60px, 9vw, 140px) var(--pad); }
.film__frame { position: relative; max-width: 1480px; margin: 0 auto; aspect-ratio: 16 / 8.2; overflow: hidden; border-radius: 6px; cursor: pointer; background: #000; }
.film__poster { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; transition: filter .8s; }
.film__frame:hover .film__poster { filter: brightness(1.08); }
.film__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,16,.1), rgba(20,14,16,.7)); }
.film__play { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; margin: -56px 0 0 -56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); display: grid; place-items: center; color: #fff; backdrop-filter: blur(6px); background: rgba(255,255,255,.1); transition: transform .6s var(--ease), background .4s, color .4s; }
.film__play::after { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); animation: pulse2 2.8s var(--ease) infinite; }
@keyframes pulse2 { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.film__frame:hover .film__play { transform: scale(1.12); background: #fff; color: var(--ink); }
.film__cap { position: absolute; left: clamp(22px, 4vw, 64px); bottom: clamp(22px, 4vw, 56px); right: 24px; }
.film__cap .h2 { font-size: clamp(30px, 4.4vw, 68px); }

/* ==========================================================
   FAMILIA / ECOSISTEMA
   ========================================================== */
.family { background: var(--paper); padding: clamp(40px, 6vw, 100px) 0 clamp(90px, 12vw, 180px); }
.family__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.family__text p { margin-top: 22px; color: #4a4244; max-width: 540px; }
.family__list { margin-top: 28px; display: grid; gap: 12px; }
.family__list li { position: relative; padding-left: 28px; font-size: 14.5px; color: #3c3436; }
.family__list li::before { content: ''; position: absolute; left: 0; top: .72em; width: 14px; height: 1px; background: var(--olive); }
.eco { width: min(100%, 520px); justify-self: center; }
.eco svg { width: 100%; height: auto; overflow: visible; }
.eco__seg path { cursor: pointer; transform-origin: 0 0; transition: transform .5s var(--ease), opacity .5s; opacity: 0; transform: scale(.4) rotate(-30deg); }
.eco.in .eco__seg path { opacity: 1; transform: none; transition-delay: calc(var(--i) * .09s); }
.eco.in .eco__seg path:hover { transform: scale(1.05); }
.eco__txt text { pointer-events: none; opacity: 0; transition: opacity 1s .8s; }
.eco.in .eco__txt text { opacity: 1; }

/* ==========================================================
   VINOS
   ========================================================== */
.wines { background: var(--plum); color: var(--bone); position: relative; }
.wines__head { padding-top: clamp(100px, 13vw, 200px); padding-bottom: clamp(50px, 6vw, 90px); }
.wines__lead { max-width: 640px; margin-top: 28px; color: rgba(222,216,218,.78); font-size: 16.5px; }

.stage { position: relative; height: calc(var(--n, 7) * 78vh + 100vh); }
.stage__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; --c1: #2a2325; --c2: #5a4a4f; --ink: #fff; --acc: #c1a374; transition: --c1 1s var(--ease), --c2 1s var(--ease); color: #fff; }
.stage__bg { position: absolute; inset: 0; background: radial-gradient(90% 80% at 55% 38%, var(--c1) 0%, var(--c2) 100%); }
.stage__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 110%, rgba(0,0,0,.5), transparent 70%); }
.stage__ghost { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-58%); text-align: center; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(120px, 24vw, 420px); line-height: .9; color: rgba(255,255,255,.1); white-space: nowrap; pointer-events: none; will-change: transform; transition: opacity .6s; }
.stage__grid { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: minmax(180px, 1fr) minmax(240px, 30vw) minmax(220px, 1fr); align-items: center; gap: clamp(16px, 3vw, 56px); padding-top: var(--hh); padding-bottom: 54px; }
.stage__list { display: grid; gap: 4px; align-self: center; }
.stage__list li button { width: 100%; text-align: left; display: grid; grid-template-columns: 34px 1fr; align-items: baseline; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.12); opacity: .5; transition: opacity .4s, padding .5s var(--ease); }
.stage__list li button:hover { opacity: .85; }
.stage__list li.is-active button { opacity: 1; padding-left: 14px; }
.stage__list li.group { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: .55; margin: 14px 0 4px; }
.stage__list li.group:first-child { margin-top: 0; }
.stage__list .n { font-size: 10px; letter-spacing: .12em; opacity: .7; }
.stage__list .t { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 28px); line-height: 1.1; }
.stage__list .v { grid-column: 2; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.stage__bottle { position: relative; height: min(78vh, 800px); display: grid; place-items: center; perspective: 1000px; }
.stage__bottle img { position: relative; z-index: 2; height: min(78vh, 800px); width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 40px 40px rgba(0,0,0,.45)); transform-style: preserve-3d; will-change: transform, opacity; }
.stage__glow { position: absolute; width: 130%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.28), transparent 62%); filter: blur(10px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .8; } }
.stage__shadow { position: absolute; bottom: 1%; width: 60%; height: 22px; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); filter: blur(6px); z-index: 1; }
.stage__info { max-width: 340px; justify-self: end; }
.stage__line { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--acc); margin-bottom: 14px; }
.stage__name { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.6vw, 76px); line-height: .95; }
.stage__varietal { margin-top: 14px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; opacity: .85; }
.stage__tag { margin: 22px 0 30px; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.25; opacity: .85; }
.stage__info .btn { --bg: #fff; --fg: #1a1416; --bd: #fff; }
.stage__info .btn::before { background: #1a1416; }
.stage__info .btn:hover { color: #fff; }
.stage__info > * { transition: opacity .5s, transform .7s var(--ease); }
.stage__info.swap > * { opacity: 0; transform: translateY(16px); }
.stage__progress { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 28px; height: 1px; background: rgba(255,255,255,.2); }
.stage__progress i { display: block; height: 100%; width: 0; background: #fff; }
.stage__hint { position: absolute; z-index: 3; left: 50%; bottom: 40px; transform: translateX(-50%); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; opacity: .55; white-space: nowrap; transition: opacity .5s; }

.others { padding-block: clamp(70px, 9vw, 130px) 30px; }
.others .eyebrow { color: var(--gold); }
.others__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); }
.ocard { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; border-radius: 4px; display: flex; align-items: flex-end; padding: clamp(20px, 3vw, 40px); }
.ocard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.ocard:hover img { transform: scale(1.06); }
.ocard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(20,14,16,.82)); }
.ocard > div { position: relative; z-index: 2; }
.ocard small { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.ocard h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.6vw, 56px); line-height: 1; margin: 6px 0; }
.ocard p { font-size: 14px; opacity: .8; }
.wines__fine { font-size: 12px; color: rgba(222,216,218,.5); padding-block: 36px clamp(70px, 8vw, 110px); }

/* ==========================================================
   EXPERIENCIAS
   ========================================================== */
.exp { background: var(--paper); padding-top: clamp(100px, 13vw, 200px); overflow: hidden; }
.exp__head { margin-bottom: clamp(40px, 5vw, 70px); }
.exp__lead { max-width: 620px; margin-top: 24px; color: #4a4244; font-size: 16.5px; }
.drift { display: grid; gap: 14px; margin-bottom: clamp(60px, 8vw, 110px); }
.drift__row { display: flex; gap: 14px; width: max-content; will-change: transform; }
.drift__row img { height: clamp(180px, 28vh, 300px); width: auto; border-radius: 3px; object-fit: cover; }
.exp__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.xcard { position: relative; aspect-ratio: 3 / 4.4; overflow: hidden; border-radius: 4px; color: #fff; background: #000; }
.xcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .6s; opacity: .92; }
.xcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20,14,16,.88)); }
.xcard:hover img { transform: scale(1.08); opacity: 1; }
.xcard__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 26px; }
.xcard h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.4vw, 38px); line-height: 1; }
.xcard p { margin-top: 10px; font-size: 13.5px; line-height: 1.55; opacity: 0; max-height: 0; overflow: hidden; transition: opacity .6s, max-height .8s var(--ease); }
.xcard:hover p, .xcard:focus-within p { opacity: .9; max-height: 140px; }
@media (hover: none) { .xcard p { opacity: .9; max-height: 140px; } }

.reel { display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 7vw, 120px); align-items: center; padding-block: clamp(80px, 11vw, 170px); }
.reel__phone { position: relative; width: min(300px, 70vw); aspect-ratio: 9 / 16; border-radius: 38px; overflow: hidden; border: 9px solid #181314; background: #000; box-shadow: 0 50px 80px -30px rgba(30,20,22,.6); justify-self: center; transform-origin: 50% 100%; }
.reel__phone video { width: 100%; height: 100%; object-fit: cover; }
.reel__btn { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px; border-radius: 50%; background: rgba(255,255,255,.2); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.6); color: #fff; display: grid; place-items: center; transition: transform .5s var(--ease), opacity .4s; }
.reel__phone.is-playing .reel__btn { opacity: 0; pointer-events: none; transform: scale(.7); }
.reel__text { max-width: 480px; display: grid; gap: 4px; justify-items: start; }
.reel__text p { margin: 18px 0 28px; color: #4a4244; }

/* ==========================================================
   EVENTOS
   ========================================================== */
.events { background: var(--bone); padding: clamp(90px, 11vw, 170px) 0; }
.events__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 60px); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(43,37,38,.3); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: .35s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.events__list { display: grid; gap: 14px; }
.events__loading, .events__empty { padding: 50px 0; text-align: center; color: #6b6163; font-family: var(--serif); font-style: italic; font-size: 26px; }
.ev { display: grid; grid-template-columns: 110px 1.2fr 220px 220px; gap: clamp(16px, 3vw, 44px); align-items: center; padding: 18px clamp(16px, 2vw, 28px) 18px 18px; background: var(--paper); border-radius: 6px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.ev:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -26px rgba(43,37,38,.45); }
.ev__date { text-align: center; padding: 14px 0; border-right: 1px solid rgba(43,37,38,.15); }
.ev__day { font-family: var(--serif); font-weight: 300; font-size: 64px; line-height: .9; display: block; }
.ev__mon { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--olive); }
.ev__dow { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: .6; display: block; margin-top: 6px; }
.ev__main h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.05; }
.ev__main p { margin-top: 8px; font-size: 14px; color: #4a4244; max-width: 520px; }
.ev__tags { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.ev__tags span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 5px 11px; border: 1px solid rgba(43,37,38,.25); border-radius: 999px; }
.ev__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.ev__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ev:hover .ev__img img { transform: scale(1.08); }
.ev__act { display: grid; gap: 12px; justify-items: stretch; }
.avail { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; display: grid; gap: 7px; }
.avail__bar { height: 3px; background: rgba(43,37,38,.15); border-radius: 3px; overflow: hidden; }
.avail__bar i { display: block; height: 100%; background: var(--olive); width: 0; transition: width 1.4s var(--ease); }
.avail.low .avail__bar i { background: #b3532f; } .avail.low b { color: #b3532f; }
.avail b { font-weight: 600; }
.ev.is-full .btn { pointer-events: none; opacity: .5; }
.ev__demo { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; opacity: .45; }

/* ==========================================================
   EVENTOS PRIVADOS
   ========================================================== */
.private { background: var(--paper); padding: clamp(90px, 11vw, 170px) 0; }
.private__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.private__media { position: relative; aspect-ratio: 1 / 1.15; }
.pimg { position: absolute; overflow: hidden; border-radius: 4px; margin: 0; box-shadow: 0 30px 50px -30px rgba(30,20,22,.5); }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.pimg--a { left: 0; top: 0; width: 56%; height: 70%; }
.pimg--b { right: 0; top: 12%; width: 38%; height: 38%; }
.pimg--c { right: 6%; bottom: 0; width: 56%; height: 38%; }
.private__text > p { margin-top: 22px; color: #4a4244; max-width: 560px; }
.ticks { margin: 26px 0 34px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: 14.5px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 1.5px solid var(--olive); border-bottom: 1.5px solid var(--olive); transform: rotate(-45deg) scale(.9); }
.mini { display: grid; gap: 22px; max-width: 600px; padding-top: 26px; border-top: 1px solid rgba(43,37,38,.15); }
.mini__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #6b6163; }
label small { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .7; }
input, select, textarea { font: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(43,37,38,.3); padding: 8px 0; border-radius: 0; outline: 0; transition: border-color .3s; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--olive); }
textarea { resize: vertical; }

/* ==========================================================
   COMERCIAL
   ========================================================== */
.commercial { position: relative; background: var(--plum); color: var(--bone); padding: clamp(100px, 12vw, 180px) 0; overflow: hidden; }
.commercial__bg { position: absolute; inset: 0; opacity: .22; }
.commercial__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); }
.commercial__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--plum), rgba(42,35,37,.6) 40%, var(--plum)); }
.commercial .wrap { position: relative; z-index: 2; }
.commercial__lead { max-width: 580px; margin-top: 26px; color: rgba(222,216,218,.78); font-size: 16.5px; }
.commercial__cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); margin: clamp(50px, 6vw, 90px) 0; }
.ccard { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3.4vw, 54px); min-height: 380px; border: 1px solid rgba(222,216,218,.22); border-radius: 6px; background: rgba(255,255,255,.04); backdrop-filter: blur(4px); overflow: hidden; isolation: isolate; transition: color .6s var(--ease), border-color .6s; }
.ccard::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--bone); transform: translateY(101%); transition: transform .8s var(--ease); }
.ccard:hover { color: var(--ink); border-color: var(--bone); } .ccard:hover::before { transform: none; }
.ccard__n { font-size: 11px; letter-spacing: .3em; color: var(--gold); }
.ccard h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 3.8vw, 58px); line-height: 1.02; margin-top: auto; }
.ccard h3 em { color: var(--gold); transition: color .6s; } .ccard:hover h3 em { color: var(--olive); }
.ccard p { font-size: 15px; opacity: .8; max-width: 440px; }
.ccard__go { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.ccard__go i { font-style: normal; transition: transform .5s var(--ease); font-size: 18px; } .ccard:hover .ccard__go i { transform: translateX(8px); }
.where { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding-top: clamp(40px, 5vw, 70px); border-top: 1px solid rgba(222,216,218,.18); }
.where__body p { color: rgba(222,216,218,.8); margin-bottom: 20px; max-width: 520px; }
.pts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.pt { padding: 16px 18px; border: 1px solid rgba(222,216,218,.2); border-radius: 4px; }
.pt b { font-family: var(--serif); font-weight: 400; font-size: 22px; display: block; line-height: 1.1; }
.pt span { font-size: 12.5px; opacity: .7; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: var(--plum); color: var(--bone); }
.footer__hero { position: relative; min-height: 86vh; display: flex; align-items: flex-end; overflow: hidden; }
.footer__hero > img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.footer__shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--plum) 0%, rgba(42,35,37,.15) 30%, rgba(20,14,16,.75) 100%); }
.footer__cta { position: relative; z-index: 2; padding-bottom: clamp(60px, 8vw, 110px); }
.footer__cta .h0 { margin: 8px 0 38px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(60px, 7vw, 100px); border-bottom: 1px solid rgba(222,216,218,.14); }
.footer__brand img { margin-bottom: 20px; }
.footer__brand p { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.3; opacity: .8; }
.footer h4 { font-size: 10.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer p { font-size: 14.5px; line-height: 1.8; }
.footer .muted { opacity: .55; font-size: 13px; }
.footer .link { position: relative; display: inline-block; border-bottom: 1px solid rgba(222,216,218,.35); transition: border-color .3s, color .3s; cursor: pointer; margin-top: 4px; }
.footer .link:hover { color: var(--gold); border-color: var(--gold); }
.footer__links { display: grid; gap: 4px; }
.footer__links a { opacity: .8; transition: opacity .3s, transform .4s var(--ease); width: fit-content; } .footer__links a:hover { opacity: 1; transform: translateX(6px); }
.footer__legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 28px; font-size: 12px; opacity: .55; }

/* ==========================================================
   MODALES
   ========================================================== */
.modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal__scrim { position: absolute; inset: 0; background: rgba(20,14,16,.72); backdrop-filter: blur(6px); animation: fade .5s var(--ease) both; }
@keyframes fade { from { opacity: 0; } }
.modal__x { position: absolute; z-index: 5; top: 16px; right: 18px; width: 46px; height: 46px; border-radius: 50%; font-size: 28px; line-height: 1; display: grid; place-items: center; background: var(--paper); color: var(--ink); transition: transform .5s var(--ease), background .3s; }
.modal__x:hover { transform: rotate(90deg); background: #fff; }
.modal__x--light { background: rgba(255,255,255,.15); color: #fff; backdrop-filter: blur(6px); }

.wm { position: relative; z-index: 2; width: min(1280px, 96vw); height: min(840px, 94vh); display: grid; grid-template-columns: 1.05fr 1fr; background: var(--paper); border-radius: 8px; overflow: hidden; animation: rise .9s var(--ease) both; --ac: #c1a374; }
@keyframes rise { from { opacity: 0; transform: translateY(60px) scale(.97); } }
.wm__gallery { position: relative; background: var(--wm-bg, #8d7c69); overflow: hidden; }
.wm__slides { position: absolute; inset: 0; }
.wm__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 2.4s var(--ease); }
.wm__slides img.is-on { opacity: 1; transform: none; }
.wm__thumbs { position: absolute; z-index: 3; left: 20px; bottom: 20px; display: flex; gap: 8px; }
.wm__thumbs button { width: 54px; height: 54px; border-radius: 3px; overflow: hidden; border: 2px solid transparent; opacity: .7; transition: .35s; }
.wm__thumbs button.is-on { border-color: #fff; opacity: 1; transform: translateY(-4px); }
.wm__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.wm__panel { padding: clamp(28px, 3.4vw, 54px); overflow-y: auto; display: flex; flex-direction: column; overscroll-behavior: contain; }
.wm__line { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ac); font-weight: 600; filter: brightness(.8); }
.wm__name { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 70px); line-height: .95; margin-top: 10px; }
.wm__varietal { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; margin-top: 10px; color: #6b6163; }
.tabs { display: flex; gap: 6px; margin: 28px 0 22px; border-bottom: 1px solid rgba(43,37,38,.15); }
.tab { padding: 12px 16px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8a7f81; position: relative; transition: color .3s; }
.tab::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 2px; background: var(--olive); transform: scaleX(0); transition: transform .5s var(--ease); }
.tab.is-on { color: var(--ink); } .tab.is-on::after { transform: scaleX(1); }
.tabpane { display: none; animation: fadeUp .7s var(--ease) both; }
.tabpane.is-on { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.tabpane p { color: #3c3436; margin-bottom: 14px; font-size: 15.5px; }
.tabpane .lead { font-family: var(--serif); font-size: 24px; line-height: 1.3; color: var(--ink); }
.spec { display: grid; grid-template-columns: 150px 1fr; gap: 6px 20px; padding: 12px 0; border-bottom: 1px solid rgba(43,37,38,.1); font-size: 14px; }
.spec dt { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8a7f81; padding-top: 3px; }
.spec dd { margin: 0; color: #2f2829; }
.comp { margin: 6px 0 24px; }
.comp h5 { margin: 0 0 14px; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #8a7f81; }
.comp__row { display: grid; grid-template-columns: 130px 1fr 44px; gap: 12px; align-items: center; margin-bottom: 10px; font-size: 13.5px; }
.comp__bar { height: 6px; background: rgba(43,37,38,.1); border-radius: 6px; overflow: hidden; }
.comp__bar i { display: block; height: 100%; width: 0; background: var(--wm-acc, var(--olive)); border-radius: 6px; transition: width 1.4s var(--ease); }
.comp__row b { font-weight: 600; text-align: right; }
.aromas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.aromas span { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(43,37,38,.25); font-size: 12px; letter-spacing: .06em; }
.wm__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 26px; }
.wm__nav { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(43,37,38,.12); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8a7f81; }
.wm__nav button:hover { color: var(--ink); }

.rm { position: relative; z-index: 2; width: min(580px, 94vw); max-height: 94vh; overflow-y: auto; background: var(--paper); border-radius: 8px; padding: clamp(28px, 4vw, 48px); animation: rise .9s var(--ease) both; }
.rm__title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.02; margin: 4px 0 8px; }
.rm__meta { font-size: 13px; color: #6b6163; margin-bottom: 26px; }
.rm form { display: grid; gap: 18px; }
.rm__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.rm__err { color: #b3532f; font-size: 13px; min-height: 1em; }
.rm__fine { font-size: 12px; color: #8a7f81; text-align: center; }
.rm__done { text-align: center; display: grid; gap: 16px; justify-items: center; }
.rm__done p { color: #4a4244; max-width: 420px; }
.rm__done .btn { min-width: 260px; }
.rm__check svg { width: 76px; height: 76px; fill: none; stroke: var(--olive); stroke-width: 2.5; }
.rm__check circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1s var(--ease-io) forwards; }
.rm__check path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .6s .7s var(--ease-io) forwards; }
.fm { position: relative; z-index: 2; width: min(1200px, 94vw); aspect-ratio: 16 / 9; background: #000; border-radius: 6px; overflow: hidden; animation: rise .9s var(--ease) both; }
.fm video { width: 100%; height: 100%; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1180px) {
  .header__nav a:not(.pill) { letter-spacing: .14em; }
  .ev { grid-template-columns: 96px 1fr 180px; }
  .ev__img { display: none; }
  .exp__cards { grid-template-columns: repeat(2, 1fr); }
  .exp__cards .xcard { aspect-ratio: 4 / 3.6; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --hh: 74px; }
  .header { grid-template-columns: 1fr auto 1fr; }
  .header__nav { display: none; }
  .header__logo { grid-column: 2; }
  .header__logo img { height: 52px; }
  .burger { display: block; }
  .dots { display: none; }
  .origin { display: block; }
  .origin__sticky { position: sticky; top: 0; z-index: 5; box-shadow: 0 14px 30px -18px rgba(30,20,22,.55); }
  .origin__map { position: relative; top: auto; height: 36vh; height: 36svh; min-height: 230px; }
  .map__stage { height: 29svh; min-height: 190px; margin-left: 0; }
  .map__chile { left: -70%; font-size: 18px; }
  .map__pin span { font-size: 9px; left: 14px; }
  .origin__year { right: 4%; bottom: 0; font-size: 28vw; opacity: .35; }
  .origin__chapters { background: var(--paper); position: relative; z-index: 4; padding-inline: var(--pad); }
  .chapter__fig { aspect-ratio: 4 / 3; }
  .chapter { min-height: auto; padding-block: 12vh 4vh; max-width: none; }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .family__grid, .private__grid, .reel, .where { grid-template-columns: 1fr; }
  .private__media { aspect-ratio: 1 / 1; max-width: 520px; margin: 0 auto; width: 100%; }
  .others__grid, .commercial__cards { grid-template-columns: 1fr; }
  .reel { justify-items: center; text-align: left; }
  .stage__grid { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding-top: calc(var(--hh) + 10px); padding-bottom: 60px; gap: 0; }
  .stage__list { display: none; }
  .stage__bottle { height: min(54svh, 640px); }
  .stage__bottle img { height: min(54svh, 640px); }
  .stage__info { justify-self: center; text-align: center; max-width: 420px; padding-bottom: 8px; }
  .stage__name { font-size: clamp(38px, 10vw, 56px); }
  .stage__tag { margin: 12px 0 18px; font-size: 19px; }
  .stage__varietal { margin-top: 8px; }
  .stage__ghost { font-size: 34vw; top: 34%; }
  .stage__hint { display: none; }
  .wm { grid-template-columns: 1fr; grid-template-rows: 30vh 1fr; height: 96vh; width: 100vw; border-radius: 0; }
  .wm__thumbs { display: none; }
  .modal__x { top: 10px; right: 10px; }
  .wa-fab span { display: none; } .wa-fab { padding: 15px; right: 16px; bottom: 16px; }
}
@media (max-width: 720px) {
  .ev { grid-template-columns: 74px 1fr; padding: 14px; gap: 14px; }
  .ev__day { font-size: 46px; }
  .ev__act { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: center; }
  .mini__row { grid-template-columns: 1fr; }
  .exp__cards { grid-template-columns: 1fr 1fr; }
  .xcard__body { padding: 16px; } .xcard p { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__scroll { display: none; }
  .hero__cta .btn { padding: 15px 22px; }
  .spec { grid-template-columns: 1fr; }
  .comp__row { grid-template-columns: 100px 1fr 40px; }
  .rm__row { grid-template-columns: 1fr; }
  .film__frame { aspect-ratio: 4 / 5; }
  .film__play { width: 84px; height: 84px; margin: -42px; }
  .ccard { min-height: 320px; }
}



/* ---------- música ambiente ---------- */
.music { position: fixed; z-index: 760; left: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 20px 0 16px; border-radius: 999px; color: #fff; background: rgba(42,35,37,.72); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; transition: opacity .6s var(--ease), transform .6s var(--ease), background .3s; opacity: 0; transform: translateY(20px); pointer-events: none; }
.music.is-show { opacity: 1; transform: none; pointer-events: auto; }
.music:hover { background: rgba(42,35,37,.92); }
.music__bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.music__bars i { display: block; width: 2.5px; height: 4px; background: var(--gold); border-radius: 2px; transition: height .4s; }
.music.is-playing .music__bars i { animation: eq 1s ease-in-out infinite; }
.music.is-playing .music__bars i:nth-child(2) { animation-delay: -.3s; } .music.is-playing .music__bars i:nth-child(3) { animation-delay: -.6s; } .music.is-playing .music__bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
.music.is-nudge::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--gold); animation: pulse2 2.4s var(--ease) infinite; }
@media (max-width: 980px) { .music { left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); height: 46px; padding: 0 16px 0 14px; } .music__txt { display: none; } .music { width: 46px; justify-content: center; padding: 0; } }

/* ---------- refinamientos móviles ---------- */
.stage__dots { display: none; }
@media (max-width: 980px) {
  header.header { padding-top: env(safe-area-inset-top); }
  .wa-fab { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .stage__dots { display: flex; position: absolute; z-index: 4; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); justify-content: center; gap: 10px; }
  .stage__dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); transition: .4s var(--ease); padding: 0; position: relative; }
  .stage__dots button::after { content: ''; position: absolute; inset: -12px; }
  .stage__dots button.is-active { background: #fff; transform: scale(1.5); }
  .stage__grid { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .footer__legal { padding-bottom: 96px; }
  .modal__x { width: 44px; height: 44px; }
  .hero__content { padding-bottom: calc(clamp(60px, 9vh, 100px) + env(safe-area-inset-bottom)); }
}
@media (max-width: 720px) {
  .hero__title { font-size: 17vw; line-height: .92; }
  .hero__sub { font-size: 10.5px; letter-spacing: .22em; margin-bottom: 26px; }
  .hero__eyebrow { font-size: 10px; letter-spacing: .24em; }
  .h1 { font-size: clamp(38px, 11.5vw, 56px); }
  .h0 { font-size: clamp(42px, 12.5vw, 64px); }
  .manifesto__text { font-size: clamp(27px, 7.6vw, 40px); }
  .numbers__grid b { font-size: 13vw; }
  input, select, textarea { font-size: 16px; }
  .btn { padding: 16px 24px; }
  .ev__act { grid-template-columns: 1fr auto; gap: 14px; }
  .ev__act .btn { white-space: nowrap; padding: 14px 20px; }
  .avail { font-size: 10px; }
  .ev__main h3 { font-size: 26px; }
  .ev__tags span { font-size: 9px; }
  .events__head { align-items: flex-start; }
  .chips { gap: 6px; } .chip { padding: 9px 14px; font-size: 10px; }
  .xcard { aspect-ratio: 3 / 3.6; }
  .ccard { padding: 26px; min-height: 300px; }
  .ocard { aspect-ratio: 4 / 3.4; }
  .wm__panel { padding: 24px 20px 28px; }
  .wm__actions .btn { flex: 1 1 100%; }
  .tab { padding: 12px 10px; font-size: 10px; }
  .tab::after { left: 10px; right: 10px; }
  .reel__phone { width: min(260px, 66vw); }
  .rm { padding: 26px 20px; }
  .private__media { max-width: 100%; }
  .footer__hero { min-height: 74svh; }
  .gate__logo { width: 150px; }
}
@media (max-width: 380px) {
  .exp__cards { grid-template-columns: 1fr; }
  .xcard { aspect-ratio: 4 / 3; }
  .hero__cta .btn { width: 100%; }
  .numbers__grid span { font-size: 10px; letter-spacing: .14em; }
  .header__logo img { height: 46px; }
}
/* celular en horizontal */
@media (max-width: 980px) and (max-height: 520px) {
  .hero { min-height: 100svh; }
  .hero__title { font-size: 15vh; margin-bottom: 14px; }
  .hero__sub { margin-bottom: 14px; }
  .hero__content { padding-bottom: 28px; }
  .stage__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; align-items: center; padding-top: 64px; padding-bottom: 54px; gap: 20px; }
  .stage__bottle { height: 74svh; } .stage__bottle img { height: 74svh; }
  .stage__info { justify-self: start; text-align: left; }
  .stage__name { font-size: 7vh; } .stage__tag { margin: 8px 0 12px; font-size: 16px; }
  .stage__dots { bottom: 18px; }
  .origin__map { height: 44vh; min-height: 0; } .map__stage { height: 38vh; min-height: 0; }
  .wm { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; width: 100vw; height: 100vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv, .js .rv-img, .js .rv-img img { opacity: 1; transform: none; clip-path: none; }
  .manifesto__text .w { opacity: 1; }
  body::after { display: none; }
}
