/* =============================================================
   Dietética Morales de Campos · Trelew, Chubut
   Hoja de estilos principal
   Paleta: verde natural / crema / marrón tierra / mostaza
   ============================================================= */

/* ---------- Variables ---------- */
:root {
  /* Brand palette */
  --c-green: #3A7D44;        /* verde natural - primary */
  --c-green-d: #2D5F36;      /* verde profundo - hover/texto oscuro */
  --c-green-dd: #1F4128;     /* verde muy oscuro - footer */
  --c-green-soft: #E5EFE3;   /* verde muy claro - fondos suaves */
  --c-cream: #F4F1E8;        /* crema - fondo principal */
  --c-cream-2: #FAF8F2;      /* crema más claro */
  --c-brown: #8B5E3C;        /* marrón tierra - acentos cálidos */
  --c-brown-d: #6B4628;      /* marrón oscuro - texto secundario */
  --c-mustard: #D4A574;      /* mostaza - detalles decorativos */
  --c-mustard-d: #B8854E;    /* mostaza oscuro - texto sobre crema */

  /* Neutrals */
  --c-white: #FFFFFF;
  --c-text: #2B2419;         /* texto principal - marrón muy oscuro */
  --c-text-soft: #5A4A36;    /* texto secundario - marrón medio */
  --c-border: #DDD5C4;       /* bordes - crema oscurecido */

  /* WhatsApp - verde oscuro para contraste AA */
  --c-wa: #1F7A4D;
  --c-wa-d: #165A38;

  /* Error / success */
  --c-error: #B33A2B;
  --c-success-bg: #E5EFE3;

  /* Typography */
  --ff-display: "Quicksand", "Nunito", system-ui, sans-serif;
  --ff-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Radii - escala uniforme (soft wellness) */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* Shadows - tinted to warm palette */
  --shadow: 0 4px 16px rgba(107, 70, 40, 0.10);
  --shadow-lg: 0 12px 32px rgba(107, 70, 40, 0.16);
  --shadow-green: 0 6px 20px rgba(31, 65, 40, 0.22);

  /* Layout */
  --maxw: 1200px;
  --space-section: clamp(2.75rem, 6vw, 5rem);
  --focus: 3px solid var(--c-green);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--c-green-d); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea, button { font: inherit; color: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  line-height: 1.2;
  font-weight: 700;
  color: var(--c-green-d);
}
h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p { color: var(--c-text); }

/* ---------- Focus ---------- */
:focus-visible { outline: var(--focus); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.section { padding-block: var(--space-section); }
.section--cream { background: var(--c-cream-2); }
.section--green-soft { background: var(--c-green-soft); }
.section--dark {
  background: var(--c-green-dd);
  color: #E5EFE3;
}
.section--dark h2, .section--dark h3 { color: #FAF8F2; }
.section--dark p { color: #C8D6C2; }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-green-d);
  margin-bottom: 0.6rem;
}
.section-head { max-width: 720px; margin-bottom: 2.25rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.075rem; color: var(--c-text-soft); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 0; top: -100px;
  background: var(--c-green-dd);
  color: #FAF8F2;
  padding: 0.7rem 1.2rem;
  z-index: 2000;
  font-weight: 700;
  font-family: var(--ff-display);
  border-radius: 0 0 8px 0;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  min-height: 48px;
  border-radius: var(--radius-pill);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--primary {
  background: var(--c-green);
  color: #FFFFFF;
}
.btn--primary:hover { background: var(--c-green-d); }
.btn--secondary {
  background: #FFFFFF;
  color: var(--c-green-d);
  border-color: var(--c-green-soft);
}
.btn--secondary:hover { background: var(--c-green-soft); border-color: var(--c-green); }
.btn--whatsapp {
  background: var(--c-wa);
  color: #FFFFFF;
}
.btn--whatsapp:hover { background: var(--c-wa-d); }
.btn--mustard {
  background: var(--c-brown);
  color: #FFFFFF;
}
.btn--mustard:hover { background: var(--c-brown-d); }
.btn--ghost-dark {
  background: transparent;
  color: #FAF8F2;
  border-color: rgba(250, 248, 242, 0.45);
}
.btn--ghost-dark:hover { background: rgba(250, 248, 242, 0.12); }
.btn--lg { padding: 1rem 1.8rem; font-size: 1.075rem; min-height: 54px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(244, 241, 232, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow 0.25s, background 0.25s;
}
.site-header.header--scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand img { height: 44px; width: auto; }

.nav-main { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; }
.nav-list a {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  color: var(--c-text);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.975rem;
}
.nav-list a:hover {
  background: var(--c-green-soft);
  color: var(--c-green-d);
  text-decoration: none;
}
.nav-list a[aria-current="page"] {
  color: var(--c-green-d);
  font-weight: 700;
}
.nav-cta { margin-left: 0.75rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  align-items: center; justify-content: center;
  position: relative;
  z-index: 1100;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px; height: 2.5px;
  background: var(--c-green-d);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle span::before { position: absolute; transform: translateY(-7px); }
.nav-toggle span::after  { position: absolute; transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 88% 12%, rgba(58, 125, 68, 0.10), transparent 50%),
    linear-gradient(180deg, var(--c-cream-2) 0%, var(--c-green-soft) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(58, 125, 68, 0.06) 1.5px, transparent 1.6px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--c-green-d);
  color: #FAF8F2;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.9rem;
}
.hero-badge svg { width: 18px; height: 18px; }
.hero h1 { margin-block: 1rem 0.75rem; }
.hero-sub {
  font-size: 1.125rem;
  color: var(--c-text-soft);
  max-width: 540px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}
.hero-stat strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.5rem;
  color: var(--c-green-d);
  font-weight: 700;
}
.hero-stat span { font-size: 0.9rem; color: var(--c-text-soft); }

/* Hero visual - producto/bolsa de granos */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-product-card {
  width: min(380px, 88%);
  background: #FFFFFF;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-product-tag {
  position: absolute;
  top: -14px; right: 18px;
  background: var(--c-mustard);
  color: #2B2419;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.85rem;
}
.hero-product-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--c-green-soft) 0%, var(--c-green) 100%);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  overflow: hidden;
}
.hero-product-img svg { width: 70%; height: auto; }
.hero-product-card .hero-product-name { font-size: 1.15rem; margin-bottom: 0.3rem; color: var(--c-green-d); font-family: var(--ff-display); font-weight: 700; }
.hero-product-card .product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
}
.hero-product-card .price {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--c-brown-d);
  font-size: 1.1rem;
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

.card {
  background: #FFFFFF;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 56px; height: 56px;
  background: var(--c-green-soft);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.card-icon svg, .card-icon img { width: 32px; height: 32px; }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--c-text-soft); }
.card-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--c-green-d);
}

/* Feature rows */
.feature-list { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #FFFFFF;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.feature svg, .feature img { width: 36px; height: 36px; flex: 0 0 auto; }
.feature h3 { margin-bottom: 0.25rem; }
.feature p { color: var(--c-text-soft); }

/* Split */
.split { display: grid; gap: 2rem; align-items: center; }
.split > * { min-width: 0; }

/* ---------- Stats band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.25rem;
}
.stat-box {
  text-align: center;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
}
.stat-box strong {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #FAF8F2;
}
.stat-box span { color: #C8D6C2; font-size: 0.95rem; }

/* ---------- Product cards ---------- */
.product-card {
  background: #FFFFFF;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--c-green-soft);
  display: grid;
  place-items: center;
}
.product-img svg { width: 60%; height: auto; }
.product-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.product-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
.tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  font-family: var(--ff-display);
  font-size: 0.8rem;
  font-weight: 600;
}
.tag--tacc { background: var(--c-green-soft); color: var(--c-green-d); }
.tag--vegano { background: #E0EFE0; color: #2D5F36; }
.tag--organico { background: #F0E8D4; color: var(--c-brown-d); }
.tag--nuevo { background: var(--c-mustard); color: #2B2419; }
.product-price {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--c-brown-d);
  font-size: 1.15rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; max-width: 820px; }
.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 1.05rem 1.25rem;
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--c-green-d);
  font-size: 1.025rem;
}
.faq-q .chev { flex: 0 0 auto; transition: transform 0.2s; color: var(--c-brown); }
.faq-item[open] .faq-q .chev { transform: rotate(180deg); }
.faq-a { padding: 0 1.25rem 1.15rem; color: var(--c-text-soft); }

/* ---------- Map ---------- */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--c-border);
}
.map-wrap iframe { display: block; width: 100%; height: 360px; border: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; max-width: 640px; }
.field { display: grid; gap: 0.35rem; }
.field label {
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--c-green-d);
  font-size: 0.975rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--c-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: #9A8E78; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(58, 125, 68, 0.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg {
  color: var(--c-error);
  font-size: 0.875rem;
  font-weight: 500;
  display: none;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--c-error); }
.field.has-error .error-msg { display: block; }
.form-success {
  display: none;
  background: var(--c-success-bg);
  border: 1px solid var(--c-green);
  color: var(--c-green-d);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  font-family: var(--ff-display);
  font-weight: 600;
}
.form-success.is-visible { display: block; }

/* ---------- Contact info ---------- */
.contact-list { display: grid; gap: 0.9rem; }
.contact-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.contact-list strong { color: var(--c-green-d); }
.contact-list svg, .contact-list img { width: 22px; height: 22px; flex: 0 0 auto; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--c-green) 0%, var(--c-green-dd) 100%);
  color: #FAF8F2;
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.25rem);
  text-align: center;
  box-shadow: var(--shadow-green);
}
.cta-band h2 { color: #FAF8F2; }
.cta-band p { color: #E5EFE3; max-width: 560px; margin-inline: auto; }
.cta-band .btn { margin-top: 1.25rem; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; gap: 1.25rem; }
.testimonial {
  background: #FFFFFF;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial::before {
  content: "\201C";
  font-family: var(--ff-display);
  font-size: 2.5rem;
  color: var(--c-mustard);
  line-height: 1;
  display: block;
  margin-bottom: 0.25rem;
}
.testimonial .stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 0.6rem;
}
.testimonial .stars svg { width: 18px; height: 18px; }
.testimonial blockquote {
  font-size: 1.025rem;
  color: var(--c-text);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}
.testimonial cite {
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--c-green-d);
  font-style: normal;
}
.testimonial cite span { display: block; font-weight: 400; color: var(--c-text-soft); font-size: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-green-dd);
  color: #C8D6C2;
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h2, .site-footer h3 {
  color: #FAF8F2;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  letter-spacing: 0;
}
.site-footer a { color: #C8D6C2; }
.site-footer a:hover { color: #FAF8F2; }
.footer-links { display: grid; gap: 0.5rem; }
.footer-contact { display: grid; gap: 0.6rem; font-size: 0.95rem; }
.footer-contact li { display: flex; gap: 0.5rem; align-items: flex-start; }
.footer-brand img { height: 48px; margin-bottom: 0.75rem; filter: brightness(0) invert(1); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 0.85rem; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(250, 248, 242, 0.1);
  display: grid; place-items: center;
  transition: background 0.2s;
}
.footer-social a:hover { background: rgba(250, 248, 242, 0.2); }
.footer-social svg { width: 22px; height: 22px; fill: #FAF8F2; }
.footer-bottom {
  border-top: 1px solid rgba(250, 248, 242, 0.15);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #9AB39E;
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 1500;
  width: 58px; height: 58px;
  background: var(--c-wa);
  color: #FFFFFF;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(31, 122, 77, 0.4);
  transition: transform 0.2s, background 0.2s;
}
.whatsapp-float:hover { background: var(--c-wa-d); transform: scale(1.06); text-decoration: none; }
.whatsapp-float svg { width: 30px; height: 30px; fill: #FFFFFF; }
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--c-wa);
  opacity: 0.5;
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.45); opacity: 0; }
}

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

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--c-green-soft) 0%, var(--c-cream) 100%);
  border-bottom: 1px solid var(--c-border);
  padding-block: clamp(2rem, 5vw, 3.25rem);
}
.breadcrumb {
  font-size: 0.9rem;
  color: var(--c-text-soft);
  margin-bottom: 0.6rem;
}
.breadcrumb a { color: var(--c-green-d); }

/* ---------- Category showcase band ---------- */
.cat-band {
  display: grid;
  gap: 1.25rem;
}
.cat-row {
  display: grid;
  gap: 1.25rem;
  background: #FFFFFF;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.cat-row:hover { transform: translateY(-2px); }
.cat-row-img {
  width: 96px; height: 96px;
  background: var(--c-green-soft);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.cat-row-img svg, .cat-row-img img { width: 56px; height: 56px; }
.cat-row h3 { margin-bottom: 0.3rem; }
.cat-row p { color: var(--c-text-soft); }
.cat-row .cat-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }

/* ---------- Divider leaf decoration ---------- */
.leaf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.leaf-divider::before,
.leaf-divider::after {
  content: "";
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--c-border);
}
.leaf-divider svg { width: 24px; height: 24px; }

/* ---------- Media queries ---------- */
@media (min-width: 480px) {
  .btn { padding: 0.9rem 1.7rem; }
  .cat-band { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.1fr; }
  .cat-row {
    grid-template-columns: 96px 1fr;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .feature-list { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav-main {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    background: var(--c-cream);
    flex-direction: column;
    align-items: stretch;
    padding: 84px 1.25rem 2rem;
    box-shadow: -10px 0 30px rgba(107, 70, 40, 0.2);
    transform: translateX(0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1050;
  }
  .nav-main.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: navSlideIn 0.28s ease;
  }
  @keyframes navSlideIn {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--c-border);
    border-radius: 0;
    font-size: 1.05rem;
  }
  .nav-cta { margin: 1rem 0 0; }
  .nav-cta .btn { width: 100%; }
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(31, 65, 40, 0.4);
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s;
    z-index: 1040;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .whatsapp-float::after { display: none; }
}
