/* ===== Design Tokens ===== */
:root {
  --color-red: #ED1C24;
  --color-dark: #2F2F2F;
  --color-white: #FFFFFF;
  --color-light-gray: #F5F5F5;
  --color-gold: #C8A97E;
  --font-heading: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-light-gray);
  color: var(--color-dark);
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-red), var(--color-gold));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-title {
  flex-shrink: 0;
}

.header-title svg {
  height: 30px;
  width: auto;
  display: block;
}

.header-title a {
  display: block;
}

/* ===== Hero Section ===== */
.hero {
  background-color: var(--color-white);
  text-align: center;
  padding: 48px 24px 40px;
  border-top: 3px solid var(--color-red);
}

.hero-logo-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.hero-logo-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.03) 50%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: 320px;
  height: auto;
}

/* -- Hero Menu Button -- */
.hero-menu-btn {
  display: block;
  width: fit-content;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-gold);
  border: 1.5px solid var(--color-gold);
  border-radius: 999px;
  padding: 10px 32px;
  margin: 0 auto 24px;
  letter-spacing: 1px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-menu-btn:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 169, 126, 0.3);
}

/* -- Phone Contact -- */
.hero-contact {
  margin-bottom: 20px;
}

.hero-contact-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.hero-phone-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1.5px solid #ccc;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #555;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.phone-link:hover {
  border-color: var(--color-red);
  color: var(--color-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(237, 28, 36, 0.15);
}

.phone-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.phone-divider {
  width: 1px;
  height: 24px;
  background-color: #ddd;
}

/* -- PedidosYa Button -- */
.hero-pedidosya-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  border: 1.5px solid #fa0050;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-pedidosya-btn img {
  height: 28px;
  width: auto;
  display: inline-block;
  transition: filter 0.2s ease;
}

.hero-pedidosya-btn:hover {
  background-color: #fa0050;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(250, 0, 80, 0.2);
}

.hero-pedidosya-btn:hover img {
  filter: brightness(0) invert(1);
}

/* ===== Map Section ===== */
.section-heading {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 6px;
}

.map-section {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 24px 40px;
  text-align: center;
}

.map-address-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-dark);
  text-decoration: none;
  padding: 12px 24px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.2s, color 0.2s;
}

.map-address-link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* ===== Menu Hero Banner ===== */
.menu-hero {
  background-color: var(--color-dark);
  text-align: center;
  padding: 48px 24px 40px;
  position: relative;
}

.menu-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-red), var(--color-gold));
}

.menu-hero-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.menu-hero-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 18px;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.menu-hero-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.menu-hero-line {
  display: block;
  width: 48px;
  height: 1px;
  background-color: var(--color-gold);
}

.menu-hero-diamond {
  display: block;
  width: 6px;
  height: 6px;
  background-color: var(--color-gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ===== Menu Page ===== */
.menu-page {
  background-color: var(--color-white);
  max-width: 980px;
  margin: 0 auto;
  padding: 0 32px;
}

/* -- Category Navigation -- */
.menu-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 32px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 8px;
}

.menu-nav-pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-gold);
  border: 1.5px solid var(--color-gold);
  border-radius: 999px;
  padding: 8px 24px;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-nav-pill:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 169, 126, 0.3);
}

/* -- Menu Category -- */
.menu-category {
  padding: 48px 0 40px;
  border-bottom: 1px solid #eee;
  scroll-margin-top: 80px;
}

.menu-category:last-child {
  border-bottom: none;
  padding-bottom: 48px;
}

/* -- Category Header -- */
.menu-category-header {
  text-align: center;
  margin-bottom: 32px;
}

.menu-category-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.menu-category-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 16px;
  color: #999;
  margin-bottom: 16px;
}

.menu-category-rule {
  width: 48px;
  height: 2px;
  background-color: var(--color-gold);
  margin: 0 auto;
}

/* -- Menu Grid & Item Cards -- */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.menu-item {
  padding: 16px 20px;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.menu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: var(--color-gold);
}

.menu-item-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.menu-item-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: #888;
  line-height: 1.4;
}

/* -- Alternating Section Backgrounds -- */
.menu-category--alt {
  background-color: var(--color-light-gray);
  margin-left: -32px;
  margin-right: -32px;
  padding-left: 32px;
  padding-right: 32px;
  border-bottom-color: transparent;
}

.menu-category--alt .menu-item {
  background-color: var(--color-white);
}

/* -- Salsas Chip Layout -- */
.menu-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.menu-chip {
  min-width: 160px;
  text-align: center;
  padding: 16px 24px;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  background-color: var(--color-white);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.menu-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: var(--color-red);
}

.menu-chip-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.menu-chip-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: #999;
}

/* -- Tienda Dark Section (full-width, outside menu-page) -- */
.tienda-section {
  background-color: var(--color-dark);
  padding: 48px 32px 60px;
  scroll-margin-top: 80px;
}

.tienda-inner {
  max-width: 916px;
  margin: 0 auto;
}

.tienda-section .menu-category-header {
  text-align: center;
  margin-bottom: 32px;
}

.tienda-section .menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.tienda-section .menu-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.tienda-section .menu-category-title {
  color: var(--color-white);
}

.tienda-section .menu-category-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.tienda-section .menu-category-rule {
  width: 48px;
  height: 2px;
  background-color: var(--color-gold);
  margin: 0 auto;
}

.tienda-section .menu-item {
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tienda-section .menu-item:hover {
  transform: translateY(-2px);
  border-color: var(--color-gold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.tienda-section .menu-item-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 4px;
}

.tienda-section .menu-item-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.tienda-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  border-radius: 999px;
  padding: 4px 16px;
  margin-bottom: 12px;
}

/* ===== Footer ===== */
.site-footer {
  background-color: var(--color-dark);
  text-align: center;
  padding: 24px 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Visually Hidden (SEO) ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Responsive: Tablet ===== */
@media (max-width: 980px) {
  .map-section {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 12px 15px;
  }

  .header-title svg {
    height: 25px;
  }

  .hero {
    padding: 30px 15px;
  }

  .hero-logo {
    width: 240px;
  }

  .hero-menu-btn {
    font-size: 16px;
    padding: 8px 26px;
  }

  .menu-hero {
    padding: 36px 20px 32px;
  }

  .menu-hero-title {
    font-size: 38px;
  }

  .menu-hero-subtitle {
    font-size: 16px;
  }

  .menu-page {
    padding: 0 20px;
  }

  .menu-nav {
    padding: 24px 0;
    gap: 10px;
  }

  .menu-nav-pill {
    font-size: 14px;
    padding: 6px 18px;
  }

  .menu-category {
    padding: 36px 0 32px;
  }

  .menu-category-title {
    font-size: 26px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .menu-category--alt {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .tienda-section {
    padding: 36px 20px 48px;
  }

  .tienda-section .menu-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-heading {
    font-size: 24px;
  }

  .map-section {
    padding: 32px 16px 32px;
  }

  .site-footer {
    padding: 20px 16px;
  }
}

/* ===== Responsive: Mobile ===== */
@media (max-width: 480px) {
  .header-title svg {
    height: 21px;
  }

  .hero-logo {
    width: 200px;
  }

  .hero-menu-btn {
    font-size: 15px;
    padding: 8px 22px;
    margin: 0 auto 18px;
  }

  .hero-phone-numbers {
    flex-direction: column;
    gap: 10px;
  }

  .phone-link {
    padding: 8px 18px;
    font-size: 15px;
  }

  .phone-divider {
    display: none;
  }

  .hero-pedidosya-btn {
    padding: 6px 18px;
  }

  .menu-hero {
    padding: 28px 16px 24px;
  }

  .menu-hero-title {
    font-size: 32px;
  }

  .menu-hero-subtitle {
    font-size: 15px;
  }

  .menu-hero-line {
    width: 32px;
  }

  .menu-page {
    padding: 0 16px;
  }

  .menu-nav {
    padding: 20px 0;
    gap: 8px;
  }

  .menu-nav-pill {
    font-size: 13px;
    padding: 5px 14px;
  }

  .menu-category {
    padding: 28px 0 24px;
  }

  .menu-category-title {
    font-size: 24px;
  }

  .menu-category-subtitle {
    font-size: 14px;
  }

  .menu-category-header {
    margin-bottom: 24px;
  }

  .menu-category--alt {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .tienda-section {
    padding: 28px 16px 40px;
  }

  .menu-chip {
    min-width: 140px;
    padding: 12px 16px;
  }

  .map-section {
    padding: 28px 12px 28px;
  }

  .section-heading {
    font-size: 22px;
  }

  .site-footer {
    padding: 16px 12px;
  }
}
