:root {
  --bg: #f8f1e7;
  --ink: #2a1b12;
  --muted: #5b4a3f;
  --accent: #a5442a;
  --accent-2: #c9893c;
  --accent-3: #2f6b5a;
  --card: #fffaf3;
  --stroke: rgba(42, 27, 18, 0.12);
  --shadow: 0 30px 70px rgba(42, 27, 18, 0.18);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Sora", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fff2dc 0%, transparent 55%),
    radial-gradient(circle at 85% 10%, rgba(201, 137, 60, 0.22), transparent 55%),
    linear-gradient(140deg, #f8f1e7 0%, #f1e4d4 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.bg-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.8;
  z-index: 0;
}

.shape-1 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(165, 68, 42, 0.35), transparent 70%);
  top: -80px;
  right: -80px;
  animation: float 10s ease-in-out infinite;
}

.shape-2 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(47, 107, 90, 0.3), transparent 70%);
  bottom: 120px;
  left: -60px;
  animation: float 12s ease-in-out infinite reverse;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  backdrop-filter: blur(12px);
  background: rgba(248, 241, 231, 0.85);
  border-bottom: 1px solid rgba(42, 27, 18, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(42, 27, 18, 0.25));
}

.brand-mark {
  display: grid;
  gap: 2px;
  font-family: "Cinzel", serif;
  letter-spacing: 2px;
}

.brand-top {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-main {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

.brand-sub {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 90px 0 40px;
  z-index: 1;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-3);
  font-weight: 600;
}

.hero h1 {
  font-family: "Cinzel", serif;
  font-size: clamp(32px, 4vw, 52px);
  margin: 16px 0;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 35px rgba(165, 68, 42, 0.25);
}

.btn.secondary {
  background: #fff;
  border-color: rgba(42, 27, 18, 0.15);
}

.btn.ghost {
  border-color: rgba(42, 27, 18, 0.25);
  background: rgba(255, 255, 255, 0.7);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
}

.hero-badges span {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(201, 137, 60, 0.16);
  color: var(--accent);
  font-weight: 600;
}

.hero-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  display: grid;
  gap: 20px;
}

.hero-photo {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius);
  background-image: linear-gradient(135deg, rgba(42, 27, 18, 0.3), rgba(42, 27, 18, 0.05)),
    url("assets/empanadas.jpg");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(42, 27, 18, 0.12);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.4));
}

.price-sticker {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 12px 20px;
  text-align: center;
  z-index: 1;
}

.price-title {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
}

.price-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.order-card {
  background: var(--card);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(42, 27, 18, 0.12);
  box-shadow: 0 18px 40px rgba(42, 27, 18, 0.12);
}

.section {
  padding: 80px 0 20px;
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 560px;
  margin-bottom: 32px;
}

.section-head h2,
.cta h2 {
  font-family: "Cinzel", serif;
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 12px;
}

.section-head p,
.cta p {
  color: var(--muted);
  line-height: 1.6;
}

.flavors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.flavor-card,
.info-card {
  background: var(--card);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(42, 27, 18, 0.1);
  box-shadow: 0 18px 40px rgba(42, 27, 18, 0.08);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.story {
  display: flex;
  justify-content: center;
}

.story-card {
  max-width: 720px;
  background: linear-gradient(120deg, rgba(165, 68, 42, 0.12), rgba(201, 137, 60, 0.16));
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(42, 27, 18, 0.1);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(165, 68, 42, 0.18), rgba(47, 107, 90, 0.15));
  border: 1px solid rgba(42, 27, 18, 0.1);
}

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

.footer {
  padding: 48px 24px 32px;
  text-align: center;
  border-top: 1px solid rgba(42, 27, 18, 0.1);
  background: #f8f1e7;
}

.footer-brand {
  display: grid;
  gap: 6px;
  font-family: "Cinzel", serif;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  margin: 16px 0;
}

.footer-copy {
  color: var(--muted);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 900px) {
  .nav {
    padding: 18px 24px;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 600px) {
  .cta {
    padding: 24px;
  }

  .footer-links {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
