/* ─── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:    #0f2235;
  --cream:   #f5f0e8;
  --gold:    #c9a84c;
  --rust:    #b94a2c;
  --charcoal:#2b2b2b;
  --muted:   #6b6b6b;
  --white:   #ffffff;
  --section-pad: clamp(60px, 8vw, 120px);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ─── SCROLL ANIMATIONS ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right { opacity: 0; transform: translateX( 50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ─── NAV ──────────────────────────────────────────── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 5%;
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(15,34,53,0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 2px;
}
.nav-logo img { height: 42px; width: 42px; object-fit: contain; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.64rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.16);
}
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: 2px;
  font-weight: 600 !important;
}
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1000; }
.hamburger span { width: 24px; height: 2px; background: white; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── WHATSAPP FLOAT & MOBILE ORDER BAR ────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background-color: #25d366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: white;
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
.mobile-order-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 9998;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  background: rgba(8,22,31,0.94);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 32px rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
  border-radius: 4px;
}
.mobile-order-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 8px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 2px;
}
.mobile-order-bar a:first-child {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
@media (max-width: 768px) {
  .whatsapp-float {
    display: none;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
  .mobile-order-bar { display: grid; }
  body { padding-bottom: 76px; }
}

/* ─── SUCURSAL SELECTOR ────────────────────────────── */
.loc-tab-btn {
  background: none;
  border: 1px solid rgba(15, 34, 53, 0.2);
  color: var(--navy);
  padding: 8px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  border-radius: 2px;
}
.loc-tab-btn.active, .loc-tab-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.branch-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 24px;
  padding: 8px 12px;
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--white);
  background: rgba(255,255,255,0.08);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.branch-current::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* ─── HERO ──────────────────────────────────────────── */
#hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../assets/hero/hero.jpg') center/cover no-repeat,
              url('https://images.unsplash.com/photo-1574071318508-1cdbab80d002?w=1600&q=80') center/cover no-repeat;
  opacity: 0.35;
  z-index: 0;
  animation: heroZoom 12s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 48%, rgba(15,34,53,0.55) 0%, rgba(15,34,53,0) 100%),
    linear-gradient(to bottom, rgba(15,34,53,0.55) 0%, rgba(15,34,53,0.25) 50%, rgba(15,34,53,0.85) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 20px;
  animation: fadeUp 1.2s ease 0.3s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-size: 0.7rem; letter-spacing: 6px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.hero-logo {
  margin: 0 auto 26px;
  width: clamp(230px, 46vw, 400px);
}
.hero-logo img {
  width: 100%; height: auto;
  filter: drop-shadow(0 3px 16px rgba(0,0,0,0.6)) drop-shadow(0 0 3px rgba(0,0,0,0.4));
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 0.9;
  margin-bottom: 16px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.75);
  letter-spacing: 4px;
  margin-bottom: 48px;
}
.hero-branches {
  display: inline-flex;
  gap: 10px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(8,22,31,0.32);
  backdrop-filter: blur(8px);
  margin: 0 auto 26px;
}
.hero-branch-btn {
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255,255,255,0.78);
  padding: 9px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.hero-branch-btn.active, .hero-branch-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  color: rgba(255,255,255,0.82);
  font-size: 0.76rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.open-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #70d36b;
  box-shadow: 0 0 12px rgba(112,211,107,0.85);
}
.open-status.closed::before { background: #c95f4a; box-shadow: 0 0 12px rgba(201,95,74,0.7); }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 36px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.4); }
.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  padding: 14px 30px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.28);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--gold); }
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 36px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase;
  animation: bounce 2s ease infinite;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ─── SECTION HEADER ───────────────────────────────── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  font-size: 0.65rem; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px; display: block;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.1;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-divider {
  width: 60px; height: 1px; background: var(--gold);
  margin: 20px auto 0;
}

/* ─── MANIFESTO STRIP ──────────────────────────────── */
#manifesto {
  background: var(--navy);
  padding: 80px 5%;
  overflow: hidden;
}
.manifesto-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.manifesto-text .section-title { color: var(--white); }
.manifesto-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-top: 24px;
}
.manifesto-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  margin-top: 40px;
}
.stat-card {
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300;
  color: var(--gold); line-height: 1;
}
.stat-label {
  font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-top: 6px;
}
.manifesto-image {
  position: relative;
}
.manifesto-image img {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: 2px;
}
.manifesto-image::before {
  content: '';
  position: absolute; top: -16px; left: -16px;
  width: 100%; height: 100%;
  border: 1px solid var(--gold);
  border-radius: 2px;
  z-index: -1;
}

/* ─── PIZZA HISTORY ────────────────────────────────── */
#historia {
  padding: var(--section-pad) 5%;
  background: var(--cream);
}
.history-wrapper { max-width: 1100px; margin: 0 auto; }
.history-timeline { display: flex; flex-direction: column; gap: 60px; margin-top: 60px; }
.history-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 40px; align-items: start;
}
.history-item:nth-child(even) { grid-template-columns: 1fr 120px; }
.history-item:nth-child(even) .history-text { order: -1; }
.history-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem; font-weight: 300; line-height: 1;
  color: rgba(15,34,53,0.1);
  text-align: right;
}
.history-item:nth-child(even) .history-year { text-align: left; }
.history-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 400;
  color: var(--navy); margin-bottom: 12px;
}
.history-desc {
  font-size: 0.9rem; line-height: 1.8; color: var(--muted);
}

/* ─── INGREDIENTES HERO ────────────────────────────── */
#ingredientes {
  background: var(--navy);
  padding: var(--section-pad) 5%;
}
.ingredients-wrapper { max-width: 1100px; margin: 0 auto; }
.ingredients-wrapper .section-title { color: var(--white); }
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px; margin-top: 48px;
}
.ingredient-card {
  position: relative; overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}
.ingredient-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.6);
}
.ingredient-card:hover img { transform: scale(1.08); filter: brightness(0.4); }
.ingredient-info {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(15,34,53,0.9) 0%, transparent 60%);
}
.ingredient-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; color: var(--white); font-weight: 400;
  margin-bottom: 6px;
}
.ingredient-desc {
  font-size: 0.78rem; color: rgba(255,255,255,0); line-height: 1.5;
  transition: color 0.4s;
  max-width: 220px;
}
.ingredient-card:hover .ingredient-desc { color: rgba(255,255,255,0.8); }

/* ─── MENÚ ──────────────────────────────────────────── */
#menu {
  padding: var(--section-pad) 5%;
  background: var(--cream);
}
.menu-wrapper { max-width: 1200px; margin: 0 auto; }
.menu-tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 4px;
  margin: 40px 0 48px;
  border-bottom: 1px solid rgba(15,34,53,0.15);
  padding-bottom: 0;
  position: sticky;
  top: 78px;
  z-index: 50;
  background: rgba(245,240,232,0.96);
  backdrop-filter: blur(8px);
}
.tab-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted);
  padding: 12px 20px;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
  margin-bottom: -1px;
}
.tab-btn.active, .tab-btn:hover { color: var(--navy); border-bottom-color: var(--gold); }
.menu-panel { display: none; }
.menu-panel.active { display: block; }
.menu-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin: -24px 0 36px;
}
.pizza-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pizza-filter {
  min-height: 36px;
  padding: 9px 13px;
  border: 1px solid rgba(15,34,53,0.14);
  background: rgba(255,255,255,0.5);
  color: var(--navy);
  cursor: pointer;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.pizza-filter.active,
.pizza-filter:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.menu-pdf-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.menu-pdf-link:hover {
  background: var(--gold);
  color: var(--navy);
}
.pizza-card.is-hidden { display: none; }

/* Pizza grid */
.pizza-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.pizza-card {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.pizza-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.pizza-card-img {
  height: 200px; overflow: hidden;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.pizza-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.pizza-card:hover .pizza-card-img img { transform: scale(1.06); }
.pizza-emoji {
  font-size: 4rem;
  opacity: 0.6;
}
.pizza-card-body { padding: 20px 22px; }
.pizza-card-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 10px;
}
.pizza-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 600; color: var(--navy);
  flex: 1; padding-right: 12px;
}
.pizza-card-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; color: var(--gold); white-space: nowrap;
}
.pizza-card-ingredients {
  font-size: 0.82rem; color: var(--muted); line-height: 1.6;
}
.menu-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.menu-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 4px 8px;
  border: 1px solid rgba(15,34,53,0.12);
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.menu-badge.recommended { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.menu-badge.veg { color: #327048; border-color: rgba(50,112,72,0.35); }
.menu-badge.hot { color: var(--rust); border-color: rgba(185,74,44,0.35); }
.menu-badge.premium { color: #7a5a12; border-color: rgba(201,168,76,0.55); }
.menu-badge.light { color: #4d6a74; border-color: rgba(77,106,116,0.35); }
.spicy-tag {
  display: inline-block; background: var(--rust); color: white;
  font-size: 0.6rem; letter-spacing: 1px; text-transform: uppercase;
  padding: 2px 8px; border-radius: 2px; margin-left: 8px; vertical-align: middle;
}

/* Lista menú (pasta, ensaladas, etc.) */
.menu-list { display: flex; flex-direction: column; gap: 0; }
.menu-list-item {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(15,34,53,0.08);
  gap: 20px;
  transition: background 0.2s;
}
.menu-list-item:hover { background: rgba(201,168,76,0.04); }
.menu-item-left { flex: 1; }
.menu-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 600; color: var(--navy);
}
.menu-item-desc { font-size: 0.82rem; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.menu-item-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; color: var(--gold);
  white-space: nowrap;
}

/* ─── FAVORITAS / ORDERING ─────────────────────────── */
.favorites-strip {
  margin: 44px 0 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.favorite-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
}
.favorite-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.favorite-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--favorite-img) center/cover no-repeat;
  opacity: 0.54;
  transition: transform 0.45s, opacity 0.45s;
}
.favorite-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,22,31,0.92), rgba(8,22,31,0.08));
}
.favorite-card:hover::before { transform: scale(1.06); opacity: 0.68; }
.favorite-card > * { position: relative; z-index: 1; }
.favorite-kicker {
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.favorite-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  line-height: 1;
  margin-bottom: 6px;
}
.favorite-desc {
  font-size: 0.76rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
}
.order-options {
  background: var(--navy);
  color: var(--white);
  padding: 52px 5%;
}
.order-options-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}
.order-options .section-title { color: var(--white); }
.order-options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.order-option {
  border: 1px solid rgba(255,255,255,0.12);
  padding: 20px;
  min-height: 150px;
}
.order-option-title {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.order-option p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.68);
}
.combo-section {
  padding: 58px 5%;
  background: #fffaf2;
}
.combo-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}
.combo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.combo-card {
  border: 1px solid rgba(15,34,53,0.12);
  background: var(--white);
  padding: 22px;
  min-height: 190px;
}
.combo-kicker {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.combo-title {
  font-family: 'Cormorant Garamond', serif;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.1;
  margin-bottom: 10px;
}
.combo-card p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

/* ─── BEBIDAS GRID ──────────────────────────────────── */
.drinks-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.drinks-column-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 10px; margin-bottom: 16px;
}
.drinks-column {
  background: rgba(255,255,255,0.48);
  border: 1px solid rgba(15,34,53,0.08);
  padding: 18px;
}

/* ─── PROCESO ───────────────────────────────────────── */
#proceso {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a52 100%);
  padding: var(--section-pad) 5%;
  overflow: hidden;
}
.proceso-wrapper { max-width: 1100px; margin: 0 auto; }
.proceso-wrapper .section-title { color: var(--white); }
.proceso-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px; margin-top: 60px;
  position: relative;
}
.proceso-steps::before {
  content: '';
  position: absolute; top: 40px; left: 0; right: 0; height: 1px;
  background: rgba(201,168,76,0.3);
}
.step-card { text-align: center; position: relative; }
.step-number {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; color: var(--navy); font-weight: 700;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 8px rgba(201,168,76,0.15);
}
.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; color: var(--white); margin-bottom: 10px;
}
.step-desc { font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.7; }

/* ─── GALLERY ───────────────────────────────────────── */
#galeria {
  padding: var(--section-pad) 0;
  background: var(--cream);
  overflow: hidden;
}
.gallery-header { padding: 0 5%; margin-bottom: 48px; }
.gallery-track {
  display: flex; gap: 16px;
  animation: scrollGallery 30s linear infinite;
  width: max-content;
}
.gallery-track:hover { animation-play-state: paused; }
@keyframes scrollGallery {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.gallery-track img {
  height: 320px; width: 240px; object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  transition: transform 0.4s;
}
.gallery-track img:hover { transform: scale(1.03); }

/* ─── RESEÑAS ───────────────────────────────────────── */
#resenas {
  background: var(--navy);
  padding: var(--section-pad) 5%;
}
.resenas-wrapper { max-width: 1100px; margin: 0 auto; }
.resenas-wrapper .section-title { color: var(--white); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 48px;
}
.review-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 2px;
  padding: 32px;
  transition: border-color 0.3s, background 0.3s;
}
.review-card:hover {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}
.review-card.featured {
  grid-column: span 2;
  display: grid;
  align-content: center;
  background: rgba(201,168,76,0.11);
}
.review-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 16px; }
.review-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-style: italic;
  color: rgba(255,255,255,0.8); line-height: 1.7;
  margin-bottom: 20px;
}
.review-author { font-size: 0.75rem; font-weight: 500; letter-spacing: 1px; color: var(--gold); }
.review-platform { font-size: 0.7rem; color: rgba(255,255,255,0.3); margin-top: 2px; }
.review-location {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 4px 8px;
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* ─── CONTACTO / CTA ────────────────────────────────── */
#contacto {
  background: var(--cream);
  padding: var(--section-pad) 5%;
}
.contacto-wrapper {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.contacto-info .section-title { text-align: left; }
.contacto-info .section-label { display: inline-block; text-align: left; }
.contacto-info .section-divider { margin: 20px 0 0; }
.contacto-details { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.contacto-item { display: flex; gap: 16px; align-items: flex-start; }
.contacto-icon {
  width: 40px; height: 40px; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1rem;
}
.contacto-item-title {
  font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 4px;
}
.contacto-item-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; color: var(--navy);
}
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.contact-action.primary { background: var(--gold); }
.contact-action:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.branch-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.branch-card {
  border: 1px solid rgba(15,34,53,0.12);
  padding: 16px;
  background: rgba(255,255,255,0.45);
}
.branch-card.active {
  border-color: var(--gold);
  background: rgba(201,168,76,0.11);
}
.branch-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.branch-card-meta {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
}
.branch-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.branch-card-actions button,
.branch-card-actions a {
  border: 1px solid rgba(15,34,53,0.14);
  background: transparent;
  color: var(--navy);
  padding: 8px 10px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}
.branch-card-actions button:hover,
.branch-card-actions a:hover {
  background: var(--navy);
  color: var(--white);
}
.social-row { display: flex; gap: 16px; margin-top: 32px; }
.social-btn {
  width: 44px; height: 44px; border: 1px solid rgba(15,34,53,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; border-radius: 50%;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.social-btn:hover {
  background: var(--navy); border-color: var(--navy);
  color: white; transform: translateY(-3px);
}
.contacto-map {
  width: 100%; aspect-ratio: 1 / 1;
  background: var(--navy);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  min-height: 380px;
}
.contacto-map iframe { width: 100%; height: 100%; border: none; position: absolute; inset:0; }
.map-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,0.4);
}
.map-placeholder .map-icon { font-size: 3rem; }
.map-placeholder p { font-size: 0.85rem; text-align: center; }
.map-placeholder a {
  color: var(--gold); font-size: 0.8rem;
  text-decoration: underline;
}

/* ─── FOOTER ────────────────────────────────────────── */
footer {
  background: #08161f;
  padding: 60px 5% 30px;
  color: rgba(255,255,255,0.4);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 44px;
  margin-bottom: 48px;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; color: var(--white); margin-bottom: 16px;
}
.footer-brand-name span { color: var(--gold); }
.footer-tagline { font-size: 0.82rem; line-height: 1.7; margin-bottom: 20px; }
.footer-col-title {
  font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color 0.3s; }
.footer-col ul a:hover { color: var(--white); }
.footer-branches {
  display: grid;
  gap: 12px;
}
.footer-branch {
  border: 1px solid rgba(255,255,255,0.08);
  padding: 14px;
}
.footer-branch-title {
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.footer-branch-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-branch-links a {
  color: var(--gold);
  font-size: 0.74rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  max-width: 1100px; margin: 0 auto;
}
.footer-bottom p { font-size: 0.75rem; }

/* ─── MODAL ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(8,22,31,0.9);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
  padding: 20px;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--cream);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  position: relative;
}
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-img { height: 240px; overflow: hidden; flex-shrink: 0; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-body {
  padding: 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; color: var(--navy); margin-bottom: 8px;
}
.modal-price { font-size: 1.3rem; color: var(--gold); font-family: 'Cormorant Garamond', serif; margin-bottom: 16px; }
.modal-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }
.modal-note {
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(201,168,76,0.12);
  color: var(--navy);
  font-size: 0.74rem;
  line-height: 1.5;
}
.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.modal-action {
  flex: 1;
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.25s, color 0.25s;
}
.modal-action.primary { background: var(--gold); color: var(--navy); }
.modal-action:not(.primary) { color: var(--navy); }
.modal-action:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: rgba(15,34,53,0.6); border: none; color: white;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--navy); }

/* ─── HISTORIA ──────────────────────────────────────── */
.historia-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}

/* ─── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-status { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(82vw, 320px); background: rgba(8,22,31,0.98);
    padding: 92px 32px 32px;
    gap: 24px; z-index: 999;
    box-shadow: -16px 0 50px rgba(0,0,0,0.28);
  }
  .nav-links.open a { font-size: 0.82rem; }
  .hamburger { display: flex; }
  .hero-branches { width: 100%; max-width: 320px; }
  .hero-branch-btn { flex: 1; padding: 10px 8px; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 48px; }
  .manifesto-image::before { display: none; }
  .hero-bg { animation: none; transform: none; }
  .reveal-left, .reveal-right { transform: translateY(30px); }
  .history-item, .history-item:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .history-year { font-size: 3rem; text-align: left !important; }
  .history-item:nth-child(even) .history-text { order: 0; }
  .contacto-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .contact-actions { flex-direction: column; }
  .contact-action { width: 100%; }
  #contacto .contact-actions { margin-bottom: 90px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .proceso-steps::before { display: none; }

  /* Historia: una columna */
  .historia-inner { grid-template-columns: 1fr; gap: 40px; }
  .historia-img-main { height: 320px !important; }
  .historia-img-overlap { display: none; }
  .historia-stats { flex-wrap: wrap; gap: 24px !important; }

  /* Menú: tarjetas a ancho completo + tabs con scroll horizontal */
  .pizza-grid { grid-template-columns: 1fr; gap: 14px; }
  .pizza-card { display: grid; grid-template-columns: 118px 1fr; min-height: 118px; }
  .pizza-card-img { height: 100%; min-height: 118px; }
  .pizza-card-body { padding: 14px; }
  .pizza-card-name { font-size: 1.08rem; }
  .pizza-card-price { font-size: 1.14rem; }
  .pizza-card-ingredients { font-size: 0.8rem; line-height: 1.5; }
  .menu-badges { margin-top: 8px; }
  .menu-badge { font-size: 0.62rem; padding: 4px 7px; min-height: 20px; }
  .menu-tools { grid-template-columns: 1fr; margin-top: -12px; }
  .menu-pdf-link { justify-self: stretch; justify-content: center; }
  .pizza-filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .pizza-filter { flex: 0 0 auto; }
  .favorites-strip { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 34px; }
  .favorite-card { min-height: 150px; padding: 14px; }
  .favorite-title { font-size: 1.16rem; }
  .favorite-desc { display: none; }
  .order-options-inner { grid-template-columns: 1fr; }
  .order-options-grid { grid-template-columns: 1fr; }
  .combo-inner { grid-template-columns: 1fr; }
  .combo-grid { grid-template-columns: 1fr; }
  .review-card.featured { grid-column: auto; }
  .branch-cards { grid-template-columns: 1fr; }
  .menu-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    top: 78px;
    justify-content: flex-start;
    margin-bottom: 30px;
    padding-top: 8px;
  }
  .menu-tabs::-webkit-scrollbar { display: none; }
  .tab-btn { flex: 0 0 auto; white-space: nowrap; padding: 12px 14px; }

  /* Galería: imágenes más chicas */
  .gallery-track img { height: 220px; width: 165px; }

  /* Modal a ancho de pantalla */
  .modal-overlay { padding: 12px; }
  .modal-img { height: 180px; }
  .modal-body { padding: 22px; }
  .modal-actions { flex-direction: column; }
  .modal-action { width: 100%; }
}

/* ─── SEGURO ANTI-DESBORDE ──────────────────────────── */
@media (max-width: 400px) {
  .pizza-grid, .ingredients-grid { grid-template-columns: 1fr; }
  .gallery-track img { height: 190px; width: 145px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .gallery-track { animation: none; }
}
