:root {
  --color-primary: #0B4D32;
  --color-primary-hover: #073923;
  --color-accent: #8FBA55;
  --color-sage: #F0F4F1;
  --color-warm-white: #FCFCF8;
  --color-white: #FFFFFF;
  --color-text: #20372B;
  --color-muted: #56665C;
  --color-border: #DCE6DC;
  /* Official WhatsApp brand greens. */
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1DA851;
  --color-whatsapp-text: #052E1B;
  /* Keeps the button edge visible against the warm-white page (3:1 minimum). */
  --color-whatsapp-edge: #17914A;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-sans: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --radius-card: 20px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 30px rgba(11, 77, 50, 0.08);
  --container: 1180px;
  --header-h: 4.75rem;
  --sticky-cta-h: 5.25rem;
  --focus: 2px solid var(--color-primary);
}

@font-face {
  font-family: Inter;
  src: local("Inter"), local("Inter Variable"), local("Inter-Regular");
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-warm-white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
}

a:hover {
  color: var(--color-primary-hover);
}

:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 252, 248, 0.96);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: var(--header-h);
}

/* Wrapper clips excess canvas padding without stretching or recoloring the logo.
   Recommendation: replace with a tightly cropped source image if padding reduces header legibility. */
.logo-wrap {
  display: flex;
  align-items: center;
  height: 3.25rem;
  max-width: 11.5rem;
  overflow: hidden;
}

.logo-wrap img {
  display: block;
  width: 11.5rem;
  height: 3.25rem;
  object-fit: contain;
  object-position: center;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  background: var(--color-white);
  cursor: pointer;
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.15rem;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: var(--color-primary);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.7rem;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 0.5rem;
}

.nav-links a:hover {
  color: var(--color-primary);
  background: var(--color-sage);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-primary-hover);
  color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-sage);
  color: var(--color-primary-hover);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-light:hover {
  background: var(--color-sage);
  color: var(--color-primary-hover);
}

/* WhatsApp CTA in the official brand green.
   Text is deep green-black because white on #25D366 measures only 1.98:1,
   below the 4.5:1 WCAG AA minimum. For the white-on-green look instead,
   set --color-whatsapp-text to #FFFFFF, ideally alongside a darker
   --color-whatsapp such as #075E54 (official WhatsApp dark green, 7.7:1). */
.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-whatsapp-text);
  border-color: var(--color-whatsapp-edge);
  transition: background-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: var(--color-whatsapp-hover);
  color: var(--color-whatsapp-text);
  box-shadow: 0 8px 20px rgba(18, 140, 78, 0.32);
  transform: translateY(-1px);
}

.btn-whatsapp:focus-visible {
  outline-color: var(--color-whatsapp-text);
}

.btn-icon {
  flex: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-2xl) 0 4.5rem;
}

.hero-leaf {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 186, 85, 0.16), transparent 68%);
  pointer-events: none;
}

.hero-leaf-left {
  top: -4rem;
  left: -5rem;
}

.hero-leaf-right {
  right: -4rem;
  bottom: -6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
}

h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.lede {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-meta {
  margin: 0 0 1.5rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.hero-visual {
  margin: 0;
  min-height: 22rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, #f7faf6 0%, #eef4ee 100%);
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

.hero-visual svg {
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: 1rem;
}

.hero-visual figcaption strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-primary);
}

.hero-visual p {
  margin: 0.35rem 0 0;
  color: var(--color-muted);
  max-width: 22rem;
}

.section {
  padding: var(--space-2xl) 0;
}

.section-intro {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-intro p {
  margin: 0;
  color: var(--color-muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  /* Slow, calm settle on hover. Durations are neutralised by the
     prefers-reduced-motion rule near the top of this file. */
  transition:
    border-color 0.6s ease,
    box-shadow 0.6s ease,
    transform 0.6s ease;
}

.card:hover,
.card:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 16px 38px rgba(11, 77, 50, 0.14);
  transform: translateY(-4px);
}

/* The badge icons use fixed stroke colours, so lift the badge rather than
   recolour it and risk the leaf-green detail disappearing. */
.card:hover .icon-badge,
.card:focus-within .icon-badge {
  transform: scale(1.08);
}

.icon-badge {
  transition: transform 0.6s ease;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 0.9rem;
  background: var(--color-sage);
  color: var(--color-primary);
}

.card p {
  margin: 0;
  color: var(--color-muted);
}

.convert {
  background: var(--color-sage);
}

.convert-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.convert-inner p {
  margin: 0;
  color: var(--color-muted);
}

.steps {
  display: grid;
  gap: 1rem;
}

.step-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.step-tab {
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-text);
  font: inherit;
  cursor: pointer;
}

.step-tab[aria-pressed="true"] {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-white);
  transition: border-color 0.6s ease, box-shadow 0.6s ease;
}

.step:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-soft);
}

.step.is-active {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-soft);
}

.step-num {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-sage);
  color: var(--color-primary);
  font-weight: 700;
}

.note {
  margin-top: 1.25rem;
  color: var(--color-muted);
}

.ingredients {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.75rem;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.spec dt {
  margin-bottom: 0.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.spec dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-primary);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: var(--color-white);
  padding: 0.35rem 1rem 0.7rem;
  transition: border-color 0.6s ease, box-shadow 0.6s ease;
}

details:hover,
details:focus-within {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-soft);
}

summary {
  cursor: pointer;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  font-weight: 600;
}

details p {
  margin: 0 0 0.6rem;
  color: var(--color-muted);
}

.final-cta {
  background: var(--color-primary);
  color: var(--color-white);
}

.final-cta h2,
.final-cta p {
  color: var(--color-white);
}

.final-cta p {
  max-width: 34rem;
  margin-bottom: 1.25rem;
  opacity: 0.92;
}

.site-footer {
  padding: 2.5rem 0 calc(2.5rem + var(--sticky-cta-h));
  border-top: 1px solid var(--color-border);
  background: var(--color-warm-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-primary);
  margin: 0 0 0.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.footer-nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.copyright,
.footer-note {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.footer-contact-heading {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.1rem;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-muted);
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 600;
}

.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: var(--color-warm-white);
  border-top: 1px solid var(--color-border);
}

.sticky-cta .btn {
  width: 100%;
}

.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(32, 55, 43, 0.45);
  display: none;
  place-items: center;
  padding: 1rem;
}

.dialog-backdrop.is-open {
  display: grid;
}

.dialog {
  width: min(100%, 28rem);
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.dialog h2 {
  font-size: 1.35rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .convert-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem 1rem 1.25rem;
    background: var(--color-warm-white);
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .sticky-cta {
    display: block;
  }

  body {
    padding-bottom: calc(var(--sticky-cta-h) + env(safe-area-inset-bottom));
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 2rem;
  }

  .hero-visual {
    min-height: 16rem;
  }
}
