/* =========================================================
   ESSENZA · Hoja de estilos
   Layout: bandas alternas (azabache / blanco roto / esmeralda)
   con contenido en columna central de 1200px y aire amplio.
   Diseño de un solo look (no cambia con tema claro/oscuro).
   ========================================================= */
:root {
  /* Color */
  --ink: #111111;          /* negro azabache */
  --graphite: #1B1A19;     /* grafito para superficies sobre negro */
  --ivory: #F9F9F9;        /* blanco roto */
  --ivory-2: #F1EEE8;      /* blanco roto cálido para tarjetas claras */
  --gold: #D4AF37;         /* oro */
  --champagne: #E6C280;    /* champaña */
  --wine: #4A0E17;         /* borgoña */
  --emerald: #0F2E23;      /* esmeralda oscuro */
  --emerald-2: #16402F;
  --text-dark: #1D1B19;
  --text-muted: #5E5952;
  --text-light: #F3EFE7;
  --text-mist: rgba(243, 239, 231, .64);
  --line-dark: rgba(17, 17, 17, .12);
  --line-light: rgba(230, 194, 128, .22);
  --gold-grad: linear-gradient(115deg, #8C6A1F 0%, #D4AF37 28%, #F6E3B4 50%, #D4AF37 72%, #9C7A28 100%);

  /* Tipografía */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, system-ui, sans-serif;

  /* Escala tipográfica */
  --fs-hero: clamp(2.6rem, 6.4vw, 5.6rem);
  --fs-h2: clamp(2.1rem, 4.4vw, 3.6rem);
  --fs-h3: clamp(1.5rem, 2.6vw, 2.1rem);
  --fs-body: clamp(.95rem, 1vw, 1.02rem);
  --fs-small: .78rem;

  /* Movimiento: curva tipo "spring" con leve rebote, y otra suave */
  --spring: cubic-bezier(.34, 1.36, .64, 1);
  --smooth: cubic-bezier(.22, 1, .36, 1);

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --radius: 18px;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-light);
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.75;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ink);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 1px solid var(--champagne); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--champagne); color: var(--ink); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--champagne); color: var(--ink); padding: .6rem 1rem; border-radius: 999px;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%; max-width: 1240px; margin-inline: auto;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
}
@media (min-width: 720px) {
  .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
}

.selectable { user-select: all; }

/* ---------- Tipos ---------- */
.eyebrow {
  margin: 0 0 1.4rem;
  font-family: var(--sans); font-weight: 500; font-size: .7rem;
  text-transform: uppercase; letter-spacing: .38em;
  color: var(--champagne);
  display: inline-flex; align-items: center; gap: .9rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.dark { color: #8C6A1F; }

.h2, .h3, .hero-title {
  font-family: var(--serif); font-weight: 400; line-height: 1.06;
  letter-spacing: -.01em; text-wrap: balance; margin: 0;
}
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.h2 em, .hero-title em { font-style: italic; font-weight: 300; }

.section { position: relative; padding-block: clamp(5rem, 11vw, 9rem); }
.section.light { background: var(--ivory); color: var(--text-dark); }
.section.light p { color: var(--text-muted); }
.section.dark { background: var(--ink); }
.section.emerald { background: radial-gradient(120% 140% at 85% 0%, var(--emerald-2), var(--emerald) 55%, #0A221A); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-lead { margin: 1.4rem 0 0; color: var(--text-mist); max-width: 60ch; }
.section-head.center .section-lead { margin-inline: auto; }
.section.light .section-lead { color: var(--text-muted); }

/* Textura de grano sutil */
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Botones con brillo metálico ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 52px; padding: .95rem 2rem;
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
  border-radius: 999px; border: 1px solid transparent;
  transition: transform .6s var(--spring), box-shadow .6s var(--smooth), background-color .4s, color .4s, border-color .4s;
}
.btn::after {
  content: ""; position: absolute; inset: -2px; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 48%, rgba(255, 255, 255, .15) 54%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 1s var(--smooth);
}
.btn:hover::after, .btn:focus-visible::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.btn svg .fill { fill: currentColor; stroke: none; }

.btn-gold { background: var(--gold-grad); background-size: 160% 100%; color: var(--ink); box-shadow: 0 10px 30px -12px rgba(212, 175, 55, .55); }
.btn-gold:hover { box-shadow: 0 18px 40px -14px rgba(212, 175, 55, .7); }
.btn-ghost { border-color: rgba(230, 194, 128, .5); color: var(--champagne); background: rgba(17, 17, 17, .2); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--champagne); background: rgba(230, 194, 128, .08); }
.btn-ghost::after { background: linear-gradient(105deg, transparent 30%, rgba(230, 194, 128, .35) 50%, transparent 70%); }
.btn-dark { background: var(--ink); color: var(--champagne); border-color: var(--ink); }
.btn-dark:hover { background: var(--wine); border-color: var(--wine); }
.btn-sm { min-height: 40px; padding: .55rem 1.3rem; font-size: .66rem; }

.link-line {
  position: relative; color: inherit; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--smooth);
}
.link-line:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; z-index: 50; left: 0; right: 0; top: env(safe-area-inset-top, 0px);
  transition: background-color .5s var(--smooth), backdrop-filter .5s, border-color .5s, transform .5s var(--smooth);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(17, 17, 17, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line-light); }
.nav-inner {
  max-width: 1240px; margin-inline: auto; height: 76px;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
  display: flex; align-items: center; gap: 2rem;
}
@media (min-width: 720px) { .nav-inner { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand-mark { width: auto; height: 44px; }
.brand-word {
  font-family: var(--serif); font-size: 1.45rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-word.lg { font-size: 2.2rem; }
.nav-links { display: flex; gap: 2.2rem; }
.nav-links a {
  font-size: .7rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--text-mist);
  position: relative; padding-block: .4rem; transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--champagne);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--smooth);
}
.nav-links a:hover { color: var(--text-light); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--champagne); transition: transform .5s var(--spring), top .5s var(--spring); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: calc(76px + env(safe-area-inset-top, 0px));
    flex-direction: column; gap: 0; padding: 1rem var(--gutter-r) 2rem var(--gutter);
    background: rgba(17, 17, 17, .96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-light);
    clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--smooth); visibility: hidden;
  }
  .nav-links.open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav-links a { padding-block: 1rem; font-size: .8rem; border-bottom: 1px solid rgba(230, 194, 128, .1); }
  .nav-links a::after { display: none; }
  .nav.menu-open { background: rgba(17, 17, 17, .96); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(92svh, 900px);
  display: flex; align-items: center;
  padding-block: calc(110px + env(safe-area-inset-top, 0px)) 90px;
  background: radial-gradient(90% 80% at 75% 40%, #1E1716 0%, var(--ink) 60%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-silk {
  position: absolute; inset: -20%; z-index: -2; filter: blur(70px); opacity: .9;
  background:
    radial-gradient(38% 30% at 78% 35%, rgba(74, 14, 23, .9), transparent 70%),
    radial-gradient(30% 26% at 62% 78%, rgba(15, 46, 35, .85), transparent 70%),
    radial-gradient(22% 18% at 88% 70%, rgba(212, 175, 55, .22), transparent 70%);
  animation: silk 22s var(--smooth) infinite alternate;
}
@keyframes silk {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  100% { transform: translate3d(-4%, 3%, 0) rotate(6deg) scale(1.08); }
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 3rem; }
.hero-copy { min-width: 0; max-width: 680px; }
.hero-title { font-size: var(--fs-hero); font-weight: 300; color: var(--text-light); }
.hero-title em {
  background: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldflow 8s linear infinite;
  padding-right: .06em;
}
@keyframes goldflow { to { background-position: -200% 0; } }
.hero-lead { margin: 2rem 0 2.6rem; max-width: 50ch; color: var(--text-mist); font-size: clamp(1rem, 1.15vw, 1.08rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-in { animation: heroIn 1.4s var(--smooth) both; animation-delay: calc(var(--i) * .14s + .15s); }
@keyframes heroIn { from { opacity: 0; transform: translateY(34px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.hero-visual { position: relative; aspect-ratio: 4 / 5; max-width: 440px; width: 100%; justify-self: center; }
.hero-ring {
  position: absolute; inset: 6% 4%; border-radius: 999px 999px 24px 24px;
  border: 1px solid rgba(230, 194, 128, .35);
  background: linear-gradient(180deg, rgba(230, 194, 128, .07), rgba(74, 14, 23, .18));
}
.hero-ring::before {
  content: ""; position: absolute; inset: 14px; border-radius: inherit; border: 1px solid rgba(230, 194, 128, .14);
}
.hero-bottle { position: absolute; inset: 12% 14% 4%; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .5)); }
.hero-bottle svg { width: 100%; height: 100%; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
.hero-drop {
  position: absolute; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .9), rgba(230, 194, 128, .5) 35%, rgba(212, 175, 55, .12) 70%);
  box-shadow: inset -2px -3px 6px rgba(140, 106, 31, .4);
  animation: float 6s ease-in-out infinite;
}
.hero-drop.d1 { width: 22px; height: 26px; left: 4%; top: 30%; animation-delay: -1s; }
.hero-drop.d2 { width: 12px; height: 14px; right: 6%; top: 18%; animation-delay: -3s; }
.hero-drop.d3 { width: 16px; height: 19px; right: 2%; bottom: 22%; animation-delay: -4.5s; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  width: 26px; height: 42px; border: 1px solid rgba(230, 194, 128, .45); border-radius: 999px;
}
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; border-radius: 2px; background: var(--champagne); animation: scrollDot 2.2s var(--smooth) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1rem; }
  .hero-visual { order: -1; max-width: 230px; }
  .hero { padding-block: calc(96px + env(safe-area-inset-top, 0px)) 80px; min-height: 0; }
  .hero-scroll { display: none; }
}

/* ---------- Cinta de acordes ---------- */
.ribbon { overflow: hidden; background: var(--wine); border-block: 1px solid rgba(230, 194, 128, .25); padding-block: 1.1rem; }
.ribbon-track { display: flex; gap: 2.2rem; width: max-content; animation: marquee 48s linear infinite; }
.ribbon span { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--champagne); white-space: nowrap; }
.ribbon i { font-style: normal; color: rgba(230, 194, 128, .5); font-size: .8rem; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Nuestra esencia ---------- */
.essence { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.essence-copy { min-width: 0; }
.essence-copy .h2 { margin-bottom: 2rem; color: var(--text-dark); }
.essence-copy > p { max-width: 58ch; margin: 0 0 1.2rem; }
.essence-art { position: relative; max-width: 520px; width: 100%; justify-self: center; padding: 0 0 28px 28px; }
.frame-back {
  position: absolute; left: 0; bottom: 0; width: calc(100% - 28px); height: calc(100% - 28px);
  border: 1px solid var(--gold); border-radius: 260px 260px 22px 22px; opacity: .6;
}
.frame {
  position: relative; aspect-ratio: 1 / 1; border-radius: 260px 260px 22px 22px; overflow: hidden;
  background: radial-gradient(80% 60% at 50% 30%, #3A1219 0%, var(--wine) 45%, #22070C 100%);
  box-shadow: 0 50px 80px -40px rgba(74, 14, 23, .6);
  transition: transform 1s var(--smooth);
}
.essence-art:hover .frame { transform: translate(-6px, -6px); }
.frame-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.01); transition: transform 1.4s var(--smooth); }
.essence-art:hover .frame-photo { transform: scale(1.05); }
.frame-glow { position: absolute; inset: 0; background: radial-gradient(40% 30% at 50% 82%, rgba(230, 194, 128, .35), transparent 70%); }
.frame-bottles { position: absolute; inset: 18% 6% 14%; display: flex; align-items: flex-end; justify-content: center; }
.frame-bottles .fb { flex: 1; height: 100%; min-width: 0; transition: transform 1s var(--spring); }
.frame-bottles .fb:nth-child(1) { transform: translateX(14%) scale(.82); transform-origin: bottom; }
.frame-bottles .fb:nth-child(3) { transform: translateX(-14%) scale(.82); transform-origin: bottom; }
.frame-bottles .fb:nth-child(2) { z-index: 1; }
.essence-art:hover .fb:nth-child(1) { transform: translateX(4%) scale(.84) rotate(-4deg); }
.essence-art:hover .fb:nth-child(3) { transform: translateX(-4%) scale(.84) rotate(4deg); }
.frame-caption {
  position: absolute; left: 0; right: 0; bottom: 6%; margin: 0; text-align: center;
  font-size: .64rem; letter-spacing: .34em; text-transform: uppercase; color: var(--champagne) !important;
}
.frame-tag {
  position: absolute; right: -8px; top: 12%;
  display: flex; align-items: center; gap: .8rem; padding: 1rem 1.3rem;
  background: var(--ivory); border: 1px solid var(--line-dark); border-radius: 14px;
  box-shadow: 0 20px 40px -20px rgba(17, 17, 17, .35);
  animation: float 8s ease-in-out infinite;
}
.frame-tag strong { font-family: var(--serif); font-size: 2.6rem; font-weight: 500; color: var(--wine); line-height: 1; }
.frame-tag span { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); line-height: 1.5; }

.pyramid { margin-top: 2.6rem; border-top: 1px solid var(--line-dark); }
.pyr-row {
  display: grid; grid-template-columns: 6.5rem 1fr 7.5rem; grid-template-areas: "tier bar time" ". notes notes";
  gap: .2rem 1.2rem; align-items: center; padding-block: 1.1rem; border-bottom: 1px solid var(--line-dark);
}
.pyr-tier { grid-area: tier; font-family: var(--serif); font-size: 1.35rem; color: var(--text-dark); }
.pyr-bar { grid-area: bar; height: 2px; background: rgba(17, 17, 17, .08); border-radius: 2px; overflow: hidden; }
.pyr-bar i { display: block; height: 100%; width: var(--w); background: var(--gold-grad); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--smooth) .3s; }
.is-in .pyr-bar i, .no-js .pyr-bar i { transform: scaleX(1); }
.pyr-time { grid-area: time; text-align: right; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #8C6A1F; font-variant-numeric: tabular-nums; }
.pyr-notes { grid-area: notes; font-size: .85rem; color: var(--text-muted); }

.founders { margin-top: clamp(5rem, 9vw, 8rem); display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: end; }
.founders-head .h3 { color: var(--text-dark); max-width: 18ch; }
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.founder {
  display: flex; gap: 1.2rem; align-items: center; padding: 1.6rem;
  background: var(--ivory-2); border-radius: var(--radius);
  transition: transform .7s var(--spring), box-shadow .7s var(--smooth);
}
.founder:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(17, 17, 17, .4); }
.founder-mono {
  flex: none; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.4rem; letter-spacing: .06em;
  background: var(--ink); color: var(--champagne); border: 1px solid var(--gold);
}
.founder h4 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: var(--text-dark); line-height: 1.2; }
.founder p { margin: .1rem 0 .5rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.founder .link-line { font-size: .8rem; color: var(--wine); }

@media (max-width: 900px) {
  .essence, .founders { grid-template-columns: 1fr; }
  .essence-art { max-width: 380px; }
}
@media (max-width: 560px) {
  .founders-grid { grid-template-columns: 1fr; }
  .pyr-row { grid-template-columns: 5.4rem 1fr; grid-template-areas: "tier time" "bar bar" "notes notes"; }
  .frame-tag { right: 0; }
}

/* ---------- Colección ---------- */
.collection { overflow: hidden; }
.collection .section-head .h2 { color: var(--text-light); }
.filters { display: grid; gap: 1.4rem; margin-bottom: 2rem; }
.tabs-scroll { overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding-inline: 4px; }
.tabs-scroll::-webkit-scrollbar { display: none; }
.tabs { position: relative; display: flex; gap: .3rem; width: max-content; border-bottom: 1px solid var(--line-light); }
.tab {
  position: relative; background: none; border: 0; padding: 1rem 1.2rem 1.1rem;
  font-family: var(--serif); font-size: 1.25rem; color: var(--text-mist); white-space: nowrap;
  transition: color .4s;
}
.tab sup { font-family: var(--sans); font-size: .58rem; letter-spacing: .1em; margin-left: .25rem; color: rgba(230, 194, 128, .7); }
.tab:hover { color: var(--text-light); }
.tab[aria-selected="true"] { color: var(--champagne); }
.tab-ink {
  position: absolute; bottom: -1px; left: 0; height: 2px; width: 0;
  background: var(--gold-grad); border-radius: 2px;
  transition: transform .7s var(--spring), width .7s var(--spring);
}
.sub-right { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; }
.sort { display: inline-flex; align-items: center; gap: .6rem; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-mist); }
.sort select {
  appearance: none; -webkit-appearance: none; font: inherit; font-size: .7rem; letter-spacing: .08em; text-transform: none;
  color: var(--text-light); background: transparent; border: 1px solid var(--line-light); border-radius: 999px;
  padding: .55rem 2.2rem .55rem 1rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #E6C280 50%), linear-gradient(135deg, #E6C280 50%, transparent 50%);
  background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.sort select option { background: var(--ink); color: var(--text-light); }
.subfilters { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  border: 1px solid var(--line-light); background: transparent; border-radius: 999px;
  padding: .5rem 1rem; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mist);
  transition: background-color .4s var(--smooth), color .4s, border-color .4s, transform .5s var(--spring);
}
.chip:hover { border-color: var(--champagne); color: var(--text-light); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--champagne); border-color: var(--champagne); color: var(--ink); }
.seg { display: inline-flex; padding: 4px; border: 1px solid var(--line-light); border-radius: 999px; }
.seg button {
  border: 0; background: transparent; border-radius: 999px; padding: .45rem 1rem;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mist);
  transition: background-color .4s var(--smooth), color .4s;
}
.seg button[aria-pressed="true"] { background: var(--emerald-2); color: var(--champagne); }
.results { margin: 0 0 1.6rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mist); font-variant-numeric: tabular-nums; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.2vw, 2rem); }
@media (max-width: 1020px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: linear-gradient(180deg, #1A1918 0%, #141312 100%);
  border: 1px solid rgba(230, 194, 128, .14); border-radius: var(--radius); overflow: hidden;
  transition: transform .8s var(--spring), box-shadow .8s var(--smooth), border-color .6s;
  will-change: transform;
}
.card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(230, 194, 128, .45);
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(230, 194, 128, .1), 0 20px 60px -30px color-mix(in srgb, var(--tint) 60%, transparent);
}
.card-media {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background:
    radial-gradient(60% 45% at 50% 86%, color-mix(in srgb, var(--tint) 34%, transparent), transparent 70%),
    radial-gradient(90% 70% at 50% 20%, #26231F, #161514 70%);
}
.card-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .12) 48%, transparent 60%);
  transform: translateX(-100%); transition: transform 1.2s var(--smooth);
}
.card:hover .card-media::after { transform: translateX(100%); }
.bottle { position: absolute; inset: 10% 14% 4%; transition: opacity .7s var(--smooth), transform .9s var(--spring), filter .7s var(--smooth); }
.bottle svg { width: 100%; height: 100%; }
.bottle.front { filter: saturate(.9) blur(.3px); }
.bottle.side { opacity: 0; transform: rotateY(-40deg) scale(.96); }
.card:hover .bottle.front, .card:focus-within .bottle.front { opacity: 0; transform: rotateY(40deg) scale(1.04); }
.card:hover .bottle.side, .card:focus-within .bottle.side { opacity: 1; transform: none; filter: none; }
.card-media img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) blur(.4px); transition: transform 1s var(--spring), filter .7s; }
.card:hover .card-media img.photo { transform: scale(1.06); filter: none; }
.card-media img.photo.alt { opacity: 0; transform: scale(1.04); }
.card:hover .card-media img.photo.has-alt { opacity: 0; }
.card:hover .card-media img.photo.alt { opacity: 1; transform: none; }
.card-media img.photo { transition: transform 1s var(--spring), filter .7s, opacity .7s var(--smooth); }
.card-badge, .card-ml {
  position: absolute; top: 14px; z-index: 2;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px;
}
.card-badge { left: 14px; background: rgba(17, 17, 17, .6); color: var(--champagne); border: 1px solid rgba(230, 194, 128, .3); backdrop-filter: blur(6px); }
.card-ml { right: 14px; color: var(--text-light); background: rgba(74, 14, 23, .75); font-variant-numeric: tabular-nums; }
.card-hint {
  position: absolute; bottom: 12px; left: 0; right: 0; z-index: 2; text-align: center;
  font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(230, 194, 128, .0);
  transition: color .6s var(--smooth);
}
.card:hover .card-hint { color: rgba(230, 194, 128, .8); }

.card-body { display: flex; flex-direction: column; gap: .9rem; padding: 1.6rem 1.6rem 1.7rem; flex: 1; }
.card-brand { margin: 0; font-size: .64rem; letter-spacing: .32em; text-transform: uppercase; color: var(--champagne); }
.card-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: -.4rem; }
.card-price { margin: 0; flex: none; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--champagne); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.card-price.ask { font-family: var(--sans); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; }
.card-out {
  position: absolute; left: 50%; top: 50%; z-index: 3; translate: -50% -50%;
  padding: .55rem 1.2rem; border-radius: 999px; font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--text-light); background: rgba(17, 17, 17, .78); border: 1px solid rgba(243, 239, 231, .3); backdrop-filter: blur(6px);
}
.card.is-out .bottle, .card.is-out .photo { filter: grayscale(.85) brightness(.6); }
.card.is-out .card-price { color: var(--text-mist); text-decoration: line-through; text-decoration-thickness: 1px; }
.card.is-out:hover .card-out { opacity: 0; transition: opacity .5s; }
.card-name { margin: 0; min-width: 0; font-family: var(--serif); font-weight: 400; font-size: 1.85rem; line-height: 1.1; color: var(--text-light); text-wrap: balance; }
.card-desc { margin: 0; font-size: .88rem; color: var(--text-mist); line-height: 1.7; }
.card-acc { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.card-acc li {
  font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 999px; color: var(--text-light);
  background: rgba(230, 194, 128, .08); border: 1px solid rgba(230, 194, 128, .2);
}
.card-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; margin: 0; padding-top: .9rem; border-top: 1px solid rgba(230, 194, 128, .12); }
.card-meta div { min-width: 0; }
.card-meta dt { font-size: .58rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(230, 194, 128, .7); }
.card-meta dd { margin: .1rem 0 0; font-size: .82rem; color: var(--text-light); }
.card-meta .full { grid-column: 1 / -1; }
.card-meta .full dd { font-family: var(--serif); font-style: italic; font-size: 1.02rem; }
.card-cta { margin-top: auto; padding-top: .6rem; }
.card-cta .btn { width: 100%; min-height: 46px; padding-inline: 1rem; letter-spacing: .2em; }

.card.enter { animation: cardIn .9s var(--spring) both; animation-delay: calc(var(--d, 0) * 60ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(40px) scale(.97); } to { opacity: 1; transform: none; } }

.empty { grid-column: 1 / -1; text-align: center; padding: 4rem 1rem; color: var(--text-mist); border: 1px dashed var(--line-light); border-radius: var(--radius); }
.empty strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.8rem; color: var(--text-light); margin-bottom: .4rem; }

.more-wrap { display: flex; justify-content: center; margin-top: 3rem; }
.catalog-note { margin: 2rem auto 0; text-align: center; font-size: .82rem; color: var(--text-mist); }
.catalog-note .link-line { color: var(--champagne); }

@media (max-width: 600px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 2px 4px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; flex: none; }
}

/* ---------- Asesoría ---------- */
.advice { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.advice-copy { min-width: 0; }
.advice-copy .h2 { color: var(--text-light); }
.advice-copy p { color: var(--text-mist); max-width: 52ch; margin: 1.6rem 0 2.4rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.step {
  display: flex; gap: 1.4rem; align-items: flex-start; padding: 1.6rem 1.8rem;
  border: 1px solid rgba(230, 194, 128, .2); border-radius: var(--radius);
  background: rgba(10, 34, 26, .45); backdrop-filter: blur(4px);
  transition: transform .7s var(--spring), border-color .5s, background-color .5s;
}
.step:hover { transform: translateX(8px); border-color: rgba(230, 194, 128, .55); background: rgba(10, 34, 26, .7); }
.step-n {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.4rem; color: var(--ink); background: var(--gold-grad);
}
.step h3 { margin: 0 0 .2rem; font-family: var(--serif); font-weight: 500; font-size: 1.45rem; color: var(--text-light); }
.step p { margin: 0; font-size: .88rem; color: var(--text-mist); }
@media (max-width: 860px) { .advice { grid-template-columns: 1fr; } }

/* ---------- Feed social ---------- */
.feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.5rem, 1.2vw, 1rem); }
@media (min-width: 900px) { .feed { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.post {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; display: block;
  transition: transform .8s var(--spring), box-shadow .8s var(--smooth);
}
.post:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 30px 40px -24px rgba(17, 17, 17, .5); }
.post-bottle { position: absolute; inset: 12% 22% 6%; transition: transform 1s var(--spring); }
.post:hover .post-bottle { transform: scale(1.06) rotate(-3deg); }
.post-bottle svg { width: 100%; height: 100%; }
.post-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--spring); }
.post:hover .post-photo { transform: scale(1.06); }
.post-quote {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 14%; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: clamp(1rem, 1.7vw, 1.35rem); line-height: 1.25; color: var(--champagne);
}
.post-quote small { display: block; margin-top: .6rem; font-family: var(--sans); font-style: normal; font-size: .55rem; letter-spacing: .3em; text-transform: uppercase; opacity: .8; }
.post-over {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: .4rem;
  padding: .9rem; background: linear-gradient(180deg, transparent 45%, rgba(17, 17, 17, .75));
  color: var(--text-light); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  opacity: 0; transition: opacity .6s var(--smooth);
}
.post:hover .post-over, .post:focus-visible .post-over { opacity: 1; }
.post-over svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
@media (max-width: 899px) {
  .post-quote { font-size: clamp(.85rem, 3.6vw, 1.1rem); padding: 10%; }
  .post-quote small { display: none; }
}
.social-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 3rem; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--ink); padding-block: clamp(5rem, 10vw, 8rem) calc(2rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-light); }
.footer-cta { text-align: center; max-width: 820px; margin: 0 auto clamp(4rem, 8vw, 6rem); }
.footer-cta .eyebrow { justify-content: center; }
.footer-cta .h2 { color: var(--text-light); margin-bottom: 2.6rem; }
.wa-big {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 1.2rem; text-align: left;
  padding: 1rem 1.6rem 1rem 1rem; border-radius: 999px; max-width: 100%;
  background: var(--emerald); border: 1px solid rgba(230, 194, 128, .4);
  transition: transform .7s var(--spring), box-shadow .7s var(--smooth), background-color .5s;
}
.wa-big::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(230, 194, 128, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 1.1s var(--smooth);
}
.wa-big:hover { transform: translateY(-3px); background: var(--emerald-2); box-shadow: 0 30px 50px -24px rgba(15, 46, 35, .9); }
.wa-big:hover::after { transform: translateX(120%); }
.wa-ico { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); }
.wa-ico svg { width: 28px; height: 28px; fill: var(--emerald); }
.wa-txt { display: flex; flex-direction: column; font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: var(--text-light); line-height: 1.2; min-width: 0; }
.wa-txt small { font-family: var(--sans); font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--champagne); margin-bottom: .3rem; }
.wa-arrow { color: var(--champagne); font-size: 1.4rem; transition: transform .6s var(--spring); }
.wa-big:hover .wa-arrow { transform: translateX(6px); }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-block: 3rem; border-top: 1px solid var(--line-light); }
.footer-grid > div { min-width: 0; }
.footer-logo { width: 150px; height: auto; }
.footer-brand p { color: var(--text-mist); max-width: 34ch; font-size: .88rem; margin-top: .8rem; }
.f-title { margin: 0 0 1rem; font-family: var(--sans); font-weight: 500; font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--champagne); }
.f-big { margin: 0 0 .7rem; font-family: var(--serif); font-size: 1.5rem; color: var(--text-light); font-variant-numeric: tabular-nums; }
.copy-btn { background: none; border: 1px solid var(--line-light); border-radius: 999px; padding: .4rem .9rem; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mist); transition: border-color .3s, color .3s; }
.copy-btn:hover { border-color: var(--champagne); color: var(--champagne); }
.f-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.f-list a { color: var(--text-mist); font-size: .88rem; transition: color .3s; }
.f-list a:hover { color: var(--champagne); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; border-top: 1px solid rgba(230, 194, 128, .1); font-size: .7rem; color: rgba(243, 239, 231, .42); letter-spacing: .06em; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } .wa-big { gap: .8rem; padding-right: 1.1rem; } .wa-ico { width: 46px; height: 46px; } .wa-arrow { display: none; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: .6rem;
  transform: translateY(120px); opacity: 0;
  transition: transform .9s var(--spring), opacity .6s var(--smooth);
}
.wa-float.show { transform: none; opacity: 1; }
.wa-float-ico {
  position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--emerald); border: 1px solid var(--gold);
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .6);
  transition: transform .6s var(--spring), background-color .4s;
}
.wa-float-ico::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(212, 175, 55, .5);
  animation: pulse 3s var(--smooth) infinite;
}
@keyframes pulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.wa-float-ico svg { width: 28px; height: 28px; fill: var(--champagne); }
.wa-float-label {
  padding: .7rem 1.1rem; border-radius: 999px; white-space: nowrap;
  background: rgba(17, 17, 17, .88); backdrop-filter: blur(8px); border: 1px solid var(--line-light);
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne);
  opacity: 0; transform: translateX(14px); pointer-events: none;
  transition: opacity .5s var(--smooth), transform .7s var(--spring);
}
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label, .wa-float.peek .wa-float-label { opacity: 1; transform: none; }
.wa-float:hover .wa-float-ico { transform: scale(1.08); background: var(--emerald-2); }
@media (max-width: 480px) { .wa-float-label { font-size: .56rem; letter-spacing: .14em; } }

/* ---------- Revelado al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.2s var(--smooth), transform 1.3s var(--spring); transition-delay: var(--rd, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ribbon-track { animation: none; }
}
