/* ============================================================
   LA FIAMMA — Premium Pizzeria | Main Stylesheet
   ============================================================ */

/* 1. GOOGLE FONTS IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Dancing+Script:wght@600;700&display=swap');

/* 2. CSS CUSTOM PROPERTIES */
:root {
  /* Colors */
  --c-bg:           #09080A;
  --c-surface:      #111013;
  --c-card:         #1B191E;
  --c-elevated:     #252328;
  --c-primary:      #E84C0A;
  --c-primary-h:    #F5600F;
  --c-primary-dim:  rgba(232, 76, 10, 0.12);
  --c-primary-glow: rgba(232, 76, 10, 0.35);
  --c-gold:         #C9A840;
  --c-gold-light:   #E4C870;
  --c-gold-dim:     rgba(201, 168, 64, 0.15);
  --c-white:        #F5F2EE;
  --c-gray-100:     #E8E4DE;
  --c-gray-300:     #B5AFA8;
  --c-gray-500:     #857F78;
  --c-gray-700:     #45413E;
  --c-border:       rgba(255,255,255,0.07);
  --c-border-h:     rgba(255,255,255,0.14);

  /* Typography */
  --f-serif:  'Playfair Display', Georgia, serif;
  --f-sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-cormo:  'Cormorant Garamond', Georgia, serif;
  --f-script: 'Dancing Script', cursive;

  /* Sizing */
  --nav-h:     80px;
  --cont-max:  1300px;
  --cont-pad:  clamp(20px, 5vw, 60px);

  /* Borders */
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   40px;
  --r-full: 9999px;

  /* Shadows */
  --sh-sm:      0 2px 10px rgba(0,0,0,0.4);
  --sh-md:      0 8px 30px rgba(0,0,0,0.5);
  --sh-lg:      0 20px 70px rgba(0,0,0,0.6);
  --sh-primary: 0 8px 40px rgba(232,76,10,0.4);
  --sh-gold:    0 8px 40px rgba(201,168,64,0.3);

  /* Transitions */
  --tr-fast:  180ms cubic-bezier(0.4, 0, 0.2, 1);
  --tr-base:  320ms cubic-bezier(0.4, 0, 0.2, 1);
  --tr-slow:  600ms cubic-bezier(0.4, 0, 0.2, 1);
  --tr-spring:400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 3. RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-sans);
  background-color: var(--c-bg);
  color: var(--c-white);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

body.menu-open { overflow: hidden; }

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: none; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

::selection {
  background: var(--c-primary);
  color: #fff;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-surface); }
::-webkit-scrollbar-thumb { background: var(--c-primary); border-radius: 3px; }

/* 4. TYPOGRAPHY SCALE */
.t-display {
  font-family: var(--f-serif);
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.t-h1 {
  font-family: var(--f-serif);
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.t-h2 {
  font-family: var(--f-serif);
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
}
.t-h3 {
  font-family: var(--f-serif);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 600;
  line-height: 1.25;
}
.t-h4 {
  font-family: var(--f-sans);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.3;
}
.t-body-lg {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  line-height: 1.7;
}
.t-label {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.t-script {
  font-family: var(--f-script);
  font-size: clamp(24px, 3vw, 42px);
}

/* Gradient text */
.text-gradient {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gold {
  background: linear-gradient(135deg, var(--c-gold) 0%, var(--c-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 5. LAYOUT UTILITIES */
.container {
  max-width: var(--cont-max);
  margin: 0 auto;
  padding: 0 var(--cont-pad);
}

.section { padding: clamp(60px, 8vw, 120px) 0; }
.section-sm { padding: clamp(40px, 5vw, 80px) 0; }
.section-dark { background: var(--c-surface); }
.section-card { background: var(--c-card); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-label::before, .section-label::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--c-primary);
}

.section-header { text-align: center; margin-bottom: clamp(40px, 5vw, 72px); }
.section-header .section-label { justify-content: center; }
.section-subtitle {
  color: var(--c-gray-300);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 300;
  max-width: 600px;
  margin: 16px auto 0;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-gold));
  border-radius: var(--r-full);
  margin: 20px auto;
}
.divider-left { margin: 20px 0; }

/* 6. PRELOADER */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--c-bg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#preloader.fade-out { opacity: 0; visibility: hidden; }

.preloader-flame {
  position: relative;
  width: 80px;
  height: 100px;
  margin-bottom: 30px;
}

.preloader-flame svg {
  width: 100%;
  height: 100%;
  animation: flameBurn 1.2s ease-in-out infinite alternate;
}

@keyframes flameBurn {
  0%   { transform: scaleY(1) scaleX(1); filter: drop-shadow(0 0 15px var(--c-primary)); }
  50%  { transform: scaleY(1.1) scaleX(0.95); filter: drop-shadow(0 0 25px var(--c-gold)); }
  100% { transform: scaleY(0.95) scaleX(1.05); filter: drop-shadow(0 0 20px var(--c-primary-h)); }
}

.preloader-text {
  font-family: var(--f-serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--c-white);
  animation: textPulse 1.5s ease-in-out infinite;
}
.preloader-sub {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--c-gold);
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0.7;
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: var(--c-elevated);
  border-radius: var(--r-full);
  margin-top: 32px;
  overflow: hidden;
}
.preloader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--c-primary), var(--c-gold));
  border-radius: var(--r-full);
  animation: loadBar 1.8s ease-in-out forwards;
  width: 0;
}
@keyframes loadBar { to { width: 100%; } }
@keyframes textPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }

/* 7. CUSTOM CURSOR */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--c-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform var(--tr-fast), background var(--tr-fast), width var(--tr-fast), height var(--tr-fast);
}
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(232,76,10,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, width var(--tr-base), height var(--tr-base), border-color var(--tr-base);
}
.cursor-dot.hover {
  width: 12px;
  height: 12px;
  background: var(--c-gold);
}
.cursor-ring.hover {
  width: 56px;
  height: 56px;
  border-color: rgba(201,168,64,0.4);
}
.cursor-dot.click { transform: translate(-50%, -50%) scale(0.6); }
.cursor-ring.click { transform: translate(-50%, -50%) scale(0.8); }

/* 8. NAVIGATION */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background var(--tr-base), backdrop-filter var(--tr-base), box-shadow var(--tr-base), height var(--tr-base);
}
#navbar.scrolled {
  background: rgba(9, 8, 10, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--c-border), 0 8px 32px rgba(0,0,0,0.4);
  height: 68px;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--cont-pad);
  max-width: var(--cont-max);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.nav-logo img { height: 48px; width: auto; }
#navbar.scrolled .nav-logo img { height: 40px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-gray-300);
  border-radius: var(--r-sm);
  transition: color var(--tr-fast), background var(--tr-fast);
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 1px;
  background: var(--c-primary);
  transform: scaleX(0);
  transition: transform var(--tr-base);
  border-radius: var(--r-full);
}
.nav-links a:hover { color: var(--c-white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--c-white); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--c-primary) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: var(--r-full) !important;
  font-weight: 600 !important;
  transition: background var(--tr-fast), box-shadow var(--tr-fast), transform var(--tr-spring) !important;
  box-shadow: var(--sh-primary);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--c-primary-h) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 40px var(--c-primary-glow) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-sm);
  transition: background var(--tr-fast);
}
.nav-hamburger:hover { background: var(--c-elevated); }
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-white);
  border-radius: var(--r-full);
  transition: transform var(--tr-base), opacity var(--tr-base), width var(--tr-base);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu Drawer */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(380px, 100vw);
  height: 100vh;
  background: var(--c-surface);
  border-left: 1px solid var(--c-border);
  z-index: 999;
  padding: 100px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: right var(--tr-slow);
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-family: var(--f-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--c-gray-300);
  border-bottom: 1px solid var(--c-border);
  transition: color var(--tr-fast), padding-left var(--tr-base);
}
.mobile-menu a:hover { color: var(--c-white); padding-left: 10px; }
.mobile-menu .mobile-cta {
  margin-top: 24px;
  display: inline-block;
  background: var(--c-primary);
  color: #fff;
  padding: 16px 32px;
  border-radius: var(--r-full);
  font-family: var(--f-sans);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  box-shadow: var(--sh-primary);
}
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(4px);
  transition: opacity var(--tr-base), visibility var(--tr-base);
}
.menu-overlay.open { opacity: 1; visibility: visible; }

/* 9. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--tr-spring);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity var(--tr-fast);
}
.btn:hover::before { opacity: 1; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: var(--sh-primary);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 48px var(--c-primary-glow); }

.btn-outline {
  background: transparent;
  color: var(--c-white);
  border: 1.5px solid var(--c-border-h);
}
.btn-outline:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  transform: translateY(-3px);
}
.btn-gold {
  background: var(--c-gold);
  color: var(--c-bg);
  box-shadow: var(--sh-gold);
}
.btn-gold:hover { transform: translateY(-3px); background: var(--c-gold-light); }

.btn-lg { padding: 18px 44px; font-size: 15px; }
.btn-sm { padding: 10px 22px; font-size: 13px; }
.btn-icon { width: 48px; height: 48px; padding: 0; border-radius: 50%; }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?w=1920&q=85');
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  transition: transform 12s ease;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(9,8,10,0.92) 0%,
    rgba(9,8,10,0.75) 40%,
    rgba(9,8,10,0.5) 100%
  );
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--cont-max);
  margin: 0 auto;
  padding: 0 var(--cont-pad);
  padding-top: var(--nav-h);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.8s 0.3s ease forwards;
}
.hero-eyebrow svg { width: 20px; height: 20px; }

.hero-title {
  font-family: var(--f-serif);
  font-size: clamp(52px, 7.5vw, 110px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--c-white);
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 0.9s 0.5s ease forwards;
}
.hero-title span { display: block; color: transparent;
  -webkit-text-stroke: 2px var(--c-primary); }
.hero-title em {
  font-style: italic;
  color: var(--c-primary);
  -webkit-text-stroke: 0;
}

.hero-subtitle {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 300;
  color: var(--c-gray-300);
  max-width: 480px;
  margin: 28px 0 44px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.8s 0.7s ease forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.8s 0.9s ease forwards;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 64px;
  opacity: 0;
  animation: heroReveal 0.8s 1.1s ease forwards;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  backdrop-filter: blur(10px);
}
.hero-badge-icon {
  font-size: 20px;
  line-height: 1;
}
.hero-badge-text {
  font-size: 12px;
  color: var(--c-gray-300);
}
.hero-badge-text strong {
  display: block;
  font-size: 14px;
  color: var(--c-white);
  font-weight: 600;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: heroReveal 0.8s 1.4s ease forwards;
}
.hero-scroll span {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--c-gray-500);
  text-transform: uppercase;
  writing-mode: vertical-lr;
}
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--c-primary), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* 11. FEATURES / WHY US SECTION */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  transition: transform var(--tr-base), border-color var(--tr-base), box-shadow var(--tr-base);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr-slow);
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--c-border-h);
  box-shadow: var(--sh-md);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 56px; height: 56px;
  background: var(--c-primary-dim);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  transition: background var(--tr-base), transform var(--tr-spring);
}
.feature-card:hover .feature-icon {
  background: var(--c-primary);
  transform: rotate(-5deg) scale(1.1);
}

.feature-title {
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 12px;
}
.feature-text {
  font-size: 14px;
  color: var(--c-gray-300);
  line-height: 1.65;
}

/* 12. MENU SECTION / PIZZA CARDS */
.menu-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.menu-tab {
  padding: 10px 22px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-gray-300);
  background: var(--c-card);
  border: 1px solid var(--c-border);
  transition: all var(--tr-base);
  letter-spacing: 0.02em;
}
.menu-tab:hover { color: var(--c-white); border-color: var(--c-border-h); }
.menu-tab.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  box-shadow: var(--sh-primary);
}

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

.pizza-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--tr-base), box-shadow var(--tr-base), border-color var(--tr-base);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pizza-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
  border-color: rgba(232,76,10,0.3);
}

.pizza-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--c-elevated);
}
.pizza-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.pizza-card:hover .pizza-img-wrap img { transform: scale(1.08); }

.pizza-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--c-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-full);
}
.pizza-badge.new { background: var(--c-gold); color: var(--c-bg); }
.pizza-badge.popular { background: var(--c-primary); }
.pizza-badge.vegan { background: #2E7D32; }

.pizza-fav {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(9,8,10,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background var(--tr-fast), transform var(--tr-spring);
  font-size: 16px;
  border: none;
  color: var(--c-gray-500);
}
.pizza-fav:hover { background: rgba(232,76,10,0.8); color: #fff; transform: scale(1.1); }
.pizza-fav.active { background: var(--c-primary); color: #fff; }

.pizza-body {
  padding: 22px 22px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pizza-name {
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 6px;
}
.pizza-desc {
  font-size: 13px;
  color: var(--c-gray-300);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.pizza-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.pizza-tag {
  font-size: 11px;
  color: var(--c-gray-500);
  background: var(--c-elevated);
  border-radius: var(--r-full);
  padding: 3px 10px;
}

.pizza-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
  gap: 12px;
}
.pizza-prices {
  display: flex;
  flex-direction: column;
}
.pizza-price-main {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-white);
  font-family: var(--f-serif);
}
.pizza-price-alt {
  font-size: 12px;
  color: var(--c-gray-500);
}
.pizza-add {
  width: 42px; height: 42px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-size: 20px;
  line-height: 1;
  transition: all var(--tr-spring);
  flex-shrink: 0;
  box-shadow: var(--sh-primary);
}
.pizza-add:hover { transform: scale(1.15) rotate(90deg); background: var(--c-primary-h); }

/* 13. STATS COUNTER SECTION */
.stats-section {
  background: linear-gradient(135deg, rgba(232,76,10,0.08) 0%, rgba(201,168,64,0.05) 100%);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-item { position: relative; }
.stat-item::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--c-border);
}
.stat-item:last-child::after { display: none; }

.stat-number {
  font-family: var(--f-serif);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--c-white), var(--c-gray-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.stat-suffix {
  color: var(--c-primary);
  -webkit-text-fill-color: var(--c-primary);
}
.stat-label {
  font-size: 13px;
  color: var(--c-gray-500);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* 14. TESTIMONIALS */
.testimonials-section { overflow: hidden; }
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  min-width: 380px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  position: relative;
  transition: border-color var(--tr-base);
}
.testimonial-card.active { border-color: rgba(232,76,10,0.4); }
.testimonial-quote {
  font-size: 48px;
  color: var(--c-primary);
  font-family: var(--f-serif);
  line-height: 0.8;
  margin-bottom: 16px;
  display: block;
  opacity: 0.5;
}
.testimonial-text {
  font-size: 16px;
  color: var(--c-gray-100);
  line-height: 1.7;
  font-family: var(--f-cormo);
  font-size: 18px;
  margin-bottom: 24px;
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--c-gold);
  font-size: 16px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--c-border);
  padding-top: 20px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--c-border-h);
}
.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-white);
}
.testimonial-loc {
  font-size: 12px;
  color: var(--c-gray-500);
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.testimonial-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--c-border);
  background: var(--c-card);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--tr-base);
}
.testimonial-btn:hover {
  border-color: var(--c-primary);
  background: var(--c-primary-dim);
  color: var(--c-primary);
  transform: scale(1.1);
}
.testimonials-dots {
  display: flex;
  gap: 8px;
}
.testimonials-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-elevated);
  transition: all var(--tr-base);
}
.testimonials-dot.active {
  background: var(--c-primary);
  width: 24px;
  border-radius: 4px;
}

/* 15. GALLERY SECTION */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-card);
}
.gallery-item:nth-child(1) { grid-column: span 5; }
.gallery-item:nth-child(2) { grid-column: span 4; }
.gallery-item:nth-child(3) { grid-column: span 3; }
.gallery-item:nth-child(4) { grid-column: span 3; }
.gallery-item:nth-child(5) { grid-column: span 5; }
.gallery-item:nth-child(6) { grid-column: span 4; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  opacity: 0;
  transition: opacity var(--tr-base);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  color: var(--c-white);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(10px);
  transition: transform var(--tr-base);
}
.gallery-item:hover .gallery-item-overlay span { transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--tr-base);
  backdrop-filter: blur(20px);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--r-md);
  transform: scale(0.9);
  transition: transform var(--tr-base);
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--c-border-h);
  border-radius: 50%;
  color: var(--c-white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tr-fast);
}
.lightbox-close:hover { background: var(--c-primary); }

/* 16. FAQ ACCORDION */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--tr-base);
}
.faq-item.open { border-color: rgba(232,76,10,0.4); }
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  font-family: var(--f-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--c-white);
  background: transparent;
  transition: color var(--tr-fast);
}
.faq-btn:hover { color: var(--c-primary); }
.faq-item.open .faq-btn { color: var(--c-primary); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
  transition: background var(--tr-base), transform var(--tr-base), color var(--tr-base);
}
.faq-item.open .faq-icon {
  background: var(--c-primary-dim);
  color: var(--c-primary);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--c-gray-300);
  line-height: 1.7;
}

/* 17. FORMS */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gray-300);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  background: var(--c-card);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 14px 18px;
  color: var(--c-white);
  font-size: 15px;
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast), background var(--tr-fast);
  outline: none;
  -webkit-appearance: none;
}
.form-control::placeholder { color: var(--c-gray-700); }
.form-control:focus {
  border-color: var(--c-primary);
  background: var(--c-elevated);
  box-shadow: 0 0 0 3px var(--c-primary-dim);
}
.form-control.error {
  border-color: #E74C3C;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.15);
}
.form-control.success {
  border-color: #2ECC71;
  box-shadow: 0 0 0 3px rgba(46,204,113,0.15);
}
.form-error-msg {
  display: none;
  font-size: 12px;
  color: #E74C3C;
  margin-top: 6px;
  padding-left: 4px;
}
.form-control.error + .form-error-msg { display: block; }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: none; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
  padding: 20px 24px;
  background: rgba(46,204,113,0.1);
  border: 1px solid rgba(46,204,113,0.3);
  border-radius: var(--r-md);
  color: #2ECC71;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  display: none;
  margin-top: 16px;
}
.form-success.show { display: block; }

/* Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: none;
}
.form-check-input {
  width: 20px; height: 20px;
  border: 1.5px solid var(--c-border-h);
  border-radius: 5px;
  background: var(--c-card);
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--tr-fast);
  position: relative;
  cursor: none;
}
.form-check-input:checked {
  background: var(--c-primary);
  border-color: var(--c-primary);
}
.form-check-input:checked::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.form-check-label {
  font-size: 13px;
  color: var(--c-gray-300);
  line-height: 1.5;
}
.form-check-label a { color: var(--c-primary); text-decoration: underline; }

/* 18. RESERVATION PAGE */
.reservation-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.reservation-info h3 {
  font-family: var(--f-serif);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}
.reservation-info p { color: var(--c-gray-300); font-size: 15px; margin-bottom: 32px; }
.reservation-hours {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px;
}
.hours-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 16px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 14px;
}
.hours-row:last-child { border-bottom: none; }
.hours-day { color: var(--c-gray-300); }
.hours-time { color: var(--c-white); font-weight: 500; }
.hours-closed { color: var(--c-gray-700); }

/* 19. ORDER / CART */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

/* Cart Sidebar */
.cart-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cart-header {
  padding: 20px 24px;
  background: var(--c-elevated);
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-title {
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-count {
  background: var(--c-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-items {
  padding: 16px;
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--c-gray-500);
  font-size: 14px;
}
.cart-empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.4; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--c-elevated);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
}
.cart-item-img {
  width: 52px; height: 52px;
  border-radius: var(--r-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.cart-item-size { font-size: 11px; color: var(--c-gray-500); }
.cart-item-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.cart-qty-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  color: var(--c-white);
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tr-fast);
}
.cart-qty-btn:hover { background: var(--c-primary); border-color: var(--c-primary); }
.cart-qty { font-size: 14px; font-weight: 700; min-width: 20px; text-align: center; }
.cart-item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary);
  flex-shrink: 0;
}
.cart-remove {
  background: none;
  border: none;
  color: var(--c-gray-700);
  font-size: 16px;
  line-height: 1;
  padding: 4px;
  transition: color var(--tr-fast);
}
.cart-remove:hover { color: #E74C3C; }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--c-border);
  background: var(--c-elevated);
}
.cart-totals { margin-bottom: 16px; }
.cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 4px 0;
  color: var(--c-gray-300);
}
.cart-row.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-white);
  border-top: 1px solid var(--c-border);
  margin-top: 8px;
  padding-top: 12px;
}
.cart-row.total .cart-total-price { color: var(--c-primary); }

/* Size selector */
.size-selector {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}
.size-btn {
  flex: 1;
  padding: 8px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-elevated);
  color: var(--c-gray-300);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: all var(--tr-fast);
}
.size-btn.active, .size-btn:hover {
  border-color: var(--c-primary);
  background: var(--c-primary-dim);
  color: var(--c-primary);
}

/* 20. NEWSLETTER */
.newsletter-section {
  background: linear-gradient(135deg, rgba(232,76,10,0.1), rgba(201,168,64,0.05));
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: clamp(48px, 6vw, 80px);
  text-align: center;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 32px auto 0;
}
.newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-full);
  padding: 14px 24px;
  color: var(--c-white);
  font-size: 15px;
  outline: none;
  transition: border-color var(--tr-fast);
}
.newsletter-input::placeholder { color: var(--c-gray-700); }
.newsletter-input:focus { border-color: var(--c-primary); }

/* 21. OPENING HOURS WIDGET */
.hours-widget {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
}
.hours-widget-title {
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 22. CONTACT SECTION */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--c-primary-dim);
  border: 1px solid rgba(232,76,10,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: background var(--tr-base), transform var(--tr-spring);
}
.contact-info-item:hover .contact-icon {
  background: var(--c-primary);
  transform: scale(1.1);
}
.contact-info-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: 16px;
  color: var(--c-white);
  font-weight: 500;
}
.contact-info-sub { font-size: 13px; color: var(--c-gray-300); margin-top: 2px; }

.map-placeholder {
  width: 100%; height: 280px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--c-gray-500);
  margin-top: 32px;
  font-size: 14px;
  overflow: hidden;
  position: relative;
}
.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.02) 40px,
      rgba(255,255,255,0.02) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.02) 40px,
      rgba(255,255,255,0.02) 41px
    );
}
.map-pin { font-size: 36px; position: relative; animation: mapBounce 2s ease-in-out infinite; }
@keyframes mapBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Social links */
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-card);
  border: 1.5px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--tr-spring);
}
.social-link:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  transform: translateY(-4px) scale(1.1);
  box-shadow: var(--sh-primary);
}

/* 23. FOOTER */
footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--c-border);
}
.footer-brand p {
  font-size: 14px;
  color: var(--c-gray-500);
  line-height: 1.7;
  margin: 20px 0 28px;
  max-width: 280px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: var(--c-gray-500);
  transition: color var(--tr-fast), padding-left var(--tr-base);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--c-white); padding-left: 6px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--c-gray-500);
  margin-bottom: 12px;
  line-height: 1.5;
}
.footer-contact-icon { font-size: 14px; margin-top: 1px; flex-shrink: 0; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 13px;
  color: var(--c-gray-700);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 13px;
  color: var(--c-gray-700);
  transition: color var(--tr-fast);
}
.footer-legal a:hover { color: var(--c-gray-300); }

/* 24. SCROLL TO TOP */
#scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--c-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  z-index: 500;
  border: none;
  box-shadow: var(--sh-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--tr-base);
}
#scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#scroll-top:hover { transform: translateY(-4px); box-shadow: 0 16px 48px var(--c-primary-glow); }

/* 25. ABOUT PAGE */
.about-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1920&q=85');
  background-size: cover;
  background-position: center;
}
.about-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9,8,10,0.95) 30%, rgba(9,8,10,0.6));
}

.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  background: linear-gradient(180deg, var(--c-surface) 0%, var(--c-bg) 100%);
  border-bottom: 1px solid var(--c-border);
  text-align: center;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 13px;
  color: var(--c-gray-500);
  margin-bottom: 20px;
}
.page-hero-breadcrumb a { transition: color var(--tr-fast); }
.page-hero-breadcrumb a:hover { color: var(--c-primary); }
.page-hero-breadcrumb span { color: var(--c-primary); }

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-primary), transparent);
  transform: translateX(-50%);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: center;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px; height: 14px;
  background: var(--c-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px var(--c-primary-dim);
}
.timeline-item:nth-child(even) .timeline-content { order: -1; text-align: right; }
.timeline-item:nth-child(even) .timeline-year { order: 1; }
.timeline-year {
  font-family: var(--f-serif);
  font-size: 48px;
  font-weight: 900;
  color: var(--c-primary);
  opacity: 0.3;
  text-align: center;
  line-height: 1;
}
.timeline-content {
  padding: 24px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
}
.timeline-content h4 {
  font-family: var(--f-serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.timeline-content p { font-size: 13px; color: var(--c-gray-300); line-height: 1.6; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--tr-base), box-shadow var(--tr-base);
  text-align: center;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }
.team-img-wrap {
  height: 280px;
  overflow: hidden;
  position: relative;
}
.team-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--tr-slow);
}
.team-card:hover .team-img-wrap img { transform: scale(1.08); }
.team-body { padding: 24px; }
.team-name {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.team-role { font-size: 12px; color: var(--c-gold); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.team-bio { font-size: 13px; color: var(--c-gray-300); line-height: 1.6; }

/* 26. LEGAL PAGES */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 60px) var(--cont-pad) 100px;
}
.legal-content h1 {
  font-family: var(--f-serif);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 8px;
}
.legal-content .legal-date {
  font-size: 13px;
  color: var(--c-gray-500);
  margin-bottom: 48px;
}
.legal-content h2 {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--c-white);
}
.legal-content p {
  font-size: 15px;
  color: var(--c-gray-300);
  line-height: 1.75;
  margin-bottom: 16px;
}
.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-content ul li {
  font-size: 15px;
  color: var(--c-gray-300);
  line-height: 1.75;
  margin-bottom: 8px;
}
.legal-content a { color: var(--c-primary); text-decoration: underline; }
.legal-divider {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: 40px 0;
}

/* 27. SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-scale.revealed { opacity: 1; transform: scale(1); }

/* Stagger delays */
.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; }

/* 28. NOTIFICATION TOAST */
.toast {
  position: fixed;
  bottom: 100px;
  right: 32px;
  background: var(--c-elevated);
  border: 1px solid var(--c-border-h);
  border-radius: var(--r-md);
  padding: 14px 20px;
  font-size: 14px;
  color: var(--c-white);
  z-index: 6000;
  transform: translateX(200%);
  transition: transform var(--tr-base);
  max-width: 300px;
  box-shadow: var(--sh-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show { transform: translateX(0); }
.toast.success { border-color: rgba(46,204,113,0.4); }
.toast.error { border-color: rgba(231,76,60,0.4); }

/* 29. UTILITY CLASSES */
.text-primary { color: var(--c-primary); }
.text-gold { color: var(--c-gold); }
.text-muted { color: var(--c-gray-500); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0 !important; }
.w-full { width: 100%; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.pt-0 { padding-top: 0 !important; }

/* Badge generic */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.badge-primary { background: var(--c-primary-dim); color: var(--c-primary); border: 1px solid rgba(232,76,10,0.25); }
.badge-gold { background: var(--c-gold-dim); color: var(--c-gold); border: 1px solid rgba(201,168,64,0.25); }

/* 30. PAGE TRANSITION */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--c-primary);
  z-index: 9999;
  transform: scaleX(0);
  transform-origin: right;
}

/* 31. MEDIA QUERIES */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .order-layout { grid-template-columns: 1fr; }
  .cart-sidebar { position: relative; top: auto; }
}

@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .reservation-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(3, 220px); }
  .gallery-item:nth-child(1) { grid-column: span 6; }
  .gallery-item:nth-child(2) { grid-column: span 3; }
  .gallery-item:nth-child(3) { grid-column: span 3; }
  .gallery-item:nth-child(4) { grid-column: span 2; }
  .gallery-item:nth-child(5) { grid-column: span 2; }
  .gallery-item:nth-child(6) { grid-column: span 2; }
  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 1fr; padding-left: 60px; }
  .timeline-item::before { left: 20px; }
  .timeline-item:nth-child(even) .timeline-content { order: 0; text-align: left; }
  .timeline-item:nth-child(even) .timeline-year { order: 0; text-align: left; }
  .timeline-year { font-size: 32px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  .hero-badges { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item::after { display: none; }
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .testimonial-card { min-width: 300px; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: unset;
    gap: 12px;
  }
  .gallery-item { grid-column: unset !important; height: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .newsletter-form { flex-direction: column; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .timeline-item { padding-left: 40px; }
  .timeline::before { left: 10px; }
  .timeline-item::before { left: 10px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(38px, 10vw, 54px); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  #scroll-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}
