/* =========================================================
   Asador Castilla — Propuesta de rediseño
   Estética de asador tradicional: madera oscura, vino, hierro
   forjado y dorado envejecido. Sobrio, sin artificios de "app".
   ========================================================= */

:root {
  /* Marca */
  --wine-900: #3c0f14;
  --wine-700: #6b1d23;
  --wine-500: #8f2a2f;
  --wine-300: #c98f8f;
  --wine-050: #f7ede9;

  --ember-dark: #7a2e12;
  --gold: #ad8438;
  --gold-light: #d9b56c;

  /* Neutros — madera y carbón, no blanco de "app" */
  --ink: #221b16;
  --ink-soft: #5b5049;
  --line: #e2d6c6;
  --bg: #fbf7f0;
  --bg-soft: #f1e8db;
  --bg-dark: #17110d;
  --white: #ffffff;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 4px 14px rgba(23, 17, 13, .08);
  --shadow: 0 14px 34px rgba(23, 17, 13, .16);
  --shadow-lg: 0 24px 60px rgba(23, 17, 13, .28);

  --maxw: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', 'Georgia', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 600; letter-spacing: -.01em; }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

/* Eyebrow: pequeña versalita con líneas doradas a los lados, no una píldora de color */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--gold); }

.section { padding: clamp(60px, 8vw, 110px) 0; }
.section-head { max-width: 640px; margin-bottom: 50px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow::after { content: ''; width: 26px; height: 1px; background: var(--gold); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 16px 0 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .96rem;
  padding: 14px 28px; border-radius: var(--radius);
  cursor: pointer; border: 1.5px solid transparent; transition: background .25s var(--ease), color .25s, border-color .25s;
  white-space: nowrap; letter-spacing: .02em;
}
.btn-primary { background: var(--wine-700); color: #fff; }
.btn-primary:hover { background: var(--wine-900); }
.btn-wa { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-wa:hover { border-color: #25D366; color: #1a8f47; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--wine-700); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 20px 0; transition: padding .35s var(--ease), background .35s, box-shadow .35s;
}
.header.scrolled { background: rgba(23,17,13,.94); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0,0,0,.25); padding: 13px 0; }

/* Header sobre el hero (foto): siempre en tono oscuro, coherente con la marca */
.header--hero::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 150px; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,6,4,.7), rgba(10,6,4,0));
  z-index: 0; transition: opacity .35s;
}
.header--hero.scrolled::before { opacity: 0; }
.header .nav { position: relative; z-index: 1; }
.header .brand { color: #fff; }
.header .nav-links > a { color: rgba(255,255,255,.86); }
.header .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.header .btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.header .burger { color: #fff; }

.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: .01em; }
.brand b { font-weight: 700; color: var(--gold-light); }

.nav-links { display: flex; align-items: center; gap: 30px; font-weight: 500; font-size: .9rem; letter-spacing: .03em; text-transform: uppercase; }
.nav-links > a { transition: color .2s; position: relative; }
.nav-links > a:hover { color: var(--gold-light); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; background: none; border: 0; width: 28px; height: 28px; cursor: pointer; }
.burger svg { width: 100%; height: 100%; }

.mobile-menu {
  display: none; flex-direction: column; gap: 2px;
  position: fixed; left: 0; right: 0; top: 0; z-index: 99;
  background: var(--bg-dark); box-shadow: var(--shadow-lg);
  padding: 90px 24px 24px; max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease);
}
.mobile-menu.open { max-height: 100vh; overflow-y: auto; }
.mm-link { padding: 14px 6px; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 500; color: rgba(255,255,255,.88); text-transform: uppercase; font-size: .88rem; letter-spacing: .03em; }
.mm-cta { justify-content: center; margin-top: 16px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .burger { display: block; }
  .mobile-menu { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(10,6,4,.35) 0%, rgba(10,6,4,.55) 55%, rgba(10,6,4,.88) 100%), url('img/fachada-noche.jpg') center 65% / cover no-repeat;
}
.hero-inner { color: #fff; max-width: 680px; }
.hero .eyebrow { color: var(--gold-light); }
.hero .eyebrow::before { background: var(--gold-light); }
.hero h1 { font-size: clamp(2.2rem, 5.6vw, 3.8rem); margin: 22px 0 18px; font-weight: 500; }
.hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 600; }
.hero .lead { font-size: 1.12rem; color: rgba(255,255,255,.82); max-width: 540px; margin-bottom: 34px; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.hero .btn-wa { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn-wa:hover { border-color: #25D366; color: #4ee08a; }
.hero-since { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.65); font-size: .88rem; letter-spacing: .04em; }
.hero-since b { color: var(--gold-light); font-family: var(--font-display); font-size: 1.1rem; }
.hero-since .div { width: 1px; height: 22px; background: rgba(255,255,255,.3); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }

/* ---------- El Asador (texto + foto) ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text .section-head { margin-bottom: 30px; }
.about-text > p { color: var(--ink-soft); margin-bottom: 26px; font-size: 1.02rem; }
.trait-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.trait { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.trait .num { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold); font-weight: 600; flex-shrink: 0; width: 28px; }
.trait h4 { font-size: 1.02rem; margin-bottom: 4px; }
.trait p { color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 34px; } .about-photo { aspect-ratio: 16/9; } }

.zones { background: var(--bg-soft); }

/* Grid genérico reutilizado por valor.html (tarjetas de "seis mejoras") */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }

/* ---------- La Carta: menú real, estilo carta impresa ---------- */
.menu-tabs-note { text-align: center; color: var(--ink-soft); font-size: .92rem; margin-bottom: 40px; }
.menu-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; }
.menu-category { margin-bottom: 40px; break-inside: avoid; }
.menu-category h3 {
  font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600;
  color: var(--wine-700); padding-bottom: 10px; border-bottom: 2px solid var(--gold); margin-bottom: 6px;
}
.menu-list { list-style: none; }
.menu-item { display: flex; align-items: baseline; gap: 8px; padding: 13px 0; border-bottom: 1px dotted var(--line); }
.menu-item .name { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .98rem; }
.menu-item .name small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--ink-soft); font-size: .82rem; margin-top: 2px; letter-spacing: 0; text-transform: none; }
.menu-item .leader { flex: 1; border-bottom: 1px dotted var(--line); margin-bottom: 5px; min-width: 16px; }
.menu-item .price { font-family: var(--font-display); font-weight: 700; color: var(--wine-700); white-space: nowrap; font-size: .96rem; }
@media (max-width: 820px) { .menu-cols { grid-template-columns: 1fr; } }

.menu-note {
  background: var(--bg-soft); border-left: 3px solid var(--gold);
  padding: 18px 24px; margin-top: 10px; color: var(--ink-soft); font-size: .92rem;
}
.menu-note b { color: var(--wine-700); }

/* Menús cerrados: tarjetas sobrias */
.set-menus { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 50px; }
.set-menu { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; background: var(--white); }
.set-menu .price-tag { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--wine-700); float: right; }
.set-menu h4 { font-size: 1.1rem; margin-bottom: 14px; padding-right: 60px; }
.set-menu ul { list-style: none; color: var(--ink-soft); font-size: .9rem; display: grid; gap: 6px; }
.set-menu li { padding-left: 14px; position: relative; }
.set-menu li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }

/* Fotos de platos destacados */
.plato-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-bottom: 54px; }
.plato {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  aspect-ratio: 4/5;
}
.plato img { width: 100%; height: 100%; object-fit: cover; }
.plato-caption {
  position: absolute; inset: auto 0 0 0; padding: 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(10,6,4,.92));
  color: #fff;
}
.plato-caption .tag { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-light); margin-bottom: 3px; font-weight: 600; }
.plato-caption h3 { font-size: 1.1rem; color: #fff; }

/* ---------- Stats ---------- */
.stats { background: var(--bg-dark); border-radius: var(--radius-lg); padding: 46px 30px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat { border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stats .num { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 700; color: var(--gold-light); }
.stats .lbl { color: rgba(255,255,255,.62); font-size: .85rem; margin-top: 8px; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 18px; } }

/* ---------- Galería ---------- */
.gallery-teaser { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-teaser figure, .gallery figure { border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.gallery-teaser img, .gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s; filter: saturate(.94); }
.gallery-teaser figure:hover img, .gallery figure:hover img { transform: scale(1.05); filter: saturate(1.05); }
@media (max-width: 720px) { .gallery-teaser { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Celebraciones: menús de grupo reales ---------- */
.occasions { background: var(--bg-soft); }
.celeb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.celeb-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; }
.celeb-card .price-tag { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--wine-700); }
.celeb-card h4 { font-size: 1.02rem; margin: 6px 0 12px; }
.celeb-card p { font-size: .88rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Bodega ---------- */
.bodega-list { columns: 2; column-gap: 40px; }
@media (max-width: 720px) { .bodega-list { columns: 1; } }
.bodega-list .menu-item { break-inside: avoid; }

/* ---------- Info práctica ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.info-item { padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.info-item h4 { font-size: 1rem; margin-bottom: 8px; }
.info-item p { color: var(--ink-soft); font-size: .9rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: stretch; }
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 46px);
}
.contact-card .eyebrow { margin-bottom: 16px; }
.contact-card h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 14px; }
.contact-card > p { color: var(--ink-soft); margin-bottom: 26px; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-line small { display: block; color: var(--ink-soft); font-size: .8rem; }
.contact-line b { font-size: 1rem; font-weight: 600; }
.contact-actions { display: flex; gap: 12px; margin: 26px 0 22px; flex-wrap: wrap; }
.socials { display: flex; gap: 12px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--wine-700); transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--wine-700); color: #fff; border-color: var(--wine-700); }
.socials svg { width: 17px; height: 17px; }

.map-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; filter: grayscale(.15); }
.map-card iframe { width: 100%; height: 100%; border: 0; min-height: 320px; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- CTA final ---------- */
.cta-final { background: var(--bg-dark); }
.cta-box { text-align: center; color: #fff; }
.cta-box .eyebrow { justify-content: center; }
.cta-box .eyebrow::after { content: ''; width: 26px; height: 1px; background: var(--gold); }
.cta-box h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 14px 0; font-weight: 500; }
.cta-box p { color: rgba(255,255,255,.7); max-width: 520px; margin: 0 auto 28px; }
.cta-box .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.cta-box .btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.68); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h5 { color: #fff; font-family: var(--font-display); font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a:hover { color: var(--gold-light); }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%; background: var(--bg-dark); color: #25D366;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  border: 1.5px solid rgba(255,255,255,.15); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(10,6,4,.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 86vh; border-radius: 4px; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  width: 44px; height: 44px; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

@media (max-width: 720px) {
  .hero { padding-top: 90px; }
}
