/* ==========================================================================
   Synergy Agro Bio-Tech — Design System
   ========================================================================== */

:root {
  /* Greens — primary palette (forest → leaf) */
  --green-900: #1b4332;
  --green-800: #245c47;
  --green-700: #2d6a4f;
  --green-600: #3a8964;
  --green-500: #52b788;
  --green-300: #95d5b2;
  --green-100: #d8f3dc;
  --green-50:  #f1faf4;

  /* Earth tones */
  --cream:   #faf3e0;
  --cream-2: #f6ecd0;
  --earth:   #8b5a2b;
  --gold:    #f4a261;
  --gold-soft: #fbd38d;

  /* Neutrals */
  --ink:    #1b2a23;
  --muted:  #5b6c5d;
  --line:   #e6efe9;
  --bg:     #ffffff;
  --bg-tint:#f7faf6;

  /* Effects */
  --shadow-sm: 0 2px 6px rgba(27, 67, 50, 0.06);
  --shadow-md: 0 8px 24px rgba(27, 67, 50, 0.08);
  --shadow-lg: 0 18px 50px rgba(27, 67, 50, 0.12);
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);

  /* Type */
  --font-head: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'DM Serif Display', 'Plus Jakarta Sans', serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--green-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green-500); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--green-900);
  margin: 0 0 .6em;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 600; }
p  { margin: 0 0 1em; color: var(--muted); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: clamp(36px, 5vw, 72px) 0; }
.section--tint { background: var(--bg-tint); }
.section--green {
  background: linear-gradient(180deg, var(--green-50) 0%, #ffffff 100%);
}
.section--tight  { padding: clamp(24px, 3.5vw, 56px) 0; }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(24px, 4vw, 48px);
}
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-700);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head .eyebrow::before,
.section-head .eyebrow::after {
  content: '';
  width: 28px; height: 1px;
  background: var(--green-300);
}
.section-head h2 { margin-bottom: 8px; }
.section-head p  { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1.2;
}
.btn--primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--green-800); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-300);
}
.btn--ghost:hover { background: var(--green-50); color: var(--green-800); }
.btn--whatsapp {
  background: #075e54;
  color: #fff;
}
.btn--whatsapp:hover { background: #054c44; color: #fff; transform: translateY(-1px); }
.btn--call {
  background: var(--green-100);
  color: var(--green-800);
}
.btn--call:hover { background: var(--green-300); color: var(--green-900); }
.btn--lg { padding: 14px 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  gap: 16px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--green-900);
}
.nav__brand img { height: 64px; width: auto; display: block; }

.nav__menu {
  display: flex;
  gap: 5px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__menu a {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9rem;
  transition: background .2s ease, color .2s ease;
}
.nav__menu a:hover { background: var(--green-50); color: var(--green-800); }
.nav__menu a.is-active { background: var(--green-100); color: var(--green-900); font-weight: 600; }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  background: #fff;
  margin: 0;
  gap: 0;
}
.lang-switch button {
  border: none;
  background: transparent;
  padding: 5px 11px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}
.lang-switch button.is-active { background: var(--green-700); color: #fff; }
.lang-switch button:hover:not(.is-active) { color: var(--green-800); background: var(--green-50); }
.lang-switch button:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 2px;
}

.nav__call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-700);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}
.nav__call:hover { background: var(--green-800); color: #fff; }
.nav__call .num {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}
.nav__call .num span:first-child {
  font-size: 0.68rem;
  opacity: 0.85;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav__call .num span:last-child { font-size: 0.88rem; }
.nav__call svg { width: 18px; height: 18px; }

.nav__toggle {
  display: none;
  background: var(--green-50);
  border: 1px solid var(--line);
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: var(--green-800);
}
.nav__toggle svg { width: 22px; height: 22px; }

@media (max-width: 980px) {
  .nav__menu, .nav__call { display: none; }
  .nav__toggle { display: inline-flex; }
  .site-header.is-open .nav__menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    gap: 4px;
  }
  .site-header.is-open .nav__menu a { padding: 14px 16px; border-radius: var(--radius-sm); }
  .site-header.is-open .nav__call {
    display: inline-flex;
    margin-top: 12px;
    align-self: flex-start;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 80% -10%, var(--green-100) 0, transparent 60%),
    radial-gradient(800px 400px at -10% 110%, var(--cream-2) 0, transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: stretch;
  padding: clamp(16px, 2.5vw, 32px) 0 clamp(40px, 6vw, 72px);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--green-100);
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--green-700);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero__title em {
  font-style: normal;
  font-family: var(--font-display);
  color: var(--green-700);
  font-weight: 400;
}
.hero__lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 560px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 28px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px dashed var(--green-300);
}
.hero__stats > div { min-width: 100px; }
.hero__stats > div:not(.hero__stats__badge) > strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--green-800);
  font-weight: 700;
}
.hero__stats > div:not(.hero__stats__badge) > span { font-size: 0.85rem; color: var(--muted); }

.hero__media {
  position: relative;
  display: flex;
  align-items: stretch;
}
.hero__slideshow {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 460px;
  background: linear-gradient(135deg, var(--green-50) 0%, #fff 60%, var(--green-50) 100%);
  box-shadow: var(--shadow-lg);
}

/* On wider viewports the column has plenty of height — let the pane stretch */
@media (min-width: 881px) {
  .hero__slideshow { height: 100%; }
}

/* On mobile the column is on its own row, so cap the height again */
@media (max-width: 880px) {
  .hero__slideshow {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transition: opacity .8s ease;
}
.hero__slide.is-active { opacity: 1; }

/* Trust badge inline with hero stats */
.hero__stats__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  background: #fff;
  border: 1px solid var(--green-100);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.hero__stats__badge-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  display: grid;
  place-items: center;
  flex: none;
}
.hero__stats__badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.hero__stats__badge-text strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-900);
}
.hero__stats__badge-text span {
  font-size: 0.72rem;
  color: var(--muted);
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
}

/* Decorative leaf SVG (optional pseudo) */
.hero::before, .hero::after {
  content: '';
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  opacity: .4;
}
.hero::before {
  width: 160px; height: 160px;
  top: -30px; right: -30px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><path fill='%2352b788' d='M32 4C16 12 6 26 8 44c10-2 22-10 28-22 4-8 0-14-4-18zM12 50c8-2 18-8 24-18 2 12-6 24-20 28-3-3-4-7-4-10z'/></svg>");
}
.hero::after {
  width: 220px; height: 220px;
  bottom: -50px; left: -50px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><path fill='%23d8f3dc' d='M32 4C16 12 6 26 8 44c10-2 22-10 28-22 4-8 0-14-4-18zM12 50c8-2 18-8 24-18 2 12-6 24-20 28-3-3-4-7-4-10z'/></svg>");
}

/* ---------- Cards / Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-300);
}
.product-card__media {
  position: relative;
  background:
    radial-gradient(120% 120% at 50% 0%, var(--green-50) 0%, #fff 70%);
  display: grid;
  place-items: center;
  padding: 24px;
  aspect-ratio: 1.05/1;
}
.product-card__media img {
  max-height: 100%;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  transition: transform .3s ease;
}
.product-card:hover .product-card__media img { transform: scale(1.04); }

.product-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: #4a2d0c;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-card__category {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,0.9);
  color: var(--green-800);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.product-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-card__title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-900);
  margin: 0;
}
.product-card__variant {
  font-size: 0.82rem;
  color: var(--muted);
}
.product-card__price {
  margin-top: auto;
  display: flex; align-items: baseline; gap: 8px;
  padding-top: 10px;
}
.product-card__price strong {
  font-family: var(--font-head);
  color: var(--green-800);
  font-size: 1.1rem;
  font-weight: 700;
}
.product-card__price s {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: line-through;
}
.product-card__cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-800);
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid var(--green-100);
  transition: background .2s ease, color .2s ease;
}
.product-card__cta:hover { background: var(--green-700); color: #fff; }
.product-card__cta svg { width: 14px; height: 14px; }

/* ---------- About / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.split__media--free img { box-shadow: none; border-radius: 0; background: transparent; }
.split__title em {
  font-style: normal;
  color: var(--green-700);
}
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > *:first-child { order: 0; }
}

/* ---------- Feature blocks (why us) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-300);
}
.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-800);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.feature-card__icon svg { width: 28px; height: 28px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 0.95rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.testimonial::before {
  content: '“';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--green-100);
  position: absolute;
  top: 4px; left: 16px;
  line-height: 1;
}
.testimonial p {
  position: relative;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 18px;
}
.testimonial__author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-300), var(--green-700));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700;
}
.testimonial__author strong { display: block; color: var(--green-900); }
.testimonial__author span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Newsletter / CTA banner ---------- */
.cta-banner {
  background:
    linear-gradient(120deg, var(--green-800) 0%, var(--green-600) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-banner__form {
  display: flex;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  gap: 6px;
  box-shadow: var(--shadow-md);
}
.cta-banner__form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.cta-banner__form button {
  background: var(--green-700);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}
.cta-banner__form button:hover { background: var(--green-800); }
.cta-banner__form button[disabled] { opacity: .7; cursor: progress; }
@media (max-width: 800px) {
  .cta-banner { grid-template-columns: 1fr; }
}

/* ---------- Legal pages (privacy / terms) ---------- */
.legal {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.75;
}
.legal h2 {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  margin: 32px 0 8px;
  color: var(--green-900);
}
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 22px; margin: 8px 0 18px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--green-500); }
.legal code {
  background: var(--green-50);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* ---------- Form feedback (newsletter & contact) ---------- */
.form-feedback {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--green-50);
  color: var(--green-800);
  border: 1px solid var(--green-100);
}
.form-feedback[data-kind="success"] { background: var(--green-50); color: var(--green-800); border-color: var(--green-300); }
.form-feedback[data-kind="error"]   { background: #fef2f2; color: #991b1b;          border-color: #fecaca; }
.form-feedback[data-kind="info"]    { background: var(--cream); color: var(--earth); border-color: var(--gold-soft); }

/* When the feedback element is inside the white pill-style newsletter form,
   break it out so it sits below the pill rather than inside it. */
.cta-banner__form .form-feedback {
  flex-basis: 100%;
  margin: 12px 4px 4px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--green-50) 0%, #ffffff 100%);
  padding: clamp(48px, 6vw, 80px) 0 0;
  border-top: 1px solid var(--line);
  margin-top: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 32px;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--muted); font-size: 0.95rem; }
.footer-col a:hover { color: var(--green-700); }
.footer-col p { font-size: 0.93rem; color: var(--muted); }
.footer-col .brand-line { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-col .brand-line img { height: 50px; }
.footer-col .brand-line strong { color: var(--green-900); font-family: var(--font-head); }
.footer-col__map img { border-radius: var(--radius); border: 1px solid var(--line); }

.footer-bar {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding: 18px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Page header (sub-pages) ---------- */
.page-head {
  background:
    radial-gradient(900px 400px at 80% 0%, var(--green-100) 0, transparent 60%),
    linear-gradient(180deg, var(--bg-tint) 0%, #fff 100%);
  padding: clamp(48px, 6vw, 96px) 0;
  text-align: center;
}
.page-head h1 { margin-bottom: 8px; }
.page-head p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.page-head--compact { padding: clamp(28px, 3.5vw, 48px) 0 clamp(20px, 2vw, 28px); }
.page-head--compact h1 { margin-bottom: 6px; }
.page-head--compact p { font-size: 1rem; }
.section--tight-top { padding-top: clamp(20px, 2.5vw, 32px); }
.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.breadcrumbs a { color: var(--green-700); }
.breadcrumbs span { color: var(--muted); }

/* ---------- Filters bar (products page) ---------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.toolbar__search {
  position: relative;
  flex: 1 1 260px;
  max-width: 360px;
}
.toolbar__search input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  font-family: inherit;
}
.toolbar__search input:focus { border-color: var(--green-500); box-shadow: 0 0 0 4px var(--green-50); }
.toolbar__search svg {
  position: absolute;
  top: 50%; left: 16px;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--muted);
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all .2s ease;
}
.chip:hover { color: var(--green-800); border-color: var(--green-300); }
.chip.is-active {
  background: var(--green-700);
  color: #fff;
  border-color: var(--green-700);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
}

/* ---------- Product detail page ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding: clamp(32px, 5vw, 64px) 0;
}
.product-detail__media {
  position: sticky;
  top: 100px;
  background:
    radial-gradient(120% 120% at 50% 0%, var(--green-50) 0%, #fff 70%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 48px);
  display: grid;
  place-items: center;
  aspect-ratio: 1/1;
}
.product-detail__media img {
  max-width: 80%;
  max-height: 100%;
  object-fit: contain;
}
.product-detail__category {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-800);
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.product-detail__title {
  margin-bottom: 6px;
}
.product-detail__subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.product-detail__desc {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 28px;
}
.size-selector {
  margin-bottom: 28px;
}
.size-selector__label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 600;
}
.size-selector__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size-selector__options button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all .2s ease;
}
.size-selector__options button:hover { border-color: var(--green-500); color: var(--green-800); }
.size-selector__options button.is-active {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  padding: 18px 24px;
  background: var(--green-50);
  border-radius: var(--radius);
}
.price-row__amount {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-800);
}
.price-row__strike {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 1.05rem;
}
.price-row__off {
  background: var(--gold);
  color: #4a2d0c;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.benefits__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: var(--bg-tint);
  border-radius: var(--radius);
  font-size: 0.9rem;
  border: 1px solid var(--line);
}
.benefits__item svg { width: 22px; height: 22px; color: var(--green-700); flex-shrink: 0; margin-top: 2px; }
.benefits__item strong { display: block; color: var(--green-900); margin-bottom: 2px; }
.benefits__item span { color: var(--muted); font-size: 0.85rem; }

@media (max-width: 880px) {
  .product-detail { grid-template-columns: 1fr; }
  .product-detail__media { position: static; aspect-ratio: 4/3; }
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(24px, 5vw, 48px);
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info__item {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .2s ease, transform .2s ease;
}
.contact-info__item:hover { border-color: var(--green-300); transform: translateY(-2px); }
.contact-info__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-800);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-info__icon svg { width: 22px; height: 22px; }
.contact-info__item h4 { margin: 0 0 4px; font-size: 1rem; }
.contact-info__item p { margin: 0; font-size: 0.95rem; color: var(--muted); line-height: 1.5; }
.contact-info__item a { color: var(--ink); }
.contact-info__item a:hover { color: var(--green-700); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.form-card h2 { margin-bottom: 6px; }
.form-card > p { margin-bottom: 24px; }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: var(--green-900); }
.form-row input, .form-row textarea {
  border: 1px solid var(--line);
  background: var(--bg-tint);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-row input:focus, .form-row textarea:focus {
  background: #fff;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px var(--green-50);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Portfolio gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.gallery__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery__item img { border-radius: var(--radius); margin: 0 auto 16px; }
.gallery__item h3 { margin: 0 0 4px; font-size: 1rem; }
.gallery__item p { margin: 0; font-size: 0.9rem; }

/* ---------- Floating WhatsApp button ---------- */
.fab-whatsapp {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 56px; height: 56px;
  background: #075e54;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(7, 94, 84, 0.4);
  z-index: 30;
  transition: transform .2s ease;
}
.fab-whatsapp:hover { transform: scale(1.06); color: #fff; }
.fab-whatsapp svg { width: 28px; height: 28px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-12 { gap: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
