/* ═══════════════════════════════════════════
   Margherita Pan & Pizza — Design Tokens
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  /* Colors — Dark palette */
  --color-bg: #1A1612;
  --color-bg-light: #FAF3EA;
  --color-surface: #2A2420;
  --color-surface-light: #F0E8DC;
  --color-text: #F5EFEA;
  --color-text-dark: #2C2418;
  --color-accent: #D4A054;
  --color-accent-red: #C8373D;
  --color-accent-green: #3D7A4A;
  --color-muted: #8B7E72;
  --color-border: rgba(255,255,255,0.08);
  --color-border-light: rgba(44,36,24,0.1);

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  /* Easing */
  --ease-snappy: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-bouncy: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-dramatic: cubic-bezier(0.7, 0, 0.3, 1);

  /* Durations */
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-entrance: 600ms;
}

/* ═══════════════════════════════════════════
   Reset & Base
   ═══════════════════════════════════════════ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.125rem);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ═══════════════════════════════════════════
   Typography
   ═══════════════════════════════════════════ */

.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144;
}

.headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 72;
}

.subheadline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 0.9rem + 1vw, 1.5rem);
  line-height: 1.3;
  font-variation-settings: 'opsz' 36;
  font-style: italic;
}

.overline {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.caption {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

/* ═══════════════════════════════════════════
   Layout Utilities
   ═══════════════════════════════════════════ */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3vw, 3rem);
}

.section-padding {
  padding-block: clamp(4rem, 8vw, 8rem);
}

.section-light {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}

.section-dark {
  background-color: var(--color-bg);
  color: var(--color-text);
}

.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }

/* Italian flag divider */
.flag-divider {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-block: 1.5rem;
}

.flag-divider span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
}

.flag-divider .green { background-color: var(--color-accent-green); }
.flag-divider .white { background-color: #FFFFFF; }
.flag-divider .red { background-color: var(--color-accent-red); }

/* Skip to content link (accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  background-color: var(--color-accent);
  color: var(--color-bg);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-weight: 500;
  font-size: 0.875rem;
  transition: top var(--duration-fast) var(--ease-snappy);
}

.skip-link:focus {
  top: 0;
}

/* Focus-visible — global accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.btn-primary:focus-visible,
.btn-whatsapp:focus-visible,
.nav-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Flag divider — inline variant */
.flag-divider--inline {
  margin-block: 0;
}

/* ═══════════════════════════════════════════
   Scroll Reveal System
   ═══════════════════════════════════════════ */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--duration-entrance) var(--ease-smooth),
    transform var(--duration-entrance) var(--ease-smooth);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="1"].revealed { transition-delay: 100ms; }
[data-reveal="2"].revealed { transition-delay: 200ms; }
[data-reveal="3"].revealed { transition-delay: 300ms; }
[data-reveal="4"].revealed { transition-delay: 400ms; }
[data-reveal="5"].revealed { transition-delay: 500ms; }

/* ═══════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background-color var(--duration-normal) var(--ease-snappy),
              padding var(--duration-normal) var(--ease-snappy),
              backdrop-filter var(--duration-normal) var(--ease-snappy);
}

.nav.scrolled {
  background-color: rgba(26, 22, 18, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 48px;
  width: auto;
  transition: height var(--duration-normal) var(--ease-snappy);
}

.nav.scrolled .nav-logo img {
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--color-text);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--duration-normal) var(--ease-smooth);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-accent-green);
  color: #fff;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.875rem;
  transition: transform var(--duration-fast) var(--ease-snappy),
              box-shadow var(--duration-fast) var(--ease-snappy);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61, 122, 74, 0.3);
}

.nav-cta:active {
  transform: scale(0.97);
  transition-duration: 50ms;
}

.nav-cta svg {
  width: 18px;
  height: 18px;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-snappy),
              opacity var(--duration-fast);
}

/* ═══════════════════════════════════════════
   Hero
   ═══════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 22, 18, 0.3) 0%,
    rgba(26, 22, 18, 0.6) 50%,
    rgba(26, 22, 18, 0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 2rem;
}

.hero-logo {
  width: clamp(100px, 20vw, 160px);
  height: auto;
  margin-inline: auto;
  margin-bottom: 0.5rem;
  filter: brightness(1.1);
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.25rem;
  font-variation-settings: 'opsz' 72;
}

.hero-brand-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 1rem + 3.5vw, 3.5rem);
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  font-variation-settings: 'opsz' 144;
}

.hero-tagline em {
  color: var(--color-accent);
  font-style: normal;
}

.hero-subtitle {
  font-weight: 300;
  color: var(--color-muted);
  margin-bottom: 2.5rem;
  font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.15rem);
}

/* Hero entrance animation */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  animation: heroFadeUp 700ms var(--ease-smooth) both;
}

.hero-content > *:nth-child(1) { animation-delay: 200ms; }
.hero-content > *:nth-child(2) { animation-delay: 350ms; }
.hero-content > *:nth-child(3) { animation-delay: 450ms; }
.hero-content > *:nth-child(4) { animation-delay: 550ms; }
.hero-content > *:nth-child(5) { animation-delay: 650ms; }
.hero-content > *:nth-child(6) { animation-delay: 750ms; }
.hero-content > *:nth-child(7) { animation-delay: 850ms; }
.hero-content > *:nth-child(8) { animation-delay: 950ms; }

/* Primary CTA */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background-color: var(--color-accent-red);
  color: #fff;
  padding: 1rem 2.25rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: transform var(--duration-fast) var(--ease-snappy),
              box-shadow var(--duration-fast) var(--ease-snappy),
              background-color var(--duration-fast) var(--ease-snappy);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(200, 55, 61, 0.35);
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 50ms;
}

.btn-primary svg {
  width: 20px;
  height: 20px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: heroFadeUp 700ms var(--ease-smooth) 1200ms both;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.scroll-indicator svg {
  width: 28px;
  height: 28px;
  color: var(--color-muted);
  animation: scrollBounce 2s var(--ease-snappy) infinite;
}

/* ═══════════════════════════════════════════
   Photo Carousel
   ═══════════════════════════════════════════ */

.carousel-section {
  padding-block: clamp(1.25rem, 2.5vw, 2rem);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(0.6rem, 1.2vw, 0.85rem);
}

.carousel {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

.carousel-track {
  display: flex;
  gap: clamp(0.6rem, 1.2vw, 0.85rem);
  width: max-content;
}

.carousel-track--left {
  animation: carouselScrollLeft 45s linear infinite;
}

.carousel-track--right {
  animation: carouselScrollRight 50s linear infinite;
}

.carousel-slide {
  flex-shrink: 0;
  width: clamp(220px, 24vw, 340px);
  height: clamp(220px, 24vw, 340px);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-smooth),
              filter 400ms var(--ease-smooth);
}

.carousel-slide:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

@keyframes carouselScrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes carouselScrollRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

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

/* ═══════════════════════════════════════════
   Lightbox
   ═══════════════════════════════════════════ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(10, 8, 6, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms var(--ease-smooth),
              visibility 300ms;
}

.lightbox[hidden] {
  display: flex;
  pointer-events: none;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 16px;
  object-fit: contain;
  transform: scale(0.92);
  transition: transform 400ms var(--ease-bouncy);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-snappy),
              transform var(--duration-fast) var(--ease-snappy);
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.lightbox-close:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ═══════════════════════════════════════════
   About / Esencia Section
   ═══════════════════════════════════════════ */

.about {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about-text .overline {
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.about-text .headline {
  color: var(--color-text-dark);
  margin-bottom: 1.25rem;
}

.about-text p {
  color: #5A4E42;
  max-width: 50ch;
  margin-bottom: 1rem;
}

.about-text p:last-of-type {
  margin-bottom: 0;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-smooth);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(44, 36, 24, 0.08);
  pointer-events: none;
}

/* Pizza types strip */
.types-strip {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.type-card {
  text-align: center;
  padding: 1.75rem 1rem;
  background: var(--color-surface-light);
  border-radius: 16px;
  transition: transform var(--duration-normal) var(--ease-smooth),
              box-shadow var(--duration-normal) var(--ease-smooth);
}

.type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(44, 36, 24, 0.08);
}

.type-card-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-inline: auto;
  margin-bottom: 1rem;
  border: 3px solid var(--color-accent);
}

.type-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text-dark);
  margin-bottom: 0.25rem;
  font-variation-settings: 'opsz' 36;
}

.type-card p {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

/* ═══════════════════════════════════════════
   Menu Section
   ═══════════════════════════════════════════ */

.menu-section {
  position: relative;
}

.menu-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(212, 160, 84, 0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.menu-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  position: relative;
}

.menu-header .headline {
  margin-bottom: 0.5rem;
}

.menu-sizes {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.size-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
}

.size-badge.grande {
  background-color: var(--color-accent);
  color: var(--color-bg);
}

.size-badge.personal {
  background-color: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.size-badge strong {
  font-weight: 600;
  font-size: 1rem;
}

.size-badge span {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Menu list — single column with order buttons */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background-color: rgba(255,255,255,0.04);
  border-radius: 16px;
  overflow: hidden;
}

.menu-item {
  background-color: var(--color-bg);
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  transition: background-color var(--duration-normal) var(--ease-snappy);
}

.menu-item:hover {
  background-color: var(--color-surface);
}

.menu-item-info {
  flex: 1;
  min-width: 0;
}

.menu-item-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  color: var(--color-accent);
  margin-bottom: 0.35rem;
  font-variation-settings: 'opsz' 48;
}

.menu-item-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-bg);
  background-color: var(--color-accent-red);
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.menu-item-desc {
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1rem);
  color: var(--color-muted);
  line-height: 1.5;
  max-width: 55ch;
}

.menu-item-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.menu-item-prices {
  display: flex;
  gap: 1rem;
  text-align: center;
}

.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1rem + 0.4vw, 1.35rem);
  color: var(--color-text);
  font-variation-settings: 'opsz' 48;
  line-height: 1;
}

.price-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Order button */
.btn-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent-green);
  color: #fff;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform var(--duration-fast) var(--ease-snappy),
              box-shadow var(--duration-fast) var(--ease-snappy),
              background-color var(--duration-fast) var(--ease-snappy);
}

.btn-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61, 122, 74, 0.3);
  background-color: #347D42;
}

.btn-order:active {
  transform: scale(0.97);
  transition-duration: 50ms;
}

.btn-order:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ═══════════════════════════════════════════
   Gallery Section
   ═══════════════════════════════════════════ */

.gallery {
  position: relative;
  overflow: hidden;
}

.gallery-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.gallery-header .headline {
  color: var(--color-text-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-smooth);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,22,18,0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-snappy);
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--duration-normal) var(--ease-snappy),
              transform var(--duration-normal) var(--ease-snappy);
  font-variation-settings: 'opsz' 36;
}

.gallery-item:hover .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   Specials Section
   ═══════════════════════════════════════════ */

.specials {
  position: relative;
}

.specials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 80%,
    rgba(200, 55, 61, 0.04) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.specials-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.specials-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.special-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: default;
}

.special-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-smooth);
}

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

.special-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 22, 18, 0.85) 0%,
    rgba(26, 22, 18, 0.2) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.special-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.5rem);
  color: var(--color-text);
  margin-bottom: 0.35rem;
  font-variation-settings: 'opsz' 48;
}

.special-card p {
  font-size: 0.85rem;
  color: rgba(245, 239, 234, 0.75);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   CTA / Order Section
   ═══════════════════════════════════════════ */

.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(212, 160, 84, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  max-width: 600px;
  margin-inline: auto;
}

.cta-content .display {
  font-size: clamp(2rem, 1.2rem + 3.5vw, 3.5rem);
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--color-muted);
  margin-bottom: 2.5rem;
  font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.1rem);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #25D366;
  color: #fff;
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: transform var(--duration-fast) var(--ease-snappy),
              box-shadow var(--duration-fast) var(--ease-snappy);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 50ms;
}

.btn-whatsapp svg {
  width: 24px;
  height: 24px;
}

/* ═══════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════ */

footer {
  background-color: #12100D;
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 64px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--color-muted);
  font-size: 0.9rem;
  max-width: 30ch;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
  font-variation-settings: 'opsz' 36;
}

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

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a,
.footer-col span {
  font-size: 0.9rem;
  color: var(--color-muted);
  transition: color var(--duration-fast) var(--ease-snappy);
}

.footer-col a:hover {
  color: var(--color-text);
}

.footer-col .social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col .social-link svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(139, 126, 114, 0.6);
}

/* ═══════════════════════════════════════════
   Grain Texture Overlay
   ═══════════════════════════════════════════ */

.grain::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

/* ═══════════════════════════════════════════
   Reduced Motion
   ═══════════════════════════════════════════ */

@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .carousel-track {
    animation: none;
    overflow-x: auto;
  }
}

/* ═══════════════════════════════════════════
   Responsive — Tablet
   ═══════════════════════════════════════════ */

@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image {
    max-height: 400px;
    aspect-ratio: 16/10;
  }

  .types-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-item {
    flex-wrap: wrap;
  }

  .menu-item-right {
    gap: 1rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.tall {
    grid-row: span 1;
    aspect-ratio: 1;
  }

  .gallery-item.wide {
    grid-column: span 1;
    aspect-ratio: 1;
  }

  .specials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-inline: auto;
  }

  .special-card {
    aspect-ratio: 16/10;
  }

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

/* ═══════════════════════════════════════════
   Responsive — Mobile
   ═══════════════════════════════════════════ */

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Mobile menu open state */
  .nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(26, 22, 18, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav.menu-open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav.menu-open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-tagline {
    font-size: clamp(1.6rem, 1rem + 4vw, 2.5rem);
  }

  .types-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .type-card {
    padding: 1.25rem 0.75rem;
  }

  .type-card-img {
    width: 60px;
    height: 60px;
  }

  .menu-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .menu-item-right {
    width: 100%;
    justify-content: space-between;
  }

  .carousel-slide {
    width: 200px;
    height: 200px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .gallery-item {
    border-radius: 10px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .menu-sizes {
    gap: 0.75rem;
  }

  .cta-content .display {
    font-size: clamp(1.6rem, 1rem + 3vw, 2.5rem);
  }
}
