/* ===== CSS VARIABLES ===== */
:root {
  --gold: #d4a843;
  --gold-light: #f0c96e;
  --gold-dark: #a07828;
  --red: #c0392b;
  --dark: #0d0d0d;
  --dark2: #1a1a1a;
  --dark3: #2a2a2a;
  --light: #f8f4ef;
  --light2: #ede8e0;
  --white: #ffffff;
  --text: #2c2c2c;
  --text-muted: #888;
  --shadow: 0 4px 24px rgba(0,0,0,0.15);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.25);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --nav-h: 70px;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--light);
  overflow-x: hidden;
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ===== NAVIGATION ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid rgba(212,168,67,0.2);
  transition: var(--transition);
}
#navbar.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  gap: 8px;
  overflow: visible;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 0;
}
.nav-logo img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.1;
  white-space: nowrap;
}
.nav-logo-sub {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  overflow: visible;   /* must be visible so dropdown is not clipped */
  flex-shrink: 1;
  min-width: 0;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a, .nav-dropdown > button {
  color: #ccc;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.nav-links a:hover, .nav-dropdown > button:hover,
.nav-links a.active { color: var(--gold); }
.nav-dropdown { position: relative; }
.nav-dropdown > button {
  display: flex; align-items: center; gap: 4px;
  background: none; border: none;
}
.nav-dropdown > button::after { content: "▾"; font-size: 0.65rem; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--dark2);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: var(--radius-sm);
  min-width: 200px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 2000;
  box-shadow: var(--shadow-lg);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.dropdown-menu a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  font-size: 0.82rem;
  color: #ccc;
  transition: var(--transition);
}
.dropdown-menu a:hover { color: var(--gold); background: rgba(212,168,67,0.06); }
.nav-info {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.nav-phone {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex; align-items: center; gap: 6px;
}
.nav-hours {
  color: var(--text-muted);
  font-size: 0.7rem;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  flex-shrink: 0;
  z-index: 1010;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

/* ===== LANGUAGE SWITCHER — en el hero, sobre el badge ===== */
.hero-lang-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease both;
}
.lang-btn {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 5px;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  cursor: pointer;
}
.lang-btn:hover {
  color: var(--gold);
  border-color: rgba(212,168,67,0.5);
  background: rgba(212,168,67,0.1);
}
.lang-btn.active {
  color: var(--dark);
  background: var(--gold);
  border-color: var(--gold);
}

/* ===== HERO ===== */
#hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1552566626-52f8b828add9?w=1600&q=80') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,13,13,0.88) 0%, rgba(180,90,30,0.45) 50%, rgba(13,13,13,0.85) 100%);
}
.hero-particles {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(212,168,67,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(192,57,43,0.06) 0%, transparent 40%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,168,67,0.12);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: 50px;
  padding: 8px 20px;
  color: var(--gold-light);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 12px;
  animation: fadeInDown 0.8s ease 0.15s both;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--gold-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 16px;
  animation: fadeInDown 0.8s ease 0.25s both;
}
.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 32px;
  animation: fadeInDown 0.8s ease 0.35s both;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInDown 0.8s ease 0.45s both;
}
.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll::before {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(212,168,67,0.6));
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(212,168,67,0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212,168,67,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 0.78rem;
}

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ===== CUISINE TABS ===== */
.cuisine-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.cuisine-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 50px;
  border: 2px solid var(--light2);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
}
.cuisine-tab .flag { font-size: 1.2rem; }
.cuisine-tab:hover, .cuisine-tab.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,168,67,0.06);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212,168,67,0.2);
}
.cuisine-panel { display: none; }
.cuisine-panel.active { display: block; }

/* ===== MENU GRID ===== */
.menu-category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 24px;
  margin-top: 40px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light2);
}
.menu-category-title:first-child { margin-top: 0; }
.menu-category-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.06);
  cursor: pointer;
  position: relative;
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.menu-card-img {
  height: 180px;
  overflow: hidden;
  position: relative;
}
.menu-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.menu-card:hover .menu-card-img img { transform: scale(1.07); }
.menu-card-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--gold);
  color: var(--dark);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.menu-card-body {
  padding: 16px;
}
.menu-card-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}
.menu-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-card-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold-dark);
}
.menu-card-price span { font-size: 0.72rem; font-weight: 400; color: var(--text-muted); }
.add-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  font-weight: 700;
}
.add-btn:hover { transform: scale(1.15); }
.add-btn.added {
  background: linear-gradient(135deg, #27ae60, #1e8449);
  color: white;
}

/* ===== WEEKLY MENUS ===== */
#weekly-menu { background: var(--dark); }
#weekly-menu .section-title { color: var(--white); }
#weekly-menu .section-desc { color: rgba(255,255,255,0.5); }
.weekly-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.weekly-tab {
  padding: 10px 18px;
  border-radius: 50px;
  border: 2px solid rgba(212,168,67,0.2);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
}
.weekly-tab:hover, .weekly-tab.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,168,67,0.08);
}
.weekly-panel { display: none; }
.weekly-panel.active { display: block; }
.weekly-card {
  background: var(--dark2);
  border-radius: var(--radius);
  border: 1px solid rgba(212,168,67,0.15);
  overflow: hidden;
}
.weekly-header {
  background: linear-gradient(135deg, rgba(212,168,67,0.15), rgba(192,57,43,0.1));
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(212,168,67,0.15);
  flex-wrap: wrap;
  gap: 16px;
}
.weekly-header-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
}
.weekly-header-info p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.weekly-price-tag {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: 800;
}
.weekly-price-tag small { font-size: 0.65rem; font-weight: 400; display: block; }
.weekly-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
}
.weekly-section {
  padding: 24px 28px;
  border-right: 1px solid rgba(212,168,67,0.1);
}
.weekly-section:last-child { border-right: none; }
.weekly-section-title {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 6px;
}
.weekly-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  transition: var(--transition);
  border-radius: 6px;
  padding: 8px 6px;
}
.weekly-item:hover { background: rgba(212,168,67,0.06); }
.weekly-item img {
  width: 44px; height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.weekly-item-info { flex: 1; min-width: 0; }
.weekly-item-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.weekly-item-radio {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(212,168,67,0.4);
  flex-shrink: 0;
  transition: var(--transition);
  position: relative;
}
.weekly-item.selected .weekly-item-radio {
  border-color: var(--gold);
  background: var(--gold);
}
.weekly-item.selected .weekly-item-radio::after {
  content: '✓';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.65rem;
  color: var(--dark);
  font-weight: 800;
}
/* Checkbox style for multi-select (starters) */
.weekly-item-check {
  border-radius: 4px !important;
}
/* Disabled state */
.weekly-item.weekly-item-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
/* Counter badge next to section title */
.weekly-counter {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
  border-radius: 50px;
  padding: 2px 8px;
  margin-left: 6px;
  transition: color 0.3s ease;
}
.weekly-footer {
  padding: 20px 28px;
  border-top: 1px solid rgba(212,168,67,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.weekly-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.weekly-note strong { color: var(--gold); }

/* ===== SPECIAL MENU ===== */
#special-menu { background: var(--light); }
.special-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid rgba(212,168,67,0.15);
}
.special-header {
  background: linear-gradient(135deg, var(--dark), #3a1a00);
  padding: 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.special-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,168,67,0.15) 0%, transparent 70%);
}
.special-header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  position: relative;
}
.special-header .price-badge {
  display: inline-block;
  margin-top: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 1.6rem;
  font-weight: 800;
  position: relative;
}
.special-header .price-badge small {
  font-size: 0.7rem;
  font-weight: 400;
  display: block;
}
.special-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
}
.special-section {
  padding: 28px;
  border-right: 1px solid var(--light2);
  border-bottom: 1px solid var(--light2);
}
.special-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.special-section-title {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
}
.special-counter {
  font-size: 0.72rem;
  background: var(--light);
  border-radius: 50px;
  padding: 3px 10px;
  color: var(--text-muted);
}
.special-counter.full { background: rgba(39,174,96,0.15); color: #27ae60; }
.special-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  margin-bottom: 6px;
}
.special-item:hover { background: rgba(212,168,67,0.06); }
.special-item.selected {
  background: rgba(212,168,67,0.08);
  border-color: rgba(212,168,67,0.3);
}
.special-item img {
  width: 48px; height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.special-item-info { flex: 1; min-width: 0; }
.special-item-name {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.special-item-price {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.special-check {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 2px solid var(--light2);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  transition: var(--transition);
}
.special-item.selected .special-check {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  font-weight: 800;
}
.special-footer {
  padding: 24px 28px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== SHARING MENU ===== */
#sharing-menu { background: var(--dark2); }
#sharing-menu .section-title { color: var(--white); }
#sharing-menu .section-desc { color: rgba(255,255,255,0.5); }
.sharing-card {
  background: var(--dark3);
  border-radius: var(--radius);
  border: 1px solid rgba(212,168,67,0.15);
  overflow: hidden;
}
.sharing-header {
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(212,168,67,0.1), rgba(192,57,43,0.08));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(212,168,67,0.12);
  flex-wrap: wrap;
  gap: 16px;
}
.sharing-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
}
.sharing-header p { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-top: 4px; }
.sharing-info {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.sharing-info-item {
  background: rgba(212,168,67,0.1);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: 8px;
  padding: 10px 16px;
  text-align: center;
}
.sharing-info-item strong {
  display: block;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 800;
}
.sharing-info-item span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sharing-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
}
.sharing-section {
  padding: 24px 28px;
  border-right: 1px solid rgba(212,168,67,0.08);
  border-bottom: 1px solid rgba(212,168,67,0.08);
}
.sharing-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.sharing-section-title {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.sharing-progress {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}
.sharing-progress.complete { color: #27ae60; }
.sharing-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  margin-bottom: 4px;
}
.sharing-item:hover { background: rgba(212,168,67,0.06); }
.sharing-item.selected {
  background: rgba(212,168,67,0.08);
  border-color: rgba(212,168,67,0.25);
}
.sharing-item.disabled,
.special-item.special-item-disabled {
  opacity: 0.32;
  cursor: not-allowed;
  pointer-events: none;
}
.sharing-limit-msg {
  font-size: 0.73rem;
  color: #e74c3c;
  background: rgba(231,76,60,0.08);
  border: 1px solid rgba(231,76,60,0.2);
  border-radius: 6px;
  padding: 7px 12px;
  margin: 0 0 10px 0;
  transition: opacity 0.4s ease;
}
.sharing-item img {
  width: 44px; height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.sharing-item-name {
  font-size: 0.8rem;
  color: var(--white);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sharing-check {
  width: 20px; height: 20px;
  border-radius: 5px;
  border: 2px solid rgba(212,168,67,0.3);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  transition: var(--transition);
}
.sharing-item.selected .sharing-check {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  font-weight: 800;
}
.sharing-footer {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(212,168,67,0.1);
  flex-wrap: wrap;
}
.sharing-total {
  color: var(--white);
  font-size: 1.1rem;
}
.sharing-total strong { color: var(--gold); font-size: 1.5rem; }

/* ===== CONTACT SECTION ===== */
#contact { background: var(--light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}
.contact-info { }
.contact-info-card {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 24px;
}
.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(212,168,67,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-text strong {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.contact-detail-text span {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.contact-map-placeholder {
  margin-top: 24px;
  height: 160px;
  border-radius: 10px;
  background: var(--dark3);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  border: 1px solid rgba(212,168,67,0.1);
  overflow: hidden;
  position: relative;
}
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  min-width: 0;
  overflow: hidden;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--light2);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--light);
  transition: var(--transition);
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.form-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px solid var(--light2);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
  color: var(--text-muted);
}
.form-radio-label input { display: none; }
.form-radio-label:hover { border-color: var(--gold); color: var(--gold-dark); }
.form-radio-label.checked { border-color: var(--gold); color: var(--gold-dark); background: rgba(212,168,67,0.06); }
.address-group { display: none; }
.address-group.show { display: block; }
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  background: rgba(39,174,96,0.08);
  border: 2px solid rgba(39,174,96,0.2);
  border-radius: 10px;
  margin-top: 16px;
  color: #27ae60;
}
.form-success.show { display: block; }

/* ===== FLOATING BUTTONS ===== */
.float-whatsapp {
  position: fixed;
  bottom: 24px; left: 16px;
  width: 50px; height: 50px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse-green 2s infinite;
}
.float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
}
.float-scroll {
  position: fixed;
  bottom: 24px; right: 16px;
  width: 44px; height: 44px;
  background: var(--dark);
  border: 2px solid rgba(212,168,67,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  cursor: pointer;
}
.float-scroll.show { opacity: 1; pointer-events: all; }
.float-scroll:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

/* ===== CART WIDGET ===== */
.cart-widget {
  position: fixed;
  bottom: 80px; right: 16px;
  background: var(--dark);
  border: 2px solid rgba(212,168,67,0.3);
  border-radius: var(--radius);
  padding: 20px;
  width: min(300px, calc(100vw - 32px));
  max-height: 400px;
  overflow-y: auto;
  z-index: 890;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition: var(--transition);
}
.cart-widget.show { opacity: 1; pointer-events: all; transform: translateX(0); }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
  color: var(--white);
  font-weight: 700;
}
.cart-badge {
  background: var(--gold);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 50px;
}
.cart-items { }
.cart-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cart-item img {
  width: 38px; height: 38px;
  border-radius: 6px; object-fit: cover;
  flex-shrink: 0;
}
.cart-item-name {
  flex: 1;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.3;
}
.cart-item-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.cart-item-remove {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(192,57,43,0.2);
  border: 1px solid rgba(192,57,43,0.4);
  color: #e74c3c;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  line-height: 1;
}
.cart-item-remove:hover {
  background: #c0392b;
  border-color: #c0392b;
  color: white;
  transform: scale(1.15);
}
.cart-empty-msg {
  text-align: center;
  padding: 20px 0 8px;
  color: rgba(255,255,255,0.25);
  font-size: 0.8rem;
}
.cart-clear-btn {
  font-size: 0.68rem;
  color: rgba(192,57,43,0.7);
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: 4px;
  padding: 3px 8px;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  display: none;
}
.cart-clear-btn.show {
  display: inline-block;
}
.cart-clear-btn:hover {
  background: rgba(192,57,43,0.15);
  color: #e74c3c;
  border-color: #e74c3c;
}
.cart-total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(212,168,67,0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  font-weight: 700;
}
.cart-total strong { color: var(--gold); font-size: 1.1rem; }
.cart-toggle {
  position: fixed;
  bottom: 80px; right: 16px;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  z-index: 895;
  box-shadow: 0 4px 16px rgba(212,168,67,0.4);
  transition: var(--transition);
  cursor: pointer;
  color: var(--dark);
}
.cart-toggle:hover { transform: scale(1.1); }
.cart-count-bubble {
  position: absolute;
  top: -4px; right: -4px;
  width: 20px; height: 20px;
  background: var(--red);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  color: white;
  display: flex; align-items: center; justify-content: center;
  display: none;
}
.cart-count-bubble.show { display: flex; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 40px 0 24px;
  border-top: 1px solid rgba(212,168,67,0.15);
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand img {
  height: 50px; width: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  margin-bottom: 12px;
}
.footer-brand h3 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.footer-brand p { font-size: 0.82rem; line-height: 1.6; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212,168,67,0.2);
}
.footer-col ul { }
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.7); }
}
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== MOBILE DRAWER ===== */
.mobile-drawer {
  display: none; /* hidden on desktop */
}
.mobile-drawer-overlay {
  display: none;
}

/* ===== OVERFLOW FIX — global ===== */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* ===== TABLET (≤1024px) ===== */
@media (max-width: 1024px) {
  /* Hide desktop nav links */
  .nav-links { display: none !important; }
  .nav-toggle { display: flex; }
  .nav-info { display: none; }
  .nav-logo-sub { display: none; }

  /* Mobile drawer — slide in from left */
  .mobile-drawer {
    display: block;
    position: fixed;
    top: var(--nav-h); left: 0;
    width: min(320px, 85vw);
    height: calc(100vh - var(--nav-h));
    background: #0d0d0d;
    border-right: 1px solid rgba(212,168,67,0.2);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 4px 0 32px rgba(0,0,0,0.5);
  }
  .mobile-drawer.open {
    transform: translateX(0);
  }

  /* Overlay behind drawer */
  .mobile-drawer-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .mobile-drawer-overlay.open {
    opacity: 1;
    pointer-events: all;
  }

  /* Drawer links */
  .mobile-link {
    display: block;
    width: 100%;
    padding: 18px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all 0.2s ease;
    text-decoration: none;
    box-sizing: border-box;
  }
  .mobile-link:hover, .mobile-link:active {
    color: var(--gold);
    background: rgba(212,168,67,0.06);
    padding-left: 30px;
  }

  /* Accordion for Menú */
  .mobile-accordion { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .mobile-acc-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    box-sizing: border-box;
  }
  .mobile-acc-btn:hover { color: var(--gold); }
  .mobile-acc-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }
  .mobile-accordion.open .mobile-acc-arrow {
    transform: rotate(180deg);
  }
  .mobile-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(212,168,67,0.03);
  }
  .mobile-accordion.open .mobile-acc-body {
    max-height: 400px;
  }
  .mobile-sub-link {
    display: block;
    padding: 13px 24px 13px 36px;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
  }
  .mobile-sub-link:hover { color: var(--gold); background: rgba(212,168,67,0.05); }

  /* Info block at bottom of drawer */
  .mobile-drawer-info {
    padding: 24px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    line-height: 2;
    border-top: 1px solid rgba(212,168,67,0.1);
    margin-top: 8px;
  }

  /* Layout fixes */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .weekly-sections { grid-template-columns: 1fr 1fr; }
  .special-sections { grid-template-columns: 1fr 1fr; }
  .sharing-sections { grid-template-columns: 1fr 1fr; }
}

/* ===== MOBILE (≤640px) ===== */
@media (max-width: 640px) {
  section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 10px; gap: 4px; }
  .nav-logo img { height: 34px; width: 34px; }
  .nav-logo-text { font-size: 0.9rem; }

  .hero-lang-switcher { gap: 4px; margin-bottom: 14px; }
  .lang-btn { font-size: 0.62rem; padding: 4px 6px; }

  /* ── Sección Contacto: corregido para S20 FE (360px) ── */
  #contact { overflow: hidden; }
  #contact .container {
    padding: 0 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }
  .contact-info-card {
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
    position: static;
  }
  .contact-form-card {
    padding: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 10px;
  }
  /* Todos los form-row: una sola columna */
  .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }
  /* Inputs, selects y textarea: 100% del contenedor, sin padding que desborde */
  .form-input,
  .form-select,
  .form-textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    font-size: 16px;  /* evita zoom automático en Android/iOS */
    min-width: 0;
  }
  /* Select: reducir padding-right del icono flecha */
  .form-select {
    padding-right: 32px;
    background-position: right 10px center;
  }
  /* Radio buttons: columna, ancho completo */
  .form-radio-group {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .form-radio-label {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    font-size: 0.82rem;
  }
  /* Botón enviar: ancho completo */
  #contact .btn,
  .contact-form-card .btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  /* Mapa: no desborde */
  .contact-map-placeholder {
    width: 100%;
    box-sizing: border-box;
    height: 130px;
  }
  /* Detalles de contacto */
  .contact-detail { gap: 10px; }
  .contact-icon { width: 34px; height: 34px; font-size: 1rem; flex-shrink: 0; }
  .contact-detail-text span { font-size: 0.82rem; word-break: break-word; }

  .footer-inner { grid-template-columns: 1fr; }
  .weekly-sections, .special-sections, .sharing-sections { grid-template-columns: 1fr; }
  .weekly-section, .special-section, .sharing-section { border-right: none; }
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .menu-card-img { height: 130px; }
  .menu-card-body { padding: 12px; }

  .weekly-header, .sharing-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sharing-info { width: 100%; flex-wrap: wrap; }
  .sharing-info-item { flex: 1; min-width: 60px; }

  .special-footer, .sharing-footer, .weekly-footer { flex-direction: column; align-items: stretch; gap: 12px; }
  .special-footer .btn, .sharing-footer .btn, .weekly-footer .btn { width: 100%; justify-content: center; }
}

/* ===== PANTALLAS MUY PEQUEÑAS ≤380px (Samsung Galaxy S20 FE y similares) ===== */
@media (max-width: 380px) {
  .container { padding: 0 10px; }
  #contact .container { padding: 0 10px; }

  .contact-form-card { padding: 12px; }
  .contact-info-card  { padding: 14px; }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 10px 10px;
    font-size: 15px;
  }
  .form-select {
    padding-right: 28px;
    background-position: right 8px center;
  }
  .form-radio-label { padding: 9px 10px; font-size: 0.78rem; }

  .contact-icon { width: 30px; height: 30px; font-size: 0.9rem; }
  .contact-detail { gap: 8px; }
}


/* ===== DOWNLOAD MENU BUTTON ===== */
.btn-download-menu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px auto 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.btn-download-menu:hover {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 4px 18px rgba(200,160,60,0.35);
  transform: translateY(-2px);
}
.btn-download-menu svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}
.btn-download-menu:hover svg {
  transform: translateY(2px);
}
