/* Pizzería Demo (ficticia). Paleta vino + dorado, Fraunces para títulos. */
:root {
  --bg: #170a0d; --panel: #2a131a; --footer: #0c0507;
  --border: rgba(255,255,255,.09);
  --gold: #ab813d; --gold-soft: #c9a15b; --gold-dark: #8a6830;
  --heading: #f2e7d8; --text: #e3d5c4; --soft: #c2b0a0;
  --display: "Fraunces", Georgia, serif;
  --body: "Trebuchet MS", Arial, sans-serif;
  --franja-h: 36px; --header-h: 62px; --gap: .75rem;
  --clear: calc(var(--franja-h) + var(--header-h) + var(--gap) * 2 + .5rem);
  --radius: 6px; --radius-lg: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--clear); }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0; color: var(--heading); }
p { margin: 0 0 1em; } p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }

.franja { position: fixed; top: 0; left: 0; right: 0; z-index: 110; height: var(--franja-h); display: flex; align-items: center; justify-content: center; background: var(--gold); color: #170a0d; font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.franja a { text-decoration: underline; text-underline-offset: 2px; }

.eyebrow { display: block; text-align: center; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: .5rem; }
section > h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); text-align: center; margin-bottom: 3rem; }

.btn { display: inline-block; padding: .85em 1.9em; border-radius: var(--radius); font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; transition: background .25s, transform .25s; }
.btn-primary { background: var(--gold); color: #170a0d; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-secondary { color: #fff; border-color: rgba(255,255,255,.65); }
.btn-secondary:hover { background: rgba(255,255,255,.1); }

/* Header de pastilla flotante */
.site-header { position: fixed; top: calc(var(--franja-h) + var(--gap)); left: 50%; transform: translateX(-50%); z-index: 100; width: calc(100% - 2rem); max-width: 980px; border-radius: 999px; background: rgba(15,6,8,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.header-inner { height: var(--header-h); padding: 0 1.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: #fff; white-space: nowrap; }
.main-nav ul { display: flex; gap: 1.75rem; }
.main-nav a { color: rgba(255,255,255,.8); font-size: .88rem; font-weight: 500; padding: .3em 0; transition: color .25s; }
.main-nav a:hover { color: #fff; }
.btn-pedir { display: inline-block; background: var(--gold); color: #170a0d; font-weight: 600; font-size: .88rem; padding: .6em 1.3em; border-radius: var(--radius); white-space: nowrap; }
.btn-pedir:hover { background: var(--gold-dark); }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 7px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero sin foto: brasas de horno con gradientes */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--clear) 1.75rem 5rem;
  background: radial-gradient(ellipse 60% 45% at 50% 105%, rgba(201,120,40,.45), transparent 70%), radial-gradient(ellipse 45% 35% at 20% 100%, rgba(171,129,61,.25), transparent 70%), linear-gradient(180deg, #0f0608 0%, #2a131a 70%, var(--bg) 100%); }
.hero-content { max-width: 700px; }
.hero h1 { font-size: clamp(2.75rem, 7vw, 4.75rem); color: #fff; margin-bottom: 1rem; }
.hero-tagline { font-family: var(--display); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

section { padding: 5.5rem 1.75rem; }
section::before { content: ""; display: block; width: 48px; height: 2px; background: var(--gold); opacity: .55; margin: 0 auto 3rem; }
.hero::before { display: none; }

.pasos-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.pasos-grid li, .card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: 0 14px 32px rgba(0,0,0,.28); padding: 2.25rem 1.75rem; text-align: center; }
.num { display: inline-flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border: 1px solid var(--gold); border-radius: 50%; font-family: var(--display); color: var(--gold-soft); margin-bottom: 1rem; }
.pasos h3, .card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.pasos p, .card p { color: var(--soft); }
.card h3 { color: var(--gold-soft); }

.cat-nav { max-width: 760px; margin: 0 auto 3rem; overflow-x: auto; }
.cat-nav ul { display: flex; justify-content: center; gap: .5rem; width: max-content; margin: 0 auto; }
.cat-nav a { display: block; padding: .6em 1.1em; min-height: 44px; line-height: 1.7; border: 1px solid var(--border); border-radius: 999px; font-size: .88rem; color: var(--text); }
.cat-nav a:hover { border-color: var(--gold-soft); color: #fff; }
.menu-category { max-width: 760px; margin: 0 auto 4rem; }
.menu-category h2 { font-size: 1.5rem; color: var(--gold-soft); text-align: center; margin-bottom: 1.5rem; }
.menu-items li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .85em 0; border-bottom: 1px dotted rgba(255,255,255,.14); }
.menu-items li:last-child { border-bottom: 0; }
.item-info { display: flex; flex-direction: column; }
.item-name { color: var(--heading); font-size: 1.02rem; }
.item-desc { color: var(--soft); font-size: .9rem; }
.item-price { font-family: var(--display); font-weight: 600; color: var(--gold-soft); white-space: nowrap; }
.menu-cta { text-align: center; }

.recoger-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }

.site-footer { background: var(--footer); color: rgba(255,255,255,.7); padding: 4rem 1.75rem 3rem; text-align: center; }
.footer-brand { font-family: var(--display); font-size: 1.6rem; color: #fff; margin-bottom: 1rem; }
.footer-demo { font-size: .85rem; color: rgba(255,255,255,.6); }
/* Crédito de Nucleo */
.footer-credito { font-size: .8rem; margin-top: .5rem; }
.footer-credito a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.pedir-fijo { display: none; }

@media (max-width: 900px) { .pasos-grid, .recoger-grid { grid-template-columns: 1fr; max-width: 480px; } }

@media (max-width: 760px) {
  :root { --header-h: 56px; }
  section { padding: 4rem 1.25rem; }
  .site-header { width: calc(100% - 1.25rem); border-radius: 20px; }
  .header-inner { padding: 0 .5rem 0 1.25rem; }
  .header-actions { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .main-nav { position: absolute; top: calc(100% + .5rem); left: 0; right: 0; background: rgba(15,6,8,.95); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; padding: .5rem 1.25rem; }
  .main-nav a { display: block; padding: .9em 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.06); }
  .cat-nav { margin-inline: -1.25rem; padding-inline: 1.25rem; }
  .cat-nav ul { margin: 0; }
  .menu-category { margin-bottom: 3rem; }
  /* Botón fijo grande; el pie deja espacio para que no lo tape */
  .pedir-fijo { display: flex; align-items: center; justify-content: center; position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 90; min-height: 56px; background: var(--gold); color: #170a0d; font-weight: 700; font-size: 1.05rem; border-radius: 14px; box-shadow: 0 10px 28px rgba(0,0,0,.55); }
  .site-footer { padding-bottom: 7rem; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Estado real (script.js) */
.estado { display: inline-block; margin-top: 1rem; padding: .25em .8em; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.estado--abierto { background: #1f5a34; color: #dff5e6; }
.estado--cerrado { background: #4a4a4a; color: #eee; }
.aviso-cerrado { display: inline-block; margin: 0 auto 1.5rem; padding: .5em 1.2em; border: 1px solid var(--gold-soft); border-radius: 999px; color: var(--heading); font-weight: 600; font-size: .95rem; }
