/* =========================================================
   Praön de María — estilos
   Paleta: tinta, vino, oro viejo y crema
   ========================================================= */
:root {
  --ink: #0e0a09;
  --ink-2: #17110f;
  --wine: #4a1620;
  --wine-2: #6d2230;
  --gold: #c5a46d;
  --gold-2: #e0c695;
  --cream: #f4eee5;
  --sand: #e9e0d2;
  --text: #2a211d;
  --muted: #8b7d70;
  --line: rgba(197, 164, 109, .28);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --pad: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
strong { font-weight: 500; }

.container { width: min(1280px, 100%); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(90px, 12vw, 160px) 0; }
.section--dark { background: var(--ink); color: var(--cream); }
.section--cream { background: var(--cream); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: .98;
  letter-spacing: -.01em;
  margin: 0 0 28px;
}
.title em, .hero__title em { font-style: italic; color: var(--gold); }
.section--cream .title em { color: var(--wine-2); }
.lead { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; font-weight: 400; }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .title { margin: 0; }
.section-head__text { max-width: 420px; margin: 0; opacity: .78; }

/* ---------- Botones ---------- */
.btn {
  --b: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  border: 1px solid var(--b);
  border-radius: 0;
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
  background: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill, var(--gold-2));
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--ghost { color: var(--cream); --b: rgba(244, 238, 229, .5); --fill: var(--cream); }
.btn--ghost:hover { color: var(--ink); }
.btn--outline { color: var(--cream); }
.btn--outline:hover { color: var(--ink); }
.btn--dark { color: var(--cream); background: var(--ink); --b: var(--ink); --fill: var(--wine); }
.btn--sm { padding: 11px 20px; font-size: 11px; }
.btn--block { width: 100%; }

/* ---------- Contraseña de acceso ---------- */
.pass-gate { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 20px; background: var(--ink); transition: opacity .8s var(--ease), visibility .8s; }
.pass-gate.is-hidden { opacity: 0; visibility: hidden; }
.pass-gate__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.3) saturate(.8); transform: scale(1.06); animation: slowzoom 20s ease-out forwards; }
.pass-gate__card {
  position: relative; text-align: center; color: var(--cream);
  width: min(460px, 100%); padding: 56px 44px 48px;
  background: rgba(14, 10, 9, .74); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
}
.pass-gate__logo { width: 96px; margin: 0 auto 28px; filter: brightness(0) invert(1); }
.pass-gate__card h2 { font-family: var(--serif); font-weight: 300; font-size: 40px; margin: 0 0 12px; line-height: 1.1; }
.pass-gate__text { opacity: .75; margin: 0 0 30px; font-size: 15px; }
.pass-gate__field { position: relative; display: block; }
.pass-gate__field input {
  width: 100%; padding: 16px 70px 16px 18px; font: inherit; font-size: 16px; letter-spacing: .08em;
  color: var(--cream); background: rgba(244, 238, 229, .06); border: 1px solid rgba(244, 238, 229, .25);
  border-radius: 0; outline: none; transition: border-color .3s;
}
.pass-gate__field input::placeholder { color: rgba(244, 238, 229, .45); letter-spacing: .04em; }
.pass-gate__field input:focus { border-color: var(--gold); }
.pass-gate__eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--gold); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 8px 10px; }
.pass-gate__error { min-height: 22px; margin: 10px 0 14px; font-size: 13px; color: #e9a99a; }
.pass-gate.is-error .pass-gate__card { animation: shake .45s var(--ease); }
.pass-gate.is-error .pass-gate__field input { border-color: #c96b5a; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Verificación de edad ---------- */
.age-gate {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 20px;
  transition: opacity .8s var(--ease), visibility .8s;
}
.age-gate.is-hidden { opacity: 0; visibility: hidden; }
.age-gate__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.35) saturate(.8); transform: scale(1.06); animation: slowzoom 20s ease-out forwards; }
.age-gate__card {
  position: relative; text-align: center; color: var(--cream);
  width: min(480px, 100%); padding: 56px 44px;
  background: rgba(14, 10, 9, .72); backdrop-filter: blur(14px);
  border: 1px solid var(--line);
}
.age-gate__logo { width: 96px; margin: 0 auto 28px; filter: brightness(0) invert(1); }
.age-gate__card h2 { font-family: var(--serif); font-weight: 300; font-size: 42px; margin: 0 0 12px; line-height: 1.1; }
.age-gate__text { opacity: .75; margin: 0 0 32px; }
.age-gate__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.age-gate__legal { font-size: 12px; opacity: .5; margin: 28px 0 0; }
.age-gate.is-denied .age-gate__text { color: var(--gold-2); opacity: 1; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad);
  color: var(--cream);
  transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(14, 10, 9, .88); backdrop-filter: blur(12px); padding-block: 12px; border-color: var(--line); }
/* Logo grande que sobresale del header; al hacer scroll lleva una pestaña oscura translúcida como el menú */
.header__logo { position: relative; flex: none; width: 120px; height: 44px; z-index: 1; }
.header__logo img {
  position: absolute; left: 50%; top: -6px; transform: translateX(-50%);
  height: 124px; width: auto; filter: brightness(0) invert(1);
  transition: height .5s var(--ease), top .5s var(--ease);
}
.header__logo::before {
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 122px; z-index: -1;
  background: rgba(14, 10, 9, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-top: 0;
  opacity: 0; transform: translateY(-10px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.header.is-scrolled .header__logo img { height: 96px; top: -2px; }
.header.is-scrolled .header__logo::before { opacity: 1; transform: none; }
.nav { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav a {
  text-decoration: none; font-size: 12px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 16px; }
.cart-btn { position: relative; background: none; border: 0; color: inherit; padding: 6px; }
.cart-btn__count {
  position: absolute; top: -2px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--gold); color: var(--ink);
  font-size: 10px; font-weight: 500; line-height: 18px; text-align: center;
  transform: scale(0); transition: transform .4s var(--ease);
}
.cart-btn__count.has-items { transform: scale(1); }
.cart-btn.bump { animation: bump .5s var(--ease); }
.burger { display: none; width: 34px; height: 34px; background: none; border: 0; position: relative; }
.burger span { position: absolute; left: 6px; right: 6px; height: 1px; background: var(--cream); transition: transform .4s var(--ease); }
.burger span:first-child { top: 13px; } .burger span:last-child { top: 21px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; color: var(--cream); display: flex; align-items: center; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: slowzoom 18s ease-out forwards; }
.hero__veil { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(14,10,9,.55) 0%, rgba(14,10,9,.15) 40%, rgba(14,10,9,.85) 100%),
  radial-gradient(ellipse at 20% 60%, rgba(74,22,32,.45), transparent 60%); }
.hero__content { position: relative; padding: 0 var(--pad); max-width: 1100px; }
.hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(46px, 8vw, 124px); line-height: .95; margin: 0 0 44px; letter-spacing: -.015em; }
.hero__title span, .hero__title em { display: block; }
.hero__title em { padding-left: clamp(0px, 8vw, 140px); }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__info {
  position: absolute; right: var(--pad); bottom: 48px; display: flex; gap: 36px;
  font-family: var(--serif); font-size: 20px; text-align: right;
}
.hero__info span { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.hero__scroll { position: absolute; left: 50%; bottom: 0; width: 1px; height: 90px; background: rgba(244,238,229,.25); overflow: hidden; }
.hero__scroll span { position: absolute; left: 0; width: 1px; height: 40%; background: var(--gold); animation: drip 2.2s var(--ease) infinite; }

/* ---------- Marquesina ---------- */
.marquee { background: var(--wine); color: var(--cream); overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.marquee span { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); font-style: italic; font-weight: 300; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--gold); font-size: 14px; }

/* ---------- Historia ---------- */
.story { background: var(--cream); }
.story__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.story__text p { max-width: 540px; }
.stats { display: flex; gap: clamp(24px, 4vw, 56px); margin-top: 44px; padding-top: 32px; border-top: 1px solid rgba(42,33,29,.15); }
.stats strong { display: block; font-family: var(--serif); font-size: 52px; font-weight: 300; line-height: 1; color: var(--wine-2); }
.stats span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.story__media { position: relative; height: clamp(520px, 60vw, 760px); }
.story__img { position: absolute; margin: 0; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(14,10,9,.45); }
.story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.story__img:hover img { transform: scale(1.05); }
.story__img--a { inset: 0 18% 22% 0; }
.story__img--b { width: 46%; height: 52%; right: 0; bottom: 0; border: 10px solid var(--cream); }
.story__badge {
  position: absolute; left: -24px; bottom: 10%; background: var(--wine); color: var(--cream);
  padding: 22px 28px; font-family: var(--serif);
}
.story__badge span { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.story__badge strong { font-size: 26px; font-weight: 400; font-style: italic; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid rgba(42,33,29,.15); }
.pillar { padding: 44px 36px 0 0; }
.pillar + .pillar { padding-left: 36px; border-left: 1px solid rgba(42,33,29,.15); }
.pillar__num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 22px; }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 8px 0 12px; line-height: 1.1; }
.pillar p { margin: 0; color: #5e5148; }

/* ---------- Eventos ---------- */
.featured {
  display: grid; grid-template-columns: 1.25fr 1fr; min-height: 520px;
  background: var(--ink-2); border: 1px solid var(--line); margin-bottom: 64px; overflow: hidden;
}
.featured__media { position: relative; overflow: hidden; }
.featured__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.featured:hover .featured__media img { transform: scale(1.04); }
.featured__tag {
  position: absolute; top: 24px; left: 24px; background: var(--gold); color: var(--ink);
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; padding: 8px 14px;
}
.featured__body { padding: clamp(32px, 4vw, 60px); display: flex; flex-direction: column; justify-content: center; }
.featured__date { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.featured__date strong { font-family: var(--serif); font-size: 84px; font-weight: 300; line-height: .8; color: var(--gold); }
.featured__date span { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; opacity: .75; }
.featured h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 3.4vw, 52px); line-height: 1.02; margin: 0 0 16px; }
.featured p { opacity: .78; margin: 0 0 22px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; letter-spacing: .08em; color: var(--gold-2); margin-bottom: 30px; }
.meta span::before { content: "— "; color: var(--gold); }
.countdown { display: flex; gap: 18px; margin-bottom: 32px; }
.countdown div { text-align: center; min-width: 58px; padding: 10px 6px; border: 1px solid var(--line); }
.countdown b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; }
.countdown small { font-size: 9px; letter-spacing: .24em; text-transform: uppercase; opacity: .6; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter {
  background: none; color: var(--cream); border: 1px solid rgba(244,238,229,.2);
  padding: 10px 20px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  transition: all .4s var(--ease);
}
.filter:hover { border-color: var(--gold); }
.filter.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.event-list { border-top: 1px solid var(--line); }
.event {
  display: grid; grid-template-columns: 210px 1fr 200px; gap: 32px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.event.is-hidden { display: none; }
.event__date { font-family: var(--serif); line-height: 1; }
.event__date strong { display: block; font-size: 50px; font-weight: 300; color: var(--gold); white-space: nowrap; margin-bottom: 6px; }
.event__date em { font-style: italic; font-size: .62em; margin-left: 4px; }
.event__date span { font-family: var(--sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; opacity: .7; }
.event__cat { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.event h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); margin: 4px 0 6px; line-height: 1.1; }
.event p { margin: 0; opacity: .7; font-size: 15px; max-width: 640px; }
.event__action { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.event__price { display: block; text-align: right; font-family: var(--serif); font-size: 20px; margin-bottom: 10px; color: var(--gold-2); }

/* ---------- Eventos privados ---------- */
.private { display: grid; grid-template-columns: 1fr 1fr; background: var(--wine); color: var(--cream); }
.private__media { min-height: 640px; overflow: hidden; }
.private__media img { width: 100%; height: 100%; object-fit: cover; }
.private__content { padding: clamp(60px, 8vw, 120px) var(--pad); align-self: center; }
.private__content > p { opacity: .85; max-width: 520px; }
.private__list { list-style: none; padding: 0; margin: 36px 0 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(244,238,229,.2); }
.private__list li { padding: 18px 0; border-bottom: 1px solid rgba(244,238,229,.2); }
.private__list span { display: block; font-family: var(--serif); font-size: 22px; }
.private__list small { font-size: 12px; letter-spacing: .1em; opacity: .65; }

/* ---------- Tienda ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.product { display: flex; flex-direction: column; }
.product__media {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #fff; margin-bottom: 22px;
}
.product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.product__media .alt { opacity: 0; }
.product:hover .product__media .alt { opacity: 1; transform: scale(1.04); }
.product__badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--ink); color: var(--cream); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; padding: 6px 10px; }
.product__type { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--wine-2); }
.product h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: .06em; margin: 4px 0 6px; line-height: 1; }
.product__desc { font-size: 14px; color: #5e5148; margin: 0 0 14px; line-height: 1.55; }
.product__specs { font-size: 12px; color: var(--muted); margin: 0 0 18px; display: grid; gap: 2px; }
.product__variants { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.variant { background: none; border: 1px solid rgba(42,33,29,.25); padding: 7px 12px; font-size: 12px; color: var(--text); transition: all .3s; }
.variant.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.product__buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(42,33,29,.15); }
.product__price { font-family: var(--serif); font-size: 28px; color: var(--ink); }
.product__price small { font-family: var(--sans); font-size: 11px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(42,33,29,.25); }
.qty button { background: none; border: 0; width: 32px; height: 38px; color: var(--text); }
.qty span { min-width: 22px; text-align: center; font-size: 14px; }
.add { padding: 12px 16px; font-size: 11px; }
.product--soon .product__media img { filter: grayscale(.6) brightness(.9); }
.shop__note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 56px; }

/* ---------- Parallax ---------- */
.parallax { position: relative; min-height: 90vh; display: grid; place-items: center; text-align: center; color: var(--cream); overflow: hidden; }
.parallax__bg { position: absolute; inset: -15% 0; background-size: cover; background-position: center; will-change: transform; }
.parallax::after { content: ""; position: absolute; inset: 0; background: rgba(14,10,9,.58); }
.parallax__content { position: relative; z-index: 1; max-width: 980px; padding: 80px var(--pad); }
.parallax blockquote { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(32px, 4.6vw, 64px); line-height: 1.12; margin: 0 0 44px; }

/* ---------- Galería Casa ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 14px; grid-auto-flow: dense; }
.g { margin: 0; overflow: hidden; position: relative; cursor: zoom-in; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; filter: brightness(.88); }
.g:hover img { transform: scale(1.06); filter: brightness(1); }
.g--wide { grid-column: span 2; }
.g--tall { grid-row: span 2; }

.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(14,10,9,.95); display: grid; place-items: center; padding: 40px; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 88vh; max-width: 92vw; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--cream); font-size: 32px; padding: 16px; }
.lightbox .lb-close { top: 10px; right: 16px; font-size: 26px; }
.lightbox .lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Reconocimientos ---------- */
.awards { background: var(--ink-2); padding: 64px 0; text-align: center; overflow: hidden; border-block: 1px solid var(--line); }
.awards__track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.awards__row { display: flex; gap: 70px; width: max-content; animation: marquee 50s linear infinite; align-items: center; }
.awards img { height: 110px; width: auto; opacity: .75; transition: opacity .4s; }
.awards img:hover { opacity: 1; }

/* ---------- Instagram ---------- */
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta__grid a { aspect-ratio: 1; overflow: hidden; position: relative; }
.insta__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.insta__grid a::after { content: "↗"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(74,22,32,.6); color: var(--cream); font-size: 28px; opacity: 0; transition: opacity .4s; }
.insta__grid a:hover::after { opacity: 1; }
.insta__grid a:hover img { transform: scale(1.08); }

/* ---------- Visítanos ---------- */
.visit__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: stretch; }
.visit__info { margin: 0 0 40px; }
.visit__info div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.visit__info dt { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); padding-top: 5px; }
.visit__info dd { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.4; }
.visit__info a { text-decoration: none; border-bottom: 1px solid var(--line); }
.visit__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.visit__map { min-height: 460px; border: 1px solid var(--line); }
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) sepia(.25); }

/* ---------- Footer ---------- */
.footer { background: #080605; color: rgba(244,238,229,.7); padding: 90px 0 30px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 150px; width: auto; filter: brightness(0) invert(1); margin-bottom: 20px; opacity: .9; }
.footer__brand p { max-width: 300px; font-family: var(--serif); font-size: 19px; font-style: italic; }
.footer h4 { font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.footer a { display: block; text-decoration: none; padding: 4px 0; transition: color .3s; }
.footer a:hover { color: var(--gold-2); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 70px; padding-top: 24px; border-top: 1px solid rgba(244,238,229,.1); font-size: 12px; letter-spacing: .08em; }

/* ---------- Carrito ---------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(14,10,9,.6); opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(440px, 100%);
  background: var(--cream); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .6s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 26px 30px; border-bottom: 1px solid rgba(42,33,29,.12); }
.drawer__head h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0; }
.icon-btn { background: none; border: 0; font-size: 18px; color: inherit; padding: 6px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 10px 30px; }
.drawer__empty { text-align: center; padding: 60px 0; color: var(--muted); font-family: var(--serif); font-size: 22px; font-style: italic; }
.line { display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(42,33,29,.1); }
.line img { width: 70px; height: 90px; object-fit: cover; background: #fff; }
.line h4 { font-family: var(--serif); font-size: 22px; font-weight: 400; margin: 0; letter-spacing: .04em; }
.line small { color: var(--muted); font-size: 12px; }
.line .qty { margin-top: 6px; }
.line .qty button { height: 30px; width: 28px; }
.line__price { font-family: var(--serif); font-size: 20px; text-align: right; }
.line__remove { display: block; background: none; border: 0; color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 0; margin-left: auto; }
.drawer__foot { padding: 24px 30px 30px; border-top: 1px solid rgba(42,33,29,.12); background: var(--sand); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.drawer__total span { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }
.drawer__total strong { font-family: var(--serif); font-size: 34px; font-weight: 400; }
.drawer__note { font-size: 12px; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* ---------- Formularios / modal ---------- */
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 15px; color: var(--text);
  background: #fff; border: 1px solid rgba(42,33,29,.18); border-radius: 0; outline: none; transition: border-color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(14,10,9,.7); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__card { position: relative; width: min(520px, 100%); max-height: 92vh; overflow-y: auto; background: var(--cream); padding: 48px 40px 40px; transform: translateY(30px); transition: transform .6s var(--ease); }
.modal.is-open .modal__card { transform: none; }
.modal__card h3 { font-family: var(--serif); font-weight: 300; font-size: 42px; margin: 0 0 4px; line-height: 1; }
.modal__event { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--wine-2); margin: 0 0 26px; }
.modal__close { position: absolute; top: 14px; right: 16px; }

.toast { position: fixed; left: 50%; bottom: 30px; z-index: 300; transform: translate(-50%, 140%); background: var(--ink); color: var(--cream); border: 1px solid var(--gold); padding: 14px 24px; font-size: 14px; opacity: 0; visibility: hidden; transition: transform .5s var(--ease), opacity .5s, visibility .5s; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- Animaciones ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@keyframes slowzoom { to { transform: scale(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes drip { 0% { top: -40%; } 100% { top: 100%; } }
@keyframes bump { 40% { transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
  .featured { grid-template-columns: 1fr; }
  .featured__media { height: 380px; }
  .insta__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0; z-index: -1; background: var(--ink);
    flex-direction: column; justify-content: center; align-items: center; gap: 28px;
    opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
  }
  .nav a { font-family: var(--serif); font-size: 38px; letter-spacing: 0; text-transform: none; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .burger { display: block; }
  .header__cta { display: none; }
  .header__logo { width: 92px; }
  .header__logo img { height: 92px; }
  .header.is-scrolled .header__logo img { height: 74px; }
  .header__logo::before { height: 98px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .story__grid, .visit__grid, .private { grid-template-columns: 1fr; }
  .story__media { height: 520px; }
  .story__badge { left: 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 32px 0; border-left: 0; border-bottom: 1px solid rgba(42,33,29,.15); }
  .private__media { min-height: 360px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__info { left: var(--pad); right: auto; text-align: left; bottom: 110px; }
  .hero__content { margin-top: -80px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .products { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr; gap: 10px; }
  .event__date strong { display: inline; font-size: 40px; margin-right: 10px; }
  .event__action { align-items: flex-start; }
  .event__price { text-align: left; }
  .private__list { grid-template-columns: 1fr; }
  .insta__grid { grid-template-columns: repeat(2, 1fr); }
  .visit__info div { grid-template-columns: 1fr; gap: 4px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .countdown { gap: 8px; }
  .form__row { grid-template-columns: 1fr; }
  .modal__card { padding: 44px 24px 28px; }
  .pass-gate__card { padding: 44px 24px 36px; }
}

/* ---------- Header en reposo: menú alineado al centro del logo grande ---------- */
.nav, .header__actions { transition: transform .5s var(--ease); }
.header:not(.is-scrolled) .nav,
.header:not(.is-scrolled) .header__actions { transform: translateY(34px); }
@media (max-width: 900px) {
  .header:not(.is-scrolled) .nav { transform: none; }
  .header:not(.is-scrolled) .header__actions { transform: translateY(18px); }
}
