/* ==========================================================================
   Agrovanta - sitio público
   Paleta: teal #125d62 | lima #78b83d | crema #f7faf6
   ========================================================================== */

:root {
  --agro-teal: #125d62;
  --agro-teal-dark: #0d474b;
  --agro-teal-soft: #e8f2f1;
  --agro-lime: #78b83d;
  --agro-lime-dark: #5f962f;
  --agro-lime-soft: #eef7e3;
  --agro-cream: #f7faf6;
  --agro-ink: #122f31;
  --agro-muted: #5b6f70;
  --agro-border: #e1eae6;
  --agro-shadow: 0 18px 48px rgba(18, 93, 98, 0.12);
  --agro-radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--agro-ink);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--agro-teal); text-decoration: none; }
a:hover { color: var(--agro-teal-dark); }

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

.site-container {
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
}

/* Navbar ---------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--agro-border);
}

.site-nav .site-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.site-brand img { height: 42px; width: auto; }

.site-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 500;
  color: var(--agro-muted);
}

.site-links a:hover { color: var(--agro-teal); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--agro-teal);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(18, 93, 98, .22);
}
.btn-primary:hover { background: var(--agro-teal-dark); color: #fff; }

.btn-accent {
  background: var(--agro-lime);
  color: #14331a;
  box-shadow: 0 8px 20px rgba(120, 184, 61, .28);
}
.btn-accent:hover { background: var(--agro-lime-dark); color: #ffffff; }

.btn-ghost {
  background: transparent;
  color: var(--agro-teal);
  border-color: var(--agro-border);
}
.btn-ghost:hover { border-color: var(--agro-teal); background: var(--agro-teal-soft); }

.btn-block { width: 100%; }

/* Hero ------------------------------------------------------------------ */
.hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(circle at 12% 18%, rgba(120, 184, 61, .14), transparent 38%),
    radial-gradient(circle at 88% 12%, rgba(18, 93, 98, .10), transparent 42%),
    var(--agro-cream);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--agro-border);
  color: var(--agro-teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 22px 0 20px;
  color: var(--agro-ink);
}

.hero h1 span { color: var(--agro-teal); }

.hero p.lead {
  font-size: 19px;
  color: var(--agro-muted);
  max-width: 540px;
  margin: 0 0 30px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--agro-muted);
  font-size: 14px;
}

.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }

.hero-trust svg { color: var(--agro-lime-dark); }

/* Visual del hero */
.hero-visual { position: relative; min-height: 430px; }

.visual-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--agro-border);
  border-radius: var(--agro-radius);
  box-shadow: var(--agro-shadow);
  padding: 18px 20px;
}

.visual-main {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 380px;
  margin: 40px auto 0;
  padding: 26px;
}

.visual-main .visual-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--agro-muted);
  font-weight: 700;
  margin-bottom: 16px;
}

.product-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--agro-border);
}
.product-row:last-child { border-bottom: 0; }

.product-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--agro-lime-soft);
  font-size: 22px;
}

.product-name { font-weight: 700; }
.product-meta { font-size: 13px; color: var(--agro-muted); }
.product-price { margin-left: auto; font-weight: 800; color: var(--agro-teal); white-space: nowrap; }

.float-card {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}
.float-card.one { top: 0; left: 0; }
.float-card.two { bottom: 8px; right: 0; }

.float-card .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--agro-lime);
  box-shadow: 0 0 0 5px rgba(120, 184, 61, .18);
}

/* Secciones ------------------------------------------------------------- */
.section { padding: 76px 0; }
.section.alt { background: var(--agro-cream); }

.section-head { max-width: 680px; margin-bottom: 42px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 12px 0 14px;
}
.section-head p { color: var(--agro-muted); font-size: 17px; margin: 0; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--agro-border);
  border-radius: var(--agro-radius);
  padding: 28px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--agro-shadow); }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: var(--agro-teal-soft);
  color: var(--agro-teal);
  margin-bottom: 18px;
}
.feature-card.accent .feature-icon { background: var(--agro-lime-soft); color: var(--agro-lime-dark); }

.feature-card h3 { margin: 0 0 8px; font-size: 19px; }
.feature-card p { margin: 0; color: var(--agro-muted); font-size: 15px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--agro-border);
  border-radius: var(--agro-radius);
  padding: 30px 26px 26px;
}
.step-number {
  position: absolute;
  top: -18px; left: 26px;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--agro-teal);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(18, 93, 98, .22);
}
.step-card h3 { margin: 18px 0 8px; font-size: 18px; }
.step-card p { margin: 0; color: var(--agro-muted); font-size: 15px; }

.segment-card {
  border-radius: var(--agro-radius);
  padding: 28px;
  border: 1px solid var(--agro-border);
  background: #fff;
}
.segment-card.personal {
  background: linear-gradient(135deg, var(--agro-teal) 0%, #0e4f53 100%);
  color: #fff;
  border-color: transparent;
}
.segment-card.personal p { color: rgba(255, 255, 255, .82); }
.segment-card.personal .segment-tag {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}
.segment-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--agro-lime-soft);
  color: var(--agro-lime-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.segment-card h3 { margin: 0 0 8px; font-size: 20px; }
.segment-card p { margin: 0; color: var(--agro-muted); font-size: 15px; }

/* CTA final ------------------------------------------------------------- */
.cta-band {
  border-radius: 24px;
  padding: 54px 44px;
  background:
    radial-gradient(circle at 85% 20%, rgba(120, 184, 61, .28), transparent 42%),
    linear-gradient(135deg, var(--agro-teal) 0%, #0b3f43 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 8px; letter-spacing: -.02em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .78); max-width: 560px; }

/* Footer ---------------------------------------------------------------- */
.site-footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(120, 184, 61, .16), transparent 42%),
    var(--agro-teal-dark);
  color: rgba(255, 255, 255, .78);
  padding: 64px 0 28px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand img { height: 46px; width: auto; }
.footer-brand p {
  margin: 18px 0 0;
  max-width: 330px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .72);
}
.footer-col h3 {
  margin: 0 0 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #ffffff;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  color: rgba(255, 255, 255, .78);
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--agro-lime); }
.footer-social-link { display: inline-flex; align-items: center; gap: 10px; }
.footer-social-link + .footer-social-link { margin-top: 2px; }
.footer-social-empty { margin: 0; color: rgba(255, 255, 255, .55); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Auth / onboarding ----------------------------------------------------- */
.auth-shell {
  min-height: calc(100vh - 76px);
  padding: 64px 0 80px;
  background:
    radial-gradient(circle at 15% 10%, rgba(120, 184, 61, .14), transparent 40%),
    radial-gradient(circle at 90% 30%, rgba(18, 93, 98, .10), transparent 45%),
    var(--agro-cream);
}

.auth-card {
  width: min(720px, 100% - 32px);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--agro-border);
  border-radius: 22px;
  box-shadow: var(--agro-shadow);
  padding: 40px;
}

.auth-card.narrow { width: min(520px, 100% - 32px); }

.auth-card h1 { font-size: 30px; letter-spacing: -.02em; margin: 0 0 8px; }
.auth-card .subtitle { color: var(--agro-muted); margin: 0 0 28px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 7px;
  color: var(--agro-ink);
}

.field input,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--agro-border);
  border-radius: 12px;
  font: inherit;
  color: var(--agro-ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--agro-teal);
  box-shadow: 0 0 0 4px rgba(18, 93, 98, .12);
}
.field .hint { font-size: 13px; color: var(--agro-muted); margin-top: 6px; }
.field .error { font-size: 13px; color: #c0392b; margin-top: 6px; }

.choice-group { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.choice-card {
  position: relative;
  border: 1.5px solid var(--agro-border);
  border-radius: 14px;
  padding: 16px 16px 16px 46px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.choice-card input {
  position: absolute;
  left: 16px; top: 18px;
  accent-color: var(--agro-teal);
  width: 18px; height: 18px;
}
.choice-card strong { display: block; font-size: 15px; }
.choice-card span { display: block; font-size: 13px; color: var(--agro-muted); margin-top: 3px; }
.choice-card:has(input:checked) {
  border-color: var(--agro-teal);
  background: var(--agro-teal-soft);
}

.steps-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 13px;
  font-weight: 700;
  color: var(--agro-muted);
}
.steps-indicator .pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--agro-teal-soft);
  color: var(--agro-teal);
}
.steps-indicator .arrow { opacity: .45; }

.alert {
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14px;
  margin-bottom: 22px;
}
.alert-success { background: var(--agro-lime-soft); color: #3f6b1c; border: 1px solid #d8ebc2; }
.alert-error { background: #fdeceb; color: #a12b22; border: 1px solid #f6cdc9; }

.auth-foot { text-align: center; margin-top: 22px; color: var(--agro-muted); font-size: 14px; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; margin-top: 10px; }
  .cards-grid, .steps-grid { grid-template-columns: 1fr; }
  .site-links { display: none; }
}

@media (max-width: 620px) {
  .hero { padding: 56px 0 48px; }
  .section { padding: 56px 0; }
  .auth-card { padding: 26px 20px; }
  .form-grid, .choice-group { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; }
  .float-card.one { left: 8px; }
  .float-card.two { right: 8px; }
}

/* Marketplace ---------------------------------------------------------------- */
.market-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.market-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.market-filters-panel {
  background: #fff;
  border: 1px solid var(--agro-border);
  border-radius: 18px;
  padding: 20px;
  position: sticky;
  top: 96px;
  min-width: 0;
}
.market-filters-panel .market-filters {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 0;
  min-width: 0;
}
.market-filters-panel .market-input,
.market-filters-panel .market-filters .btn {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.market-results { min-width: 0; }

.filter-search { position: relative; }
.filter-search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--agro-muted); pointer-events: none;
}
.filter-search .market-input { padding-left: 40px; }

.filter-group { border: 0; padding: 0; margin: 0 0 6px; }
.filter-group legend {
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  font-weight: 800; color: var(--agro-muted); margin-bottom: 8px; padding: 0;
}
.filter-group .market-input + .market-input { margin-top: 8px; }
.filter-radios { display: grid; gap: 7px; }
.filter-radio, .filter-check {
  display: flex; align-items: center; gap: 9px; font-size: 14px;
  cursor: pointer; color: var(--agro-ink);
}
.filter-radio input, .filter-check input {
  width: 16px; height: 16px; margin: 0; accent-color: var(--agro-teal); cursor: pointer;
}
.filter-checks { display: grid; gap: 7px; max-height: 190px; overflow-y: auto; padding-right: 4px; }
.filter-label { display: block; font-size: 12px; font-weight: 700; color: var(--agro-muted); margin: 8px 0 4px; }
.filter-actions { display: grid; gap: 8px; margin-top: 14px; }
.filter-actions .btn { width: 100%; }

.price-range { position: relative; height: 34px; margin: 8px 0 10px; }
.price-track {
  position: absolute; left: 0; right: 0; top: 15px; height: 4px;
  background: var(--agro-border); border-radius: 999px;
}
.price-fill { position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: var(--agro-teal); border-radius: 999px; }
.price-slider {
  position: absolute; inset: 0; width: 100%; height: 34px; margin: 0;
  background: none; pointer-events: none; -webkit-appearance: none; appearance: none;
}
.price-slider:focus { outline: none; }
.price-slider::-webkit-slider-runnable-track { height: 34px; background: transparent; border: none; }
.price-slider::-moz-range-track { height: 34px; background: transparent; border: none; }
.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; margin-top: 8px;
  border-radius: 50%; background: #fff; border: 2px solid var(--agro-teal);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18); cursor: pointer;
}
.price-slider::-moz-range-thumb {
  pointer-events: auto; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 2px solid var(--agro-teal);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18); cursor: pointer;
}
.price-values { display: flex; align-items: center; gap: 8px; }
.price-values .market-input { padding: 9px 10px; font-size: 13px; text-align: center; }
.price-dash { color: var(--agro-muted); font-weight: 700; }
.market-input {
  padding: 12px 14px;
  border: 1px solid var(--agro-border);
  border-radius: 12px;
  font: inherit;
  background: #fff;
  color: var(--agro-ink);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.market-filters .btn { min-height: 46px; }

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.market-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--agro-border);
  border-radius: 18px;
  overflow: hidden;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.market-card:hover { transform: translateY(-4px); box-shadow: var(--agro-shadow); color: inherit; }
.market-thumb { position: relative; aspect-ratio: 4 / 3; background: var(--agro-lime-soft); overflow: hidden; }
.market-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.market-thumb-placeholder { display: grid; place-items: center; height: 100%; font-size: 44px; }
.market-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(18, 93, 98, .92); color: #fff;
  padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.market-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.market-body h3 { margin: 0 0 4px; font-size: 18px; }
.market-title { margin: 0 0 8px; color: var(--agro-muted); font-size: 13px; }
.market-price { font-size: 22px; font-weight: 800; color: var(--agro-teal); }
.market-price span { font-size: 14px; font-weight: 600; color: var(--agro-muted); }
.market-meta { font-size: 13px; color: var(--agro-muted); margin-top: 6px; }
.market-seller {
  font-size: 12px; font-weight: 800; color: var(--agro-teal);
  margin-top: 8px; text-transform: uppercase; letter-spacing: .04em;
}

.market-empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--agro-border); border-radius: 18px; }
.market-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; font-weight: 600; }
.market-pagination .is-disabled { color: var(--agro-muted); opacity: .6; }

.market-detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: start; }
.market-gallery-main { width: 100%; border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; }
.market-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.market-gallery-thumbs img { width: 78px; height: 78px; object-fit: cover; border-radius: 12px; cursor: pointer; opacity: .65; border: 2px solid transparent; transition: opacity .15s ease, border-color .15s ease; }
.market-gallery-thumbs img:hover { opacity: 1; }
.market-gallery-thumbs img.is-active { opacity: 1; border-color: var(--agro-teal); }
.market-gallery-empty { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 20px; background: var(--agro-lime-soft); font-size: 72px; }
.market-description { margin-top: 28px; }
.market-description h2 { font-size: 22px; margin: 0 0 8px; }
.market-description p { color: var(--agro-muted); }

.market-sidebar {
  background: #fff; border: 1px solid var(--agro-border); border-radius: 22px;
  padding: 32px; box-shadow: var(--agro-shadow); position: sticky; top: 96px;
}
.market-sidebar h1 { font-size: 30px; margin: 12px 0 4px; letter-spacing: -.02em; }
.market-price-lg { font-size: 34px; margin: 16px 0; }
.market-facts { list-style: none; padding: 0; margin: 0 0 22px; border-top: 1px solid var(--agro-border); }
.market-facts li { padding: 9px 0; border-bottom: 1px solid var(--agro-border); font-size: 14px; }
.market-seller-card { background: var(--agro-cream); border-radius: 14px; padding: 16px; margin-bottom: 20px; }
.market-seller-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--agro-muted); font-weight: 800; }
.market-seller-card strong { display: block; font-size: 16px; margin-top: 2px; }
.market-seller-card small { color: var(--agro-muted); }

@media (max-width: 900px) {
  .market-filters { grid-template-columns: 1fr 1fr; }
  .market-layout { grid-template-columns: 1fr; }
  .market-filters-panel { position: static; }
  .market-filters-panel .market-filters { grid-template-columns: 1fr 1fr; }
  .market-grid { grid-template-columns: 1fr 1fr; }
  .market-detail { grid-template-columns: 1fr; }
  .market-sidebar { position: static; }
}
@media (max-width: 620px) {
  .market-grid { grid-template-columns: 1fr; }
  .market-filters,
  .market-filters-panel .market-filters { grid-template-columns: 1fr; }
}

.market-badge.right { left: auto; right: 12px; background: var(--agro-lime-dark); }
.market-quote { display: grid; gap: 10px; margin-bottom: 16px; }
.market-quote h3 { margin: 0 0 4px; font-size: 18px; }
.market-quote label { font-size: 13px; font-weight: 700; margin-top: 4px; }
.market-quote textarea { resize: vertical; }

/* Carrito y pedidos ---------------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: 1.4fr .6fr; gap: 32px; align-items: start; }
.cart-items { display: grid; gap: 14px; }
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto auto auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--agro-border);
  border-radius: 16px;
  padding: 12px 16px;
}
.cart-thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--agro-lime-soft); display: grid; place-items: center; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.cart-info small { color: var(--agro-muted); }
.cart-qty { display: flex; gap: 6px; align-items: center; }
.cart-qty input { width: 90px; padding: 8px 10px; border: 1px solid var(--agro-border); border-radius: 10px; }
.cart-line { font-weight: 800; color: var(--agro-teal); white-space: nowrap; }
.cart-summary { background: #fff; border: 1px solid var(--agro-border); border-radius: 18px; padding: 24px; box-shadow: var(--agro-shadow); position: sticky; top: 96px; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px solid var(--agro-border); border-bottom: 1px solid var(--agro-border); margin: 12px 0 18px; font-size: 18px; }

.orders-list { display: grid; gap: 12px; }
.order-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border: 1px solid var(--agro-border); border-radius: 14px; padding: 16px 20px; color: inherit; }
.order-card small { display: block; color: var(--agro-muted); }
.order-status { background: var(--agro-teal-soft); color: var(--agro-teal); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; }
.order-block { background: #fff; border: 1px solid var(--agro-border); border-radius: 16px; padding: 20px; margin-bottom: 16px; }
.order-block-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.order-block-head small { display: block; color: var(--agro-muted); }
.order-items { width: 100%; border-collapse: collapse; font-size: 14px; }
.order-items th, .order-items td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--agro-border); }
.order-subtotal { text-align: right; margin-top: 10px; }
.order-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-item { grid-template-columns: 56px 1fr; }
  .cart-qty, .cart-line { grid-column: 2; }
}

/* Pagos --------------------------------------------------------------------- */
.payment-box { border-top: 1px solid var(--agro-border); margin-top: 14px; padding-top: 14px; }
.payment-box h4 { margin: 0 0 8px; font-size: 16px; }
.payment-line { margin: 0 0 10px; }
.pay-bank { background: var(--agro-cream); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; font-size: 14px; }
.pay-bank ul { margin: 6px 0 0; padding-left: 18px; }
.pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
@media (max-width: 620px) { .pay-grid { grid-template-columns: 1fr; } }

/* Navegación pública profesional -------------------------------------------- */
.site-nav-links { display: flex; align-items: center; gap: 28px; font-weight: 500; color: var(--agro-muted); }
.site-nav-links a { color: inherit; }
.site-nav-links a:hover { color: var(--agro-teal); }

.site-menu-toggle { display: none; background: none; border: 0; color: var(--agro-ink); cursor: pointer; padding: 8px; border-radius: 10px; }
.site-menu-toggle:hover { background: var(--agro-teal-soft); }

.site-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--agro-teal);
  background: #fff;
  border: 1px solid var(--agro-border);
  transition: background .15s ease, border-color .15s ease;
}
.icon-btn:hover { background: var(--agro-teal-soft); border-color: rgba(18, 93, 98, .35); color: var(--agro-teal); }
.icon-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--agro-lime-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}

.user-menu { position: relative; }
.user-menu-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--agro-border);
  border-radius: 999px;
  padding: 3px 10px 3px 3px;
  cursor: pointer;
  color: var(--agro-ink);
  font: inherit;
}
.user-menu-toggle:hover { border-color: rgba(18, 93, 98, .35); }
.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--agro-teal);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}
.user-name { font-weight: 600; font-size: 14px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 250px;
  background: #fff;
  border: 1px solid var(--agro-border);
  border-radius: 14px;
  box-shadow: var(--agro-shadow);
  padding: 8px;
  display: none;
  z-index: 60;
}
.user-menu.is-open .user-menu-panel { display: block; }
.user-menu-head { padding: 10px 12px; border-bottom: 1px solid var(--agro-border); margin-bottom: 6px; }
.user-menu-head strong { display: block; font-size: 14px; }
.user-menu-head small { display: block; color: var(--agro-muted); font-size: 12px; word-break: break-all; }
.user-menu-panel a,
.user-menu-panel button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--agro-ink);
  font-size: 14px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.user-menu-panel a:hover,
.user-menu-panel button:hover { background: var(--agro-teal-soft); color: var(--agro-teal); }

@media (max-width: 900px) {
  /* Orden del header: marca · acciones · hamburguesa al final */
  .site-nav .site-container { gap: 10px; }
  .site-brand { order: 1; flex: 0 1 auto; min-width: 0; }
  .site-actions { order: 2; margin-left: auto; gap: 8px; }
  .site-menu-toggle { order: 3; flex: 0 0 auto; }

  .site-menu-toggle { display: grid; place-items: center; }
  .site-nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--agro-border);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 16px;
    box-shadow: 0 12px 24px rgba(18, 93, 98, .08);
    z-index: 55;
  }
  .site-nav.is-open .site-nav-links { display: flex; }
  .site-nav-links a { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--agro-border); }
  .user-name { display: none; }
  .site-actions { gap: 6px; }
}

.menu-auth-link { display: none; }

@media (max-width: 620px) {
  .site-container { width: min(1120px, 100% - 28px); }
  .site-brand img { height: 32px; }

  /* Los dos botones no entran con el logo: Ingresar pasa al menú */
  .site-actions .btn-ghost { display: none; }
  .site-actions .btn {
    padding: 9px 14px;
    font-size: 14px;
    min-height: 38px;
  }
  .site-nav-links .menu-auth-link {
    display: block;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--agro-border);
  }
}

@media (max-width: 380px) {
  .site-brand img { height: 28px; }
  .site-actions .btn { padding: 8px 11px; font-size: 13px; }
}

/* Reclamos ------------------------------------------------------------------ */
.claims-box { border-top: 1px solid var(--agro-border); margin-top: 14px; padding-top: 14px; }
.claims-box h4 { margin: 0 0 8px; font-size: 16px; }
.claim-item { background: var(--agro-cream); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; font-size: 14px; display: flex; flex-direction: column; gap: 3px; }
.claim-form { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 8px; align-items: start; margin-top: 10px; }
@media (max-width: 780px) { .claim-form { grid-template-columns: 1fr; } }

.market-badge.animal { top: auto; bottom: 12px; left: 12px; background: var(--agro-teal); }
.livestock-facts { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px solid var(--agro-border); }
.livestock-facts li { padding: 7px 0; border-bottom: 1px solid var(--agro-border); font-size: 14px; }
.livestock-docs { margin-top: 14px; }
.livestock-docs h4 { margin: 0 0 6px; font-size: 16px; }

/* Reseñas ------------------------------------------------------------------- */
.reviews-box { border-top: 1px solid var(--agro-border); margin-top: 14px; padding-top: 14px; }
.reviews-box h4 { margin: 0 0 8px; font-size: 16px; }
.review-stars { color: #f0a500; letter-spacing: 1px; font-size: 16px; }
.review-form { display: grid; grid-template-columns: 180px 1fr auto; gap: 8px; margin-top: 8px; align-items: start; }
.market-rating { margin-top: 6px; font-size: 14px; font-weight: 800; color: #c58a00; }
.reviews-section { margin-top: 48px; }
.reviews-section h2 { font-size: 24px; margin: 0 0 12px; }
.review-item { background: #fff; border: 1px solid var(--agro-border); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.review-item p { margin: 6px 0 0; color: var(--agro-muted); }
.review-item small { color: var(--agro-muted); }
@media (max-width: 780px) { .review-form { grid-template-columns: 1fr; } }

/* Verificación y respuestas ------------------------------------------------- */
.market-verified {
  display: inline-block;
  margin-top: 4px;
  background: var(--agro-lime-soft);
  color: var(--agro-lime-dark);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 800;
}
.seller-response {
  margin-top: 8px;
  padding: 8px 12px;
  background: var(--agro-teal-soft);
  border-radius: 10px;
  font-size: 14px;
}

/* Paginas legales ---------------------------------------------------------- */
.legal-section { padding-top: 48px; }
.legal-card {
  max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid var(--agro-border);
  border-radius: 20px; padding: 40px; box-shadow: var(--agro-shadow);
}
.legal-card h1 { font-size: 34px; letter-spacing: -.02em; margin: 8px 0; }
.legal-card h2 { font-size: 20px; margin: 28px 0 8px; color: var(--agro-teal); }
.legal-card p, .legal-card li { color: var(--agro-muted); line-height: 1.75; }
.legal-card ul { padding-left: 20px; }
.legal-card a { color: var(--agro-teal); text-decoration: underline; }
.legal-updated { font-size: 13px; color: var(--agro-muted); margin-bottom: 24px; }
@media (max-width: 620px) { .legal-card { padding: 24px; } .legal-card h1 { font-size: 26px; } }

/* Planes ------------------------------------------------------------------- */
.plans-section { padding-top: 48px; }
.plans-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: stretch;
}
.plan-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--agro-border); border-radius: var(--agro-radius);
  padding: 28px; box-shadow: 0 10px 30px rgba(18, 93, 98, .07);
}
.plan-card--free { border-color: var(--agro-lime); background: linear-gradient(180deg, var(--agro-lime-soft), #fff 40%); }
.plan-yearly {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--agro-lime-dark);
}
.plan-badge {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--agro-teal-dark); background: var(--agro-lime-soft);
  border-radius: 999px; padding: 4px 10px; margin-bottom: 10px;
}
.plan-card h3 { font-size: 21px; margin: 0 0 6px; color: var(--agro-ink); }
.plan-description { color: var(--agro-muted); font-size: 14px; min-height: 42px; margin: 0 0 16px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.plan-price strong { font-size: 32px; color: var(--agro-teal); letter-spacing: -.02em; }
.plan-price span { color: var(--agro-muted); font-size: 13px; }
.plan-features { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--agro-border); }
.plan-features li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--agro-border); font-size: 14px;
}
.plan-features li span { color: var(--agro-muted); }
.plan-features li strong { color: var(--agro-ink); text-align: right; }
.plan-note {
  font-size: 12.5px; color: var(--agro-teal-dark); background: var(--agro-teal-soft);
  border-radius: 10px; padding: 10px 12px; margin: 0 0 18px;
}
.plan-cta { width: 100%; margin-top: auto; text-align: center; }
.plans-info {
  display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 46px; padding: 30px; background: var(--agro-cream);
  border: 1px solid var(--agro-border); border-radius: var(--agro-radius);
}
.plans-info h3 { font-size: 16px; margin: 0 0 6px; color: var(--agro-teal); }
.plans-info p { margin: 0; color: var(--agro-muted); font-size: 14px; }
.plans-info a { color: var(--agro-teal); text-decoration: underline; }
.plans-empty { color: var(--agro-muted); }

/* Contacto ----------------------------------------------------------------- */
.contact-section { padding-top: 48px; }
.contact-grid {
  display: grid; gap: 26px; grid-template-columns: minmax(250px, .8fr) minmax(300px, 1.2fr);
  align-items: start;
}
.contact-channels { display: grid; gap: 14px; }
.contact-channel {
  display: flex; flex-direction: column; gap: 3px;
  background: #fff; border: 1px solid var(--agro-border); border-radius: 14px;
  padding: 18px 20px; box-shadow: 0 8px 24px rgba(18, 93, 98, .06);
  transition: transform .15s ease, box-shadow .15s ease;
}
a.contact-channel:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(18, 93, 98, .12); }
.contact-channel-label {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--agro-teal);
}
.contact-channel strong { font-size: 15px; color: var(--agro-ink); word-break: break-word; }
.contact-channel small { color: var(--agro-muted); font-size: 12.5px; }
.contact-channel--static { background: var(--agro-cream); }
.contact-card {
  background: #fff; border: 1px solid var(--agro-border); border-radius: var(--agro-radius);
  padding: 30px; box-shadow: var(--agro-shadow);
}
.contact-card h3 { margin: 0 0 18px; font-size: 20px; color: var(--agro-ink); }
.contact-form { display: grid; gap: 16px; }
.form-field { display: grid; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--agro-ink); }
.form-field input, .form-field textarea {
  width: 100%; border: 1px solid var(--agro-border); border-radius: 10px;
  padding: 11px 13px; font: inherit; font-size: 14px; color: var(--agro-ink);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--agro-teal);
  box-shadow: 0 0 0 3px rgba(18, 93, 98, .12);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.contact-alert { border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }
.contact-alert--success { background: var(--agro-lime-soft); color: var(--agro-lime-dark); border: 1px solid var(--agro-lime); }
.contact-alert--error { background: #fdecec; color: #9b1c1c; border: 1px solid #f5b5b5; }

@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .plan-card { padding: 22px; }
  .contact-card { padding: 22px; }
  .plans-info { padding: 22px; }
}

/* Mobile hardening: prevent iOS zoom and enlarge tap targets --------------- */
@media (max-width: 900px) {
  .form-field input,
  .form-field textarea,
  .market-input,
  .field input,
  .field select,
  .cart-qty input { font-size: 16px; }

  .btn { min-height: 44px; }
  .site-menu-toggle { min-width: 44px; min-height: 44px; }
  .icon-btn { width: 44px; height: 44px; }
}

/* Home hero slider (pantalla completa) ---------------------------------- */
.home-hero-slider { width: 100%; background: var(--agro-teal-dark); }
.home-slider {
  position: relative;
  width: 100%;
  height: 78vh;
  height: clamp(560px, 78vh, 780px);
  overflow: hidden;
  background: var(--agro-teal-dark);
}
.home-slider-track { position: absolute; inset: 0; }
.home-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}
.home-slide.is-active { opacity: 1; z-index: 1; pointer-events: auto; }
.home-slide img { width: 100%; height: 100%; object-fit: cover; }
.home-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 35, 37, .9) 0%, rgba(6, 35, 37, .62) 42%, rgba(6, 35, 37, .05) 78%);
}
.home-slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}
.home-slide-copy { max-width: 620px; padding: 48px 0; color: #fff; }
.home-slide-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--agro-lime);
  color: var(--agro-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-slide-copy h1,
.home-slide-copy h2 {
  margin: 16px 0 14px;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.03em;
  color: #fff;
}
.home-slide-copy p {
  margin: 0;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .86);
}
.home-slide-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.home-slide-link {
  color: #fff;
  font-weight: 600;
  padding: 10px 4px;
  text-decoration: underline;
}
.home-slide-link:hover { color: var(--agro-lime); }
.home-slide-content .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
}
.home-slide-content .btn-ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, .18);
}
.home-slide-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: rgba(255, 255, 255, .78);
}
.home-slide-trust li { display: inline-flex; align-items: center; gap: 7px; }
.home-slide-trust svg { color: var(--agro-lime); flex: 0 0 auto; }
.home-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(0, 0, 0, .28);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.home-slider-nav:hover { background: rgba(0, 0, 0, .45); }
.home-slider-nav.prev { left: 24px; }
.home-slider-nav.next { right: 24px; }
.home-slider-dots {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.home-slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.home-slider-dots button.is-active {
  width: 26px;
  border-radius: 999px;
  background: var(--agro-lime);
}
@media (max-width: 900px) {
  .home-slider {
    height: 86vh;
    height: min(86svh, 760px);
    min-height: 560px;
  }
  .home-slide::after {
    background: linear-gradient(180deg, rgba(6, 35, 37, .1) 0%, rgba(6, 35, 37, .55) 45%, rgba(6, 35, 37, .94) 100%);
  }
  .home-slide-content { align-items: flex-end; }
  .home-slide-copy { max-width: none; padding: 24px 0 64px; }
  .home-slide-copy h1,
  .home-slide-copy h2 { font-size: clamp(28px, 8vw, 40px); }
  .home-slide-copy p { font-size: 15px; }
  .home-slider-nav { display: none; }
  .home-slider-dots { right: 50%; transform: translateX(50%); bottom: 20px; }
  .home-slide-trust { margin-top: 16px; gap: 12px; }
}
@media (max-width: 480px) {
  .home-slide-ctas .btn { padding: 9px 14px; font-size: 14px; min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-slide { transition: none; }
}

/* FAQ -------------------------------------------------------------------- */
.faq-section { padding: 76px 0; }
.faq-wrap { max-width: 860px; }
.faq-list {
  border: 1px solid var(--agro-border);
  border-radius: 20px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(18, 93, 98, .06);
}
.faq-item { border-bottom: 1px solid var(--agro-border); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  color: var(--agro-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--agro-cream); }
.faq-item summary svg {
  flex: 0 0 auto;
  color: var(--agro-muted);
  transition: transform .2s ease;
}
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item[open] summary { background: var(--agro-cream); }
.faq-answer {
  padding: 0 24px 20px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--agro-muted);
}
.faq-answer p { margin: 0; }
@media (max-width: 620px) {
  .faq-section { padding: 56px 0; }
  .faq-item summary { padding: 16px 18px; font-size: 15px; }
  .faq-answer { padding: 0 18px 18px; font-size: 15px; }
}

/* Story page ------------------------------------------------------------- */
.story-hero { padding-bottom: 64px; }
.story-lead-quote { font-weight: 600; color: var(--agro-teal); }

.story-figure {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--agro-border);
  background: #fff;
  box-shadow: var(--agro-shadow);
}
.story-figure img { width: 100%; height: auto; }
.story-figure--soft { box-shadow: none; background: var(--agro-cream); }
.story-caption {
  padding: 12px 18px 16px;
  font-size: 13px;
  color: var(--agro-muted);
  border-top: 1px solid var(--agro-border);
}

.story-prose { max-width: 760px; }
.story-prose h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 18px 0;
  color: var(--agro-ink);
}
.story-prose p { color: var(--agro-muted); font-size: 17.5px; margin: 0 0 16px; }
.story-prose strong { color: var(--agro-ink); }
.story-prose--center { margin: 0 auto; text-align: center; }

.story-quote {
  margin: 30px 0 0;
  padding: 24px 28px;
  border-left: 4px solid var(--agro-lime);
  background: var(--agro-cream);
  border-radius: 0 16px 16px 0;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--agro-ink);
}
.story-quote--small { font-size: 18px; }
.story-question {
  margin: 24px 0;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--agro-teal);
}

.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.story-home-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.story-home-title {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 16px 0 14px;
}
.story-home-quote { font-size: 18px; font-weight: 600; color: var(--agro-teal); margin: 0 0 14px; }
.story-home-text { color: var(--agro-muted); margin: 0 0 22px; }

@media (max-width: 900px) {
  .story-split,
  .story-home-grid { grid-template-columns: 1fr; gap: 28px; }
  .story-prose p { font-size: 16.5px; }
  .story-home-grid .story-figure { order: -1; }
}

/* Cookie consent ---------------------------------------------------------- */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 16px;
  background: rgba(10, 59, 63, .97);
  color: #ffffff;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .18);
  backdrop-filter: blur(6px);
}
.cookie-consent[hidden] { display: none; }
.cookie-consent-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-consent p {
  margin: 0;
  max-width: 700px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .86);
}
.cookie-consent a { color: var(--agro-lime); text-decoration: underline; }
.cookie-consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-consent .btn-ghost { color: #ffffff; border-color: rgba(255, 255, 255, .4); }
.cookie-consent .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #ffffff; }
@media (max-width: 620px) {
  .cookie-consent { padding: 14px; }
  .cookie-consent-actions { width: 100%; }
  .cookie-consent-actions .btn { flex: 1; }
}

/* Floating WhatsApp CTA (rendered only when support_whatsapp is set) ------ */
.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.whatsapp-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .28); }
@media (max-width: 620px) { .whatsapp-fab { right: 14px; bottom: 14px; width: 52px; height: 52px; } }
