/* ══════════════════════════════════════════
   SMASH HIRO — Shared Stylesheet v2
   Colors: #170b2e · #ff00fa · #00a4ff
══════════════════════════════════════════ */

/* ── FONTS ── */
@font-face {
  font-family: 'Morganite';
  src: url('./SVG/Morganite-Black.ttf') format('truetype');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NeueHaas';
  src: url('./SVG/NeueHaasDisplayXXThin.ttf') format('truetype');
  font-weight: 100; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NeueHaas';
  src: url('./SVG/NeueHaasDisplayXThin.ttf') format('truetype');
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NeueHaas';
  src: url('./SVG/NeueHaasDisplayLight.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NeueHaas';
  src: url('./SVG/NeueHaasDisplayRoman.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NeueHaas';
  src: url('./SVG/NeueHaasDisplayMediu.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NeueHaas';
  src: url('./SVG/NeueHaasDisplayBold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NeueHaas';
  src: url('./SVG/NeueHaasDisplayBlack.ttf') format('truetype');
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ── TOKENS ── */
:root {
  --bg:         #170b2e;
  --bg-2:       #1c1038;
  --bg-card:    #1f1245;
  --bg-glass:   rgba(23,11,46,0.88);
  --border:     rgba(255,0,250,0.1);
  --border-sub: rgba(255,255,255,0.06);
  --pink:       #ff00fa;
  --pink-dim:   rgba(255,0,250,0.12);
  --blue:       #00a4ff;
  --purple:     #4612ab;
  --white:      #ffffff;
  --white-70:   rgba(255,255,255,0.7);
  --white-40:   rgba(255,255,255,0.4);
  --white-10:   rgba(255,255,255,0.06);
  --font-body:  'NeueHaas', 'Helvetica Neue', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; cursor: none; }
/* Restore pointer on interactive elements so UX stays intact */
a, button, [role="button"], input, select, textarea, label { cursor: none; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

/* ── Section label: pink intro text above the main white title.
   ~half the size of the white heading below it. ── */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.6vw, 1.5rem);
  font-weight: 400;
  text-transform: lowercase;
  color: var(--pink);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

/* ── Section title: main white heading (big) ── */
.section-title {
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  line-height: 0.93;
  letter-spacing: -0.02em;
}

/* ══════════════════════════════════════════
   BUTTONS — Glass Button (matches React component)

   HTML structure produced by brand/smash.js:
   .btn-wrap
     a.btn[.btn-glass-pink | .btn-pink | .btn-outline]
     span.btn-shadow[data-pink]

   Mirrors:
   glass-button-wrap > glass-button + glass-button-shadow
══════════════════════════════════════════ */

/* Wrapper — creates stacking context so shadow sits below btn */
.btn-wrap {
  position: relative;
  display: inline-flex;
  border-radius: 50px;
  vertical-align: middle;
}

/* The floating blurred shadow — glass-button-shadow */
.btn-shadow {
  position: absolute;
  bottom: 0;
  left: 8%; right: 8%;
  height: 90%;
  background: rgba(255,255,255,0.07);
  border-radius: 50px;
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
  transition: background 0.22s ease, filter 0.22s ease;
}
/* Pink variant shadow */
.btn-shadow[data-pink] {
  background: rgba(255,0,250,0.22);
}

/* Hover states on the wrapper — both btn AND shadow respond */
.btn-wrap:hover .btn-shadow {
  filter: blur(26px);
  background: rgba(255,0,250,0.32);
}
.btn-wrap:hover .btn-shadow[data-pink] {
  background: rgba(255,0,250,0.44);
}

/* Base button */
.btn {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
  transition: background 0.2s ease, border-color 0.2s ease,
              transform 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}
.btn:hover {
  transform: translateY(-2px);
  background: rgba(255,0,250,0.1);
  border-color: rgba(255,0,250,0.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  color: var(--white);
}

/* Neutral glass */
.btn-glass { /* inherits base */ }

/* Magenta-tinted — primary CTA */
.btn-glass-pink {
  background: rgba(255,0,250,0.1);
  border-color: rgba(255,0,250,0.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
}
.btn-glass-pink:hover {
  background: rgba(255,0,250,0.18);
  border-color: rgba(255,0,250,0.52);
}

/* Outline */
.btn-outline {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-outline:hover {
  background: rgba(255,0,250,0.08);
  border-color: rgba(255,0,250,0.28);
}

/* Pink emphasis */
.btn-pink {
  background: rgba(255,0,250,0.12);
  border-color: rgba(255,0,250,0.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
}
.btn-pink:hover {
  background: rgba(255,0,250,0.2);
  border-color: rgba(255,0,250,0.55);
}

/* ══════════════════════
   HEADER / NAV
══════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.3s;
}
#site-header.scrolled { border-bottom-color: var(--border); }

/* Logo SVG */
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 1;
}
.nav-logo-img {
  height: 24px;
  filter: brightness(0) invert(1);
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--white-70);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--pink);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* "Pide Ahora" nav CTA — magenta glass pill */
.nav-cta {
  background: rgba(255,0,250,0.1) !important;
  border: 1px solid rgba(255,0,250,0.28) !important;
  border-radius: 50px !important;
  padding: 0.48rem 1.3rem !important;
  color: var(--white) !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  transition: all 0.2s !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
}
.nav-cta:hover {
  background: rgba(255,0,250,0.2) !important;
  border-color: rgba(255,0,250,0.5) !important;
  transform: translateY(-1px) !important;
  color: var(--white) !important;
}
/* ::after underline trick disabled for nav links — reuse the bottom glow instead */
.nav-cta::after { display: none !important; }

/* ── LANGUAGE SELECTOR ── */
.lang-selector {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(255,0,250,0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-left: 1.2rem;
}
.lang-btn {
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255,0,250,0.15);
  color: rgba(255,255,255,0.38);
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.38rem 0.46rem;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  text-transform: uppercase;
  line-height: 1;
}
.lang-btn:last-child { border-right: none; }
.lang-btn:hover { color: rgba(255,255,255,0.82); background: rgba(255,0,250,0.06); }
.lang-btn.active { color: var(--pink); background: rgba(255,0,250,0.1); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: all 0.2s; }

/* Lang inside hamburger dropdown — hidden on desktop, visible in mobile dropdown */
.nav-lang-li {
  display: none;
}

/* Touch devices — no pointer cursor on accordion */
@media (hover: none) {
  .fc-item { cursor: default; }
}

/* ══════════════════════
   TICKER
══════════════════════ */
.ticker-wrap {
  overflow: hidden;
  padding: 0.65rem 0;
  border-top: 1px solid var(--border-sub);
  border-bottom: 1px solid var(--border-sub);
  background: linear-gradient(90deg, rgba(255,0,250,0.52) 0%, rgba(0,164,255,0.32) 100%);
}
.ticker-wrap.ticker-grad { background: linear-gradient(90deg, rgba(255,0,250,0.52) 0%, rgba(0,164,255,0.32) 100%); }
.ticker-wrap.ticker-dark { background: linear-gradient(90deg, rgba(0,164,255,0.22) 0%, rgba(255,0,250,0.28) 100%); }

.ticker-track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
  animation: tickerMove 26s linear infinite;
}
.ticker-wrap.reverse .ticker-track { animation-direction: reverse; }

.ticker-item {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9rem;
  padding: 0 0.75rem;
  color: var(--white);
  user-select: none;
  letter-spacing: 0;
}
.ticker-sep { margin: 0 0.25rem; opacity: 0.3; }

@keyframes tickerMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .ticker-track { animation-duration: 16s; }
}

/* ══════════════════════
   BURGER CARDS (carta page)
══════════════════════ */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.burger-card {
  background: var(--bg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}
.burger-card:hover { background: var(--bg-card); }
.burger-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 20%, rgba(255,0,250,0.05) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.burger-card:hover .burger-glow { opacity: 1; }
.burger-num {
  font-family: var(--font-body); font-weight: 300;
  font-size: 4rem; line-height: 1;
  color: rgba(255,255,255,0.04);
  position: absolute; right: 1.5rem; top: 0.5rem;
  user-select: none;
}
.burger-name {
  font-family: var(--font-body); font-weight: 700;
  font-size: 1.4rem; line-height: 1.15;
  padding-right: 4rem; position: relative; z-index: 1;
}
.burger-price {
  font-family: var(--font-body); font-weight: 700;
  font-size: 1.1rem; color: var(--pink);
  margin-top: 0.3rem;
}
.burger-desc {
  color: var(--white-70); font-size: 0.875rem;
  line-height: 1.65; margin-top: 0.85rem; font-weight: 300;
}
.burger-tag {
  display: inline-block; font-size: 0.65rem; font-weight: 500;
  padding: 0.2rem 0.6rem; margin-top: 0.85rem;
}
.tag-veggie { background: rgba(76,175,80,0.1); color: #81C784; border: 1px solid rgba(76,175,80,0.2); }
.tag-chicken { background: rgba(0,164,255,0.1); color: var(--blue); border: 1px solid rgba(0,164,255,0.2); }

/* ══════════════════════
   FOOTER
══════════════════════ */
#site-footer {
  position: relative;
  background: var(--bg);
  border-top: 1px solid rgba(255,0,250,0.14);
  padding: 5rem 2rem 0;
  overflow: hidden;
}
/* Glowing line at top centre */
#site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 1px;
  background: var(--pink);
  filter: blur(8px);
  border-radius: 50%;
  pointer-events: none;
}
/* Subtle radial glow from top */
#site-footer::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 160px;
  background: radial-gradient(ellipse 55% 160px at 50% 0%, rgba(255,0,250,0.06) 0%, transparent 100%);
  pointer-events: none;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
  padding-bottom: 4rem;
}
.footer-brand { text-align: center; }
.footer-logo-img {
  height: 44px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  display: block;
  margin: 0 auto 1.5rem;
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--white-70);
  font-weight: 300;
  margin-bottom: 0.6rem;
}
.footer-copy-line {
  font-size: 0.75rem;
  color: var(--white-40);
  font-weight: 300;
  margin-bottom: 1.8rem;
}
.footer-socials {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1.5rem;
}
.soc-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--white-40); font-size: 0.8rem; font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
}
.soc-link:hover { color: var(--pink); }

/* 3-column nav grid */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col-label {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.2rem;
}
.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.footer-col ul li a {
  color: var(--white-70);
  font-size: 0.88rem;
  font-weight: 300;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

/* Bottom bar */
.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom span { color: rgba(255,255,255,0.2); font-size: 0.72rem; }
.footer-credit { color: rgba(255,255,255,0.2); font-size: 0.72rem; }
.footer-credit a { color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-credit a:hover { color: var(--pink); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--white-40); font-size: 0.72rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--pink); }

/* Entry animation */
.footer-anim {
  opacity: 0;
  transform: translateY(-10px);
  filter: blur(4px);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
}
.footer-anim.footer-anim-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}

/* ══════════════════════
   RESPONSIVE
══════════════════════ */
@media (max-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-brand { text-align: center; }
  .footer-socials { flex-direction: row; justify-content: center; gap: 1.5rem; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  /* Hide lang selector from header bar — it lives in the hamburger dropdown */
  .lang-selector { display: none; }
  .nav-links {
    display: none;
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; padding: 2rem 1.5rem; gap: 1.5rem;
    background: rgba(23,11,46,0.97);
    border-bottom: 1px solid var(--border-sub);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
  .nav-cta { text-align: center; }
  /* Lang inside mobile dropdown */
  .nav-lang-li {
    display: flex;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: 0.25rem;
  }
  .nav-lang-li .lang-selector {
    display: flex;
    margin: 0;
  }
  .nav-lang-li .lang-btn { padding: 0.42rem 0.6rem; font-size: 0.62rem; }
  .menu-grid { grid-template-columns: 1fr; }
  .section-label { font-size: clamp(0.75rem, 3.5vw, 1rem); }
  .section-title { font-size: clamp(2rem, 11vw, 3.2rem); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .footer-inner { padding-bottom: 2.5rem; }
}

/* ══════════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════════ */
#faq {
  padding: 6rem 0 7rem;
  background: var(--bg);
  position: relative;
}
#faq::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255,0,250,0.06) 0%, transparent 70%);
  pointer-events: none;
}
#faq .container { position: relative; z-index: 1; }

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.faq-left {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-list {
  margin: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.faq-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.07);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.35rem 0;
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  font-weight: 400;
  color: var(--white);
  text-align: left;
  line-height: 1.4;
  transition: color 0.2s;
}
.faq-q:hover,
.faq-q[aria-expanded="true"] { color: var(--pink); }

.faq-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--pink);
  transition: transform 0.28s ease;
}
.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  overflow: hidden;
  max-height: 0;
  padding-bottom: 0;
  transition: max-height 0.38s ease, padding-bottom 0.28s ease;
}
.faq-item.is-open .faq-a {
  max-height: 500px;
  padding-bottom: 1.4rem;
}

.faq-a p {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255,255,255,0.52);
  line-height: 1.75;
  padding-right: 2.5rem;
  margin: 0;
}
.faq-a a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-a a:hover { opacity: 0.8; }

@media(max-width: 768px) {
  .faq-inner { grid-template-columns: 1fr; gap: 2rem; }
  .faq-left { position: static; }
  .faq-a p { padding-right: 0.5rem; }
}
