/* ===== Design tokens ===== */
:root {
  --forest: #16362a;
  --forest-dark: #0f261d;
  --forest-light: #204a39;
  --cream: #FAF3E4;
  --cream-dim: #F0E8D6;
  --sage: #8FB44A;
  --sage-light: #9BBF7B;
  --sage-dark: #6d8f38;
  --ink: #1c2b22;
  --muted: #5b6b60;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(15, 38, 29, 0.25);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
@media (max-width: 640px) {
  .section { padding: 64px 0; }
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage-dark);
  margin-bottom: 12px;
}
.eyebrow.center { text-align: center; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h2.center { text-align: center; }
.section-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 560px;
  margin-top: 14px;
  line-height: 1.6;
}
.section-sub.center { margin-inline: auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--sage);
  color: var(--forest-dark);
  box-shadow: 0 8px 20px -6px rgba(143, 180, 74, 0.55);
}
.btn-primary:hover { background: var(--sage-light); }
.btn-outline {
  border: 1.5px solid rgba(250, 243, 228, 0.55);
  color: var(--cream);
}
.btn-outline:hover { background: rgba(250, 243, 228, 0.1); }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-whatsapp {
  background: var(--sage);
  color: var(--forest-dark);
  padding: 10px 18px;
  font-size: 14px;
}
.btn-whatsapp:hover { background: var(--sage-light); }
.icon-wa { width: 18px; height: 18px; }

/* ===== Top banner ===== */
#top-banner {
  background: var(--forest-dark);
  color: var(--cream-dim);
  text-align: center;
  font-size: 12.5px;
  padding: 8px 16px;
  letter-spacing: 0.02em;
  overflow-x: auto;
  white-space: nowrap;
}

/* ===== Header ===== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 54, 42, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(250, 243, 228, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}
.brand-text {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--cream);
  font-weight: 600;
}
#main-nav {
  display: flex;
  gap: 32px;
}
#main-nav a {
  color: var(--cream-dim);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
  position: relative;
}
#main-nav a:hover { color: var(--sage-light); }

.header-actions { display: flex; align-items: center; gap: 14px; }

#nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
#nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
#nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle.open span:nth-child(2) { opacity: 0; }
#nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  #main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--forest);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    border-bottom: 1px solid rgba(250, 243, 228, 0.1);
  }
  #main-nav.open { max-height: 340px; }
  #main-nav a {
    padding: 16px 24px;
    border-top: 1px solid rgba(250, 243, 228, 0.08);
  }
  #nav-toggle { display: flex; }
  .btn-whatsapp span { display: none; }
  .btn-whatsapp { padding: 10px; }
  .header-actions { gap: 10px; }
}
@media (max-width: 400px) {
  .brand-text { font-size: 20px; }
  .brand-mark { width: 32px; height: 32px; }
}
@media (min-width: 861px) {
  #nav-toggle { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--forest);
  color: var(--cream);
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(143, 180, 74, 0.18), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(155, 191, 123, 0.14), transparent 40%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; max-width: 760px; }
.hero .eyebrow { color: var(--sage-light); text-align: center; }
.hero h1 {
  font-size: clamp(40px, 7vw, 68px);
  color: var(--cream);
  margin-bottom: 22px;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--cream-dim);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 34px;
  opacity: 0.9;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(250, 243, 228, 0.15);
  padding-top: 32px;
}
.hero-stats div { text-align: center; }
.hero-stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: 30px;
  color: var(--sage-light);
}
.hero-stats span {
  font-size: 12.5px;
  color: var(--cream-dim);
  opacity: 0.8;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--forest);
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .ph-fallback { display: none; }
.about-photo.ph img { display: none; }
.about-photo.ph .ph-fallback { display: flex; }
.ph-fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--sage-light);
  background: linear-gradient(160deg, var(--forest), var(--forest-dark));
  text-align: center;
  padding: 20px;
}
.ph-fallback svg { width: 46px; height: 46px; opacity: 0.7; }
.ph-fallback span { font-size: 13px; color: var(--cream-dim); opacity: 0.75; }

.about-copy h2 { margin-bottom: 18px; }
.about-copy p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 15.5px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.feature-icon { font-size: 26px; }
.feature h3 {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  margin: 10px 0 6px;
  color: var(--ink);
}
.feature p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { aspect-ratio: 4/5; }
  .about-features { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ===== Menu ===== */
.menu { background: var(--cream-dim); }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.product-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 18px -10px rgba(22, 54, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product-img {
  position: relative;
  aspect-ratio: 1/1;
  flex: none;
  background: linear-gradient(160deg, var(--forest-light), var(--forest));
}
.product-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-img .ph-fallback { display: none; font-size: 34px; }
.product-img.ph img { display: none; }
.product-img.ph .ph-fallback { display: flex; }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--sage);
  color: var(--forest-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
}
.product-body { padding: 16px 18px 4px; flex: 1; }
.product-body h3 {
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
}
.product-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
}
.product-price {
  padding: 10px 18px 18px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--sage-dark);
}
.menu-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}
.menu-note {
  text-align: center;
  margin-top: 40px;
  color: var(--muted);
  font-size: 14.5px;
}
.menu-note a { color: var(--sage-dark); font-weight: 600; text-decoration: underline; }

/* ===== Order steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.step {
  text-align: center;
  padding: 12px;
}
.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--sage-light);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.step h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
}
.order-cta { text-align: center; margin-top: 52px; }

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
}

/* ===== Wholesale ===== */
.wholesale { background: var(--forest); color: var(--cream); }
.wholesale-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.wholesale .eyebrow { color: var(--sage-light); }
.wholesale-copy h2 { color: var(--cream); margin-bottom: 18px; }
.wholesale-copy p {
  color: var(--cream-dim);
  opacity: 0.85;
  line-height: 1.75;
  margin-bottom: 22px;
  font-size: 15.5px;
}
.wholesale-list {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wholesale-list li {
  padding-left: 26px;
  position: relative;
  color: var(--cream-dim);
  font-size: 14.5px;
}
.wholesale-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage-light);
  font-weight: 700;
}
.wholesale-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(250,243,228,0.05);
  border: 1px solid rgba(250,243,228,0.12);
}
.wholesale-photo img { width: 100%; height: 100%; object-fit: cover; }
.wholesale-photo .ph-fallback { display: flex; }
.wholesale-photo.ph img { display: none; }

@media (max-width: 860px) {
  .wholesale-grid { grid-template-columns: 1fr; gap: 36px; }
  .wholesale-photo { aspect-ratio: 16/10; }
}

/* ===== Contact ===== */
.contact-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 40px;
  text-align: center;
  min-width: 220px;
  box-shadow: 0 6px 18px -10px rgba(22, 54, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-icon { font-size: 30px; }
.contact-card h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  margin: 12px 0 4px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
}
.contact-card p {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  color: var(--forest);
}

/* ===== Footer ===== */
#site-footer {
  background: var(--forest-dark);
  color: var(--cream-dim);
  padding: 44px 0 30px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-brand .brand-mark { width: 30px; height: 30px; border-radius: 8px; }
.footer-brand span {
  font-family: var(--font-head);
  font-size: 19px;
  color: var(--cream);
}
.footer-tag {
  font-size: 13px;
  color: var(--sage-light);
  margin-bottom: 14px;
}
.footer-contact {
  font-size: 13px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-contact a {
  color: var(--cream-dim);
  opacity: 0.85;
  transition: color 0.15s ease;
}
.footer-contact a:hover { color: var(--sage-light); opacity: 1; }
.footer-contact span { opacity: 0.4; }
.footer-copy {
  font-size: 12px;
  opacity: 0.6;
}

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  background: var(--sage);
  color: var(--forest-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(15, 38, 29, 0.5);
  z-index: 90;
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
