/* ========================================================================
   LA GRAN BERNAL — Distribuidora gastronómica · v2 moderna
   Sistema: negro · blanco hueso · dorado cálido · grafito + gradientes mesh
   ======================================================================== */

:root {
  --ink:        #0b0b0d;
  --ink-2:      #15151a;
  --ink-3:      #1f1f25;
  --graphite:   #46464d;
  --line:       #e8e3d8;
  --line-2:     #efeae0;
  --cream:      #f6f2e9;
  --paper:      #fafaf7;
  --white:      #ffffff;
  --gold:       #e4b53a;
  --gold-warm:  #f0c455;
  --gold-deep:  #b9892b;
  --gold-soft:  #fff0c2;
  --copper:     #d68a3c;
  --berry:      #b13a4e;
  --whatsapp:   #25D366;
  --whatsapp-d: #128C7E;

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 4px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(11,11,13,.06);
  --shadow-md: 0 14px 36px rgba(11,11,13,.10);
  --shadow-lg: 0 30px 80px rgba(11,11,13,.22);
  --shadow-glow: 0 20px 60px rgba(228,181,58,.25);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Poppins", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(.2,.7,.2,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ===== Grain noise overlay (reused) ===================================== */
.grain::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .08;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
}

/* ===== Header ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, .80);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(11,11,13,.85);
  border-color: rgba(255,255,255,.08);
  color: var(--paper);
}
.site-header.scrolled .brand__mark { background: var(--gold); color: var(--ink); }
.site-header.scrolled .brand__name { color: var(--paper); }
.site-header.scrolled .brand__name span { color: rgba(250,250,247,.5); }
.site-header.scrolled .nav a { color: rgba(250,250,247,.85); }
.site-header.scrolled .nav-toggle span,
.site-header.scrolled .nav-toggle span::before,
.site-header.scrolled .nav-toggle span::after { background: var(--paper); }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.01em;
  transition: color .25s ease;
}
.brand__mark {
  width: 40px; height: 40px;
  background: var(--ink);
  color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 16px;
  letter-spacing: -.02em;
  position: relative;
  overflow: hidden;
  transition: background .25s ease, color .25s ease;
}
.brand__mark::after {
  content: ""; position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(228,181,58,.4) 30deg, transparent 60deg);
  animation: spin 6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.brand__logo {
  height: 48px;
  width: auto;
  display: block;
  transition: opacity .3s ease, transform .3s ease;
}
.brand:hover .brand__logo { opacity: .85; transform: scale(1.03); }
.brand__name { font-size: 17px; line-height: 1; position: relative; z-index: 1; }
.brand__name span { display: block; font-weight: 500; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--graphite); margin-top: 5px; transition: color .25s ease; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
  position: relative;
  transition: color .2s ease;
}
.nav a:hover { color: var(--gold-deep); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--copper));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav a:hover::after { transform: scaleX(1); }

/* ===== Buttons ========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  font-size: 14px; font-weight: 600;
  letter-spacing: .01em;
  background: var(--ink); color: var(--paper);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: transform .22s var(--ease-bounce), box-shadow .25s ease, color .25s ease;
  white-space: nowrap;
  z-index: 1;
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--gold) 0%, var(--copper) 100%);
  border-radius: inherit;
  transform: translateX(-101%);
  transition: transform .4s var(--ease-out);
  z-index: -1;
}
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-md); color: var(--ink); }
.btn:hover::before { transform: translateX(0); }
.btn--gold { background: linear-gradient(120deg, var(--gold-warm), var(--gold) 50%, var(--copper)); color: var(--ink); }
.btn--gold::before { background: var(--ink); }
.btn--gold:hover { color: var(--gold); box-shadow: var(--shadow-glow); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp::before { background: linear-gradient(120deg, var(--whatsapp-d), #0c5b54); }
.btn--whatsapp:hover { color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--paper); border-color: var(--ink); }
.btn--ghost-light { background: transparent; color: var(--paper); border: 1.5px solid rgba(255,255,255,.35); }
.btn--ghost-light::before { background: var(--paper); }
.btn--ghost-light:hover { color: var(--ink); border-color: var(--paper); }
.btn--lg { padding: 18px 32px; font-size: 15px; }
.btn--sm { padding: 10px 18px; font-size: 13px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  position: relative;
  width: 22px; height: 2px; background: var(--ink);
  transition: background .25s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease-out);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px;
    gap: 0;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a:last-of-type { border-bottom: 0; }
  .nav .btn { margin-top: 12px; justify-content: center; }
  .header-cta-desktop { display: none; }
}

/* ===== HERO ============================================================== */
.hero {
  position: relative;
  background:
    linear-gradient(105deg, rgba(11,11,13,.88) 0%, rgba(11,11,13,.72) 50%, rgba(11,11,13,.52) 100%),
    url('uploads/frente.png') center top / cover no-repeat,
    var(--ink);
  color: var(--paper);
  overflow: hidden;
  min-height: 92vh;
  display: flex; align-items: center;
}
/* Animated gradient mesh — sits on top of photo as atmospheric tint */
.hero__mesh {
  position: absolute; inset: -20%;
  z-index: 0;
  opacity: .5;
  background:
    radial-gradient(45% 38% at 22% 28%, rgba(228,181,58,.28), transparent 70%),
    radial-gradient(38% 32% at 78% 72%, rgba(214,138,60,.22), transparent 70%),
    radial-gradient(50% 50% at 50% 100%, rgba(177,58,78,.12), transparent 70%),
    radial-gradient(60% 60% at 50% -10%, rgba(255,240,194,.08), transparent 70%);
  filter: blur(20px) saturate(120%);
  animation: meshDrift 22s var(--ease-in-out) infinite alternate;
  pointer-events: none;
}
@keyframes meshDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(-3%, 2%, 0) scale(1.06); }
  100% { transform: translate3d(2%, -2%, 0) scale(1); }
}
.hero__grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

.hero__inner {
  position: relative; z-index: 3;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  padding-block: clamp(80px, 10vw, 140px);
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
  padding: 8px 14px;
  border: 1px solid rgba(228,181,58,.3);
  border-radius: 999px;
  background: rgba(228,181,58,.06);
  backdrop-filter: blur(6px);
}
.hero__eyebrow .pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  position: relative;
}
.hero__eyebrow .pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  background: var(--gold); opacity: .4;
  animation: dot-pulse 1.8s ease-out infinite;
}
@keyframes dot-pulse { 0% { transform: scale(.7); opacity: .5; } 100% { transform: scale(2.2); opacity: 0; } }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6.8vw, 92px);
  line-height: 1.00;
  letter-spacing: -.03em;
  font-weight: 700;
  margin: 0 0 30px;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-warm), var(--gold), var(--copper));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px;
  height: 8px;
  background: linear-gradient(90deg, var(--gold), var(--copper));
  opacity: .18; z-index: -1; border-radius: 2px;
  transform: skew(-10deg);
}
.hero__title .reveal-line {
  display: block;
  overflow: hidden;
}
.hero__title .reveal-line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: reveal-up .9s var(--ease-out) forwards;
}
.hero__title .reveal-line:nth-child(1) > span { animation-delay: .15s; }
.hero__title .reveal-line:nth-child(2) > span { animation-delay: .30s; }
.hero__title .reveal-line:nth-child(3) > span { animation-delay: .45s; }
@keyframes reveal-up { to { transform: translateY(0); } }

.hero__subtitle {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(250,250,247,.75);
  max-width: 540px;
  margin: 0 0 40px;
  opacity: 0;
  animation: fade-in 1s var(--ease-out) .6s forwards;
}
@keyframes fade-in { to { opacity: 1; } }
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 14px;
  opacity: 0;
  animation: fade-in 1s var(--ease-out) .75s forwards;
}

.hero__meta {
  display: flex; gap: 48px; margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.10);
  opacity: 0;
  animation: fade-in 1s var(--ease-out) .9s forwards;
}
.hero__meta-item { }
.hero__meta-item b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--paper);
  line-height: 1;
}
.hero__meta-item b em { font-style: normal; color: var(--gold); }
.hero__meta-item span {
  display: block; margin-top: 8px;
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(250,250,247,.5);
}

/* Hero "video-reel" right column — auto-scrolling vertical strip of products */
.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--ink-2);
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.06);
}
.hero__reel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px;
  height: 100%;
}
.hero__reel-col {
  display: flex; flex-direction: column;
  gap: 14px;
  animation: reel-scroll 28s linear infinite !important;
  animation: reel-scroll 28s linear infinite;
}
.hero__reel-col--rev { animation: reel-scroll-rev 32s linear infinite; }
@keyframes reel-scroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
@keyframes reel-scroll-rev {
  0%   { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}
.hero__reel-card {
  aspect-ratio: 1/1;
  background-size: cover; background-position: center;
  border-radius: 12px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.hero__reel-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.4));
}
.hero__visual::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to bottom, var(--ink-2), transparent);
  z-index: 2; pointer-events: none;
}
.hero__visual::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to top, var(--ink-2), transparent);
  z-index: 2; pointer-events: none;
}
.hero__tag {
  position: absolute; left: 20px; bottom: 20px;
  background: var(--gold);
  background: linear-gradient(120deg, var(--gold-warm), var(--copper));
  color: var(--ink);
  padding: 14px 20px;
  border-radius: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase;
  z-index: 4;
  box-shadow: 0 14px 30px rgba(228,181,58,.35);
}
.hero__tag b { display: block; font-size: 22px; letter-spacing: -.01em; text-transform: none; margin-bottom: 2px; }

.hero__live {
  position: absolute; top: 20px; right: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(11,11,13,.7); backdrop-filter: blur(8px);
  padding: 8px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--paper);
  z-index: 4;
  border: 1px solid rgba(255,255,255,.12);
}
.hero__live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero__live .dot { animation: dot-blink 1.4s ease-in-out infinite; }
@keyframes dot-blink { 50% { opacity: .35; } }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
  .hero__visual { aspect-ratio: 5/4; }
  .hero__meta { gap: 32px; flex-wrap: wrap; }
}

/* ===== Marquee ticker =================================================== */
.marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 22px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.marquee--cream { background: var(--cream); color: var(--ink); border-color: var(--line); }
.marquee__track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: marquee 28s linear infinite !important;
  align-items: center;
}
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee__track:hover { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -.01em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 48px;
}
.marquee__item::after {
  content: "✦";
  color: var(--gold);
  font-size: .7em;
}
.marquee__item.outline {
  -webkit-text-stroke: 1.5px currentColor;
  color: transparent;
  background: none;
  -webkit-background-clip: initial;
}

/* ===== Section primitives =============================================== */
section { padding-block: clamp(80px, 10vw, 140px); position: relative; }
.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-eyebrow { justify-content: center; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 22px;
  font-family: var(--font-mono);
}
.section-eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--gold-deep);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.02; letter-spacing: -.025em;
  font-weight: 700; margin: 0 0 18px;
  text-wrap: balance;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-deep), var(--copper));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-lead { font-size: clamp(15px, 1.25vw, 18px); color: var(--graphite); max-width: 60ch; line-height: 1.6; }

.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .section-eyebrow { color: var(--gold); }
.section--ink .section-eyebrow::before { background: var(--gold); }
.section--ink .section-title { color: var(--paper); }
.section--ink .section-title em {
  background: linear-gradient(120deg, var(--gold-warm), var(--copper));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section--ink .section-lead { color: rgba(250,250,247,.7); }

.section--cream { background: var(--cream); }

/* ===== Beneficios — gradient cards ====================================== */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.benefit {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  min-height: 240px;
  transition: transform .35s var(--ease-out), border-color .35s ease, box-shadow .35s ease;
  overflow: hidden;
}
.benefit::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(228,181,58,.25), transparent 50%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.benefit:hover {
  transform: translateY(-6px);
  border-color: var(--ink);
  box-shadow: 0 30px 50px -20px rgba(11,11,13,.20);
}
.benefit:hover::before { opacity: 1; }
.benefit__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ink), var(--ink-3));
  color: var(--gold);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: transform .4s var(--ease-bounce);
}
.benefit:hover .benefit__icon { transform: rotate(-8deg) scale(1.08); }
.benefit__icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.benefit__num {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  color: var(--graphite);
  letter-spacing: .12em;
  opacity: .5;
}
.benefit__title {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 600;
  letter-spacing: -.012em;
  margin: 0 0 10px;
  position: relative; z-index: 1;
}
.benefit__body { color: var(--graphite); font-size: 14px; line-height: 1.55; margin: 0; position: relative; z-index: 1; }

/* ===== Categorías — visual cards with image ============================= */
.cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.cat {
  position: relative;
  display: block;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
  transition: transform .35s var(--ease-out);
  cursor: pointer;
}
.cat:hover { transform: translateY(-6px); }
.cat__media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .8s var(--ease-out);
  filter: saturate(.85) brightness(.7);
}
.cat:hover .cat__media { transform: scale(1.08); }
.cat::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(11,11,13,.85) 100%);
  z-index: 1;
}
.cat::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(228,181,58,.0), rgba(228,181,58,.0));
  z-index: 1; transition: background .4s ease;
}
.cat:hover::after { background: linear-gradient(135deg, rgba(228,181,58,.15), rgba(214,138,60,.0)); }
.cat__inner {
  position: absolute; inset: 0;
  padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--paper);
  z-index: 2;
}
.cat__num {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  color: var(--gold);
  letter-spacing: .14em;
}
.cat__bottom { }
.cat__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 26px); font-weight: 600;
  letter-spacing: -.015em;
  margin: 0 0 8px;
}
.cat__count {
  font-size: 13px; color: rgba(250,250,247,.7);
  margin-bottom: 14px;
}
.cat__arrow {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: inline-grid; place-items: center;
  color: var(--paper);
  transition: background .3s ease, transform .3s ease;
}
.cat:hover .cat__arrow {
  background: var(--gold); color: var(--ink); border-color: var(--gold);
  transform: rotate(-45deg);
}
.cat__arrow svg { width: 16px; height: 16px; }

/* ===== Catálogo ========================================================= */
.catalog-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.cat-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 36px;
}
.cat-filter {
  padding: 11px 18px;
  font-size: 13px; font-weight: 500;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  transition: all .25s var(--ease-out);
  position: relative;
  letter-spacing: .01em;
}
.cat-filter:hover { border-color: var(--ink); transform: translateY(-2px); }
.cat-filter.active {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
  box-shadow: 0 10px 24px rgba(11,11,13,.18);
}
.cat-filter b { font-weight: 500; opacity: .6; margin-left: 6px; font-size: 11px; font-family: var(--font-mono); }
.cat-filter.active b { color: var(--gold); opacity: 1; }

.catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.product {
  background: var(--white);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease-out), box-shadow .35s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(20px);
  animation: prod-in .6s var(--ease-out) forwards;
}
@keyframes prod-in { to { opacity: 1; transform: none; } }
.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(11,11,13,.25);
  border-color: var(--ink);
}
.product__media {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #f8f5ed, var(--cream));
  overflow: hidden;
  position: relative;
}
.product__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.product:hover .product__media img { transform: scale(1.08); }
.product__tag {
  position: absolute; top: 10px; left: 10px;
  background: rgba(11,11,13,.85);
  backdrop-filter: blur(8px);
  color: var(--gold);
  padding: 5px 11px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 999px;
  z-index: 2;
}
.product__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,11,13,.55));
  opacity: 0; transition: opacity .4s ease;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px;
  z-index: 2;
}
.product:hover .product__overlay { opacity: 1; }
.product__body {
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.product__cta {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 14px;
  font-size: 13px; font-weight: 600;
  background: var(--ink); color: var(--paper);
  border-radius: 999px;
  transition: background .25s ease, color .25s ease;
}
.product__cta:hover { background: var(--whatsapp); }
.product__cta svg { width: 14px; height: 14px; fill: currentColor; }

.catalog-foot {
  margin-top: 56px; text-align: center;
}
.catalog-empty {
  grid-column: 1 / -1;
  padding: 80px 20px; text-align: center;
  color: var(--graphite);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
}

/* ===== Marcas marquee =================================================== */
.brands-section { padding-block: clamp(60px, 8vw, 100px); }
.brands-marquee {
  display: flex; flex-direction: column; gap: 18px;
  margin-top: 40px;
}
.brand-track {
  display: flex; gap: 18px; width: max-content;
  animation: marquee 40s linear infinite !important;
}
.brand-track--reverse { animation-direction: reverse; animation-duration: 50s; }
.brand-track:hover { animation-play-state: paused; }
.brand-cell {
  display: inline-grid; place-items: center;
  padding: 22px 36px;
  min-width: 180px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  letter-spacing: -.005em;
  color: rgba(250,250,247,.78);
  transition: color .3s ease, background .3s ease, border-color .3s ease;
  white-space: nowrap;
}
.brand-cell:hover {
  color: var(--gold);
  background: rgba(228,181,58,.06);
  border-color: rgba(228,181,58,.3);
}

/* ===== Zonas ============================================================ */
.zones-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .zones-wrap { grid-template-columns: 1fr; gap: 40px; }
}
.zones-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 32px;
}
.zone {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 500;
  border-radius: 999px;
  transition: transform .25s ease, border-color .25s ease, color .25s ease;
}
.zone:hover { transform: translateY(-3px); border-color: var(--ink); color: var(--gold-deep); }
.zone::before {
  content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%;
}
.zone--featured {
  background: linear-gradient(120deg, var(--ink), var(--ink-3));
  color: var(--paper); border-color: var(--ink);
}
.zone--featured::before { background: var(--gold-warm); }

.map-card {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  aspect-ratio: 4/5;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.map-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 30% at 50% 50%, rgba(228,181,58,.35), transparent 70%),
    radial-gradient(60% 50% at 80% 20%, rgba(214,138,60,.15), transparent 70%);
  filter: blur(20px);
  animation: meshDrift 18s ease-in-out infinite alternate;
}
.map-card svg.bg-map {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .55;
}
.map-card__label {
  position: relative; z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.map-card__title {
  position: relative; z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px); line-height: 1.05; letter-spacing: -.02em;
  font-weight: 700; margin: 0 0 12px;
}
.map-card__gmaps {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 10px 18px;
  background: rgba(228,181,58,.12);
  border: 1px solid rgba(228,181,58,.35);
  border-radius: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.map-card:hover .map-card__gmaps,
.map-card:focus .map-card__gmaps {
  background: rgba(228,181,58,.22);
  border-color: var(--gold);
  transform: translateX(4px);
}

/* make the a tag look like a div */
a.map-card {
  display: block;
  text-decoration: none;
  cursor: pointer;
}
a.map-card:hover { box-shadow: 0 32px 80px rgba(0,0,0,.55), 0 0 0 2px var(--gold); }

.map-card__sub {
  position: relative; z-index: 2;
  color: rgba(250,250,247,.7); font-size: 14px; max-width: 32ch;
}

/* ===== Nosotros ========================================================== */
.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 980px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
}
.about__text p { font-size: 17px; line-height: 1.7; color: var(--graphite); margin: 0 0 20px; }
.about__text p strong { color: var(--ink); font-weight: 600; }
.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.about__stat {
  background: var(--white);
  padding: 28px 24px;
  border-radius: 14px;
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.about__stat:hover { transform: translateY(-3px); border-color: var(--ink); }
.about__stat::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--copper));
}
.about__stat b {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700; letter-spacing: -.02em; line-height: 1;
  color: var(--ink); display: block; margin-bottom: 12px;
}
.about__stat b em { font-style: normal; color: var(--gold-deep); }
.about__stat span { font-size: 12.5px; color: var(--graphite); letter-spacing: .04em; }

/* ===== FAQ =============================================================== */
.faq { display: grid; gap: 0; max-width: 920px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  transition: padding .3s ease;
}
.faq details[open] { padding-bottom: 36px; }
.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 22px); font-weight: 600;
  letter-spacing: -.01em;
  transition: color .25s ease;
}
.faq summary:hover { color: var(--gold-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 24px; font-weight: 300;
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  transition: transform .3s var(--ease-bounce), background .3s ease, color .3s ease, border-color .3s ease;
  flex-shrink: 0;
}
.faq summary:hover::after { border-color: var(--ink); }
.faq details[open] summary::after {
  content: "−";
  background: linear-gradient(135deg, var(--gold), var(--copper));
  color: var(--ink); border-color: transparent;
  transform: rotate(180deg);
}
.faq-body { color: var(--graphite); font-size: 16px; line-height: 1.7; padding-top: 18px; max-width: 64ch; }

/* ===== CTA final ======================================================== */
.cta-final {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(72px, 9vw, 120px);
}
.cta-final::before {
  content: ""; position: absolute; inset: -10%;
  background:
    radial-gradient(45% 40% at 25% 30%, rgba(228,181,58,.45), transparent 65%),
    radial-gradient(40% 35% at 75% 65%, rgba(214,138,60,.35), transparent 65%),
    radial-gradient(50% 50% at 50% 100%, rgba(177,58,78,.25), transparent 65%);
  filter: blur(40px);
  animation: meshDrift 20s ease-in-out infinite alternate;
}
.cta-final__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 64px; align-items: center;
}
@media (max-width: 980px) { .cta-final__inner { grid-template-columns: 1fr; gap: 36px; } }
.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.0; letter-spacing: -.028em;
  font-weight: 700; margin: 0;
  color: var(--paper);
}
.cta-final__title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-warm), var(--gold), var(--copper));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-final__sub { font-size: 17px; max-width: 50ch; margin: 22px 0 0; color: rgba(250,250,247,.75); }
.cta-final__side {
  display: flex; flex-direction: column; gap: 12px;
}

/* ===== Footer ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(250,250,247,.7);
  padding-block: 80px 36px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "LA GRAN BERNAL";
  position: absolute; left: 0; right: 0; bottom: -30px;
  font-family: var(--font-display);
  font-size: clamp(60px, 14vw, 220px);
  font-weight: 800;
  letter-spacing: -.04em;
  text-align: center;
  background: linear-gradient(180deg, rgba(228,181,58,.10), transparent 60%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
  pointer-events: none;
  line-height: .8;
}
.footer-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-col a { font-size: 14.5px; color: rgba(250,250,247,.7); transition: color .25s ease, transform .25s ease; display: inline-block; }
.footer-col a:hover { color: var(--gold); transform: translateX(4px); }
.footer-col p { font-size: 14px; line-height: 1.7; margin: 0 0 14px; }
.footer-col p strong { color: var(--paper); font-weight: 500; }
.footer-bottom {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 12.5px;
  color: rgba(250,250,247,.5);
}

/* ===== Floating WhatsApp ================================================ */
.wa-float {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 80;
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--whatsapp); color: #fff;
  padding: 16px 24px 16px 18px;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(37, 211, 102, .4);
  font-weight: 600; font-size: 14px;
  transition: transform .25s var(--ease-bounce), box-shadow .25s ease;
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 24px 50px rgba(37,211,102,.55); }
.wa-float svg { width: 22px; height: 22px; fill: currentColor; }
.wa-float .wa-pulse {
  position: absolute; inset: -6px;
  border-radius: 999px;
  background: var(--whatsapp);
  opacity: .35;
  animation: wa-pulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0% { transform: scale(.95); opacity: .45; }
  70% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}
@media (max-width: 600px) {
  .wa-float .wa-label { display: none; }
  .wa-float { padding: 16px; }
}

/* ===== Reveal on scroll ================================================== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-stagger] > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
.reveal.is-in[data-stagger] > * { opacity: 1; transform: none; }
.reveal.is-in[data-stagger] > *:nth-child(1) { transition-delay: .05s; }
.reveal.is-in[data-stagger] > *:nth-child(2) { transition-delay: .12s; }
.reveal.is-in[data-stagger] > *:nth-child(3) { transition-delay: .19s; }
.reveal.is-in[data-stagger] > *:nth-child(4) { transition-delay: .26s; }
.reveal.is-in[data-stagger] > *:nth-child(5) { transition-delay: .33s; }
.reveal.is-in[data-stagger] > *:nth-child(6) { transition-delay: .40s; }
.reveal.is-in[data-stagger] > *:nth-child(7) { transition-delay: .47s; }
.reveal.is-in[data-stagger] > *:nth-child(8) { transition-delay: .54s; }

/* ===== Utility =========================================================== */
.muted { color: var(--graphite); }
/* Reduced-motion: keep gentle transitions, only kill long looping animations */
@media (prefers-reduced-motion: reduce) {
  .hero__mesh, .hero__particles, .site-footer::before,
  .cta-final::after, .map-card svg.bg-map, .cat__media,
  .hero__tag, .hero__live, .wa-float {
    animation: none !important;
  }
}
