/* C.H. Vinos de Cubillas · demo de Pablo Sánchez Marketing (v1, sobria)
   Blanco hueso, tinta casi negra y el rojo del logo como único acento. Tipografía editorial y mucho aire. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/cormorant.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 500; font-display: swap; src: url("fonts/cormorant-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("fonts/jost.woff2") format("woff2"); }
:root {
  --bg: #fbf9f5;
  --paper: #ffffff;
  --stone: #f1ece4;
  --ink: #1f1a17;
  --muted: #6d645c;
  --line: #e4ddd2;
  --wine: #6b1f2a;
  --gold: #a88b5c;
  --serif: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
body.is-gated { overflow: hidden; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
.wrap--narrow { max-width: 760px; text-align: center; }
.center { text-align: center; margin-top: 48px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.6vw, 54px); }
h2 em, h1 em { font-style: italic; font-weight: 400; color: var(--wine); }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.eyebrow--light { color: #e6d8bd; }
.ornament { display: block; width: 56px; height: 1px; background: var(--gold); margin: 0 auto 36px; position: relative; }
.ornament::after { content: ""; position: absolute; left: 50%; top: -3px; width: 7px; height: 7px; border: 1px solid var(--gold); background: var(--bg); transform: translateX(-50%) rotate(45deg); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; padding: 15px 30px; border: 1px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--wine); border-color: var(--wine); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Mayoría de edad */
.gate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(31,26,23,.72); backdrop-filter: blur(6px); }
.gate[hidden] { display: none; }
.gate__card { background: var(--paper); max-width: 420px; width: 100%; padding: 44px 36px 38px; text-align: center; }
.gate__card img { margin: 0 auto 26px; width: 180px; }
.gate__title { font-family: var(--serif); font-size: 30px; font-weight: 500; margin-bottom: 8px; }
.gate__text { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.gate__btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.demo-bar { background: var(--ink); color: #d9d1c6; font-size: 12px; letter-spacing: .02em; text-align: center; padding: 7px 16px; }

/* Cabecera */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251,249,245,.94); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.nav__logo img { width: 150px; }
.nav__links { display: flex; gap: 38px; }
.nav__links a { font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--ink); transition: transform .3s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Portada */
.hero { position: relative; height: min(86vh, 820px); min-height: 520px; overflow: hidden; display: grid; place-items: center; color: #fff; text-align: center; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroIn 2.4s var(--ease) forwards; will-change: transform; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,14,.25) 0%, rgba(20,16,14,.45) 60%, rgba(20,16,14,.6) 100%); }
.hero__txt { position: relative; padding: 0 24px; }
.hero h1 { font-size: clamp(52px, 8.4vw, 112px); font-weight: 400; line-height: 1; }
.hero h1 em { color: #f1e6d2; }
.hero__down { position: absolute; bottom: 34px; left: 50%; width: 1px; height: 56px; background: rgba(255,255,255,.35); transform: translateX(-50%); overflow: hidden; }
.hero__down span { position: absolute; left: 0; top: -20px; width: 1px; height: 20px; background: #fff; animation: drip 2.2s var(--ease) infinite; }
@keyframes heroIn { to { transform: scale(1); } }
@keyframes drip { to { top: 56px; } }

/* Presentación */
.intro { padding: 120px 0 100px; }
.intro__lead { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); line-height: 1.35; font-weight: 400; margin-bottom: 26px; }
.intro p:not(.intro__lead) { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* Tres puertas */
.doors { padding-bottom: 120px; }
.doors__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.door { text-decoration: none; text-align: center; background: var(--paper); padding-bottom: 30px; }
.door__img { display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--stone); margin-bottom: 26px; }
.door__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.door__img--bottle { display: grid; place-items: center; padding: 30px 0; }
.door__img--bottle img { width: auto; height: 100%; object-fit: contain; }
@media (hover: hover) and (pointer: fine) { .door:hover .door__img img { transform: scale(1.04); } }
.door__title { display: block; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.door__link { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--wine); border-bottom: 1px solid currentColor; padding-bottom: 3px; }

/* La bodega */
.story { background: var(--paper); padding: 120px 0; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story__txt h2 { margin-bottom: 28px; }
.story__txt p { color: var(--muted); margin-bottom: 18px; max-width: 520px; }
blockquote { margin-top: 34px; padding-left: 26px; border-left: 1px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.4; color: var(--ink); max-width: 500px; }
blockquote cite { display: block; margin-top: 12px; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.story__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.story__img figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.facts { margin-top: 100px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.facts div { padding: 34px 10px 0; text-align: center; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-family: var(--serif); font-size: clamp(38px, 4.4vw, 56px); font-weight: 400; line-height: 1; color: var(--wine); }
.facts dd { margin-top: 10px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* El viñedo */
.vineyard { position: relative; color: #fff; padding: 150px 0; overflow: hidden; }
.vineyard__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vineyard__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,16,14,.85) 0%, rgba(20,16,14,.6) 55%, rgba(20,16,14,.3) 100%); }
.vineyard__in { position: relative; }
.vineyard h2 { color: #fff; margin-bottom: 28px; max-width: 640px; }
.vineyard h2 em { color: #e6d2b0; }
.vineyard p { max-width: 560px; color: #e8e1d7; }
.ages { display: flex; margin-top: 46px; max-width: 620px; border-top: 1px solid rgba(255,255,255,.25); }
.ages button { flex: 1; text-align: left; background: none; border: 0; color: #fff; font: inherit; cursor: pointer; padding: 20px 16px 14px 0; position: relative; opacity: .55; transition: opacity .3s var(--ease); }
.ages button + button { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.25); }
.ages button::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: #e6d2b0; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.ages button + button::before { left: 0; }
.ages button[aria-selected="true"] { opacity: 1; }
.ages button[aria-selected="true"]::before { transform: scaleX(1); }
.ages button:hover { opacity: .9; }
.ages strong { display: block; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.ages span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #d6cbbb; }
.ages__out { margin-top: 22px; max-width: 560px; min-height: 3.5em; color: #f1e9dd; font-family: var(--serif); font-size: 21px; line-height: 1.45; font-style: italic; transition: opacity .3s var(--ease); }
.ages__out.is-swap { opacity: 0; }

/* Los vinos */
.wines { padding: 130px 0 120px; }
.head { text-align: center; max-width: 640px; margin: 0 auto 70px; }
.head h2 { margin-bottom: 18px; }
.head p { color: var(--muted); }
.wines__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.wine { text-align: center; }
.wine__bottle { height: 360px; display: grid; place-items: end center; padding: 30px 0 26px; background: radial-gradient(ellipse at 50% 92%, rgba(0,0,0,.08) 0%, rgba(0,0,0,0) 46%), var(--stone); margin-bottom: 26px; overflow: hidden; }
.wine__bottle img { height: 300px; width: auto; transition: transform .9s var(--ease); }
@media (hover: hover) and (pointer: fine) { .wine:hover .wine__bottle img { transform: translateY(-6px); } }
.wine__type { font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.wine h3 { font-size: 27px; margin: 8px 0 12px; }
.wine__note { font-size: 15px; color: var(--muted); line-height: 1.65; padding: 0 6px; }
.wine__meta { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink); letter-spacing: .02em; }
.wines__more { text-align: center; color: var(--muted); margin-top: 60px; font-size: 15.5px; }
.wines__more strong { color: var(--ink); font-weight: 500; }

/* Reconocimientos */
.awards { background: var(--stone); padding: 90px 0; }
.awards__line { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.45; }
.awards__line strong { font-weight: 600; color: var(--wine); }
.awards__note { margin-top: 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Contacto */
.contact { padding: 130px 0; background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.contact h2 { margin-bottom: 22px; }
.contact p { color: var(--muted); max-width: 460px; }
.contact__list { list-style: none; margin: 34px 0 36px; border-top: 1px solid var(--line); }
.contact__list li { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.contact__list span { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.contact__list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.form { display: flex; flex-direction: column; background: var(--bg); padding: 44px 40px; }
.form label { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }
.form label:first-child { margin-top: 0; }
.form input, .form textarea { font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--ink); }
.form .btn { margin-top: 32px; align-self: flex-start; }
.form__msg { margin-top: 16px; font-size: 14px; color: var(--wine); min-height: 1.4em; }

/* Pie */
.footer { background: var(--ink); color: #cfc6ba; padding: 70px 0 60px; text-align: center; }
.footer__in img { margin: 0 auto 22px; width: 130px; filter: brightness(0) invert(1); opacity: .9; }
.footer p { font-size: 14px; }
.footer__small { margin-top: 18px; font-size: 12px; color: #91877b; line-height: 1.7; }
.footer a { color: #e6d8bd; }

/* Aparición suave */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Idioma */
.nav__right { display: flex; align-items: center; gap: 10px; }
.lang { background: none; border: 0; font: inherit; font-size: 12px; font-weight: 500; letter-spacing: .14em; cursor: pointer; padding: 10px 4px; color: var(--muted); }
.lang__sep { margin: 0 4px; opacity: .5; }
html[lang="es"] .lang__es, html[lang="en"] .lang__en { color: var(--ink); border-bottom: 1px solid var(--wine); }
.gate__lang { margin-top: 18px; background: none; border: 0; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Entrada de la portada */
.hero__sub { margin-top: 26px; font-size: 13px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: #eadfcd; }
.js .hero__in { display: inline-block; opacity: 0; transform: translateY(14px); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(.35s + var(--d) * .18s); }
.js p.hero__in { display: block; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Maridaje */
.pair { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -30px auto 18px; max-width: 820px; }
.chip { font: inherit; font-size: 13.5px; font-weight: 400; letter-spacing: .02em; padding: 9px 18px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; cursor: pointer; transition: border-color .25s, background .25s, color .25s; display: inline-flex; align-items: center; gap: 8px; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.pair__out { text-align: center; min-height: 1.8em; margin-bottom: 40px; font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--wine); }
.wine { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.wines__grid.is-filtering .wine { opacity: .28; }
.wines__grid.is-filtering .wine.is-match { opacity: 1; transform: translateY(-8px); }
.wines__grid.is-filtering .wine.is-match .wine__bottle { box-shadow: inset 0 0 0 1px var(--gold); }

/* Mapa */
.map { margin: 0 0 26px; aspect-ratio: 16/9; background: var(--stone); display: grid; place-items: center; color: var(--muted); font-size: 13px; overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(.95); }
.pending { font-style: normal; color: var(--muted); }
.pending::before { content: "· "; color: var(--gold); }

/* Formulario: motivo */
.form__label { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.motivos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.motivos + label { margin-top: 0; }

/* Creador */
.maker { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding: 10px 18px 10px 10px; border: 1px solid #3a332e; text-decoration: none; color: #cfc6ba; font-size: 13px; transition: border-color .3s; }
.maker:hover { border-color: #e6d8bd; }
.maker img { width: 34px; height: 34px; filter: none; opacity: 1; margin: 0; }
.maker strong { color: #fff; font-weight: 500; }

/* Barra móvil */
.mbar { display: none; }


/* ===== Movimiento v4 (Emil Kowalski): sobrio, pero vivo ===== */
/* Raíz: hilo dorado que baja por la página con el scroll */
.root { position: absolute; left: max(28px, calc((100vw - 1180px) / 2 - 40px)); top: 0; bottom: 0; width: 1px; pointer-events: none; z-index: 2; display: none; }
.root::before { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--line), var(--line)); opacity: .7; }
.root__fill { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: linear-gradient(180deg, rgba(168,139,92,0) 0%, var(--gold) 8%, var(--gold) 100%); transform-origin: top; transform: scaleY(0); will-change: transform; }
.root__tip { position: absolute; left: -3px; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(168,139,92,.18), 0 0 14px rgba(168,139,92,.55); will-change: transform; }
main { position: relative; }
@media (min-width: 1240px) { .js .root { display: block; } }

/* Palabras que se iluminan */
.lit .w { color: var(--ink); opacity: .16; transition: opacity .5s var(--ease), color .5s var(--ease); }
.lit .w.on { opacity: 1; }
.lit .w.on.last { color: var(--wine); font-style: italic; }

/* Cortina: la foto se descubre de abajo arriba y pasa de penumbra a luz */
.js .curtain { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease-in-out); }
.js .curtain img { transform: scale(1.14); filter: grayscale(.65) brightness(.82); transition: transform 1.8s var(--ease), filter 1.6s var(--ease); }
.js .curtain.is-in { clip-path: inset(0 0 0 0); }
.js .curtain.is-in img { transform: scale(1); filter: none; }

/* Filete del rótulo que se dibuja */
.js .eyebrow.draw { display: inline-flex; align-items: center; gap: 14px; }
.js .eyebrow.draw::before { content: ""; width: 34px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .15s; }
.js .is-in .eyebrow.draw::before, .js .eyebrow.draw.is-in::before { transform: scaleX(1); }

/* Botellas que suben escalonadas */
.js .wine .wine__bottle img { opacity: 0; transform: translateY(46px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js .wine.is-in .wine__bottle img { opacity: 1; transform: none; }
.js .wine:nth-child(2) .wine__bottle img { transition-delay: .08s; }
.js .wine:nth-child(3) .wine__bottle img { transition-delay: .16s; }
.js .wine:nth-child(4) .wine__bottle img { transition-delay: .24s; }

/* Viñedo: la foto se mueve más despacio que el texto */
.vineyard__bg { will-change: transform; transform: scale(1.18); }

/* Cita que entra con su filete */
.js blockquote { border-left-color: transparent; position: relative; }
.js blockquote::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 1px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease) .3s; }
.js .is-in blockquote::before { transform: scaleY(1); }

@media (prefers-reduced-motion: reduce) {
  .js .curtain { clip-path: none; }
  .js .curtain img { transform: none; filter: none; }
  .js .wine .wine__bottle img { opacity: 1; transform: none; }
  .lit .w { opacity: 1; }
  .root { display: none !important; }
  .vineyard__bg { transform: none; }
  .js blockquote { border-left-color: var(--gold); } .js blockquote::before { display: none; }
}

/* Linterna del viñedo (guiño a Dalmacio): luz cálida que sigue al ratón */
.vineyard__lamp { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease);
  background: radial-gradient(260px circle at var(--mx, 70%) var(--my, 50%), rgba(255,226,170,.32) 0%, rgba(255,214,150,.12) 40%, rgba(20,16,14,0) 70%);
  mix-blend-mode: screen; }
.vineyard.is-lit .vineyard__lamp { opacity: 1; }
.vineyard.has-lamp .vineyard__shade { -webkit-mask-image: radial-gradient(240px circle at var(--mx, 70%) var(--my, 50%), rgba(0,0,0,.35) 0%, #000 75%); mask-image: radial-gradient(240px circle at var(--mx, 70%) var(--my, 50%), rgba(0,0,0,.35) 0%, #000 75%); }
@media (prefers-reduced-motion: reduce) { .vineyard__lamp { display: none; } .vineyard.has-lamp .vineyard__shade { -webkit-mask-image: none; mask-image: none; } }


/* ===== Del viñedo a la copa: recorrido horizontal fijado ===== */
.process { position: relative; background: var(--ink); color: #f1e9dd; }
.process__sticky { padding: 110px 0 60px; overflow: hidden; }
.process__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 56px; }
.process h2 { color: #fff; }
.process h2 em { color: #e6d2b0; }
.process__bar { width: 220px; height: 1px; background: rgba(255,255,255,.18); position: relative; flex: none; margin-bottom: 14px; }
.process__bar span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.process__track { display: flex; gap: 40px; padding-left: max(24px, calc((100vw - 1180px) / 2 + 24px)); padding-right: 24px; will-change: transform; }
.step { flex: none; width: min(44vw, 620px); display: flex; flex-direction: column; gap: 26px; }
.step--tall { width: min(30vw, 420px); }
.step__img { overflow: hidden; aspect-ratio: 3/2; background: #2b2420; }
.step--tall .step__img { aspect-ratio: 3/4; }
.step__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.step.is-near .step__img img { transform: scale(1); }
.step__txt { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: baseline; max-width: 520px; }
.step__n { grid-row: span 2; font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--gold); font-style: italic; }
.step h3 { font-size: 30px; color: #fff; margin-bottom: 6px; }
.step p { color: #c9bfb2; font-size: 16px; }
.step--type { width: min(36vw, 500px); }
.step__nums { aspect-ratio: 3/2; border: 1px solid rgba(230,210,176,.3); display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 30px 34px; }
.step__nums p { display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 14px; }
.step__nums p:last-child { border-bottom: 0; padding-bottom: 0; }
.step__nums strong { font-family: var(--serif); font-weight: 500; font-size: 48px; line-height: 1; color: #e6d2b0; min-width: 2.6em; }
.step__nums span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #c9bfb2; }
.process__credit { margin-top: 40px; font-size: 12px; color: #7d7368; }
@media (min-width: 961px) {
  .js .process { height: var(--proc-h, 300vh); }
  .js .process__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 30px; }
}
@media (max-width: 960px) {
  .process__head { flex-direction: column; align-items: flex-start; }
  .process__bar { display: none; }
  .process__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: none; }
  .process__track::-webkit-scrollbar { display: none; }
  .step, .step--tall, .step--type { width: 82vw; scroll-snap-align: start; }
  .step--tall .step__img { aspect-ratio: 3/2; }
  .step__img img { transform: none; }
}

/* ===== Banda de paisaje ===== */
.band { position: relative; min-height: 78vh; display: grid; align-items: end; color: #fff; overflow: hidden; }
.band__bg { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.band__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,14,.05) 30%, rgba(20,16,14,.75) 100%); }
.band__in { position: relative; padding-top: 140px; padding-bottom: 80px; }
.band__places { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; color: #eadfcd; margin-bottom: 22px; }
.band__places span + span::before { content: "·"; margin-right: 28px; color: var(--gold); }
.band__line { font-family: var(--serif); font-size: clamp(36px, 5.4vw, 74px); line-height: 1.04; max-width: 900px; }
.band__line em { color: #f1e1c3; }
.band__credit { margin-top: 20px; font-size: 11.5px; color: rgba(255,255,255,.6); }
.js .band__places span { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .band.is-in .band__places span { opacity: 1; transform: none; }
.js .band.is-in .band__places span:nth-child(2) { transition-delay: .1s; }
.js .band.is-in .band__places span:nth-child(3) { transition-delay: .2s; }
.js .band.is-in .band__places span:nth-child(4) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .js .process { height: auto !important; } .js .process__sticky { position: static; height: auto; } .process__track { overflow-x: auto; transform: none !important; }
  .js .band__places span { opacity: 1; transform: none; }
  .step__img img { transform: none; }
}

@media (max-width: 960px) {
  .nav__links { position: fixed; inset: 80px 0 auto 0; background: var(--bg); flex-direction: column; gap: 0; padding: 10px 24px 26px; border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav__burger { display: block; }
  .doors__grid, .wines__grid { grid-template-columns: repeat(2, 1fr); }
  .story__grid, .contact__grid { grid-template-columns: 1fr; gap: 50px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { margin-top: 34px; }
}
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a { color: #f1e9dd; text-decoration: none; text-align: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding: 16px 4px; }
  .mbar a + a { border-left: 1px solid #3a332e; }
  .footer { padding-bottom: 110px; }
}
@media (max-width: 560px) {
  .ages { flex-direction: row; } .ages button { padding-right: 8px; } .ages button + button { padding-left: 12px; } .ages strong { font-size: 22px; }
  .pair { margin-top: -20px; }
  body { font-size: 16px; }
  .nav__in { height: 70px; } .nav__logo img { width: 124px; }
  .nav__links { inset: 70px 0 auto 0; }
  .intro, .story, .wines, .contact { padding: 84px 0; }
  .doors__grid { grid-template-columns: 1fr; }
  .wines__grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .wine__bottle { height: 250px; } .wine__bottle img { height: 200px; }
  .wine h3 { font-size: 22px; }
  .vineyard { padding: 100px 0; }
  .form { padding: 32px 22px; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero__img { transform: none; }
  .js .hero__in { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Prueba 28/10: portada en blanco y negro */
.hero__img { filter: grayscale(1) contrast(1.08) brightness(.95); }

/* ===== Bolder 28/10 (impeccable): más carácter, mismo sistema (tinta, vino, oro, piedra) ===== */
h2 { font-size: clamp(40px, 5.8vw, 78px); letter-spacing: -.02em; line-height: 1.02; }

/* Portada: titular enorme, abajo a la izquierda */
.hero { place-items: end start; text-align: left; height: min(92vh, 900px); }
.hero__txt { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 max(24px, env(safe-area-inset-left)) 92px; }
.hero h1 { font-size: clamp(64px, 11.5vw, 172px); line-height: .9; letter-spacing: -.03em; }
.hero h1 em { display: inline-block; padding-left: .5em; }
.hero__sub { margin-top: 30px; }
.hero__shade { background: linear-gradient(180deg, rgba(20,16,14,.15) 0%, rgba(20,16,14,.35) 45%, rgba(20,16,14,.82) 100%); }

/* Presentación: banda vino entera */
.intro { background: var(--wine); color: #f6ece4; padding: 150px 0 140px; }
.intro .wrap--narrow { max-width: 1000px; text-align: left; }
.intro .ornament { margin-left: 0; background: #d9b77e; }
.intro .ornament::after { background: var(--wine); border-color: #d9b77e; }
.intro__lead { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.12; letter-spacing: -.01em; margin-bottom: 40px; }
.intro p:not(.intro__lead) { color: #e7d4c9; margin: 0; max-width: 620px; font-size: 18px; }
.lit .w { color: #fff; opacity: .22; }
.lit .w.on.last { color: #e9c98c; }

/* Puertas: el texto sobre la foto, sin tarjeta blanca */
.doors { padding: 0; background: var(--ink); }
.doors__grid { max-width: none; padding: 0; gap: 0; }
.door { position: relative; background: none; padding: 0; overflow: hidden; }
.door__img { aspect-ratio: 3/4; margin: 0; }
.door__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,14,0) 45%, rgba(20,16,14,.78) 100%); pointer-events: none; }
.door__img--bottle { background: #2a2320; }
.door__title { position: absolute; left: 34px; bottom: 58px; color: #fff; font-size: clamp(36px, 3.6vw, 54px); z-index: 1; }
.door__link { position: absolute; left: 34px; bottom: 30px; color: #e9c98c; z-index: 1; margin: 0; }

/* Reconocimientos: banda vino con las cifras a lo grande */
.awards { background: var(--wine); color: #f6ece4; padding: 120px 0; }
.awards .wrap--narrow { max-width: 1000px; }
.awards .ornament { background: #d9b77e; } .awards .ornament::after { background: var(--wine); border-color: #d9b77e; }
.awards__line { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.3; }
.awards__line strong { color: #e9c98c; font-weight: 500; font-size: 1.6em; line-height: 1; }
.awards__note { color: #d9c2b5; }

@media (max-width: 960px) {
  .doors__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hero__txt { padding-bottom: 70px; }
  .hero h1 em { padding-left: .3em; }
  .intro { padding: 100px 0 90px; }
  .doors__grid { grid-template-columns: 1fr; }
  .door__img { aspect-ratio: 4/3; }
  .door__title { left: 22px; bottom: 50px; } .door__link { left: 22px; bottom: 22px; }
}

/* ===== Más vida 28/10 ===== */
/* Cinta de palabras: se mueve sola y acelera con el scroll */
.ribbon { background: var(--ink); color: #e9c98c; overflow: hidden; padding: 26px 0; border-top: 1px solid rgba(233,201,140,.18); border-bottom: 1px solid rgba(233,201,140,.18); }
.ribbon__track { display: flex; align-items: center; gap: 34px; width: max-content; will-change: transform; }
.ribbon span { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.2vw, 44px); white-space: nowrap; line-height: 1; }
.ribbon i { width: 9px; height: 9px; border: 1px solid #e9c98c; transform: rotate(45deg); flex: none; }

/* Palabra gigante detrás de los vinos */
.wines { position: relative; overflow: hidden; }
.giant { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(180px, 30vw, 460px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(107,31,42,.16); pointer-events: none; white-space: nowrap; will-change: transform; z-index: 0; }
.wines .wrap { position: relative; z-index: 1; }

/* Botellas que se inclinan con el ratón y reciben un brillo */
.wine__bottle { position: relative; perspective: 900px; }
.wine__bottle img { transform-style: preserve-3d; }
.wine__bottle::after { content: ""; position: absolute; inset: 0; background: radial-gradient(180px circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.35), rgba(255,255,255,0) 60%); opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; mix-blend-mode: soft-light; }
@media (hover: hover) and (pointer: fine) { .wine:hover .wine__bottle::after { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ribbon__track { transform: none !important; flex-wrap: wrap; width: auto; justify-content: center; } .giant { transform: translateX(-50%) !important; } }

/* Sello D.O. Toro */
.seal { margin: 70px auto 0; display: flex; align-items: center; justify-content: center; gap: 34px; max-width: 760px; }
.seal img { width: 150px; height: auto; flex: none; }
.seal p { color: var(--muted); font-size: 16px; max-width: 420px; }
.seal strong { color: var(--ink); font-weight: 500; }
.js .seal img { opacity: 0; transform: scale(.94) rotate(-4deg); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js .seal.is-in img { opacity: 1; transform: none; }
@media (max-width: 560px) { .seal { flex-direction: column; text-align: center; gap: 18px; } .seal img { width: 130px; } }
@media (prefers-reduced-motion: reduce) { .js .seal img { opacity: 1; transform: none; } }

/* 28/10: Pablo quita la barra de progreso lateral */
.root { display: none !important; }

/* 28/10: sello D.O. Toro en la banda vino de la presentación */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 80px; align-items: center; max-width: 1180px; }
.intro__txt .ornament { margin-left: 0; }
.intro__seal { margin: 0; text-align: center; }
.intro__disc { display: grid; place-items: center; width: 340px; height: 340px; border-radius: 50%; background: #f6ece4; box-shadow: 0 0 0 10px rgba(246,236,228,.08), 0 30px 60px rgba(0,0,0,.25); }
.intro__disc img { width: 250px; height: auto; }
.intro__seal figcaption { margin-top: 26px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: #e7d4c9; line-height: 1.7; }
.intro__seal strong { color: #e9c98c; font-weight: 500; }
.js .intro__disc { opacity: 0; transform: scale(.92) rotate(-6deg); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .intro__seal.is-in .intro__disc { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .intro__grid { grid-template-columns: 1fr; gap: 56px; }
  .intro__seal { justify-self: start; text-align: left; }
  .intro__disc { width: 240px; height: 240px; } .intro__disc img { width: 176px; }
}
@media (prefers-reduced-motion: reduce) { .js .intro__disc { opacity: 1; transform: none; } }

/* ===== C.H. Vinos de Cubillas ===== */
:root { --wine: #8c2a2b; }
.hero__img { filter: saturate(.85) brightness(.9); }
.giant { -webkit-text-stroke: 1px rgba(140,42,43,.16); }

/* Disco del logo en la presentación */
.intro__disc--logo img { width: 230px; }
@media (max-width: 960px) { .intro__disc--logo img { width: 170px; } }

/* Tres vinos destacados */
.wines__grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 940px; margin: 0 auto; }
@media (max-width: 960px) { .wines__grid--3 { grid-template-columns: repeat(3, 1fr); gap: 22px 14px; } }
@media (max-width: 620px) { .wines__grid--3 { grid-template-columns: 1fr 1fr; } }

/* Paso con foto clara (gama sobre fondo blanco) */
.step__img--light { background: #fff; }
.step__img--light img { object-fit: contain; }

/* Exportación */
.export { background: var(--ink); color: #efe7dc; padding: 130px 0; position: relative; overflow: hidden; }
.export::before { content: ""; position: absolute; right: -180px; top: -180px; width: 560px; height: 560px; border-radius: 50%; border: 1px solid rgba(232,214,184,.14); }
.export::after { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(232,214,184,.1); }
.export__head { max-width: 760px; position: relative; z-index: 1; }
.export h2 { color: #fff; }
.export h2 em { color: #e3b6a6; }
.export__head > p:last-child { margin-top: 22px; font-size: 19px; color: #cfc4b6; }
.export__grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(232,214,184,.16); border: 1px solid rgba(232,214,184,.16); position: relative; z-index: 1; }
.ex { background: var(--ink); padding: 40px 36px 44px; }
.ex__n { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--gold); }
.ex h3 { margin-top: 22px; font-size: 30px; color: #fff; }
.ex p { margin-top: 12px; color: #bfb3a5; font-size: 16px; line-height: 1.7; }
.export__cta { margin-top: 52px; position: relative; z-index: 1; }
.btn--light { border-color: #efe7dc; color: #efe7dc; }
@media (hover: hover) and (pointer: fine) { .btn--light:hover { background: #efe7dc; color: var(--ink); } }
.js .ex.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js .ex.reveal.is-in { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .export { padding: 90px 0; }
  .export__grid { grid-template-columns: 1fr; margin-top: 44px; }
  .ex { padding: 30px 26px 34px; }
}
/* Logo en blanco sobre la portada, a color al bajar */
.nav__logo img { transition: filter .4s var(--ease); }
.nav:not(.is-scrolled) .nav__logo img { filter: brightness(0) invert(1); }
