/* Brindis — botillería: verde botella, crema, ámbar y vino; Fraunces + Outfit. */
:root {
  --bg: #0f1d17; --bg2: #13251d; --paper: #f3ead8; --ink: #f3ead8; --ink-d: #14130f; --muted: #b5b09f; --line: rgba(243,234,216,.14);
  --accent: #e8a53c; --amber: #e8a53c; --wine: #8a2433; --moss: #2b4a3a;
  --display: "Fraunces", Georgia, serif; --sans: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1); --gut: clamp(18px, 4vw, 60px);
}
body { background: var(--bg); color: var(--ink); font-family: var(--sans); }
::selection { background: var(--amber); color: var(--ink-d); }
.wrap { width: min(1320px, 100%); margin-inline: auto; padding-inline: var(--gut); }
em { font-style: italic; color: var(--amber); font-family: var(--display); font-weight: 500; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.h2 { font: 700 clamp(40px, 5.4vw, 80px)/1 var(--display); letter-spacing: -.02em; }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); font-weight: 300; max-width: 46ch; margin-top: 18px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 40px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 26px; border-radius: 99px; font-size: 15px; font-weight: 600; line-height: 1; transition: background .3s, color .3s, transform .3s var(--ease), border-color .3s; white-space: nowrap; }
.btn-amber { background: var(--amber); color: var(--ink-d); }
.btn-amber:hover { background: var(--paper); }
.btn-line-l, .btn-line { border: 1.5px solid rgba(243,234,216,.5); color: var(--ink); }
.btn-line-l:hover, .btn-line:hover { border-color: var(--amber); color: var(--amber); }

/* Verificación de edad */
.gate { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; background: rgba(8,14,11,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gate-box { width: min(460px, 100%); padding: clamp(28px, 5vw, 44px); border-radius: 26px; background: var(--paper); color: var(--ink-d); text-align: center; display: grid; gap: 14px; justify-items: center; box-shadow: 0 40px 100px -30px rgba(0,0,0,.7); }
.gate-ico { width: 54px; height: 54px; fill: none; stroke: var(--wine); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gate-box h2 { font: 700 30px/1.1 var(--display); }
.gate-box p { color: #4c4a40; }
.gate-b { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.gate-box .btn-line { color: var(--ink-d); border-color: rgba(20,19,15,.3); }
.gate-no { font-weight: 600; color: var(--wine) !important; }
.gate-box small { font-size: 11.5px; color: #6f6c60; }
html.gated { overflow: hidden; }

/* Anuncio + nav */
.ann { padding: 10px var(--gut); background: var(--amber); color: var(--ink-d); text-align: center; font-size: 13.5px; font-weight: 500; }
.ann a { text-decoration: underline; text-underline-offset: 3px; }
.nav { position: sticky; top: 0; z-index: 100; background: var(--bg); transition: box-shadow .3s, background .3s; }
.nav.is-scrolled { background: rgba(15,29,23,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 76px; width: min(1320px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 900 30px/1 var(--display); letter-spacing: -.02em; }
.logo svg { width: 28px; height: 28px; fill: none; stroke: var(--amber); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.menu { display: none; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.menu a:hover { color: var(--amber); }
.nav-open { display: none; font-size: 13px; color: var(--muted); }
.nav-open span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; }
.nav-open span::before, .bt-open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #d6584f; }
.nav-open span.is-open::before, .bt-open.is-open::before { background: #4cd18a; box-shadow: 0 0 0 4px rgba(76,209,138,.2); }
.burger { margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.menu-open .menu { display: flex; flex-direction: column; position: fixed; inset: 116px 0 0 0; background: var(--bg); padding: 40px var(--gut); gap: 12px; font: 700 40px/1.2 var(--display); }

/* Hero */
.hero { position: relative; min-height: min(86vh, 820px); display: grid; align-items: end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,29,23,.35) 0%, rgba(15,29,23,.55) 45%, var(--bg) 100%), linear-gradient(90deg, rgba(15,29,23,.85), transparent 70%); }
.hero-in { position: relative; padding-block: 120px clamp(60px, 8vw, 100px); }
.hero-title { font: 800 clamp(52px, 8vw, 124px)/.96 var(--display); letter-spacing: -.018em; max-width: 12ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-chips li { padding: 10px 16px; border-radius: 99px; background: rgba(243,234,216,.08); border: 1px solid var(--line); font-size: 14px; color: var(--muted); backdrop-filter: blur(6px); }
.hero-chips b { color: var(--amber); font-weight: 700; margin-right: 4px; }

/* Catálogo */
.shop { padding: clamp(70px, 9vw, 120px) 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.chip.is-on, .chip:hover { background: var(--amber); color: var(--ink-d); border-color: var(--amber); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.pr { background: var(--bg2); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .3s; }
.pr:hover { transform: translateY(-4px); border-color: rgba(232,165,60,.45); }
.pr-img { position: relative; aspect-ratio: 1; overflow: hidden; background: #0b1511; }
.pr-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pr:hover .pr-img img { transform: scale(1.05); }
.pr-tag { position: absolute; top: 12px; left: 12px; padding: 6px 11px; border-radius: 99px; background: var(--amber); color: var(--ink-d); font-size: 12px; font-weight: 700; }
.pr-b { padding: 16px 18px 18px; display: grid; gap: 4px; flex: 1; }
.pr-c { font-size: 12.5px; color: var(--muted); }
.pr h3 { font: 700 22px/1.15 var(--display); margin-bottom: 10px; }
.pr-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; }
.pr-f b { font-size: 20px; font-weight: 700; }
.add { padding: 10px 14px; border-radius: 99px; background: rgba(243,234,216,.1); font-size: 14px; font-weight: 600; transition: background .25s, color .25s; }
.add:hover { background: var(--amber); color: var(--ink-d); }
.shop-n { margin-top: 30px; color: var(--muted); }
.shop-n a { color: var(--amber); text-decoration: underline; }

/* Calculadora */
.junta { padding: clamp(80px, 10vw, 130px) 0; background: var(--paper); color: var(--ink-d); }
.junta .lead { color: #5b574a; }
.junta em { color: var(--wine); }
.junta .eyebrow { color: var(--wine); }
.junta-grid { display: grid; gap: 40px; align-items: start; }
.junta-img { margin-top: 30px; aspect-ratio: 3/2; border-radius: 22px; overflow: hidden; }
.junta-img img { width: 100%; height: 100%; object-fit: cover; }
.calc { padding: clamp(22px, 3vw, 36px); border-radius: 26px; background: var(--bg); color: var(--ink); display: grid; gap: 14px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; }
.calc-row label { font-weight: 600; }
.calc-row output { font: 900 40px/1 var(--display); color: var(--amber); }
.calc input[type=range] { width: 100%; accent-color: var(--amber); }
.calc-mix { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.calc-mix legend { width: 100%; font-weight: 600; margin-bottom: 8px; }
.calc-mix label { position: relative; }
.calc-mix input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.calc-mix span { display: inline-block; padding: 9px 15px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; }
.calc-mix input:checked + span { background: var(--amber); color: var(--ink-d); border-color: var(--amber); font-weight: 600; }
.calc-mix input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.calc-chk { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.calc-chk input { width: 18px; height: 18px; accent-color: var(--amber); }
.calc-out { display: grid; gap: 2px; margin-top: 6px; border-top: 1px solid var(--line); }
.calc-out li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.calc-out li b { font: 900 26px/1 var(--display); color: var(--amber); }
.calc-out li small { display: block; color: var(--muted); font-size: 12.5px; }
.calc-tot { display: flex; justify-content: space-between; align-items: baseline; }
.calc-tot b { font: 900 34px/1 var(--display); }
.calc-n { font-size: 12.5px; color: var(--muted); }

/* Maridaje */
.pair { padding: clamp(80px, 10vw, 130px) 0; }
.pair-grid { display: grid; gap: 20px; }
.pair-opts { display: grid; gap: 10px; }
.pair-opts button { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); text-align: left; font: 700 20px/1.1 var(--display); transition: background .25s, border-color .25s, color .25s; }
.pair-opts button span { font-size: 24px; }
.pair-opts button[aria-checked=true] { background: var(--amber); color: var(--ink-d); border-color: var(--amber); }
.pair-card { display: grid; border-radius: 26px; overflow: hidden; background: var(--bg2); border: 1px solid var(--line); }
.pair-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.pair-b { padding: clamp(20px, 3vw, 34px); display: grid; gap: 10px; }
.pair-k { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.pair-b h3 { font: 900 clamp(30px, 3.4vw, 44px)/1 var(--display); letter-spacing: -.02em; }
.pair-b > p:not(.pair-k) { color: var(--muted); }
.pair-card.swap .pair-b { animation: pairIn .6s var(--ease); }
@keyframes pairIn { from { opacity: 0; transform: translateY(14px); } }

/* Despacho */
.desp { padding: clamp(80px, 10vw, 130px) 0; background: var(--bg2); }
.desp-grid { display: grid; gap: 40px; }
.table-wrap { margin-top: 28px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0 12px 12px 0; }
td { padding: 15px 12px 15px 0; border-top: 1px solid var(--line); }
td:last-child, th:last-child { text-align: right; padding-right: 0; }
td:last-child { color: var(--amber); font-weight: 600; }
.bt { display: grid; gap: 6px; color: var(--muted); padding: 22px; border-radius: 20px; border: 1px solid var(--line); }
.bt-open { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.acc { margin: 22px 0; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; font-weight: 600; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--amber); font-size: 20px; line-height: 1; transition: transform .3s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc p { padding-bottom: 16px; color: var(--muted); }
.respon { padding: 16px var(--gut); background: var(--wine); color: #f8e6e0; text-align: center; font-size: 13.5px; font-weight: 500; letter-spacing: .04em; }

/* Pie */
.foot { background: #0a140f; color: var(--muted); }
.foot-in { display: grid; gap: 12px; padding-block: 52px; }
.foot .logo { color: var(--ink); }
.foot a[data-wa] { text-decoration: underline; }
.foot-legal { font-size: 12.5px; opacity: .75; }
.cart-panel { color: var(--ink-d); background: var(--paper); }

@media (max-width: 599px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pr { border-radius: 16px; }
  .pr-b { padding: 12px; }
  .pr h3 { font-size: 17px; margin-bottom: 6px; }
  .pr-c { font-size: 11px; }
  .pr-f { flex-wrap: wrap; }
  .pr-f b { font-size: 16px; }
  .add { width: 100%; padding: 9px; font-size: 13px; }
  .pr-tag { font-size: 10.5px; padding: 5px 8px; top: 8px; left: 8px; }
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (min-width: 760px) {
  .pair-grid { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .pair-card { grid-template-columns: 1fr 1fr; }
  .pair-card img { height: 100%; aspect-ratio: auto; }
  .desp-grid { grid-template-columns: 1.1fr .9fr; gap: 60px; }
}
@media (min-width: 1040px) {
  .menu { display: flex; }
  .nav-open { display: block; }
  .burger { display: none; }
  .junta-grid { grid-template-columns: 1fr 1fr; gap: 70px; }
  .calc { position: sticky; top: 100px; }
}
.calc-out li em { font: 600 15px var(--sans); color: var(--ink); font-style: normal; }
