/* ===== DESIGN TOKENS ===== */
:root {
  --primary: #C94A3A;
  --primary-light: #F0B347;
  --secondary: #8A5A44;
  --secondary-light: #704735;
  --accent: #C4391E;
  --gold: #C94A3A;
  --gold-light: #E5B75D;
  --cream: #FFF5E6;
  --cream-dark: #F5E8D0;
  --warm-dark: #1A0E08;
  --warm-dark-2: #0E0805;
  --warm-mid: #704735;
  --deep: #0E0805;
  --text-main: #1A0E08;
  --text-light: #8A7568;

  /* Typography scale */
  --font-heading: 'Big Shoulders Display', sans-serif;
  --font-display: 'Fraunces', serif;
  --font-body: 'Outfit', sans-serif;
}

/* ===== BASE ===== */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 900;
}

.font-signature,
.font-display {
  font-family: var(--font-display) !important;
}

::selection {
  background: var(--primary);
  color: white;
}

section {
  overflow: hidden;
}

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

/* ===== GRAIN OVERLAY ===== */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}


/* ===== PAGE LOADER ===== */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loader-empanada {
  width: 156px;
  height: 156px;
  object-fit: contain;
  animation: loaderPulse 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(212, 146, 42, 0.4));
}

@keyframes loaderPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.loader-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  animation: loaderFade 1.2s ease-in-out infinite;
}

@keyframes loaderFade {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

/* ===== NAVBAR ===== */
#navbar {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

#navbar.scrolled .nav-link {
  color: rgba(26, 14, 8, 0.7) !important;
}

#navbar.scrolled .logo-text .font-display {
  color: var(--warm-dark) !important;
}

#navbar.scrolled #menu-btn {
  color: var(--warm-dark) !important;
}

/* Mobile drawer */
#mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid rgba(212, 146, 42, 0.1);
}

#mobile-menu.open {
  transform: translateX(0);
}

/* Nav link */
.nav-link {
  position: relative;
  font-family: var(--font-body);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--primary);
  color: var(--deep);
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: 2px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 146, 42, 0.35);
  background: var(--primary-light);
  border-color: var(--primary-light);
}

.btn-ghost {
  background: transparent;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--warm-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s;
  text-decoration: none;
  border: 2px solid rgba(26, 14, 8, 0.15);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--deep);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s;
  text-decoration: none;
  border: 2px solid var(--deep);
}

.btn-dark:hover {
  background: transparent;
  color: var(--deep);
  transform: translateY(-2px);
}

.btn-white {
  background: white;
  color: var(--warm-dark);
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s;
  text-decoration: none;
  border: 2px solid white;
}

.btn-white:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
}

/* ===== SECTION TAGS ===== */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
}

.section-tag-light {
  background: rgba(212, 146, 42, 0.1);
  color: var(--primary);
  border: 1px solid rgba(212, 146, 42, 0.25);
}

.section-tag-dark {
  background: rgba(212, 146, 42, 0.12);
  color: var(--primary);
  border: 1px solid rgba(212, 146, 42, 0.2);
}

.section-tag-catering {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background: rgba(26, 14, 8, 0.12);
  color: var(--warm-dark);
  border: 1px solid rgba(26, 14, 8, 0.2);
}

/* ===== HERO ===== */
.hero-section {
  background: #2b1710;
}

.hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.78;
  will-change: transform;
  filter: saturate(1.05) contrast(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(14, 8, 5, 0.68) 0%,
      rgba(14, 8, 5, 0.48) 36%,
      rgba(14, 8, 5, 0.18) 70%,
      rgba(14, 8, 5, 0.10) 100%),
    linear-gradient(180deg, rgba(14, 8, 5, 0.16) 0%, rgba(14, 8, 5, 0.20) 100%);
}

.hero-bg-letter {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-55%);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(300px, 45vw, 700px);
  color: rgba(212, 146, 42, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* Empanada wrap */
.hero-empanada-wrap {
  width: clamp(280px, 30vw, 520px);
  height: clamp(280px, 30vw, 520px);
}

.empanada-glow-ring {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 146, 42, 0.12) 0%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
}



@keyframes glowPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* Hero title */
.hero-title {
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 0.88;
}

.text-outline {
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.6);
  color: transparent;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.8);
  }
}

.badge-text {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
}

/* Trust tags */
.trust-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 20;
}

.scroll-indicator span {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(212, 146, 42, 0.6), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 1;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  100% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* ===== MARQUEE ===== */
.marquee-wrap {
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}

.marquee-track-inverted .marquee-item {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--deep);
  white-space: nowrap;
  padding: 0 1.5rem;
}

.marquee-track-inverted .marquee-sep {
  color: rgba(14, 8, 5, 0.4);
  padding: 0 0.5rem;
}

/* Fallback for pages that don't use inverted marquee */
.marquee-item {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--warm-dark);
  white-space: nowrap;
  padding: 0 1.5rem;
}

.dot {
  color: var(--primary);
}

.marquee-sep {
  opacity: 0.4;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

/* ===== GLOW EFFECTS ===== */
.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 146, 42, 0.08) 0%, transparent 70%);
  top: -10%;
  right: -5%;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 146, 42, 0.06) 0%, transparent 70%);
  bottom: -10%;
  left: 5%;
}

/* Background section numbers */
.craft-bg-number,
.value-bg-number,
.menu-bg-number,
.steps-bg-number,
.testimonials-bg-number {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(180px, 25vw, 360px);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.craft-bg-number {
  color: rgba(212, 146, 42, 0.06);
}

.value-bg-number {
  color: rgba(212, 146, 42, 0.06);
}

.menu-bg-number {
  color: rgba(212, 146, 42, 0.05);
}

.steps-bg-number {
  color: rgba(212, 146, 42, 0.05);
}

.testimonials-bg-number {
  color: rgba(212, 146, 42, 0.05);
}

/* ===== CRAFT SECTION ===== */
.craft-section {
  background: var(--cream);
}

.craft-step-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.craft-img-backdrop {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(212, 146, 42, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

/* Rain empanadas layer */
.craft-rain-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.craft-rain-emp {
  position: absolute;
  will-change: transform;
  filter: drop-shadow(0 4px 12px rgba(201, 74, 58, 0.15));
  /* individual size/position/opacity set via inline style */
}

/* ===== VALUE CARDS (dark) ===== */
.value-card-dark {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.value-card-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 146, 42, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.value-card-dark:hover {
  border-color: rgba(212, 146, 42, 0.2);
  background: rgba(212, 146, 42, 0.04);
  transform: translateY(-4px);
}

.value-card-dark:hover::before {
  opacity: 1;
}

.value-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: block;
}

/* Keep old .value-card for compatibility */
.value-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

/* Counter items */
.counter-item {
  position: relative;
}

.counter-item::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 2px;
  background: var(--primary);
  opacity: 0.3;
}

/* ===== MENU SECTION ===== */
.menu-section {
  background: var(--cream-dark);
}

/* Product Marquee */
.product-marquee-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0 -1.25rem;
  padding: 1.5rem 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.product-marquee-wrapper::-webkit-scrollbar {
  display: none;
}

.product-marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
}

/* Product card in marquee */
.product-card-marquee {
  flex-shrink: 0;
  width: 230px;
  background: white;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card-marquee:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.product-card-marquee img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.product-info-marquee {
  padding: 0.875rem;
}

.product-title-marquee {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--warm-dark);
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.product-desc-marquee {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(26, 14, 8, 0.4);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

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

.product-price-marquee {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--primary);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--warm-dark);
}

.about-img-wrap {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.1);
}

.about-img-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--primary);
  padding: 0.75rem 1.25rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Quote */
.about-quote {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--primary);
  border-radius: 0 1rem 1rem 0;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  position: relative;
}

.quote-mark {
  position: absolute;
  top: 1rem;
  left: 0.75rem;
  width: 1.5rem;
  height: 1.5rem;
  color: rgba(212, 146, 42, 0.15);
}

/* ===== STEPS ===== */
.steps-section {
  background: var(--cream);
}

.step-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.1;
  line-height: 1;
  margin-bottom: -1rem;
}

.step-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* ===== CATERING ===== */
.catering-section {
  background: var(--primary);
  position: relative;
}

.catering-bg-text {
  position: absolute;
  bottom: -5%;
  left: -2%;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(80px, 18vw, 240px);
  color: rgba(14, 8, 5, 0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.catering-card {
  background: rgba(14, 8, 5, 0.07);
  border: 1px solid rgba(14, 8, 5, 0.12);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background 0.3s, transform 0.3s;
}

.catering-card:hover {
  background: rgba(14, 8, 5, 0.12);
  transform: translateY(-4px);
}

/* ===== CONTACT ===== */
.contact-section {
  background: var(--cream);
}

.contact-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.5rem;
  padding: 2.5rem;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-row:last-child {
  border-bottom: none;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--warm-dark);
}

.testimonial-card-new {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}

.testimonial-card-new:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 146, 42, 0.2);
  background: rgba(212, 146, 42, 0.03);
}

.testimonial-featured {
  border-color: rgba(212, 146, 42, 0.2);
  background: rgba(212, 146, 42, 0.04);
}

/* Keep old testimonial-card for compatibility */
.testimonial-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 1.5rem;
  padding: 1.75rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}

.star {
  color: var(--primary);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--deep);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212, 146, 42, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(212, 146, 42, 0.05) 0%, transparent 60%);
}

.cta-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(100px, 22vw, 320px);
  color: rgba(212, 146, 42, 0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

/* ===== FOOTER ===== */
.footer-section {
  background: var(--deep);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.social-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  transition: all 0.25s;
}

.social-icon:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--deep);
  transform: translateY(-2px);
}

/* ===== SCROLL REVEALS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
}

.stagger-child {
  opacity: 0;
  transform: translateY(25px);
}

/* ===== WARM DARK BG (compatibility) ===== */
.warm-dark-bg {
  background: var(--warm-dark);
}

/* ===== STEP ITEMS (compatibility) ===== */
.step-item {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}

/* ===== PARALLAX IMG ===== */
.parallax-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}


/* ===== FLOATING DECORATIVE EMPANADAS ===== */

.hero-img {
  z-index: 0;
}

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

.hero-bg-letter {
  z-index: 2;
}

.floating-empanadas-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.floating-empanada {
  position: absolute;
  width: clamp(90px, 10vw, 190px);
  opacity: 0.16;
  filter: drop-shadow(0 28px 45px rgba(0, 0, 0, 0.28));
  will-change: transform;
  animation-name: empanadaSpin;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Different positions, sizes, opacity, and speed */
.empanada-float-1 {
  top: 16%;
  left: 6%;
  width: clamp(90px, 8vw, 150px);
  opacity: 0.12;
  animation-duration: 36s;
}

.empanada-float-2 {
  top: 28%;
  left: 42%;
  width: clamp(110px, 11vw, 210px);
  opacity: 0.10;
  animation-duration: 58s;
  animation-direction: reverse;
}

.empanada-float-3 {
  top: 62%;
  left: 12%;
  width: clamp(120px, 13vw, 240px);
  opacity: 0.14;
  animation-duration: 44s;
}

.empanada-float-4 {
  top: 12%;
  right: 18%;
  width: clamp(80px, 7vw, 140px);
  opacity: 0.13;
  animation-duration: 28s;
  animation-direction: reverse;
}

.empanada-float-5 {
  bottom: 14%;
  right: 8%;
  width: clamp(140px, 15vw, 280px);
  opacity: 0.11;
  animation-duration: 70s;
}

.empanada-float-6 {
  bottom: 26%;
  right: 34%;
  width: clamp(75px, 6vw, 125px);
  opacity: 0.15;
  animation-duration: 22s;
  animation-direction: reverse;
}

@keyframes empanadaSpin {
  from {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }

  to {
    transform: rotate(360deg) translate3d(0, 0, 0);
  }
}

/* Keep text above decorative layer */
.hero-section>.relative.z-10 {
  z-index: 10;
}

/* Mobile: reduce visual noise */
@media (max-width: 768px) {
  .floating-empanadas-layer {
    display: none;
  }
}

/* Accessibility: reduce motion when user requests less animation */
@media (prefers-reduced-motion: reduce) {

  .floating-empanada,
  .empanada-glow-ring,
  .loader-empanada {
    animation: none !important;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .hero-bg-letter {
    font-size: 50vw;
    right: -10%;
    top: 60%;
  }

  .scroll-indicator {
    display: none;
  }

  .craft-bg-number,
  .value-bg-number,
  .steps-bg-number,
  .testimonials-bg-number {
    font-size: 120px;
    opacity: 0.5;
  }
}

/* ===== ORDER PAGE COMPATIBILITY ===== */
/* (order.css handles order-specific styles) */

/* ===== PRINT ===== */
@media print {

  .grain-overlay,
  #cursor-dot,
  #page-loader,
  #navbar {
    display: none !important;
  }
}

/* ===== AK POLISH V10 ===== */
/* Remove large decorative section numbers while keeping product imagery clean. */
.hero-bg-letter, .menu-bg-number, .craft-bg-number, .value-bg-number, .about-bg-number, .steps-bg-number, .testimonials-bg-number {
  display: none !important;
}

#navbar .logo-text img {
  width: 2.5rem !important;
  height: 2.5rem !important;
  object-fit: contain;
}
@media (min-width: 768px) {
  #navbar .logo-text img {
    width: 3.5rem !important;
    height: 3.5rem !important;
  }
}

/* Keep reviews and final CTA on one continuous dark background. */
.testimonials-section, .cta-section {
  background: var(--warm-dark) !important;
}

/* Mobile navigation polish */
@media (max-width: 767px) {
  #navbar .max-w-7xl {
    height: 4rem !important;
  }
  #mobile-menu {
    width: min(86vw, 22rem);
  }
}


/* Launch v11: remove the large spinning hero empanada and keep hero imagery brighter. */
#hero-empanada, .hero-empanada-wrap, .empanada-glow-ring {
  display: none !important;
}


/* ===== LAUNCH V12: PROFESSIONAL GOOGLE REVIEW CTA ===== */
.google-review-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 1.25rem;
  align-items: stretch;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 2rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 24px 80px rgba(0,0,0,0.20);
}

.google-review-copy,
.google-review-card {
  border-radius: 1.5rem;
}

.google-review-copy {
  padding: clamp(1rem, 2vw, 1.5rem);
}

.google-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.google-g {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: #fff;
  color: #4285F4;
  font-weight: 900;
  font-family: Arial, sans-serif;
}

.google-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.google-review-primary,
.google-review-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.google-review-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 14px 36px rgba(201,74,58,0.24);
}

.google-review-primary:hover,
.google-review-secondary:hover {
  transform: translateY(-2px);
}

.google-review-secondary {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.86);
}

.google-review-card {
  padding: 1.35rem;
  background: rgba(14,8,5,0.34);
  border: 1px solid rgba(255,255,255,0.10);
}

.google-stars {
  color: var(--primary-light);
  letter-spacing: 0.08em;
  font-size: 1.1rem;
}

.review-policy-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
}

.review-policy-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(201,74,58,0.18);
  color: #fff;
  font-weight: 900;
}

.review-policy-row p {
  color: rgba(255,255,255,0.58);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  .google-review-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .google-review-actions a {
    width: 100%;
  }
}


/* ===== LAUNCH V13: LIVE GOOGLE REVIEWS ===== */
.google-review-summary {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.055);
  border-radius: 18px;
  max-width: 360px;
}
.google-review-score {
  display: flex;
  align-items: center;
  gap: 14px;
}
#google-review-rating {
  font-family: 'Oswald', sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 900;
  color: #fff;
}
.google-review-live-card {
  min-height: 360px;
}
.google-reviews-loading,
.google-reviews-empty {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed rgba(255,255,255,.14);
  border-radius: 22px;
  background: rgba(255,255,255,.035);
  padding: 24px;
  color: rgba(255,255,255,.55);
  font-family: 'Inter', sans-serif;
}
.reviews-spinner {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,.12);
  border-top-color: #C94A3A;
  display: block;
  margin-bottom: 12px;
  animation: akSpin .9s linear infinite;
}
@keyframes akSpin { to { transform: rotate(360deg); } }
.google-reviews-list {
  display: grid;
  gap: 14px;
}
.google-live-review {
  padding: 16px 16px 15px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.055);
}
.google-live-review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.google-live-review-author {
  color: #fff;
  font-weight: 800;
  font-size: .92rem;
}
.google-live-review-time {
  color: rgba(255,255,255,.36);
  font-size: .76rem;
  margin-top: 2px;
}
.google-live-review-stars {
  color: #fbbf24;
  letter-spacing: .04em;
  white-space: nowrap;
  font-size: .9rem;
}
.google-live-review-text {
  color: rgba(255,255,255,.62);
  font-size: .9rem;
  line-height: 1.55;
  font-family: 'Inter', sans-serif;
}
.google-reviews-trust {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.review-policy-row.compact {
  padding: 10px 12px;
  border-radius: 14px;
}
.review-policy-row.compact p {
  font-size: .82rem;
}
@media (max-width: 640px) {
  .google-review-summary { max-width: none; }
  .google-live-review-top { flex-direction: column; gap: 6px; }
}


/* ===== HERO MOBILE WAVE / CTA FIX =====
   Keeps the decorative cream wave behind the buttons on small screens.
   The wave is visual only and should never cover or block the Explore Menu button.
*/
.hero-buttons {
  position: relative;
  z-index: 35;
}

.hero-wave-divider {
  pointer-events: none;
}

@media (max-width: 640px) {
  #hero .hero-buttons {
    margin-bottom: 2.75rem;
  }

  .hero-wave-divider svg {
    height: 2.75rem;
  }
}

@media (max-width: 380px) {
  #hero .hero-buttons {
    margin-bottom: 3.25rem;
  }
}


/* ===== TESTIMONIALS COLUMNS ===== */
.testimonial-columns-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  height: 560px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  margin-bottom: 3rem;
}

.testimonial-col {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.testimonial-col-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Scroll up — default speed */
.testimonial-col-up {
  animation: testimonialScrollUp 32s linear infinite;
}

/* Scroll up — slower (col 3) */
.testimonial-col-up--slow {
  animation-duration: 44s;
}

/* Scroll down — col 2 */
.testimonial-col-down {
  animation: testimonialScrollDown 38s linear infinite;
}

@keyframes testimonialScrollUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

@keyframes testimonialScrollDown {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}

/* Testimonial card */
.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.25rem;
  padding: 1.35rem 1.25rem;
  flex-shrink: 0;
  transition: border-color 0.3s;
}

.testimonial-card--featured {
  border-color: rgba(201, 74, 58, 0.3);
  background: rgba(201, 74, 58, 0.07);
}

.testimonial-stars {
  color: #F0B347;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 0.875rem;
  font-style: italic;
}

.testimonial-author {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
}

/* CTA row below columns */
.testimonial-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

/* Responsive: tablet — hide col 3 */
@media (max-width: 900px) {
  .testimonial-columns-wrap {
    grid-template-columns: repeat(2, 1fr);
    height: 480px;
  }
  .testimonial-col--last {
    display: none;
  }
}

/* Responsive: mobile — single column */
@media (max-width: 560px) {
  .testimonial-columns-wrap {
    grid-template-columns: 1fr;
    height: 420px;
  }
  .testimonial-col--mid,
  .testimonial-col--last {
    display: none;
  }
}

/* Pause on hover */
.testimonial-columns-wrap:hover .testimonial-col-inner {
  animation-play-state: paused;
}

/* Accessibility: no animation */
@media (prefers-reduced-motion: reduce) {
  .testimonial-col-up,
  .testimonial-col-up--slow,
  .testimonial-col-down {
    animation: none !important;
  }
  .testimonial-columns-wrap {
    overflow-y: auto;
    mask-image: none;
    -webkit-mask-image: none;
    height: auto;
    max-height: 560px;
  }
}

/* ===== FIRST MOBILE POLISH BATCH ===== */
.hero-trust-row {
  max-width: 34rem;
}

.hero-trust-row .trust-tag {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.25;
}

.btn-primary,
.btn-ghost,
.btn-outline,
.btn-dark,
.btn-white {
  min-height: 44px;
  text-align: center;
}

@media (max-width: 640px) {
  .hero-section {
    min-height: 100svh;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-ghost {
    width: 100%;
    min-height: 52px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-trust-row {
    gap: 0.5rem;
  }

  .hero-trust-row .trust-tag {
    font-size: 0.7rem;
    padding: 0.42rem 0.7rem;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .menu-section,
  .craft-section,
  .value-section,
  .about-section,
  .steps-section,
  .contact-section,
  .testimonials-section,
  .cta-section {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
  }

  .value-card-dark,
  .step-card,
  .contact-card {
    padding: 1.35rem;
  }

  .value-card-dark h3,
  .step-card h3,
  .contact-card h3 {
    overflow-wrap: anywhere;
  }

  .contact-row {
    align-items: flex-start;
    gap: 0.35rem;
    flex-direction: column;
  }

  .contact-card .btn-outline {
    width: 100%;
    min-height: 48px;
  }

  .about-img-wrap {
    height: min(78vw, 360px);
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .section-tag {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}
