/* ============================================
   DBatule — Sistema visual premium
   Restaurant + Bar nocturno · Vedado, La Habana
============================================ */

:root {
  /* Paleta cálida oscura */
  --ink:        #0a0805;
  --ink-2:      #110d09;
  --ink-3:      #181410;
  --ink-card:   #1d1814;
  --ink-card-2: #221c17;
  --line:       rgba(201, 169, 110, .14);
  --line-strong: rgba(201, 169, 110, .35);

  /* Texto */
  --cream:    #f5ebd9;
  --cream-2:  #e8dcc4;
  --muted:    #9b9082;
  --dim:      #6f6557;

  /* Acentos */
  --gold:        #c9a96e;
  --gold-soft:   #b3935a;
  --gold-bright: #e2c285;
  --ember:       #d8472b;
  --ember-soft:  #b53a23;
  --wa:          #25d366;

  /* Sombras */
  --glow-gold: 0 0 60px rgba(201, 169, 110, .25);
  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,.75);
  --shadow-md: 0 12px 30px -10px rgba(0,0,0,.55);

  /* Espaciado y radios */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --container: 1240px;

  /* Tipos */
  --f-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --f-head:    'Bebas Neue', Impact, sans-serif;
  --f-sans:    'Inter', -apple-system, system-ui, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-sans);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.7;
  font-weight: 400;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Textura ruido sutil global */
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  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 .04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .8;
  mix-blend-mode: overlay;
}
body > * { position: relative; z-index: 2; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold-bright); }

button { font-family: inherit; cursor: pointer; }

/* TIPOGRAFÍA */
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.05;
  color: var(--cream);
}
h1 { font-size: clamp(3rem, 9vw, 7rem); letter-spacing: .04em; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: .03em; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }

.display {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}

.kicker {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--gold);
  letter-spacing: .18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .25rem;
}
.kicker::before, .kicker::after {
  content: ''; height: 1px; width: 40px; background: var(--gold);
  display: inline-block;
}

.eyebrow {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  font-size: 1.15rem;
  letter-spacing: .08em;
}

.lead {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  color: var(--cream);
  line-height: 1.55;
}

.muted { color: var(--muted); }

p {
  color: var(--cream-2);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* CONTAINER */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.75rem; }
.text-center { text-align: center; }
.mt-3 { margin-top: 2.5rem; }

/* ORNAMENTO ORO */
.ornament {
  display: inline-block; width: 60px; height: 12px;
  margin: 1.25rem auto;
  background:
    linear-gradient(90deg, transparent 0%, var(--gold) 40%, var(--gold) 60%, transparent 100%) center/100% 1px no-repeat;
  position: relative;
}
.ornament::after {
  content: '◆'; color: var(--gold); font-size: 8px;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--ink); padding: 0 6px;
}

/* ============================================
   TOPBAR
============================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 0;
  transition: background .3s, padding .3s, backdrop-filter .3s;
}
.topbar.scrolled {
  background: rgba(10, 8, 5, .85);
  backdrop-filter: blur(14px) saturate(140%);
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; gap: 1.5rem;
}
.logo { display: flex; align-items: center; gap: .85rem; transition: opacity .25s; }
.logo:hover { opacity: .82; color: var(--cream); }
.logo-mark {
  width: 44px; height: 44px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display); font-style: italic;
  font-size: 1.5rem; color: var(--gold);
  position: relative;
}
.logo-mark::after {
  content: ''; position: absolute; inset: 4px;
  border: 1px solid var(--gold-soft); border-radius: 50%;
  opacity: .35;
}
.logo-text {
  font-family: var(--f-head);
  font-size: 1.45rem;
  letter-spacing: .15em;
  color: var(--cream);
}
.logo-sub {
  font-family: var(--f-display); font-style: italic;
  font-size: .75rem; color: var(--gold);
  letter-spacing: .25em; text-transform: uppercase;
  display: block; margin-top: -2px;
}
.nav { display: flex; gap: 2.25rem; margin-left: auto; }
.nav a {
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--cream-2);
  position: relative;
  padding: .35rem 0;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s ease;
}
.nav a:hover, .nav a.active { color: var(--cream); }
.nav a:hover::after, .nav a.active::after {
  transform: scaleX(1); transform-origin: left;
}
.nav-toggle {
  display: none; background: none; border: 0; color: var(--cream);
  font-size: 1.4rem; padding: .5rem;
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 2.2rem;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  font-family: var(--f-sans);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-bright); border-color: var(--gold-bright);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}
.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn-outline:hover {
  background: var(--cream); color: var(--ink); transform: translateY(-2px);
}
.btn-ghost {
  background: transparent; color: var(--gold);
  border-color: var(--gold);
}
.btn-ghost:hover {
  background: var(--gold); color: var(--ink);
}
.btn-wa {
  background: var(--wa); color: white; border-color: var(--wa);
  padding: .8rem 1.4rem; font-size: .72rem;
}
.btn-wa:hover { background: #1eb858; border-color: #1eb858; color: white; }
.btn-sm { padding: .65rem 1.35rem; font-size: .7rem; letter-spacing: .2em; }

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(216, 71, 43, .14), transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(201, 169, 110, .12), transparent 50%),
    linear-gradient(135deg, #1a0e0a 0%, #0a0805 60%, #050302 100%);
  background-color: var(--ink);
}
.hero-bg.has-image {
  background-size: cover; background-position: center;
  animation: kenburns 20s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0%   { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.15) translate(-1.5%, -1%); }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at center 55%, rgba(10, 8, 5, .35) 0%, rgba(10, 8, 5, .85) 70%),
    linear-gradient(180deg, rgba(10, 8, 5, .55) 0%, rgba(10, 8, 5, .75) 50%, var(--ink) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='5'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .12 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: .9;
}
.hero-content {
  text-align: center;
  padding: 9rem 1.75rem 6rem;
  max-width: 980px;
  width: 100%;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .55);
}
.hero-content > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) backwards; }
.hero-content > *:nth-child(1) { animation-delay: .1s; }
.hero-content > *:nth-child(2) { animation-delay: .25s; }
.hero-content > *:nth-child(3) { animation-delay: .4s; }
.hero-content > *:nth-child(4) { animation-delay: .55s; }
.hero-content > *:nth-child(5) { animation-delay: .7s; }
.hero-content > *:nth-child(6) { animation-delay: .85s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-size: clamp(3.4rem, 10vw, 8rem);
  margin: 1rem 0;
  line-height: .95;
  color: #fff;
}
.hero h1 .accent {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 500;
  display: block;
  font-size: .42em;
  letter-spacing: .04em;
  margin-top: .15em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .8);
}
.hero-slogan {
  font-family: var(--f-display); font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  color: var(--cream);
  margin: 1.5rem auto 0; max-width: 640px;
  line-height: 1.5;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .65);
}
.hero-meta {
  display: inline-flex; align-items: center; gap: 1.5rem;
  margin: 2rem 0 2.5rem;
  font-size: .82rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 500;
}
.hero-meta span { position: relative; }
.hero-meta span:not(:last-child)::after {
  content: ''; position: absolute; right: -.85rem; top: 50%;
  width: 4px; height: 4px; border-radius: 50%; background: var(--gold);
  transform: translateY(-50%);
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  font-family: var(--f-display); font-style: italic;
  font-size: .8rem; color: var(--gold);
  letter-spacing: .3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  z-index: 5;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   SECTIONS
============================================ */
.section { padding: 8rem 0; position: relative; }
.section-tight { padding: 5rem 0; }

.section-dark { background: var(--ink-2); }
.section-darker { background: linear-gradient(180deg, var(--ink) 0%, #050302 100%); }

.section-divider {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

.section-head {
  text-align: center; margin-bottom: 4.5rem;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.section-head h2 { margin: 1rem 0 1.25rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* MANIFIESTO (about / intro) */
.manifesto {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.manifesto-text .display-quote {
  font-family: var(--f-display); font-style: italic;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.25;
  color: var(--cream);
  margin: 1.25rem 0 1.5rem;
}
.manifesto-text p {
  font-size: 1.05rem;
  color: var(--cream-2);
  margin-bottom: 1.25rem;
  max-width: 540px;
}
.manifesto-img {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.manifesto-img-inner {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(216, 71, 43, .35), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(201, 169, 110, .3), transparent 55%),
    linear-gradient(135deg, #2a1810, #0a0805);
  background-size: cover; background-position: center;
  transition: transform 1.2s ease;
}
.manifesto-img:hover .manifesto-img-inner { transform: scale(1.06); }
.manifesto-img::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid var(--line-strong);
  pointer-events: none; border-radius: var(--r-sm);
}
.manifesto-img .frame-deco {
  position: absolute; bottom: -20px; right: -20px;
  width: 100%; height: 100%;
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-sm);
  z-index: -1;
  opacity: .5;
}

.stat-row {
  display: flex; gap: 2.5rem; margin-top: 2.5rem;
  flex-wrap: wrap;
}
.stat .num {
  font-family: var(--f-head);
  font-size: 3rem; color: var(--gold);
  line-height: 1; display: block;
}
.stat .label {
  font-size: .75rem; letter-spacing: .25em;
  color: var(--muted); text-transform: uppercase;
}

/* ============================================
   CARDS DESTACADOS (luxury restaurant style)
============================================ */
.featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2rem;
}
.fcard {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-card);
  border: 1px solid var(--line);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .5s;
}
.fcard:hover {
  transform: translateY(-8px);
  border-color: var(--gold-soft);
}
.fcard-media {
  aspect-ratio: 4/3;
  position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, #2a1810, #1a0e0a);
}
.fcard-media-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1);
}
.fcard:hover .fcard-media-img { transform: scale(1.08); }
.fcard-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 8, 5, .8));
}
.fcard-tag {
  position: absolute; top: 1rem; left: 1rem;
  padding: .35rem .85rem;
  background: rgba(10, 8, 5, .7);
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  font-size: .65rem; letter-spacing: .25em; text-transform: uppercase;
  z-index: 2; backdrop-filter: blur(8px);
  font-weight: 600;
}
.fcard-body {
  padding: 1.75rem;
  position: relative;
}
.fcard-body h3 { margin-bottom: .35rem; }
.fcard-body .cat-name {
  font-family: var(--f-display); font-style: italic;
  font-size: .9rem; color: var(--gold);
  letter-spacing: .1em;
  display: block; margin-bottom: .5rem;
}
.fcard-body p {
  font-size: .92rem; color: var(--muted);
  margin: .65rem 0 1.25rem;
  line-height: 1.55;
}
.fcard-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.precio {
  font-family: var(--f-head);
  font-size: 1.55rem;
  color: var(--gold);
  letter-spacing: .04em;
}
.precio small {
  font-size: .55em; opacity: .7;
  margin-left: .25rem;
  letter-spacing: .15em;
}
.fcard-icon-empty {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--f-display); font-style: italic;
  font-size: 4rem; color: var(--gold-soft);
  opacity: .3;
}

/* ============================================
   CATEGORÍAS GRID (tiles con BG)
============================================ */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.cat-tile {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem 1.5rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, #1a120c, #0a0805);
  transition: transform .5s, border-color .4s;
  isolation: isolate;
  color: var(--cream);
}
.cat-tile:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  color: var(--cream);
}
.cat-tile::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 50% 30%, var(--cat-tint, rgba(201, 169, 110, .22)), transparent 65%);
  transition: opacity .5s;
}
.cat-tile:hover::before { opacity: 1.5; }
.cat-tile::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 35%, rgba(10, 8, 5, .85) 95%);
}
.cat-tile .cat-icon {
  font-size: 3rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.45));
  margin-bottom: .8rem;
}
.cat-tile .cat-name {
  font-family: var(--f-head);
  font-size: 1.6rem;
  letter-spacing: .08em;
  margin-bottom: .35rem;
}
.cat-tile .cat-desc {
  font-family: var(--f-display); font-style: italic;
  font-size: .92rem;
  color: var(--gold);
  letter-spacing: .03em;
}
.cat-tile .arrow {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 36px; height: 36px;
  border: 1px solid var(--gold-soft); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold);
  transition: all .3s;
}
.cat-tile:hover .arrow {
  background: var(--gold); color: var(--ink); transform: rotate(-45deg);
}

/* ============================================
   GALERÍA MASONRY
============================================ */
.gallery-mason {
  columns: 4 220px;
  column-gap: .75rem;
}
.gallery-mason .gitem {
  break-inside: avoid;
  margin-bottom: .75rem;
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: linear-gradient(135deg, #2a1810, #1a0e0a);
  cursor: pointer;
  transition: transform .5s;
}
.gallery-mason .gitem:hover { transform: scale(1.02); }
.gallery-mason .gitem .gimg {
  width: 100%;
  background-size: cover; background-position: center;
  background-color: #1a120c;
  transition: transform 1s;
}
.gallery-mason .gitem:nth-child(3n) .gimg { aspect-ratio: 3/4; }
.gallery-mason .gitem:nth-child(3n+1) .gimg { aspect-ratio: 1; }
.gallery-mason .gitem:nth-child(3n+2) .gimg { aspect-ratio: 4/3; }
.gallery-mason .gitem:hover .gimg { transform: scale(1.06); }
.gallery-mason .gitem::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 8, 5, .55));
  opacity: 0; transition: opacity .35s;
}
.gallery-mason .gitem:hover::after { opacity: 1; }

/* ============================================
   CITA / FRASE GRANDE
============================================ */
.pull-quote {
  text-align: center;
  max-width: 920px; margin: 0 auto;
  padding: 4rem 0;
  position: relative;
}
.pull-quote::before {
  content: '"';
  font-family: var(--f-display);
  font-size: 14rem; line-height: .8;
  color: var(--gold); opacity: .2;
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
}
.pull-quote blockquote {
  font-family: var(--f-display); font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  line-height: 1.4;
  color: var(--cream);
  margin: 0 0 1.5rem;
  position: relative;
}
.pull-quote cite {
  font-family: var(--f-display); font-style: italic;
  font-size: .95rem; color: var(--gold);
  letter-spacing: .25em; text-transform: uppercase;
  font-style: normal;
}

/* ============================================
   CTA FRANJA
============================================ */
.cta-banner {
  padding: 6rem 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(216, 71, 43, .18), transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(201, 169, 110, .15), transparent 55%),
    linear-gradient(135deg, #1a0e0a, #0a0805);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.cta-banner h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-bottom: 1rem;
}
.cta-banner h2 .display { color: var(--gold); }
.cta-banner .lead { margin-bottom: 2rem; max-width: 580px; margin-left: auto; margin-right: auto; }

/* ============================================
   PAGE HEADER (menú, contacto)
============================================ */
.page-header {
  padding: 11rem 0 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse at center 0%, rgba(216, 71, 43, .12), transparent 50%),
    var(--ink);
  border-bottom: 1px solid var(--line);
}
.page-header h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin: 1rem 0 .5rem;
}
.page-header .lead {
  max-width: 560px; margin: 1rem auto 0;
}

/* ============================================
   MENÚ (página /menu.php)
============================================ */
.cat-nav {
  display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center;
  padding: 1.5rem 0;
  position: sticky; top: 78px;
  background: rgba(10, 8, 5, .9);
  backdrop-filter: blur(14px);
  z-index: 30;
  border-bottom: 1px solid var(--line);
  margin-bottom: 5rem;
}
.cat-nav a {
  padding: .65rem 1.4rem;
  border: 1px solid var(--line);
  font-size: .72rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--cream-2);
  transition: all .25s;
  border-radius: 999px;
}
.cat-nav a:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(201, 169, 110, .06);
}

.cat-block {
  margin-bottom: 6rem;
  scroll-margin-top: 160px;
}
.cat-head {
  text-align: center; margin-bottom: 3rem;
}
.cat-head .icon {
  font-size: 2.5rem; display: block; margin-bottom: .8rem;
  filter: drop-shadow(0 4px 16px rgba(201, 169, 110, .3));
}
.cat-head h2 {
  margin-bottom: .5rem;
}
.cat-head .ornament { margin-top: 1rem; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1rem;
  max-width: 920px; margin: 0 auto;
}
.menu-row {
  display: flex; gap: 1.25rem;
  padding: 1.5rem;
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all .35s;
  align-items: flex-start;
}
.menu-row:hover {
  border-color: var(--gold-soft);
  background: var(--ink-card-2);
  transform: translateX(2px);
}
.menu-img {
  flex-shrink: 0;
  width: 110px; height: 110px;
  background-size: cover; background-position: center;
  border-radius: var(--r-sm);
  background-color: #2a1810;
  position: relative;
  overflow: hidden;
}
.menu-img-empty {
  display: grid; place-items: center;
  font-family: var(--f-display); font-style: italic;
  font-size: 2.5rem; color: var(--gold-soft); opacity: .5;
}
.menu-body { flex: 1; min-width: 0; }
.menu-title-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; margin-bottom: .35rem;
}
.menu-title-row h3 {
  font-family: var(--f-head);
  font-size: 1.3rem; letter-spacing: .04em;
  margin: 0;
}
.menu-row .precio { font-size: 1.3rem; flex-shrink: 0; }
.menu-row p {
  font-size: .9rem; color: var(--muted);
  margin-bottom: .9rem; line-height: 1.55;
}
.menu-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ============================================
   CONTACTO
============================================ */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.info-block {
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 2.5rem;
}
.info-block h2 { margin-bottom: 1.5rem; }
.info-list { list-style: none; }
.info-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  display: flex; gap: 1.25rem; align-items: flex-start;
}
.info-list li:last-child { border: 0; padding-bottom: 0; }
.info-list .ico {
  font-size: 1.6rem; line-height: 1;
  color: var(--gold);
  flex-shrink: 0;
  width: 34px;
}
.info-list .lbl {
  font-size: .7rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: .25rem;
}
.info-list a { color: var(--cream); }
.info-list a:hover { color: var(--gold); }

.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.mapa-wrap {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  filter: grayscale(20%) brightness(.85) contrast(1.1);
}
.mapa-wrap iframe {
  width: 100%; height: 540px;
  border: 0; display: block;
}

/* ============================================
   FOOTER
============================================ */
.footer {
  padding: 5rem 0 2rem;
  background: #050302;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer h3 {
  font-family: var(--f-head);
  font-size: 1.6rem; letter-spacing: .15em;
  color: var(--cream); margin-bottom: .5rem;
}
.footer .footer-tag {
  font-family: var(--f-display); font-style: italic;
  color: var(--gold); font-size: 1rem;
  letter-spacing: .05em;
  margin-bottom: 1rem;
}
.footer h4 {
  font-family: var(--f-sans); font-size: .75rem;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
  font-weight: 600;
}
.footer p, .footer a { color: var(--muted); font-size: .9rem; line-height: 1.8; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  color: var(--dim); font-size: .8rem;
  letter-spacing: .1em;
}

.socials { display: flex; gap: .75rem; margin-top: 1rem; }
.socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold);
  transition: all .25s;
  font-size: .9rem;
}
.socials a:hover {
  border-color: var(--gold); background: var(--gold); color: var(--ink);
}

/* ============================================
   CARRITO
============================================ */
.cart-btn {
  position: relative;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--cream);
  cursor: pointer;
  display: grid; place-items: center;
  transition: all .25s;
}
.cart-btn:hover { border-color: var(--gold); color: var(--gold); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--ember);
  color: white;
  font-size: .7rem; font-weight: 700;
  display: grid; place-items: center;
  padding: 0 5px;
  border: 2px solid var(--ink);
  opacity: 0; transform: scale(.5);
  transition: all .25s;
}
.cart-count.has-items { opacity: 1; transform: scale(1); }

.cart-panel {
  position: fixed; inset: 0; z-index: 200;
  pointer-events: none;
}
.cart-panel.open { pointer-events: auto; }
.cart-overlay {
  position: absolute; inset: 0;
  background: rgba(10, 8, 5, .65);
  backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s;
}
.cart-panel.open .cart-overlay { opacity: 1; }
.cart-drawer {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 100%; max-width: 440px;
  background: var(--ink-2);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -20px 0 60px rgba(0,0,0,.5);
}
.cart-panel.open .cart-drawer { transform: translateX(0); }
.cart-head {
  padding: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 {
  font-family: var(--f-head);
  font-size: 1.6rem;
  letter-spacing: .12em;
  color: var(--cream);
}
.cart-close {
  background: transparent; border: 0;
  color: var(--cream); font-size: 1.8rem;
  cursor: pointer;
  width: 36px; height: 36px;
  display: grid; place-items: center;
}
.cart-close:hover { color: var(--gold); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}
.cart-empty {
  text-align: center;
  color: var(--muted);
  padding: 4rem 1rem;
  font-family: var(--f-display); font-style: italic;
  font-size: 1.1rem;
}
.cart-empty small {
  display: block; margin-top: .5rem;
  font-style: normal; font-family: var(--f-sans);
  font-size: .85rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border: 0; }
.ci-info strong {
  display: block;
  font-size: .95rem; color: var(--cream);
  margin-bottom: .15rem;
}
.ci-info small { color: var(--muted); font-size: .8rem; }
.ci-qty {
  display: flex; align-items: center; gap: .5rem;
  background: var(--ink); border: 1px solid var(--line);
  border-radius: 999px; padding: .25rem;
}
.ci-qty button {
  width: 26px; height: 26px;
  border: 0; background: transparent;
  color: var(--cream); font-size: 1rem;
  cursor: pointer; border-radius: 50%;
  display: grid; place-items: center;
}
.ci-qty button:hover { background: var(--gold); color: var(--ink); }
.ci-qty span { min-width: 20px; text-align: center; font-weight: 600; }
.ci-subt {
  font-family: var(--f-head);
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: .04em;
}
.ci-rm {
  background: transparent; border: 0;
  color: var(--muted);
  width: 28px; height: 28px;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50%;
}
.ci-rm:hover { background: rgba(216,71,43,.15); color: var(--ember); }

.cart-foot {
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--ink);
}
.cart-total {
  display: flex; justify-content: space-between;
  align-items: baseline;
  padding: .5rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.25rem;
}
.cart-total span {
  font-family: var(--f-display); font-style: italic;
  color: var(--muted);
  font-size: 1.1rem;
}
.cart-total strong {
  font-family: var(--f-head);
  color: var(--gold);
  font-size: 2rem;
  letter-spacing: .04em;
  font-weight: 400;
}
.cart-send { width: 100%; }
.btn-link-clear {
  display: block; width: 100%;
  margin-top: .75rem;
  background: transparent; border: 0;
  color: var(--muted); font-size: .8rem;
  letter-spacing: .15em; text-transform: uppercase;
  cursor: pointer; padding: .5rem;
}
.btn-link-clear:hover { color: var(--ember); }

.cart-toast {
  position: fixed; bottom: 6rem; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--gold);
  color: var(--ink);
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600; font-size: .9rem;
  letter-spacing: .03em;
  z-index: 250;
  box-shadow: 0 8px 30px rgba(201,169,110,.4);
  opacity: 0;
  transition: all .3s;
  white-space: nowrap;
}
.cart-toast.show {
  opacity: 1; transform: translate(-50%, 0);
}

/* ============================================
   FORMULARIOS
============================================ */
.form-card {
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 2.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-group {
  display: flex; flex-direction: column;
  gap: .5rem; margin-bottom: 1.25rem;
}
.form-group label {
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--cream);
  padding: .9rem 1.1rem;
  border-radius: var(--r-sm);
  font-family: var(--f-sans);
  font-size: 1rem;
  transition: border-color .25s, background .25s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 0;
  border-color: var(--gold);
  background: var(--ink-card-2);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--dim); }
.form-group textarea { resize: vertical; min-height: 100px; font-family: var(--f-sans); }

.form-submit { width: 100%; margin-top: .5rem; }
.form-note {
  font-size: .85rem; color: var(--muted);
  margin-top: 1rem; text-align: center;
  font-family: var(--f-display); font-style: italic;
}
.alert-err {
  background: rgba(216, 71, 43, .12);
  border: 1px solid rgba(216, 71, 43, .35);
  color: #f4a89a;
  padding: 1rem 1.25rem;
  border-radius: var(--r-sm);
  margin-bottom: 1.5rem;
  font-size: .92rem;
}

.card-success {
  background: var(--ink-card);
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-md);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--glow-gold);
}
.card-success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 3rem;
  margin: 0 auto 1.5rem;
  display: grid; place-items: center;
  font-weight: 700;
}
.card-success h2 { color: var(--gold); margin-bottom: 1rem; }

/* Star rating */
.star-rating {
  display: inline-flex; flex-direction: row-reverse;
  gap: .35rem;
}
.star-rating input { display: none; }
.star-rating label {
  font-size: 2.2rem; color: var(--dim);
  cursor: pointer;
  transition: color .15s;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(201,169,110,.5);
}

/* ============================================
   EVENTOS / RESEÑAS / NEWSLETTER
============================================ */
.events-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.event-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .35s, border-color .35s;
}
.event-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-soft);
}
.event-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--ink-card), rgba(201,169,110,.06));
}
.event-date {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: rgba(10,8,5,.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: .5rem .85rem;
  border-radius: var(--r-sm);
  font-family: var(--f-head);
  font-size: 1.1rem;
  letter-spacing: .08em;
}
.event-media {
  aspect-ratio: 16/9;
  background-size: cover; background-position: center;
  background-color: var(--ink-3);
  position: relative;
}
.event-media-empty {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(216,71,43,.4), transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(201,169,110,.35), transparent 55%),
    linear-gradient(135deg, #2a1810, #0a0805);
}
.event-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.event-tag {
  display: inline-block;
  font-size: .65rem; letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ember); font-weight: 600;
  margin-bottom: .5rem;
}
.event-tag.promo { color: var(--gold); }
.event-body h3 { margin-bottom: .35rem; }
.event-sub {
  font-family: var(--f-display); font-style: italic;
  color: var(--gold); font-size: 1rem;
  margin-bottom: .8rem;
}
.event-body p { font-size: .92rem; color: var(--muted); flex: 1; }
.event-when {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--cream-2);
  display: flex; align-items: center; gap: .5rem;
}
.event-when .when-icon { color: var(--gold); }

/* Reseñas */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 2rem;
  position: relative;
  transition: border-color .35s;
}
.review-card:hover { border-color: var(--gold-soft); }
.review-card::before {
  content: '"';
  position: absolute; top: -.5rem; right: 1.5rem;
  font-family: var(--f-display);
  font-size: 6rem; line-height: 1;
  color: var(--gold); opacity: .15;
}
.review-stars {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.review-comment {
  font-family: var(--f-display); font-style: italic;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.review-author {
  display: flex; justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.review-author strong { color: var(--cream); }
.review-author .when { font-size: .8rem; color: var(--muted); }

.reviews-stats {
  text-align: center;
  margin-bottom: 3rem;
}
.reviews-rating-big {
  font-family: var(--f-head);
  font-size: 4rem; color: var(--gold);
  line-height: 1;
}
.reviews-stats .stars { font-size: 1.5rem; color: var(--gold); letter-spacing: 6px; }
.reviews-stats small { color: var(--muted); display: block; margin-top: .5rem; letter-spacing: .15em; text-transform: uppercase; }

/* Newsletter */
.newsletter-band {
  padding: 5rem 0;
  background:
    linear-gradient(135deg, rgba(216,71,43,.08), rgba(201,169,110,.05)),
    var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.newsletter-form {
  display: flex; gap: .5rem;
  max-width: 480px; margin: 1.5rem auto 0;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1; min-width: 200px;
  padding: 1rem 1.25rem;
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--cream);
  border-radius: 999px;
  font-size: 1rem;
}
.newsletter-form input:focus { outline: 0; border-color: var(--gold); }
.newsletter-form button {
  padding: 1rem 2rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  border: 0;
  font-weight: 600; letter-spacing: .25em; text-transform: uppercase;
  font-size: .8rem;
  cursor: pointer;
  transition: background .25s;
}
.newsletter-form button:hover { background: var(--gold-bright); }
.newsletter-msg { margin-top: 1rem; font-size: .9rem; }
.newsletter-msg.ok { color: var(--gold); }
.newsletter-msg.err { color: #f4a89a; }

/* ============================================
   MENÚ ITEM ADD-TO-CART
============================================ */
.add-to-cart {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: .55rem 1.1rem;
  border-radius: 999px;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  font-family: var(--f-sans);
}
.add-to-cart:hover {
  background: var(--gold); color: var(--ink);
  transform: translateY(-1px);
}
.add-to-cart::before { content: '+ '; }

/* ============================================
   WHATSAPP FLOAT
============================================ */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: white;
  display: grid; place-items: center;
  box-shadow:
    0 12px 30px rgba(37, 211, 102, .4),
    0 0 0 0 rgba(37, 211, 102, .55);
  transition: transform .25s;
  animation: pulse-wa 2.4s ease-out infinite;
}
.wa-float:hover { transform: scale(1.1); color: white; }
@keyframes pulse-wa {
  0%   { box-shadow: 0 12px 30px rgba(37, 211, 102, .4), 0 0 0 0 rgba(37, 211, 102, .55); }
  100% { box-shadow: 0 12px 30px rgba(37, 211, 102, .4), 0 0 0 22px rgba(37, 211, 102, 0); }
}

/* ============================================
   ANIMACIONES SCROLL
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 980px) {
  .manifesto { grid-template-columns: 1fr; gap: 2.5rem; }
  .contacto-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; margin-left: auto; }
  .nav {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; gap: 0;
    background: rgba(10, 8, 5, .98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
    transform: translateY(-110%);
    transition: transform .4s cubic-bezier(.2,.8,.2,1);
  }
  body.nav-open .nav { transform: translateY(0); }
  .nav a {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }
  .btn-wa { padding: .55rem 1rem; font-size: .65rem; }
  .topbar-inner { gap: .75rem; }
  .logo-text { font-size: 1.15rem; letter-spacing: .12em; }
  .logo-mark { width: 38px; height: 38px; font-size: 1.2rem; }

  .section { padding: 5rem 0; }
  .hero-content { padding: 7rem 1.5rem 5rem; }
  .hero-meta { flex-direction: column; gap: .5rem; }
  .hero-meta span:not(:last-child)::after { display: none; }

  .menu-row { flex-direction: column; }
  .menu-img { width: 100%; height: 180px; }

  .footer-grid { grid-template-columns: 1fr; }

  .gallery-mason { columns: 2 140px; }
  .pull-quote::before { font-size: 8rem; top: -1.5rem; }
}

@media (max-width: 480px) {
  .btn { padding: .85rem 1.6rem; font-size: .72rem; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
