/* ===== CSS RESET & ROOT VARIABLES ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --bg-primary: #0d0d0d;
  --bg-secondary: #151515;
  --bg-card: #1c1c1c;
  --bg-card-hover: #242424;
  --accent: #e8720c;
  --accent-hover: #ff8c2a;
  --accent-light: #f5a623;
  --accent-glow: rgba(232, 114, 12, 0.25);
  --text-primary: #ffffff;
  --text-secondary: #a8a8a8;
  --text-muted: #6b6b6b;
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --overlay: rgba(0, 0, 0, 0.6);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);

  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --border-radius-xs: 6px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== WOOD TEXTURE BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(60, 40, 20, 0.03) 2px,
      rgba(60, 40, 20, 0.03) 4px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(40, 25, 10, 0.04) 80px,
      rgba(40, 25, 10, 0.04) 82px
    );
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title span {
  color: var(--accent);
}

/* ===== HEADER / NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-normal);
  background: transparent;
}

.header.scrolled {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.logo:hover .logo-img {
  transform: rotate(8deg) scale(1.08);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .brand {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
}

.logo-text .sub {
  font-size: 0.65rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.nav-cart {
  position: relative;
  background: var(--accent);
  color: var(--text-primary);
  border: none;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  margin-left: 12px;
}

.nav-cart:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.nav-cart .cart-count {
  background: var(--text-primary);
  color: var(--accent);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(232, 114, 12, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 114, 12, 0.1);
  border: 1px solid rgba(232, 114, 12, 0.2);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge::before {
  content: '🔥';
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  text-transform: uppercase;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--accent);
  opacity: 0.3;
  border-radius: 3px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--text-primary);
  border: none;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: var(--transition-slow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  font-family: var(--font-body);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(232, 114, 12, 0.05);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat {
  text-align: left;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Hero image */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

.hero-float-card {
  position: absolute;
  background: rgba(28, 28, 28, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 3s ease-in-out infinite;
  box-shadow: var(--shadow);
}

.hero-float-card.top-right {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.hero-float-card.bottom-left {
  bottom: 15%;
  left: -30px;
  animation-delay: 1.5s;
}

.hero-float-card .float-icon {
  font-size: 1.4rem;
}

.hero-float-card .float-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-float-card .float-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ===== MENU SECTION ===== */
.menu {
  padding: var(--section-padding);
  position: relative;
}

.menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 10%, var(--bg-secondary) 90%, var(--bg-primary) 100%);
  z-index: -1;
}

/* Menu tabs */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.menu-tab {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: var(--font-body);
}

.menu-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.menu-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-primary);
}

/* Menu grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* Pizza card */
.pizza-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  transition: var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.pizza-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(232, 114, 12, 0.03) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition-normal);
}

.pizza-card:hover {
  border-color: rgba(232, 114, 12, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pizza-card:hover::before {
  opacity: 1;
}

.pizza-card-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.pizza-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.pizza-card:hover .pizza-card-image img {
  transform: scale(1.08) rotate(3deg);
}

.pizza-card-info {
  flex: 1;
  position: relative;
  z-index: 1;
}

.pizza-card-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.pizza-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.pizza-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pizza-card-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.btn-add {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-body);
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.btn-add:hover {
  background: var(--accent);
  color: var(--text-primary);
  transform: scale(1.02);
}

.btn-add.added {
  background: #2ecc71;
  border-color: #2ecc71;
  color: white;
}

/* Menu pagination */
.menu-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}

.page-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-primary);
}

.page-dots {
  display: flex;
  gap: 6px;
}

.page-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: var(--transition-fast);
}

.page-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ===== PROMOTIONS SECTION ===== */
.promotions {
  padding: var(--section-padding);
  position: relative;
}

.promotions::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      87deg,
      transparent,
      transparent 3px,
      rgba(80, 50, 20, 0.02) 3px,
      rgba(80, 50, 20, 0.02) 5px
    ),
    linear-gradient(180deg, var(--bg-primary) 0%, rgba(30, 18, 8, 0.4) 50%, var(--bg-primary) 100%);
  z-index: -1;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.promo-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: var(--transition-normal);
  group: promo;
}

.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.promo-card:hover img {
  transform: scale(1.06);
}

.promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.promo-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent);
  color: var(--text-primary);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.promo-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.promo-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===== REVIEWS SECTION ===== */
.reviews {
  padding: var(--section-padding);
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px 0;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 32px;
  transition: var(--transition-normal);
  position: relative;
}

.review-card:hover {
  border-color: rgba(232, 114, 12, 0.2);
  transform: translateY(-4px);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 4rem;
  color: rgba(232, 114, 12, 0.1);
  line-height: 1;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author {
  font-weight: 700;
  font-size: 0.95rem;
}

.review-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.review-stars .star {
  color: var(--accent-light);
  font-size: 0.9rem;
}

.review-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
}

.reviews-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.reviews-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-nav button:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(232, 114, 12, 0.05);
}

/* ===== VIDEO SECTION ===== */
.video-section {
  padding: var(--section-padding);
  position: relative;
}

.video-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 30%, var(--bg-secondary) 70%, var(--bg-primary) 100%);
  z-index: -1;
}

.video-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.video-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.15;
}

.video-text h2 span {
  color: var(--accent);
}

.video-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.video-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
}

.video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.video-wrapper:hover img {
  transform: scale(1.03);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
  box-shadow: 0 0 0 0 rgba(232, 114, 12, 0.4);
  animation: pulse-ring 2s infinite;
}

.video-play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 22px;
  border-color: transparent transparent transparent white;
  margin-left: 4px;
}

.video-wrapper:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

/* ===== SUCURSALES / BRANCHES SECTION ===== */
.branches {
  padding: var(--section-padding);
  position: relative;
}

.branches::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 10%, var(--bg-secondary) 90%, var(--bg-primary) 100%);
  z-index: -1;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

.branch-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition-normal);
}

.branch-card:hover {
  border-color: rgba(232, 114, 12, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.branch-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.branch-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.branch-card:hover .branch-image img {
  transform: scale(1.05);
}

.branch-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--border-light);
}

.branch-info {
  padding: 28px;
}

.branch-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.branch-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.branch-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.branch-detail a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.branch-detail a:hover {
  color: var(--accent);
}

.branch-detail-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.branch-map {
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.branch-map iframe {
  display: block;
}

.branch-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-pedidosya {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #FF0050;
  border: 2px solid #FF0050;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-pedidosya:hover {
  background: #FFF0F4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 0, 80, 0.2);
}

.btn-pedidosya .pedidosya-logo {
  flex-shrink: 0;
}

.btn-whatsapp-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-whatsapp-sm:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

/* ===== CTA / CONTACT SECTION ===== */
.cta-section {
  padding: var(--section-padding);
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, rgba(232, 114, 12, 0.1) 0%, rgba(232, 114, 12, 0.03) 100%);
  border: 1px solid rgba(232, 114, 12, 0.15);
  border-radius: 24px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(232, 114, 12, 0.08) 0%, transparent 70%);
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cta-box h2 span {
  color: var(--accent);
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* WhatsApp button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  font-family: var(--font-body);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.25);
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 1rem;
}

.footer-socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(232, 114, 12, 0.05);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 114, 12, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(232, 114, 12, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(232, 114, 12, 0);
  }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--bg-card);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: var(--border-radius-sm);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 9999;
  box-shadow: var(--shadow);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 1.4rem;
}

.toast-text {
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-float-card.top-right {
    right: 0;
  }

  .hero-float-card.bottom-left {
    left: 0;
  }

  .video-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile Large */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(13, 13, 13, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
    border-left: 1px solid var(--border);
  }

  .nav.open {
    right: 0;
  }

  .nav-link {
    font-size: 1rem;
    padding: 12px 24px;
  }

  .nav-cart {
    margin-left: 0;
    margin-top: 12px;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

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

  .pizza-card {
    flex-direction: column;
    text-align: center;
  }

  .pizza-card-footer {
    flex-direction: column;
    gap: 12px;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    flex: 0 0 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .cta-box {
    padding: 50px 24px;
  }

  .branches-grid {
    grid-template-columns: 1fr;
  }

  .branch-actions {
    flex-direction: column;
  }

  .btn-pedidosya,
  .btn-whatsapp-sm {
    justify-content: center;
    width: 100%;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-float-card {
    display: none;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 40px;
  }

  .menu-tabs {
    gap: 6px;
  }

  .menu-tab {
    padding: 10px 18px;
    font-size: 0.75rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Selection */
::selection {
  background: rgba(232, 114, 12, 0.3);
  color: var(--text-primary);
}


.reveal{
    opacity:0;
    transform:translateY(60px);
    transition:all .8s ease;
}
.reveal.active{
    opacity:1;
    transform:translateY(0);
}

.reviews{
    padding:80px 20px;
    text-align:center;
}
.reviews-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-top:40px;
}
.review-card{
    background:#fff;
    padding:25px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
    transition:transform .3s;
}
.review-card:hover{
    transform:translateY(-10px);
}
.review-card img{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:15px;
}


.reviews{
    background: linear-gradient(180deg,#2b1d14,#3a2618);
    color:#fff;
}
.review-card{
    background: rgba(255,255,255,0.08) !important;
    backdrop-filter: blur(8px);
    color:#fff;
    border:1px solid rgba(255,255,255,.1);
}
.review-card p,
.review-card h3{
    color:#fff;
}
.review-card img{
    border:4px solid rgba(255,255,255,.2);
}


.review-card{
    background:rgba(255,255,255,0.08)!important;
    backdrop-filter:blur(8px);
}
.review-date,.review-text,.review-author,.star{
    color:#fff !important;
}
