/* ============================================================
   VIELÚ PIZZERÍA · SHARED STYLES
   Neon Brick theme — dark, bold, artisanal
   ============================================================ */

/* ── TOKENS ── */
:root {
  --bg:        #0e0b0a;
  --bg-2:      #16110f;
  --paper:     #f4ead3;
  --ink:       #0e0b0a;
  --tomato:    #e63522;
  --mustard:   #ffb800;
  --basil:     #2bb673;
  --cream:     #fff4dc;
  --line:      #2a201d;
  --muted:     rgba(244,234,211,0.55);

  --accent:    var(--tomato);
  --accent-2:  var(--mustard);

  --r-sm:   6px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-pill: 999px;

  --shadow:    6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);

  --font-poster: "Bowlby One", "Archivo Black", system-ui, sans-serif;
  --font-body:   "Space Grotesk", system-ui, sans-serif;
  --font-script: "Caveat", cursive;
  --font-mono:   "DM Mono", ui-monospace, monospace;

  --maxw: 1240px;
  --pad:  clamp(20px, 4vw, 56px);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-poster);
  line-height: .92;
  letter-spacing: -.01em;
  text-wrap: balance;
}
p { text-wrap: pretty; margin: 0; }

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
section { position: relative; padding: clamp(60px, 8vw, 120px) 0; }

/* ── NAVBAR ── */
.nav {
  position: sticky; top: 0; z-index: 80;
  background: var(--bg);
  border-bottom: 2px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 18px;
  height: 72px;
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--pad);
}
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-logo { height: 68px; width: auto; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a {
  font-weight: 600; font-size: 14px;
  text-transform: uppercase; letter-spacing: .08em;
  transition: color .15s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.lang-toggle {
  display: flex; align-items: center;
  border: 2px solid currentColor;
  border-radius: var(--r-pill);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
}
.lang-toggle button { padding: 6px 10px; letter-spacing: .1em; }
.lang-toggle button[aria-pressed="true"] {
  background: var(--accent); color: var(--cream);
}
@media (max-width: 768px) { .nav-links { display: none; } }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-poster);
  font-size: 16px; letter-spacing: .02em;
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--accent); color: var(--cream);
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
  white-space: nowrap; cursor: pointer;
}
.btn:hover  { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(2px,2px);   box-shadow: 2px 2px 0 var(--ink); }
.btn--ghost  { background: transparent; color: var(--paper); border-color: var(--paper); box-shadow: none; }
.btn--ink    { background: var(--ink); color: var(--cream); }
.btn--mustard{ background: var(--mustard); color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--lg { padding: 18px 32px; font-size: 18px; }

/* ── MARQUEE ── */
.marquee {
  background: var(--accent); color: var(--cream);
  border-block: 2px solid var(--ink);
  overflow: hidden;
  font-family: var(--font-poster);
  font-size: 18px; letter-spacing: .06em;
  padding: 10px 0;
}
.marquee-track {
  display: inline-flex; gap: 40px;
  white-space: nowrap;
  animation: scroll-x 32s linear infinite;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 40px; }
.marquee .dot { color: var(--mustard); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ── SECTION HEAD ── */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.section-kicker {
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(38px, 5.5vw, 80px);
  line-height: .9; max-width: 14ch;
}
.section-title em {
  font-style: normal;
  background: var(--accent); color: var(--cream);
  padding: 0 .18em; display: inline-block;
  transform: rotate(-1deg);
}
.section-intro { max-width: 460px; font-size: 17px; opacity: .8; }

/* ── BADGE ── */
.badge {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--font-poster); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--r-pill); border: 2px solid var(--ink);
  background: var(--accent); color: var(--cream);
}
.badge--star    { background: var(--mustard); color: var(--ink); }
.badge--new     { background: var(--basil); color: var(--cream); }

/* ── EYEBROW ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 6px 12px;
  border: 2px solid currentColor; border-radius: var(--r-pill);
  margin-bottom: 22px;
}

/* ── FLOATING WHATSAPP ── */
.fab {
  position: fixed; bottom: 22px; right: 22px;
  width: 60px; height: 60px;
  background: #25d366; color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.4), 0 0 0 2px var(--ink);
  z-index: 90; transition: transform .15s;
}
.fab:hover { transform: scale(1.08); }
.fab-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse { 100% { transform: scale(1.65); opacity: 0; } }

/* ── FOOTER ── */
.footer {
  background: var(--ink); color: var(--cream);
  padding: 72px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px; margin-bottom: 52px;
}
@media (max-width: 880px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px)  { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 56px; margin-bottom: 14px; filter: invert(1); }
.footer-brand p { opacity: .7; font-size: 14px; max-width: 300px; }
.footer h4 {
  font-family: var(--font-poster); font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 14px; color: var(--mustard);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer ul a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
  width: 38px; height: 38px;
  border: 2px solid rgba(255,255,255,.3); border-radius: 50%;
  display: grid; place-items: center;
  transition: background .2s, border-color .2s;
}
.socials a:hover { background: var(--accent); border-color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; opacity: .5;
}

/* ── LANG VISIBILITY ── */
.lang-es, .lang-en { display: none; }
:root[lang="es"] .lang-es { display: revert; }
:root[lang="en"] .lang-en { display: revert; }

/* ── UTILS ── */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
