@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=Nunito:wght@400;500;600;700&display=swap');

/* ─── Variables ──────────────────────────────────────────── */
:root {
  --blue:       #1B55A8;
  --blue-dk:    #143F80;
  --blue-lt:    #EDF2FB;
  --terra:      #C4622D;
  --terra-lt:   #FAEAE0;
  --gold:       #DFA020;
  --gold-lt:    #FDF3DC;
  --green:      #1E9E5E;
  --green-lt:   #E2F5EC;
  --bg:         #FAFAF6;
  --surface:    #FFFFFF;
  --light:      #F3EEE5;
  --border:     #E2D9CE;
  --text:       #18181B;
  --muted:      #6E6E82;
  --white:      #FFFFFF;

  --ff-display: 'Syne', sans-serif;
  --ff-body:    'Nunito', sans-serif;
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --radius:     10px;
  --shadow:     0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.12);
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ─── Nav ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 68px;
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--terra); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--blue); background: var(--blue-lt); }
.nav-links a.active { color: var(--blue); background: var(--blue-lt); }
.nav-order {
  background: var(--terra) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-order:hover { background: #a8511f !important; transform: translateY(-1px) !important; }
.nav-right { display: flex; align-items: center; gap: 0.75rem; }
.nav-cart-btn {
  position: relative;
  background: var(--blue-lt);
  color: var(--blue);
  border: none;
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s;
  font-family: var(--ff-body);
}
.nav-cart-btn:hover { background: #d4e4f7; }
.cart-count {
  background: var(--terra);
  color: white;
  border-radius: 50%;
  width: 20px; height: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.cart-count.show { display: flex; }

/* ─── Hamburger ──────────────────────────────────────────── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: white;
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--ff-display); font-size: 1.8rem; font-weight: 700; color: var(--text); transition: color 0.2s; }
.mobile-menu a:hover { color: var(--blue); }
.mobile-close { position: absolute; top: 1.5rem; right: 2rem; font-size: 2rem; cursor: pointer; color: var(--muted); background: none; border: none; }

/* ─── Section utilities ───────────────────────────────────── */
.section { padding: 6rem 3rem; }
.section-sm { padding: 3.5rem 3rem; }
.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 800px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: var(--blue-lt);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.section-tag.terra { background: var(--terra-lt); color: var(--terra); }
.section-tag.gold  { background: var(--gold-lt);  color: var(--gold); }
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-title span { color: var(--blue); }
.section-title em { color: var(--terra); font-style: normal; }
.section-body { font-size: 1rem; color: var(--muted); max-width: 540px; line-height: 1.8; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--ff-body);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  border: 2px solid transparent;
}
.btn-primary { background: var(--terra); color: white; }
.btn-primary:hover { background: #a8511f; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(196,98,45,0.35); }
.btn-blue { background: var(--blue); color: white; }
.btn-blue:hover { background: var(--blue-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(27,85,168,0.3); }
.btn-outline { border-color: var(--border); color: var(--text); background: white; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-lt); }
.btn-ghost { color: var(--blue); font-weight: 700; }
.btn-ghost:hover { background: var(--blue-lt); border-radius: 8px; }

/* ─── Page hero ──────────────────────────────────────────── */
.page-hero {
  padding-top: 68px;
  background: var(--blue);
  background: linear-gradient(135deg, var(--blue-dk) 0%, var(--blue) 100%);
  color: white;
  padding: 120px 3rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; max-width: 1200px; margin: 0 auto; }
.page-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}
.page-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: white;
}
.page-hero h1 span { color: #FBBF24; }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.75); margin-top: 0.5rem; max-width: 520px; }

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 3.5rem 3rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}
.footer-logo {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.8rem;
}
.footer-logo span { color: #F87171; }
.footer-tagline { font-size: 0.85rem; line-height: 1.8; max-width: 240px; margin-bottom: 1.2rem; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: white; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: white; }
.footer-col p { font-size: 0.88rem; line-height: 1.8; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}

/* ─── Fade up ─────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.fade-up.visible { opacity: 1; transform: none; }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ─── Badge ──────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 0.4rem;
}
.badge-popular { background: var(--terra-lt); color: var(--terra); }
.badge-new { background: var(--green-lt); color: var(--green); }
.badge-spicy { background: #FEE2E2; color: #DC2626; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav { padding: 0 1.25rem; }
  .section { padding: 4rem 1.25rem; }
  .page-hero { padding: 100px 1.25rem 2.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; }
}
