/* =========================================================
   BERTELLI · Vermut Mágico — versión mejorada
   Base: diseño de Roman (colores, tipografías, textos y estructura).
   Mejoras: movimiento sutil, navegación, historia y detalles de terminación.
   ========================================================= */

:root {
  --blue: #0b263b;
  --blue-2: #102e43;
  --blue-deep: #071e2f;
  --gold: #c2a36a;
  --gold-btn: #d3b57c;
  --gold-btn-hover: #e1c695;
  --cream: #f4f0e7;
  --ink: #152d3b;
  --muted: #58645d;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 100px;
  --pad-y: 100px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
button:disabled { opacity: .5; cursor: default; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid #a7823f; outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(60px, 6.2vw, 95px); line-height: 1.04; letter-spacing: -3px; margin-bottom: 25px; }
h1 i { font-weight: 400; color: #d2b783; }
h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.13; letter-spacing: -1.4px; margin-bottom: 20px; text-wrap: balance; }
h2 i { font-weight: 400; }
figure { margin: 0; }
.eyebrow { font-size: 12px; letter-spacing: 1.8px; line-height: 1.7; font-weight: 500; color: #a78b52; margin: 0 0 25px; }
.section { padding: var(--pad-y) 7%; }

/* ---------- Botones ---------- */
.goldbutton, .outline { position: relative; isolation: isolate; overflow: hidden; }
.goldbutton { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; padding: 17px 22px; min-height: 52px; color: #102a3c; background: var(--gold-btn); font-size: 16px; font-weight: 500; line-height: 1.4; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.goldbutton::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--gold-btn-hover); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out); }
.goldbutton:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px #0b263b80; }
.goldbutton:hover::before { transform: scaleY(1); }
.goldbutton span, .outline span, .textlink span { font-size: 19px; line-height: 1; display: inline-block; transition: transform .45s var(--ease-out); }
.goldbutton:hover span, .outline:hover span, .textlink:hover span { transform: translate(3px, -3px); }
.goldbutton:hover span.plus { transform: rotate(90deg); }

.outline { display: flex; justify-content: space-between; align-items: center; gap: 25px; width: 100%; margin-top: 25px; padding: 17px 20px; min-height: 52px; border: 1px solid #a99c80; font-size: 16px; line-height: 1.4; transition: border-color .4s var(--ease); }
.outline::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #c2a36a1f; transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out); }
.outline:hover { border-color: #c2a36a; }
.outline:hover::before { transform: scaleY(1); }
.outline span { font-size: 17px; }

.textlink { display: inline-flex; align-items: center; gap: 18px; padding: 7px 0; min-height: 44px; font-size: 16px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size .5s var(--ease-out); }
.textlink:hover { background-size: 35% 1px; }

.icon-btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #b9a77f; color: #8a6d3b; transition: background-color .35s, color .35s, border-color .35s, transform .45s var(--ease-out); }
.icon-btn:hover { background: var(--blue); border-color: var(--blue); color: #e6d1a5; transform: translateY(-2px); }
.social-icons { display: flex; gap: 12px; }

/* ---------- Header: logo a la izquierda (como Roman), fijo y discreto al scrollear ---------- */
.siteheader { position: sticky; top: 0; z-index: 30; height: var(--header-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding: 0 5.5%; background: var(--blue); color: var(--cream); border-bottom: 1px solid #ffffff14; transition: transform .6s var(--ease-out), background-color .4s, box-shadow .4s; }
.siteheader.is-scrolled { background: #0b263bf0; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 14px 30px -22px #000c; }
.siteheader::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, #c2a36a80 25%, #c2a36a80 75%, transparent); transform: scaleX(0); transition: transform .9s var(--ease-out); }
.siteheader.is-scrolled::after { transform: scaleX(1); }
.siteheader.is-hidden { transform: translateY(-100%); }
.brand { display: block; line-height: 0; }
.siteheader .brand img { display: block; width: 150px; height: auto; transition: opacity .3s; }
.siteheader .brand:hover img { opacity: .82; }
.mainnav { justify-self: center; display: flex; align-items: center; gap: 36px; font-size: 16px; color: #d0d7d8; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; transition: color .3s; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav-link:hover, .nav-flavors.is-open > .nav-link { color: var(--gold); }
.nav-link:hover::after, .nav-flavors.is-open > .nav-link::after { transform: scaleX(1); transform-origin: left; }
.chev { transition: transform .45s var(--ease-out); }
.nav-flavors.is-open .chev { transform: rotate(180deg); }

.nav-badge { display: inline-block; padding: 3px 6px 2px; font-size: 10px; font-weight: 700; letter-spacing: .6px; line-height: 1.2; color: var(--blue); background: var(--gold-btn); }
.cart-open { display: flex; align-items: center; gap: 10px; font-size: 16px; transition: color .3s; }
.cart-open:hover { color: #e6d1a5; }
.cart-open [data-cart-count] { color: var(--gold); display: inline-block; min-width: .6em; }
.cart-open [data-cart-count].bump { animation: bump .6s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); color: #e6d1a5; } 100% { transform: scale(1); } }

/* Desplegable "Nuestros sabores" */
.flavors { position: absolute; left: 0; right: 0; top: 100%; z-index: -1; background: var(--cream); color: var(--ink); border-bottom: 1px solid #ddd5c5; box-shadow: 0 30px 50px -30px #0b263b73; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .35s var(--ease), transform .55s var(--ease-out), visibility 0s linear .55s; }
.nav-flavors.is-open .flavors { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.flavors-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 1.1fr; gap: 32px; padding: 34px 5.5% 32px; }
.flavor { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto 1fr; column-gap: 20px; align-items: start; text-align: left; padding: 0; }
.flavor-img { grid-row: 1 / 4; position: relative; height: 150px; overflow: hidden; background: linear-gradient(#ece4d5, #e2d5bf); border-bottom: 2px solid #9a4a32; }
.flavor-img.f-bianco { background: linear-gradient(#f2ecd9, #e7debb); border-color: #c2a765; }
.flavor-img.f-licor { background: linear-gradient(#e0e7df, #cdd8d1); border-color: #3b6457; }
.flavor-img .bottle-frame { inset: 12px 0 8px; }
.flavor-img .bottle-frame::after { display: none; }
.flavor-img .bottle-frame img.is-cutout { filter: drop-shadow(3px 5px 4px #2a1a0a26); }
.flavor:hover .bottle-frame img { transform: translate(-50%, -4px) scale(1.06); }
.flavor small { margin-top: 14px; font-size: 11px; letter-spacing: 1.4px; color: #8b7d60; white-space: nowrap; }
.flavor strong { font: 400 26px/1.15 var(--serif); letter-spacing: -.4px; margin: 6px 0 10px; }
.flavor em { align-self: end; font-style: normal; font-size: 14px; color: #6b6a5e; display: inline-flex; gap: 10px; align-items: center; transition: color .3s; }
.flavor em span { transition: transform .45s var(--ease-out); }
.flavor:hover em { color: #7d6331; }
.flavor:hover em span { transform: translate(3px, -3px); }
.flavor-all { grid-template-columns: 1fr; padding-left: 26px; border-left: 1px solid #ddd5c5; }
.flavor-all small { margin-top: 0; }
.flavor-all strong { font-size: 28px; }
.flavor-all:hover em span { transform: translateX(4px); }

/* Menú móvil */
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor; transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.mobilemenu { position: fixed; inset: 0; z-index: 25; display: flex; flex-direction: column; justify-content: space-between; padding: 128px 26px 34px; overflow-y: auto; color: var(--cream); background: radial-gradient(ellipse at 80% 0%, #143650 0%, var(--blue) 55%); opacity: 0; transition: opacity .45s var(--ease); }
.mobilemenu[hidden] { display: none; }
.mobilemenu.is-open { opacity: 1; }
.mobilemenu nav a { display: flex; align-items: baseline; gap: 16px; padding: 17px 0; border-bottom: 1px solid #ffffff14; font: 34px/1.15 var(--serif); letter-spacing: -.8px; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .7s var(--ease-out), color .3s; }
.mobilemenu nav a:active { color: var(--gold); }
.mobilemenu nav small { font: 500 11px var(--sans); letter-spacing: 1.6px; color: var(--gold); }
.mobilemenu nav .nav-badge { align-self: center; padding: 4px 7px 3px; font: 700 11px var(--sans); letter-spacing: .6px; }
.mobilemenu.is-open nav a { opacity: 1; transform: none; }
.mobilemenu.is-open nav a:nth-child(2) { transition-delay: .06s; }
.mobilemenu.is-open nav a:nth-child(3) { transition-delay: .12s; }
.mobilemenu.is-open nav a:nth-child(4) { transition-delay: .18s; }
.mobilemenu.is-open nav a:nth-child(5) { transition-delay: .24s; }
.mobilemenu-foot { margin-top: 40px; font-size: 15px; color: #b9c5cb; }
.mobilemenu-foot div { display: flex; gap: 26px; margin-bottom: 16px; color: #e6d1a5; }
.mobilemenu-foot p { margin: 0; font-size: 12px; color: #8fa3b0; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 44% 56%; min-height: 700px; background: var(--blue); color: var(--cream); }
.herocopy { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; padding: 85px 6% 28px 12.5%; background: linear-gradient(120deg, #0b263b, #102d40); }
.herocopy .eyebrow { color: #e4c895; }
.herodesc { color: #e0e3dc; font-size: 17px; line-height: 1.8; margin-bottom: 34px; }
.herobottom { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: auto; padding-top: 55px; color: #c4cccb; font-size: 12px; letter-spacing: 1px; }
.small-sun { display: inline-block; font-size: 21px; color: var(--gold); vertical-align: middle; margin-left: 8px; animation: spin 40s linear infinite; }
.herovisual { position: relative; overflow: hidden; isolation: isolate; background: #302920; min-height: 700px; }
.scene-media { position: absolute; inset: 0; z-index: -1; will-change: transform; }
.hero-scene-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.06); }
.herovisual::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #0b263b70, transparent 22%), linear-gradient(0deg, #101c25a8, transparent 15%); }
/* Promo de la caja en la portada */
.hero-promo { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 10px 18px 10px 10px; font-size: 15px; line-height: 1.45; color: #e0e3dc; background: #ffffff0a; border: 1px solid #c2a36a73; transition: border-color .4s, background-color .4s; }
.hero-promo:hover { border-color: var(--gold); background: #c2a36a17; }
.hero-promo-icon { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: var(--gold-btn); }
.hero-promo-text b { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; color: #e4c895; }
.hero-promo-arrow { margin-left: 6px; font-size: 18px; color: var(--gold); transition: transform .45s var(--ease-out); }
.hero-promo:hover .hero-promo-arrow { transform: translateX(4px); }
/* Un brillo lento cruza la promo cada tanto */
.hero-promo::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, #f4e6c224, transparent); transform: skewX(-18deg); pointer-events: none; animation: sheen 7s var(--ease) 2.5s infinite; }
@keyframes sheen { 0% { left: -60%; } 24%, 100% { left: 130%; } }
.scenecredit { position: absolute; z-index: 2; right: 25px; bottom: 20px; color: #f3e1bc; font-size: 11px; letter-spacing: 1.5px; }

/* Entrada del hero (se activa con .is-ready) */
.hero h1 .line { display: block; padding-bottom: .12em; margin-bottom: -.12em; clip-path: inset(-.4em -1em 0 -1em); }
.hero h1 .line > span { display: inline-block; }
.js .hero h1 .line > span { transform: translateY(110%); transition: transform 1.25s var(--ease-out); }
.js .hero h1 .line:nth-child(2) > span { transition-delay: .12s; }
.js .hero .intro { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * .1s + .15s); }
.js .hero-scene-photo { transform: scale(1.14); transition: transform 2.6s var(--ease-out); }
.js.is-ready .hero h1 .line > span { transform: none; }
.js.is-ready .hero .intro { opacity: 1; transform: none; }
.js.is-ready .hero-scene-photo { transform: scale(1.06); }

/* ---------- Franja de marca (marquesina lenta) ---------- */
.brandstrip { overflow: hidden; background: #102f43; color: #d7ba7f; border-bottom: 1px solid #b89b5e44; font-size: 12px; letter-spacing: 1px; }
.brandstrip-track { display: flex; align-items: center; justify-content: space-around; gap: 15px; padding: 23px 5%; }
.brandstrip-track > span:nth-child(even) { font-size: 16px; }
.brandstrip.is-marquee .brandstrip-track { justify-content: flex-start; gap: 0; padding: 23px 0; width: max-content; animation: marquee var(--marquee-time, 60s) linear infinite; }
.brandstrip.is-marquee .brandstrip-track > span { padding: 0 34px; white-space: nowrap; }
.brandstrip.is-marquee:hover .brandstrip-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Colección ---------- */
.collection { background: #f3efe5; }
.sectionhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; margin-bottom: 48px; }
.sectionhead h2 { margin-bottom: 0; }
.sectionhead > p { color: var(--muted); font-size: 17px; line-height: 1.8; max-width: 420px; margin: 0 0 5px; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.productimage { position: relative; height: 410px; overflow: hidden; isolation: isolate; border-bottom: 3px solid #9a4a32; }
.productimage::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(#ece4d5e8, #e7d8c1dd), url('assets/bar-argentino.webp') 78% 50% / auto 100%; transition: transform 1.4s var(--ease-out); }
.productimage.biancobg { border-bottom-color: #c2a765; }
.productimage.biancobg::before { background: linear-gradient(#f2ecd9ec, #e7debbdf), url('assets/bar-argentino.webp') 70% 50% / auto 100%; }
.productimage.licorbg { border-bottom-color: #3b6457; }
.productimage.licorbg::before { background: linear-gradient(#e0e7dfec, #cdd8d1e8), url('assets/bar-argentino.webp') 40% 50% / auto 100%; }
.product:hover .productimage::before { transform: scale(1.05); }
.producttag { position: absolute; top: 20px; left: 20px; z-index: 1; font-size: 12px; letter-spacing: 1px; color: #756c58; }
.edition { position: absolute; bottom: 20px; left: 20px; font-size: 12px; letter-spacing: 1px; color: #8b7d60; }
/* Normaliza la altura visible de cada botella (compensa los márgenes de las fotos) */
.bottle-frame { position: absolute; inset: 45px 0 35px; pointer-events: none; }
.bottle-frame img { position: absolute; left: 50%; width: auto; max-width: none; mix-blend-mode: multiply; transform: translate(-50%, 0); transition: transform .9s var(--ease-out), filter .4s; }
.bottle-frame img.b-bianco { top: -11.29%; height: 122.10%; }
.bottle-frame img.b-cut { top: 0; height: 100%; }
.bottle-frame img.is-cutout { mix-blend-mode: normal; filter: drop-shadow(6px 10px 8px #2a1a0a24); }
.bottle-frame::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 30%; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, #3a2a1430, transparent); transform: translateX(-50%); transition: transform .9s var(--ease-out), opacity .9s; }
.product:hover .bottle-frame img { transform: translate(-50%, -6px); filter: brightness(1.025); }
.product:hover .bottle-frame img.is-cutout { filter: brightness(1.03) drop-shadow(6px 14px 10px #2a1a0a20); }
.product:hover .bottle-frame::after { transform: translateX(-50%) scale(.86); opacity: .7; }
.detail { position: absolute; bottom: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #b5ab9766; background: #f5eedc8c; font-size: 22px; transition: background-color .4s var(--ease), color .4s, border-color .4s, transform .4s var(--ease-out); }
.detail:hover { background: var(--gold-btn); border-color: var(--gold-btn); color: var(--blue); transform: rotate(45deg); }
.productheading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 23px 0 13px; }
.productheading h3 { font-size: 34px; letter-spacing: -.5px; margin: 0; }
.productheading > span { font-size: 15px; color: #7e817a; }
.product > p { font-size: 17px; line-height: 1.8; color: #566158; min-height: 100px; margin-bottom: 23px; }
.buyrow { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #d8d3c7; padding-top: 18px; }
.buyrow strong { font-size: 23px; font-weight: 400; }
.buyrow small { font-size: 12px; color: #8a8e86; margin-left: 3px; }
.buyrow button { display: flex; align-items: center; gap: 25px; min-height: 44px; padding: 7px 0; font-size: 17px; border-bottom: 1px solid #a98a4e; transition: color .3s, border-color .3s; }
.buyrow button span { font-size: 18px; color: #9c7f48; display: inline-block; transition: transform .5s var(--ease-out); }
.buyrow button:hover { color: #7d6331; border-color: #7d6331; }
.buyrow button:hover span { transform: rotate(90deg); }
.buyrow button.is-added span { transform: none; }
.swipe { display: none; align-items: center; gap: 16px; margin-top: 30px; }
.swipe-count { font-size: 12px; letter-spacing: 2px; color: #8b7d60; white-space: nowrap; }
.swipe-count b { font-weight: 400; color: var(--ink); }
.swipe-bar { position: relative; flex: 1; height: 1px; background: #d6cdbb; }
.swipe-bar i { position: absolute; left: 0; top: -1px; height: 3px; width: 33%; background: var(--gold); transform: translateX(var(--swipe-x, 0)); }
.inlinelink { color: #7d6331; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size .5s var(--ease-out); }
.inlinelink:hover { background-size: 35% 1px; }

/* Vaso Bertelli (precio a consultar) */
.merch { display: grid; grid-template-columns: 230px minmax(0, 1fr) minmax(250px, 310px); align-items: center; gap: 44px; margin-top: 64px; padding-right: 40px; background: #ebe4d5; border-bottom: 3px solid var(--blue); }
.merch-image { position: relative; height: 240px; overflow: hidden; isolation: isolate; }
.merch-image::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(#e6decde8, #dcd0b9e0), url('assets/bar-argentino.webp') 30% 50% / auto 100%; transition: transform 1.4s var(--ease-out); }
.merch-image img { position: absolute; left: 50%; bottom: 30px; width: auto; height: 170px; transform: translateX(-50%); filter: drop-shadow(5px 9px 7px #2a1a0a2e); transition: transform .9s var(--ease-out); }
.merch:hover .merch-image::before { transform: scale(1.05); }
.merch:hover .merch-image img { transform: translate(-50%, -5px); }
.merch-copy .eyebrow { margin-bottom: 12px; }
.merch-copy h3 { font-size: 34px; letter-spacing: -.5px; margin: 0 0 10px; }
.merch-copy > p:last-child { margin: 0; font-size: 17px; line-height: 1.8; color: #566158; max-width: 400px; }
.merch-buy strong { display: block; font-size: 23px; font-weight: 400; }
.merch-buy .outline { margin-top: 16px; }

/* ---------- Caja Bertelli (armado de 6 botellas) ---------- */
.boxbuilder { background: #ebe4d5; }
.box-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 6%; align-items: center; }
.box-visual { position: relative; padding: 30px 36px 24px; background: linear-gradient(160deg, #102f45, var(--blue) 60%); color: #e6d1a5; box-shadow: 0 44px 60px -44px #0b263bb3; }
.box-visual::before { content: ''; position: absolute; inset: 10px; border: 1px solid #c2a36a38; pointer-events: none; }
.box-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.box-top img { display: block; width: 104px; height: auto; }
.promo-tag { display: inline-block; margin-right: 12px; padding: 3px 8px 2px; font-size: 10px; letter-spacing: 1.6px; color: #e6d1a5; background: var(--blue); vertical-align: 1px; }
/* Sello de promo: envío gratis, con el texto girando muy lento */
.promo-seal { position: absolute; z-index: 2; top: -52px; right: -44px; width: 138px; height: 138px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f3e0b6, #d3b57c 55%, #b8955a); box-shadow: 0 18px 30px -16px #0b263bb3, inset 0 0 0 1px #ffffff4d; transform: rotate(-8deg); transition: transform .8s var(--ease-out); }
.promo-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 50s linear infinite; }
.promo-ring text { font: 700 9.5px var(--sans); letter-spacing: 1.6px; fill: var(--blue); dominant-baseline: central; }
.promo-core { position: absolute; inset: 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue); color: #e6d1a5; text-align: center; box-shadow: 0 0 0 3px #e6cf9b73; }
.promo-core svg { color: #f0d9a8; }
.promo-core small { margin-top: 5px; font-size: 9px; font-weight: 700; letter-spacing: 1.4px; line-height: 1.25; }
.boxbuilder.is-full .promo-seal { transform: rotate(-8deg) scale(1.07); }
.box-slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding: 0 8px; border-bottom: 1px solid #c2a36a66; }
.slot { position: relative; aspect-ratio: 1 / 3.7; }
/* Lugar vacío: silueta tenue de la botella */
.slot::before { content: ''; position: absolute; inset: 0; background: #ffffff12; -webkit-mask: url('assets/botella-rosso.webp') center bottom / contain no-repeat; mask: url('assets/botella-rosso.webp') center bottom / contain no-repeat; transition: opacity .5s var(--ease); }
.slot.is-filled::before { opacity: 0; }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(4px 8px 6px #0000004d); }
/* El recorte del Bianco viene más verdoso que la foto de la colección: se lo lleva al mismo dorado */
.slot img[src$="botella-bianco.webp"] { filter: hue-rotate(-8deg) saturate(.72) brightness(1.07) drop-shadow(4px 8px 6px #0000004d); }
.slot.is-new img { animation: slot-in .8s var(--ease-out); }
@keyframes slot-in { from { opacity: 0; transform: translateY(-14px); } }
.box-caption { display: flex; justify-content: space-between; gap: 16px; margin: 14px 0 0; font-size: 11px; letter-spacing: 1.6px; color: #a9b6bd; }
.box-caption b { font-weight: 400; color: #e6d1a5; }
.box-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid #d3c9b5; }
.box-row:first-child { border-top: 1px solid #d3c9b5; }
.box-row img { width: 30px; height: 84px; object-fit: contain; filter: drop-shadow(2px 4px 3px #2a1a0a22); }
.box-row img[src$="botella-bianco.webp"] { filter: hue-rotate(-8deg) saturate(.72) brightness(1.07) drop-shadow(2px 4px 3px #2a1a0a22); }
.box-row strong { display: block; font: 400 25px/1.2 var(--serif); letter-spacing: -.3px; }
.box-row small { font-size: 11px; letter-spacing: 1.3px; color: #8b7d60; }
.box-qty { display: flex; align-items: center; gap: 14px; }
.box-qty button { width: 42px; height: 42px; border: 1px solid #b7ab96; font-size: 18px; transition: background-color .3s, border-color .3s; }
.box-qty button:not(:disabled):hover { background: #e2d6bd; border-color: #9c7f48; }
.box-qty output { min-width: 1.1em; text-align: center; font-size: 19px; }
.box-presets { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 16px 0 0; font-size: 14px; color: #7a8178; }
.box-presets button { color: #6b5a33; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #b39c6d; transition: color .3s; }
.box-presets button:hover { color: var(--ink); }
.box-status { margin: 26px 0 8px; font-size: 15px; color: var(--muted); transition: color .4s; }
.boxbuilder.is-full .box-status { color: #7d6331; }
.box-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; border-top: 1px solid #d3c9b5; }
.box-total span { font-size: 16px; }
.box-total strong { font-size: 30px; font-weight: 400; white-space: nowrap; }
.box-total small { font-size: 12px; color: #8a8e86; margin-left: 3px; }
.box-save { display: flex; align-items: center; gap: 10px; width: fit-content; margin: 12px 0 22px; padding: 8px 14px 8px 12px; font-size: 13px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--blue); background: #dcc591; }
.box-save svg { flex-shrink: 0; }
#box-add { width: 100%; }
.box-links { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; }
.box-links .textlink { font-size: 15px; color: #5f6559; }
.textlink[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.box-reset { min-height: 44px; font-size: 14px; color: #897c64; text-decoration: underline; text-underline-offset: 3px; }
.box-reset[hidden] { display: none; }

/* ---------- Barrio ---------- */
.barrio { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 600px; padding: 75px 7%; color: #fff3dd; }
.bg-media { position: absolute; left: 0; right: 0; top: -8%; height: 116%; z-index: -2; will-change: transform; }
.bg-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.barrio::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #07243be8 0%, #09283a99 38%, #0c233820 64%, #0c233800 100%); }
.barriocopy { max-width: 440px; }
.barriocopy .eyebrow { color: #e3bf7a; }
.barriocopy h2 { font-size: 70px; line-height: 1.04; }
.barriocopy h2 i { color: #e1be7e; }
.barriocopy > p:not(.eyebrow) { font-size: 17px; line-height: 1.8; color: #e4e3d8; }
.barriocopy .outline { color: #f2dfb5; border-color: #d3b57d; max-width: 310px; background: #0b263b40; }

/* ---------- Nuestra historia ---------- */
.story { display: grid; grid-template-columns: 1fr 1.15fr; column-gap: 8%; background: var(--cream); }
.story-head h2 { margin-bottom: 26px; }
.story-year { margin: 0; font: 130px/1 var(--serif); letter-spacing: -4px; color: transparent; -webkit-text-stroke: 1px #c9b48a; }
.story-year small { display: block; margin-bottom: 14px; font: 500 12px/1 var(--sans); letter-spacing: 2.5px; color: #a78b52; -webkit-text-stroke: 0; }
.story-body { align-self: center; }
.story-body p { font-size: 17px; line-height: 1.85; color: var(--muted); max-width: 560px; }
.story-body blockquote { margin: 8px 0 30px; padding-left: 26px; border-left: 1px solid #c2a36a; font: italic 34px/1.25 var(--serif); letter-spacing: -.6px; color: var(--ink); }
.timeline { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px; margin: 70px 0 0; padding: 0; list-style: none; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: #cbbd9c; transform-origin: left; }
.timeline li { position: relative; padding-top: 32px; }
.timeline li::before { content: ''; position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--cream); border: 1px solid #a78b52; }
.timeline li:last-child::before { background: #a78b52; }
.timeline span { display: block; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: #a78b52; margin-bottom: 8px; }
.timeline strong { display: block; font: 400 23px/1.25 var(--serif); margin-bottom: 8px; }
.timeline p { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0; }
.story-sign { grid-column: 1 / -1; margin: 64px 0 0; padding-top: 34px; border-top: 1px solid #ded7c9; font: 30px/1.3 var(--serif); letter-spacing: -.5px; text-align: center; }

/* ---------- Carácter ---------- */
.character { display: grid; grid-template-columns: 1fr 1.15fr; gap: 8%; align-items: center; padding: var(--pad-y) 10%; background: var(--blue-2); color: #ede9de; }
.charseal { --seal: 300px; position: relative; justify-self: center; width: var(--seal); height: var(--seal); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; border-radius: 50%; border: 1px solid #9c855540; background: #112d40; color: #c0a36e; box-shadow: 0 0 0 calc(var(--seal) * .06) var(--blue), 0 0 0 calc(var(--seal) * .06 + 1px) #9c855520; }
.charseal .brand { display: block; line-height: 0; }
.charseal .brand img { width: 150px; height: auto; }
.charseal small { font-size: 10px; letter-spacing: 2.5px; line-height: 2; text-align: center; }
.seal-ring { position: absolute; inset: calc(var(--seal) * -.06); width: calc(var(--seal) * 1.12); height: calc(var(--seal) * 1.12); pointer-events: none; animation: spin 120s linear infinite; }
.seal-ring text { font: 8px var(--sans); letter-spacing: 2.4px; fill: #c0a36e; opacity: .55; dominant-baseline: central; }
@keyframes spin { to { transform: rotate(360deg); } }
.charcopy h2 { font-size: 48px; }
.charcopy h2 i { color: #ceb582; }
.charcopy > p:not(.eyebrow) { font-size: 17px; line-height: 1.8; color: #aabcc7; max-width: 390px; }
.charfacts { display: flex; gap: 22px; margin-top: 30px; padding-top: 25px; border-top: 1px solid #ffffff19; }
.charfacts strong { display: block; font: 36px var(--serif); color: #d4ba89; margin-bottom: 9px; }
.charfacts span { font-size: 11px; letter-spacing: 1px; line-height: 1.6; color: #8ba2b3; }

/* ---------- Bien servido (círculos con borde dorado) ---------- */
.serve { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8%; align-items: center; background: #f7f2e8; border-bottom: 1px solid #ded7c9; }
.servelead { display: flex; align-items: center; gap: 12px; }
.servelead > div { flex: 1; }
.servelead > div > p:last-child { font-size: 17px; line-height: 1.8; color: #7a8178; }
.mascot { flex: 0 0 130px; width: 130px; align-self: flex-end; text-align: center; }
.mascot img { display: block; width: 100%; height: auto; transform-origin: 50% 90%; transition: transform .9s var(--ease-out); }
.mascot:hover img { transform: rotate(-4deg) translateY(-3px); }
.mascot figcaption { margin-top: 12px; font-size: 10px; letter-spacing: 1.2px; color: #9b845b; }
.rituals { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.ritual { text-align: center; }
.ritual-disc { width: min(100%, 290px); aspect-ratio: 1; margin: 0 auto 26px; padding: 7px; border-radius: 50%; background: conic-gradient(from 200deg, #ecd8a8, #b48f52 18%, #f4e6c2 36%, #a88547 55%, #e6cf9b 74%, #b8955a 88%, #ecd8a8); box-shadow: 0 26px 44px -30px #3a2a1480; }
.ritual-disc > span { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; box-shadow: inset 0 0 0 1px #00000014; }
.ritual-disc img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.ritual:hover .ritual-disc img { transform: scale(1.05) translateY(-2%); }
.ritual-num { display: block; margin-bottom: 6px; font: 16px var(--serif); color: #ad9057; }
.ritual h3 { font-size: 26px; margin-bottom: 10px; }
.ritual p { max-width: 280px; margin: 0 auto; font-size: 16px; line-height: 1.75; color: #7c827b; }

/* ---------- Actitud (glamour) ---------- */
.glamour { display: grid; grid-template-columns: 65% 35%; min-height: 610px; background: var(--blue-2); color: #f5eedf; }
.glamourphoto { position: relative; overflow: hidden; min-height: 610px; }
.media-inner { position: absolute; left: 0; right: 0; top: -8%; height: 116%; will-change: transform; }
.media-inner img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.glamourcopy { align-self: center; padding: 65px 12%; }
.glamourcopy .eyebrow { color: #d2b27a; }
.glamourcopy h2 { font-size: 55px; line-height: 1.09; }
.glamourcopy h2 i { color: #dbbd85; }
.glamourcopy p:not(.eyebrow) { font-size: 17px; line-height: 1.8; color: #c1cdd1; }
.glamourcopy .goldbutton { width: 100%; gap: 20px; margin-top: 20px; }

/* ---------- Comercios (con las botellas reales) ---------- */
.trade { position: relative; display: grid; grid-template-columns: 250px 1.15fr 1fr; gap: 6%; background: #e3d9c8; }
.trade h2 { font-size: 43px; }
.trade > div:last-child { align-self: center; }
.trade p:not(.eyebrow) { font-size: 17px; line-height: 1.8; color: #6e796f; }
.trade-bottles { position: relative; z-index: 2; pointer-events: none; }
.trade-bottles img { position: absolute; bottom: calc(var(--pad-y) * -1); width: auto; filter: drop-shadow(10px 6px 10px #2a1a0a33); }
.trade-bottles .tb-rosso { left: 10px; height: 380px; }
.trade-bottles .tb-bianco { left: 98px; height: 360px; }
.js .trade-bottles[data-reveal] { transform: translate3d(0, 40px, 0); }
.js .trade-bottles[data-reveal].is-in { transform: none; }

/* ---------- Preguntas ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; }
.faq h2 { font-size: 36px; }
.faq details { border-bottom: 1px solid #d7d1c4; padding: 19px 0; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; list-style: none; font-size: 17px; line-height: 1.8; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #7d6331; }
.faq summary::after { content: ''; flex: 0 0 13px; height: 13px; background: linear-gradient(#9c804e, #9c804e) center / 13px 1px no-repeat, linear-gradient(#9c804e, #9c804e) center / 1px 13px no-repeat; transition: transform .5s var(--ease-out), background-size .5s var(--ease-out); }
.faq details[open]:not(.is-closing) summary::after { transform: rotate(180deg); background-size: 13px 1px, 1px 0; }
.faq .answer { overflow: hidden; }
.faq details p { font-size: 17px; line-height: 1.8; color: #768078; margin: 20px 0 0; }

/* ---------- Footer (base Roman + columnas) ---------- */
.sitefooter { padding: 64px 7% 26px; background: var(--blue-deep); color: #b2c0c7; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.15fr .8fr; gap: 40px; align-items: start; padding-bottom: 44px; }
.footer-brand .brand img { display: block; width: 150px; height: auto; }
.footer-claim { margin: 22px 0 8px; font: 19px/1.35 var(--serif); color: #c6cbbf; }
.footer-origin { font-size: 15px; color: #728b9b; }
.footer-title { margin: 0 0 18px; font-size: 12px; font-weight: 500; letter-spacing: 1.8px; text-transform: uppercase; color: #d6b97f; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 15px; }
.footer-col a, .footer-col button { transition: color .3s; }
.footer-col a:hover, .footer-col button:hover { color: #e6d1a5; }
.footer-social .icon-btn { border-color: #c2a36a59; color: #e6d1a5; }
.footer-social .icon-btn:hover { background: var(--gold-btn); border-color: var(--gold-btn); color: var(--blue); }
.legal { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid #ffffff15; font-size: 12px; line-height: 1.7; color: #a7b6bf; }

/* ---------- Carrito ---------- */
.shade { position: fixed; inset: 0; z-index: 40; background: #061b2e99; opacity: 0; transition: opacity .5s var(--ease); }
.shade.is-open { opacity: 1; }
.cartdrawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: 520px; max-width: 100%; display: flex; flex-direction: column; padding: 30px; overflow-y: auto; overscroll-behavior: contain; background: var(--cream); box-shadow: -20px 0 80px #0002; transform: translateX(100%); transition: transform .6s var(--ease-out); }
.cartdrawer.is-open { transform: none; }
.cartdrawer[hidden], .shade[hidden] { display: none; }
.drawerhead { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid #d7cfbf; }
.drawerhead .eyebrow { font-size: 12px; margin-bottom: 10px; }
.drawerhead h2 { font-size: 34px; margin: 0; }
.close { font-size: 30px; line-height: 1; padding: 0 5px; transition: transform .4s var(--ease-out), color .3s; }
.close:hover { transform: rotate(90deg); color: #9c7f48; }
/* Medidor de envío gratis (Caja Bertelli) */
.shipmeter { margin-top: 18px; padding: 14px 16px 16px; background: #ebe2cf; font-size: 14px; line-height: 1.55; color: #5f6559; transition: background-color .5s var(--ease), color .5s; }
.shipmeter[hidden] { display: none; }
.shipmeter p { margin: 0 0 10px; }
.shipmeter b { font-weight: 600; color: var(--ink); }
.shipmeter.is-free { background: var(--blue); color: #c7d0d2; }
.shipmeter.is-free b { color: #e6d1a5; }
.shipmeter-bar { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.shipmeter-bar i { height: 3px; background: #d3c8b2; transition: background-color .5s var(--ease); }
.shipmeter-bar i.is-on { background: var(--gold); }
.shipmeter.is-free .shipmeter-bar i { background: #ffffff21; }
.shipmeter.is-free .shipmeter-bar i.is-on { background: var(--gold-btn); }
.shiprow { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 15px; color: #5f6559; }
.shiprow strong { font-weight: 400; }
.shiprow strong.is-free { color: #7d6331; font-weight: 600; letter-spacing: .3px; }
#cart-summary.is-empty .shiprow { display: none; }
/* Si la pantalla es baja, se desplaza el carrito entero (la lista nunca se aplasta) */
#cart-items { flex: 1 0 auto; }
.cart-item { display: flex; gap: 15px; padding: 20px 0; border-bottom: 1px solid #ddd5c7; animation: item-in .5s var(--ease-out); }
@keyframes item-in { from { opacity: 0; transform: translateX(10px); } }
.cart-item img { width: 60px; height: 100px; object-fit: contain; mix-blend-mode: multiply; }
.cart-item img.is-cutout { mix-blend-mode: normal; }
.cart-item > div { flex: 1; }
.cart-item h3 { font-size: 25px; margin: 5px 0 8px; }
.cart-item p { font-size: 16px; margin: 0 0 10px; }
.qty { display: flex; align-items: center; gap: 15px; }
.qty button { width: 40px; height: 40px; border: 1px solid #b7ab96; transition: background-color .3s, border-color .3s; }
.qty button:not(.remove):hover { background: #e7dcc6; border-color: #9c7f48; }
.qty span { font-size: 16px; }
.remove { margin-left: auto; min-height: 40px; font-size: 14px; text-decoration: underline; color: #897c64; }
.qty .remove { width: auto; height: auto; border: 0; }
.item-total { font-size: 16px; padding-top: 8px; }
.cart-empty { text-align: center; padding: 65px 20px; color: #83877c; font-size: 16px; }
.cart-empty span { display: block; font: 45px var(--serif); color: #ac9569; margin-bottom: 20px; }
#cart-summary { padding-top: 23px; border-top: 1px solid #d7cfbf; }
.subtotal { display: flex; justify-content: space-between; align-items: center; font-size: 17px; }
.subtotal strong { font-weight: 400; font-size: 26px; }
#cart-summary > p { font-size: 15px; line-height: 1.6; color: #81877d; margin: 12px 0 16px; }
.order-fields { display: grid; gap: 6px; margin-bottom: 18px; }
.order-fields label { font-size: 13px; color: #5f6559; }
.order-fields label:not(:first-child) { margin-top: 8px; }
.order-fields small { color: #9a988a; }
.order-fields input { width: 100%; padding: 11px 13px; font: 16px var(--sans); color: var(--ink); background: #fbf8f1; border: 1px solid #d3c8b2; border-radius: 0; transition: border-color .3s, box-shadow .3s; }
.order-fields input::placeholder { color: #aaa694; }
.order-fields input:focus { outline: none; border-color: #a98a4e; box-shadow: 0 0 0 3px #c2a36a33; }
#cart-summary.is-empty .order-fields, #cart-summary.is-empty .cart-note { display: none; }
.wa-button svg { flex-shrink: 0; transition: transform .45s var(--ease-out); }
.wa-button:hover svg { transform: scale(1.08); }
.wa-button[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.modal-wa { margin-top: 16px; color: #5f6559; }
#cart-summary .goldbutton { width: 100%; margin-bottom: 12px; }
#cart-summary > small { display: block; font-size: 13px; line-height: 1.8; color: #8b8b7c; }

/* ---------- Modal ---------- */
dialog { width: min(540px, calc(100% - 32px)); max-height: 90dvh; overflow: auto; padding: 45px; border: 1px solid #d2c4aa; background: var(--cream); color: var(--ink); }
dialog[open] { animation: dialog-in .55s var(--ease-out); }
dialog::backdrop { background: #031827b3; }
dialog[open]::backdrop { animation: fade-in .45s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } }
dialog > .close { position: absolute; right: 17px; top: 13px; }
dialog h2 { font-size: 40px; margin-top: 15px; }
dialog p { font-size: 17px; line-height: 1.8; color: #748075; }
dialog .goldbutton { width: 100%; margin-top: 20px; }
.modal-details { display: flex; align-items: center; gap: 20px; }
.modal-details img { width: 110px; height: 220px; object-fit: contain; mix-blend-mode: multiply; }
.modal-details img.is-cutout { mix-blend-mode: normal; }
.modal-details > div { flex: 1; }
.modal-promo { display: flex; align-items: flex-start; gap: 12px; margin: 22px 0 0; padding: 14px 16px; font-size: 15px; line-height: 1.6; color: #5f6559; background: #ebe2cf; }
.modal-promo svg { flex-shrink: 0; margin-top: 2px; color: #7d6331; }
.modal-promo b { color: var(--ink); }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 25px; left: 50%; z-index: 50; padding: 15px 24px; font-size: 16px; white-space: nowrap; color: #e6d1a5; background: var(--blue); border: 1px solid #b29862; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .4s var(--ease), transform .6s var(--ease-out); }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Aparición al scrollear (solo con JS y sin "reducir movimiento")
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="media"] { opacity: 1; transform: none; clip-path: inset(7% 0 7% 0); transition: clip-path 1.5s var(--ease-out); }
.js [data-reveal="media"] img { transform: scale(1.1); transition: transform 2s var(--ease-out); }
.js [data-reveal="media"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="media"].is-in img { transform: none; }
.js .timeline::before { transform: scaleX(0); transition: transform 1.8s var(--ease-out) .2s; }
.js .timeline.is-in::before { transform: scaleX(1); }
.js .timeline li { opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease), transform 1s var(--ease-out); }
.js .timeline.is-in li { opacity: 1; transform: none; }
.timeline li:nth-child(2) { transition-delay: .25s; }
.timeline li:nth-child(3) { transition-delay: .5s; }
.timeline li:nth-child(4) { transition-delay: .75s; }
.timeline li:nth-child(5) { transition-delay: 1s; }
.js .timeline[data-reveal] { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 1600px) {
  .hero, .herovisual { min-height: 790px; }
  .barrio { min-height: 720px; }
}

@media (max-width: 1240px) and (min-width: 1001px) {
  .mainnav { gap: 24px; font-size: 15px; }
  .cart-label { display: none; }
  .flavors-inner { gap: 20px; }
}

@media (max-width: 1000px) {
  :root { --header-h: 68px; --pad-y: 70px; }
  html { scroll-padding-top: 80px; }
  .flavors { display: none; }
  .siteheader { grid-template-columns: 1fr auto; padding: 0 4%; }
  .mainnav { display: none; }
  .siteheader .brand img { width: 112px; }
  .menu-toggle { display: block; }
  .section { padding: var(--pad-y) 5%; }
  .products { gap: 20px; }
  .productimage { height: 350px; }
  .producttag { max-width: 80%; line-height: 1.5; }
  .product > p { min-height: 155px; }
  .buyrow { flex-wrap: wrap; gap: 10px; }
  .merch { grid-template-columns: 200px minmax(0, 1fr); gap: 0 32px; padding-right: 32px; }
  .merch-image { grid-row: span 2; height: 100%; min-height: 270px; }
  .merch-copy { align-self: end; padding-top: 30px; }
  .merch-buy { align-self: start; padding: 20px 0 30px; }
  .merch-buy .outline { max-width: 320px; }
  .box-layout { grid-template-columns: 1fr; gap: 44px; max-width: 640px; }
  .story-year { font-size: 104px; }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .timeline::before { display: none; }
  .character { padding: var(--pad-y) 6%; gap: 8%; }
  .charseal { --seal: 240px; }
  .charseal .brand img { width: 128px; }
  .charcopy h2 { font-size: 40px; }
  .charfacts { flex-wrap: wrap; }
  .serve { grid-template-columns: 1fr; gap: 50px; }
  .servelead { max-width: 560px; }
  .servelead h2 { font-size: 40px; }
  .glamour { grid-template-columns: 58% 42%; min-height: 510px; }
  .glamourphoto { min-height: 510px; }
  .glamourcopy { padding: 45px 10%; }
  .glamourcopy h2 { font-size: 45px; }
  .trade { grid-template-columns: 200px 1fr 1fr; gap: 5%; }
  .trade h2 { font-size: 36px; }
  .trade-bottles .tb-rosso { left: 0; height: 350px; }
  .trade-bottles .tb-bianco { left: 80px; height: 332px; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1000px) and (min-width: 651px) {
  .hero { grid-template-columns: 45% 55%; min-height: 620px; }
  .herovisual { min-height: 620px; }
  .herocopy { padding: 65px 8% 25px; }
  .hero h1 { font-size: 63px; }
  .hero-scene-photo { object-position: 49% 50%; }
  .barrio { min-height: 520px; }
  .barriocopy h2 { font-size: 60px; }
}

@media (max-height: 760px) and (min-width: 651px) {
  .cartdrawer { padding: 22px 30px; }
  .drawerhead { padding-bottom: 14px; }
  .drawerhead h2 { font-size: 30px; }
  .cart-item { padding: 14px 0; }
  .cart-item img { height: 84px; }
  #cart-summary { padding-top: 16px; }
  #cart-summary > p { margin: 8px 0 12px; }
  .order-fields { margin-bottom: 14px; }
  .order-fields input { padding: 9px 12px; }
  .shipmeter { margin-top: 12px; padding: 10px 14px 12px; }
}

@media (max-width: 650px) {
  :root { --pad-y: 56px; }
  .siteheader { padding: 0 20px; }
  .siteheader .brand img { width: 100px; }
  .cart-label { display: none; }
  .eyebrow { font-size: 11px; margin-bottom: 20px; }
  h2 { font-size: 39px; }
  .section { padding: var(--pad-y) 22px; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .herocopy { padding: 42px 25px 25px; background: var(--blue); }
  .hero h1 { font-size: 60px; letter-spacing: -2px; }
  .herodesc { margin-bottom: 25px; }
  .hero-promo { margin-top: 18px; padding-right: 14px; font-size: 14px; }
  .hero-promo-icon { flex-basis: 38px; height: 38px; }
  .herobottom { flex-wrap: wrap; gap: 12px; padding-top: 25px; font-size: 11px; }
  .herovisual { height: 520px; min-height: 0; background: #35291f; }
  .herovisual::after { background: linear-gradient(0deg, #0b263b9c, transparent 16%); }
  .scenecredit { font-size: 10px; bottom: 16px; right: 18px; }

  .brandstrip { font-size: 11px; }
  .brandstrip-track { flex-wrap: wrap; gap: 10px; padding: 18px 15px; }
  .brandstrip:not(.is-marquee) .brandstrip-track > span:nth-last-child(-n+2) { display: none; }
  .brandstrip.is-marquee .brandstrip-track { flex-wrap: nowrap; padding: 18px 0; }
  .brandstrip.is-marquee .brandstrip-track > span { padding: 0 22px; }

  /* Colección: carrusel deslizable con barra de progreso */
  .sectionhead { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
  .products { display: flex; gap: 16px; margin: 0 -22px; padding: 0 22px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 22px; scrollbar-width: none; }
  .products::-webkit-scrollbar { display: none; }
  .product { flex: 0 0 84%; scroll-snap-align: start; }
  .js .products .product[data-reveal] { opacity: 1; transform: none; }
  .productimage { height: 390px; }
  .productheading { margin-top: 20px; }
  .product > p { min-height: 0; margin-bottom: 20px; }
  .swipe { display: flex; }
  .merch { grid-template-columns: 1fr; padding: 0 0 26px; margin-top: 44px; }
  .merch-image { grid-row: auto; height: 230px; min-height: 0; }
  .merch-copy { padding: 24px 22px 0; }
  .merch-buy { padding: 18px 22px 0; }
  .merch-buy .outline { max-width: none; }

  /* Caja Bertelli */
  .box-layout { gap: 34px; }
  .box-visual { padding: 22px 18px 18px; }
  .box-visual::before { inset: 7px; }
  .box-top { margin-bottom: 22px; }
  .box-top img { width: 84px; }
  .promo-seal { top: -40px; right: -8px; width: 104px; height: 104px; }
  .promo-core { inset: 20px; box-shadow: 0 0 0 2px #e6cf9b73; }
  .promo-core svg { width: 26px; height: 20px; }
  .promo-core small { margin-top: 3px; font-size: 7px; letter-spacing: 1px; }
  .box-slots { gap: 7px; padding: 0 4px; }
  .box-caption { font-size: 10px; letter-spacing: 1.1px; }
  .box-row { gap: 14px; }
  .box-row strong { font-size: 22px; }
  .box-total { flex-wrap: wrap; gap: 4px 12px; }
  .box-total strong { font-size: 26px; }
  .box-qty { gap: 10px; }
  .box-qty button { width: 40px; height: 40px; }
  .box-links { flex-wrap: wrap; gap: 0 16px; }

  .barrio { min-height: 620px; align-items: flex-end; padding: 35px 24px; }
  .barrio::before { background: linear-gradient(0deg, #08263df5 0%, #08263dd9 25%, #08263d20 65%); }
  .bg-media img { object-position: 65% 50%; }
  .barriocopy { max-width: 100%; }
  .barriocopy h2 { font-size: 49px; }
  .barriocopy > p br { display: none; }
  .barriocopy .outline { margin-top: 22px; }

  .story { grid-template-columns: 1fr; }
  .story-year { font-size: 84px; margin-bottom: 26px; }
  .story-body blockquote { font-size: 28px; padding-left: 20px; }
  .timeline { grid-template-columns: 1fr; row-gap: 28px; margin-top: 40px; padding-left: 4px; }
  .timeline::before { display: block; left: 9px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; transform-origin: top; }
  .js .timeline::before { transform: scaleY(0); }
  .js .timeline.is-in::before { transform: scaleY(1); }
  .timeline li { padding: 0 0 0 34px; }
  .timeline li::before { top: 6px; }
  .story-sign { font-size: 25px; margin-top: 44px; text-align: left; }

  .character { grid-template-columns: 1fr; gap: 50px; padding: var(--pad-y) 25px; }
  .charseal { --seal: 190px; gap: 12px; }
  .charseal .brand img { width: 104px; }
  .charcopy h2 { font-size: 39px; }
  .charfacts { justify-content: space-between; }

  .serve { gap: 40px; }
  .servelead > div > p:last-child br { display: none; }
  .servelead h2 { font-size: 35px; }
  .mascot { flex-basis: 96px; width: 96px; }
  .rituals { gap: 18px; }
  .ritual-disc { padding: 5px; margin-bottom: 18px; }
  .ritual h3 { font-size: 21px; }
  .ritual p { font-size: 14px; line-height: 1.65; }

  .glamour { grid-template-columns: 1fr; }
  .glamourphoto { min-height: 0; aspect-ratio: 16 / 11; }
  .glamourcopy { padding: 40px 25px; }
  .glamourcopy h2 { font-size: 44px; }
  .glamourcopy h2 br:last-child { display: none; }
  .glamourcopy .goldbutton { max-width: 270px; }

  .trade { grid-template-columns: 1fr; gap: 25px; }
  .trade-bottles { height: 240px; }
  .trade-bottles img { bottom: 0; }
  .trade-bottles .tb-rosso { left: calc(50% - 72px); height: 250px; }
  .trade-bottles .tb-bianco { left: calc(50% - 8px); height: 236px; }
  .trade h2 { font-size: 35px; }

  .faq { grid-template-columns: 1fr; gap: 25px; }
  .faq h2 { font-size: 32px; }
  .faq details:first-child { padding-top: 0; }

  .sitefooter { padding: 50px 23px 26px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px 20px; padding-bottom: 36px; }
  .footer-brand .brand img { width: 125px; }
  .footer-social { grid-column: 1 / -1; }
  .legal { flex-direction: column; }


  .cartdrawer { padding: 24px 18px; }
  .cart-item { gap: 10px; }
  .qty { gap: 10px; flex-wrap: wrap; }
  .toast { font-size: 15px; max-width: 95%; width: max-content; white-space: normal; text-align: center; }
  dialog { padding: 35px 23px; }
  dialog h2 { font-size: 34px; }
  .modal-details { flex-wrap: wrap; gap: 10px; }
  .modal-details img { width: 80px; height: 185px; }
  .modal-details > div { min-width: 160px; }
}

/* =========================================================
   Reducir movimiento: todo estático y visible
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-reveal="media"], .js [data-reveal="media"] img, .js .timeline li, .js .timeline::before,
  .js .hero .intro, .js .hero h1 .line > span, .js .hero-scene-photo { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
