:root {
  --green-900: #1b3a2b;
  --green-700: #2e5c3f;
  --green-500: #4d8b62;
  --green-100: #eaf3ec;
  --cream: #faf7f0;
  --ink: #24261f;
  --muted: #6b6f63;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 12px 30px rgba(27, 58, 43, 0.12);
  --font-display: "Fraunces", serif;
  --font-body: "Manrope", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--green-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--muted); }

a { color: var(--green-700); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(27, 58, 43, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--green-700); }

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

.cart-btn {
  position: relative;
  background: var(--green-100);
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cart-count {
  background: var(--green-700);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--green-900);
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--green-700);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--green-900); }

.btn-ghost {
  background: transparent;
  border-color: var(--green-700);
  color: var(--green-700);
}
.btn-ghost:hover { background: var(--green-100); }

.btn-small { padding: 9px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-500);
  margin-bottom: 12px;
}
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.hero .lead { font-size: 1.05rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

.hero-art { position: relative; height: 320px; }
.hero-blob {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, var(--green-500), var(--green-900));
  border-radius: 48% 52% 60% 40% / 45% 40% 60% 55%;
  opacity: 0.9;
}
.hero-card {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  width: 80%;
}
.hero-card-emoji { font-size: 1.8rem; }
.hero-card p { margin: 0; color: var(--ink); font-size: 0.9rem; }

/* Sections */
.section { padding: 64px 0; }
.section-lead { max-width: 60ch; margin-bottom: 32px; }

.how { background: var(--green-100); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 14px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.courses .card-grid { grid-template-columns: repeat(3, 1fr); }

.food-card, .course-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.food-thumb { font-size: 2.2rem; margin-bottom: 12px; }
.catalog-note { margin-top: 24px; font-style: italic; }

.course-card p { min-height: 4.5em; }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  gap: 12px;
}
.card-price {
  font-weight: 700;
  color: var(--green-900);
  font-size: 1.05rem;
}

/* Contact */
.contact { background: var(--green-900); color: var(--white); }
.contact h2 { color: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-copy p { color: rgba(255,255,255,0.75); }
.contact-alt a { color: var(--green-100); font-weight: 600; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 6px;
  box-shadow: var(--shadow);
}
.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-900);
  margin-top: 12px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(27,58,43,0.2);
  background: var(--cream);
}
.contact-form button { margin-top: 18px; }
.form-note { color: var(--green-700); font-size: 0.9rem; text-align: center; min-height: 1.2em; }

/* Footer */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.6);
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
}
.footer-inner p { color: inherit; margin: 0; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo {
  height: 44px;
  width: 44px;
  border-radius: 50%;
}

/* Responsive */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { height: 220px; order: -1; }
  .steps { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .courses .card-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(27,58,43,0.08);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
}

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* Cart drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 58, 43, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 90;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 100%);
  background: var(--white);
  box-shadow: -12px 0 30px rgba(27,58,43,0.2);
  z-index: 91;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(27,58,43,0.08);
}
.cart-drawer-header h3 { margin: 0; }
.cart-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--green-900);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.cart-empty { color: var(--muted); }

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(27,58,43,0.06);
}
.cart-item-info { display: flex; flex-direction: column; gap: 2px; }
.cart-item-name { font-weight: 600; color: var(--ink); font-size: 0.92rem; }
.cart-item-price { font-size: 0.8rem; color: var(--muted); }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(27,58,43,0.2);
  background: var(--green-100);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(27,58,43,0.08);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-900);
  margin-bottom: 14px;
}
