/* =============================================
   ESTILOS GLOBALES — styles.css
   Donde La Tina
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Nunito:wght@400;600;700;800&display=swap');

/* ── VARIABLES ── */
:root {
  --bg:       #0A0800;
  --card:     #141008;
  --border:   #252010;
  --gold:     #E8A020;
  --gold2:    #F5C050;
  --white:    #ffffff;
  --muted:    #806A50;
  --dim:      #302818;
  --blanco_cremoso: #faf4e7;  
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 2px solid var(--gold);
  padding: 0 1.5rem;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 8px; }
.nav-img {
  width: 36px; height: 36px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold);
}
.nav-name {
  font-family: 'Alfa Slab One', serif;
  font-size: 1.1rem; color: var(--blanco_cremoso); letter-spacing: 0.5px;
}
.nav-links { display: flex; gap: 0.3rem; }
.nav-a {
  padding: 0.35rem 0.8rem; border-radius: 0.3rem;
  font-size: 0.78rem; font-weight: 800;
  color: var(--muted); text-decoration: none;
  letter-spacing: 0.5px; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-a:hover { color: var(--gold); }
.nav-a--cta {
  background: var(--gold); color: #1A1000 !important;
  border-radius: 0.4rem; padding: 0.35rem 0.9rem;
}
.nav-a--cta:hover { background: var(--gold2); }

/* Hamburguesa */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--gold); border-radius: 2px;
  transition: all 0.3s;
}

/* Menú móvil */
.mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: 56px; left: 0; right: 0; z-index: 99;
  background: var(--card);
  border-bottom: 2px solid var(--gold);
  padding: 1rem 1.5rem;
  gap: 0.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem; font-weight: 700;
  color: var(--white); text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu__cta {
  background: #25D366; color: #fff !important;
  text-align: center; border-radius: 0.5rem;
  padding: 0.7rem !important; margin-top: 0.5rem;
  border-bottom: none !important;
}

/* ═══════════════════════════════════════
   TICKER
═══════════════════════════════════════ */
.ticker {
  background: var(--gold);
  padding: 0.5rem 0; overflow: hidden;
}
.ticker-track {
  display: flex; gap: 2.5rem; white-space: nowrap;
  animation: tick 22s linear infinite;
}
@keyframes tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tick-item {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase; color: #1A1000;
}
.tick-sep {
  width: 4px; height: 4px;
  background: #1A1000; border-radius: 50%;
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.hero::before { display: none; }
.hero-logo {
  width: 140px; height: 140px;
  border-radius: 50%; object-fit: contain;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 10px rgba(232,160,32,0.1), 0 20px 50px rgba(0,0,0,0.5);
  margin-bottom: 1.2rem;
  position: relative; z-index: 1;
}
.hero-name {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(2.2rem, 8vw, 4rem);
  color: var(--blanco_cremoso); letter-spacing: 1px; line-height: 1;
  margin-bottom: 0.5rem; position: relative; z-index: 1;
}
.hero-tagline {
  font-size: clamp(0.88rem, 2.5vw, 1.05rem);
  color: var(--muted); font-weight: 600;
  margin-bottom: 1.8rem; position: relative; z-index: 1;
}
.hero-chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
  margin-bottom: 2rem; position: relative; z-index: 1;
}
.chip {
  display: flex; align-items: center; gap: 0.4rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 2rem; padding: 0.4rem 0.9rem;
  font-size: 0.82rem; font-weight: 700; color: var(--white);
}
.chip-icon { font-size: 0.9rem; }
.hero-btns {
  display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap;
  position: relative; z-index: 1;
}

/* ═══════════════════════════════════════
   BOTONES GLOBALES
═══════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.4rem; border-radius: 0.5rem;
  text-decoration: none; font-size: 0.9rem; font-weight: 800;
  transition: all 0.2s; cursor: pointer; border: none;
}
.btn--lg { padding: 0.95rem 1.8rem; font-size: 1rem; }
.btn--wa  { background: #25D366; color: #fff; }
.btn--wa:hover  { background: #1fba58; transform: translateY(-2px); }
.btn--fb  { background: #1877F2; color: #fff; }
.btn--fb:hover  { background: #1464d4; transform: translateY(-2px); }
.btn--carta { background: var(--gold); color: #1A1000; }
.btn--carta:hover { background: var(--gold2); transform: translateY(-2px); }
.btn--maps {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  margin-top: 1.5rem;
  display: inline-flex;
}
.btn--maps:hover { background: var(--gold); color: #1A1000; transform: translateY(-2px); }

/* ═══════════════════════════════════════
   CARTA / MENÚ
═══════════════════════════════════════ */
.carta {
  padding: 3rem 1.5rem;
  max-width: 1300px; margin: 0 auto;
}
.carta-title {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--white); text-align: center; margin-bottom: 0.3rem;
}
.carta-title span { color: var(--gold); }
.carta-sub {
  text-align: center; font-size: 0.88rem;
  color: var(--muted); font-weight: 600; margin-bottom: 2.5rem;
}

/* Filas del menú */
.menu-row {
  display: grid; gap: 1px;
  background: #222222;
  border: 1px solid #222222;
  border-radius: 1rem; overflow: hidden;
  margin-bottom: 1.5rem;
}
.menu-row--2col { grid-template-columns: repeat(2, 1fr); }
.menu-row--3col { grid-template-columns: repeat(3, 1fr); }
.menu-row--4col { grid-template-columns: repeat(4, 1fr); }

/* Bloque de categoría */
.menu-block {
  background: #0F0F0F;
  padding: 2rem 2.2rem;
}
.menu-cat {
  font-family: 'Alfa Slab One', serif;
  font-size: 1.4rem; color: var(--gold2);
  margin-bottom: 0.25rem; letter-spacing: 0.3px;
}
.menu-cat-sub {
  font-size: 0.82rem; color: #A89070;
  font-weight: 600; margin-bottom: 1.4rem; line-height: 1.5;
}

/* Items del menú */
.menu-item {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; padding: 0.85rem 0;
  border-bottom: 1px solid #222222;
}
.menu-item:last-child { border-bottom: none; }
.item-name {
  font-size: 1.1rem; font-weight: 800;
  color: #ffffff; margin-bottom: 0.2rem; line-height: 1.3;
}
.item-desc {
  font-size: 0.82rem; color: #888888;
  line-height: 1.5; font-weight: 600;
}
.item-price {
  font-size: 1.1rem; font-weight: 800;
  color: var(--gold2); white-space: nowrap;
  flex-shrink: 0; padding-top: 0.1rem;
  background: rgba(255,255,255,0.06);
  padding: 0.2rem 0.6rem;
  border-radius: 0.35rem;
}

/* ═══════════════════════════════════════
   BANNER PEDIDO
═══════════════════════════════════════ */
.order-banner {
  background: linear-gradient(135deg, #1A1000, #100A00);
  border: 1px solid rgba(232,160,32,0.2);
  border-radius: 1rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  max-width: 1300px; margin: 0 auto 1.5rem;
}
.order-title {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--white); margin-bottom: 0.4rem;
}
.order-title span { color: var(--gold); }
.order-sub {
  font-size: 0.9rem; color: var(--muted);
  font-weight: 600; margin-bottom: 1.5rem;
}
.order-btns {
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   UBICACIÓN
═══════════════════════════════════════ */
.ubicacion {
  max-width: 1300px; margin: 0 auto 2rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem; align-items: start;
}
.ubicacion-label {
  font-size: 0.78rem; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.4rem;
}
.ubicacion-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--blanco_cremoso); line-height: 1.1; margin-bottom: 0.3rem;
}
.ubicacion-title span { color: var(--gold); }
.ubicacion-ciudad {
  font-size: 0.88rem; color: var(--muted);
  font-weight: 600; margin-bottom: 1.5rem;
}
.ubicacion-datos { display: flex; flex-direction: column; gap: 0.8rem; }
.ubic-row {
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 0.8rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
}
.ubic-icon { font-size: 1rem; flex-shrink: 0; padding-top: 0.1rem; }
.ubic-label {
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.15rem;
}
.ubic-value { font-size: 0.9rem; font-weight: 700; color: var(--white); }

.ubicacion-mapa {
  height: 340px;
  border-radius: 1rem; overflow: hidden;
  border: 1px solid var(--border);
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  border-top: 2px solid var(--gold);
  padding: 1.5rem;
}
.footer-inner {
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.5rem; text-align: center;
}
.footer-brand {
  display: flex; align-items: center; gap: 0.6rem;
}
.footer-logo {
  width: 30px; height: 30px;
  border-radius: 50%; border: 1px solid var(--gold); object-fit: cover;
}
.footer-name {
  font-family: 'Alfa Slab One', serif;
  font-size: 0.95rem; color: var(--gold);
}
.footer-copy { font-size: 0.72rem; color: var(--muted); }

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .menu-row--3col { grid-template-columns: repeat(2, 1fr); }
  .menu-row--4col { grid-template-columns: repeat(2, 1fr); }
  .ubicacion     { grid-template-columns: 1fr; }
  .ubicacion-mapa { height: 260px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MÓVIL (≤ 600px)
═══════════════════════════════════════ */
@media (max-width: 600px) {
  .nav-links    { display: none; }
  .nav-hamburger { display: flex; }

  .menu-row--2col,
  .menu-row--3col,
  .menu-row--4col { grid-template-columns: 1fr; }

  .menu-block { padding: 1.4rem 1.1rem; }
  .menu-cat   { font-size: 1.2rem; }
  .item-name  { font-size: 1rem; }
  .item-price { font-size: 1rem; }
  .item-desc  { font-size: 0.8rem; }

  .hero-logo  { width: 110px; height: 110px; }
}
