/* Fonts are hosted on this site (no Google requests). Licences: fonts/OFL-*.txt */
@font-face {
  font-family: "Fredoka"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("fonts/fredoka-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("fonts/nunito-latin.woff2") format("woff2");
}

:root {
  /* Brand */
  --primary: #32552A;
  --primary-dark: #24401E;
  --primary-light: #7FA66E;
  --primary-tint: #EEF4EA;
  --secondary: #989898;
  --accent: #0A1045;

  --bg: #FFFFFF;
  --text: #0A1045;
  --text-muted: #4A5068;
  --border: #E3E6E0;

  --radius: 20px;
  --font-display: "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; font-weight: 600; }
a { color: inherit; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* Buttons: chunky, "pressable" */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .15s;
}
.btn:active { transform: translateY(3px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 0 var(--primary-dark); }
.btn-primary:hover { background: #3B6431; }
.btn-primary:active { box-shadow: 0 1px 0 var(--primary-dark); }
.btn-outline { background: #fff; color: var(--accent); border-color: var(--accent); box-shadow: 0 4px 0 var(--accent); }
.btn-outline:active { box-shadow: 0 1px 0 var(--accent); }
.btn-small { padding: 8px 16px; font-size: 1rem; }
.wa-icon { width: 1.2em; height: 1.2em; flex: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-text { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--accent); white-space: nowrap; }
.logo-text span { color: var(--primary); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav > a:not(.btn) { font-weight: 700; text-decoration: none; color: var(--accent); }
.nav > a:not(.btn):hover { color: var(--primary); }

/* Hero */
.hero {
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(50, 85, 42, .05) 22px 24px),
    var(--primary-tint);
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  padding-top: 72px; padding-bottom: 80px;
}
.eyebrow {
  display: inline-block; margin: 0 0 16px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--primary); background: #fff; border: 2px solid var(--primary-light);
  padding: 4px 14px; border-radius: 999px;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; color: var(--accent); }
.hl { color: var(--primary); }
.hero-text-only { grid-template-columns: 1fr; text-align: center; max-width: 760px; }
.hero-text-only .lead { margin-left: auto; margin-right: auto; }
.hero-text-only .hero-actions { justify-content: center; }
.lead { font-size: 1.2rem; color: var(--text-muted); max-width: 32em; margin: 18px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-art { position: relative; height: 400px; }
.tile {
  position: absolute; width: 58%; border-radius: 28px;
  border: 6px solid #fff; box-shadow: 0 18px 40px rgba(10, 16, 69, .14);
  animation: bob 5s ease-in-out infinite;
}
.tile-1 { top: 0; left: 4%; transform: rotate(-7deg); }
.tile-2 { top: 22%; right: 0; transform: rotate(6deg); animation-delay: -1.6s; z-index: 1; }
.tile-3 { bottom: -6%; left: 18%; width: 46%; transform: rotate(-2deg); animation-delay: -3.2s; z-index: 2; }
@keyframes bob { 50% { translate: 0 -10px; } }

/* Sections */
.section { padding: 80px 0; }
.section-tint { background: var(--primary-tint); }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.6rem); color: var(--accent); }
.section-head p { margin: 6px 0 0; color: var(--text-muted); font-size: 1.15rem; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.chip {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--accent); border: 2px solid var(--border);
  transition: border-color .15s, background .15s, color .15s, transform .12s;
}
.chip:hover { border-color: var(--primary-light); transform: translateY(-2px); }
.chip-count {
  font-size: .8rem; min-width: 24px; padding: 1px 7px; border-radius: 999px;
  background: var(--primary-tint); color: var(--primary);
}
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip[aria-pressed="true"] .chip-count { background: rgba(255, 255, 255, .18); color: #fff; }

/* Product grid */
.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px;
}
.card {
  background: #fff; border: 2px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
  animation: pop .35s ease both;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(10, 16, 69, .1); border-color: var(--primary-light); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.card-img { aspect-ratio: 1; background: var(--primary-tint); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card-img img { transform: scale(1.05) rotate(-1deg); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tag {
  align-self: flex-start; font-size: .78rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  color: var(--text-muted); border: 1.5px solid var(--secondary); border-radius: 999px; padding: 1px 10px;
}
.card-title { font-size: 1.3rem; color: var(--accent); }
.card-fact { margin: 0; font-size: .95rem; line-height: 1.45; color: var(--text-muted); }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--primary); }

.card-img { position: relative; }
.badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  padding: 4px 12px; border-radius: 999px; transform: rotate(-4deg);
}
.badge-new { background: var(--accent); color: #fff; }
.badge-sold { background: #fff; color: var(--accent); border: 2px solid var(--secondary); }
.is-sold-out .card-img img { filter: grayscale(.8); opacity: .7; }
.btn-disabled { background: #EEF0EC; color: #6B6F66; cursor: default; }

/* Steps */
.steps {
  list-style: none; padding: 0; margin: 0 0 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px;
}
.step {
  background: #fff; border-radius: var(--radius); padding: 30px 26px; text-align: center;
  border: 2px solid var(--border);
}
.step-num {
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: #fff;
  background: var(--primary); border-radius: 16px; box-shadow: 0 4px 0 var(--primary-dark);
  transform: rotate(-6deg);
}
.step:nth-child(2) .step-num { background: var(--accent); box-shadow: 0 4px 0 #000; transform: rotate(5deg); }
.step:nth-child(3) .step-num { transform: rotate(-3deg); }
.step h3 { font-size: 1.35rem; color: var(--accent); margin-bottom: 6px; }
.step p { margin: 0; color: var(--text-muted); }
.note { color: var(--text-muted); margin: 18px 0 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Footer */
.site-footer { background: var(--accent); color: #C9CBD6; padding: 36px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-inner p { margin: 0; font-size: .95rem; }
.logo-light .logo-text { color: #fff; font-size: 1.3rem; }
.logo-light .logo-text span { color: var(--primary-light); }

/* Floating WhatsApp button */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 20;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 0 var(--primary-dark), 0 10px 24px rgba(10, 16, 69, .25);
  transition: transform .15s;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 32px; height: 32px; }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { height: 300px; max-width: 420px; margin: 0 auto; width: 100%; }
  .steps { max-width: 480px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .nav { gap: 14px; }
  .nav > a:not(.btn) { display: none; }
  .hide-sm { display: none; }
  .logo-text { font-size: 1.3rem; }
  .section { padding: 60px 0; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card-body { padding: 12px; }
  .card-title { font-size: 1.1rem; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .price { font-size: 1.3rem; }
  .footer-inner { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
