/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { margin: 0; }

/* Section eyebrow labels */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-helvetica, "Helvetica Neue", Helvetica, Arial, sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold, #C88F45);
  margin-bottom: 0.75rem;
}

.section-heading {
  position: relative;
  padding-bottom: 1rem;
}

.section-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold, #C88F45), transparent);
}

.section-heading--center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Sticky nav */
#site-nav {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, top 0.3s ease;
}

#site-nav.is-scrolled {
  position: fixed;
  top: 0;
  background: rgba(34, 34, 40, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

#site-nav.is-scrolled .nav-logo {
  height: 72px;
}

@media (min-width: 768px) {
  #site-nav.is-scrolled .nav-logo {
    height: 88px;
  }
}

.nav-logo {
  transition: height 0.3s ease;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

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

/* Buttons */
.btn-primary {
  display: inline-block;
  background: white;
  border: 1px solid #000;
  color: var(--color-brand, #222228);
  font-family: var(--font-helvetica, "Helvetica Neue", Helvetica, Arial, sans-serif);
  font-size: 1rem;
  font-weight: 400;
  padding: 1rem 1.5rem;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: #f3f3f3;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  border: 1px solid white;
  color: white;
  font-family: var(--font-helvetica, "Helvetica Neue", Helvetica, Arial, sans-serif);
  font-size: 1rem;
  font-weight: 400;
  padding: 1rem 1.5rem;
  text-transform: uppercase;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.btn-dark {
  display: inline-block;
  background: var(--color-brand, #222228);
  color: white;
  font-family: var(--font-helvetica, "Helvetica Neue", Helvetica, Arial, sans-serif);
  font-size: 1rem;
  padding: 1rem 2rem;
  text-transform: uppercase;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.btn-dark:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Product cards */
.product-card {
  border: 1px solid var(--color-card-bd, #CECECE);
  border-radius: 4px;
  overflow: hidden;
  background: white;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(34, 34, 40, 0.12);
}

.product-card__image {
  background: linear-gradient(180deg, #fafafa 0%, var(--color-surface, #F4F4F9) 100%);
}

.product-card__badge {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
}

/* Meal cards */
.meal-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.meal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 34, 40, 0.1);
}

/* Contact card */
.contact-card {
  background: white;
  border: 1px solid var(--color-card-bd, #CECECE);
  border-radius: 4px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(34, 34, 40, 0.06);
}

.contact-card input,
.contact-card textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-card input:focus,
.contact-card textarea:focus {
  border-color: var(--color-gold, #C88F45);
  box-shadow: 0 0 0 3px rgba(200, 143, 69, 0.15);
  outline: none;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--color-brand, #222228) 0%, #2d2d36 100%);
}

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

.hero-content > * {
  animation: heroFadeUp 0.7s ease backwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }

/* Mobile menu */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobile-menu.open {
  max-height: 400px;
}

#burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

#burger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#burger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Focus visibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-gold, #C88F45);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-content > * {
    animation: none;
  }
  .product-card:hover,
  .meal-card:hover,
  .btn-primary:hover,
  .btn-outline:hover,
  .btn-dark:hover {
    transform: none;
  }
}
