:root {
  --green: #2f7d3b;
  --green-dark: #184d27;
  --green-deep: #0e3219;
  --olive: #4f7a2a;
  --orange: #e0871c;
  --orange-deep: #c1611a;
  --earth: #7c4a21;
  --cream: #faf5ea;
  --paper: #f5eddd;
  --ink: #2a2118;
  --muted: #7c7163;
  --line: rgba(42, 33, 24, 0.12);
  --line-soft: rgba(42, 33, 24, 0.08);
  --white: #ffffff;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", system-ui, -apple-system, sans-serif;
  --shadow-soft: 0 24px 60px rgba(14, 50, 25, 0.1);
  --shadow-card: 0 18px 44px rgba(14, 50, 25, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  position: relative;
}

/* Grano de papel cálido sobre todo el sitio */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.45  0 0 0 0 0.30  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

body > * {
  position: relative;
  z-index: 2;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(224, 135, 28, 0.72);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ===================== HEADER / HERO ===================== */

.site-header {
  min-height: 100vh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 36, 16, 0.9) 0%, rgba(9, 52, 22, 0.76) 44%, rgba(9, 52, 22, 0.3) 100%),
    linear-gradient(180deg, rgba(7, 36, 16, 0.24) 0%, rgba(7, 36, 16, 0.58) 100%),
    url("assets/fondo-agronomia-desktop.webp") center bottom / cover no-repeat;
  overflow: hidden;
  position: relative;
}

.site-header::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(245, 237, 221, 0.0) 0%, var(--paper) 100%);
  opacity: 0.0;
  pointer-events: none;
}

.nav {
  width: 100%;
  margin: 0;
  position: relative;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(28px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(90deg, rgba(7, 36, 16, 0.58), rgba(7, 36, 16, 0.24));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(62px, 5.8vw, 78px);
  height: clamp(62px, 5.8vw, 78px);
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.nav-links {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 700;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.88);
}

.nav-links a {
  position: relative;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 220ms ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  color: #241707;
  background: var(--orange);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(227, 133, 23, 0.22);
}

.nav-links .nav-cta::after {
  display: none;
}

.nav-links .nav-cta:hover {
  color: #241707;
  background: #f19a22;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(227, 133, 23, 0.34);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(227, 133, 23, 0.72);
  border-radius: 13px;
  background: rgba(7, 36, 16, 0.38);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--orange);
}

.hero {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 122px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0 96px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--orange);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 38px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 76 34'%3E%3Cdefs%3E%3ClinearGradient id='leaf' x1='12' y1='5' x2='64' y2='29' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23a7d65c'/%3E%3Cstop offset='.46' stop-color='%234f9a40'/%3E%3Cstop offset='1' stop-color='%230f5a28'/%3E%3C/linearGradient%3E%3ClinearGradient id='shine' x1='16' y1='9' x2='58' y2='25' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23ffffff' stop-opacity='.52'/%3E%3Cstop offset='1' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='shadow' x='-10%25' y='-20%25' width='130%25' height='150%25'%3E%3CfeDropShadow dx='0' dy='2' stdDeviation='1.2' flood-color='%23072b12' flood-opacity='.22'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23shadow)'%3E%3Cpath d='M5 18C21 2 52 1 71 15C51 34 22 33 5 18Z' fill='url(%23leaf)'/%3E%3Cpath d='M8 18C27 13 48 14 68 15' fill='none' stroke='%23e7f3cf' stroke-width='1.6' stroke-linecap='round' opacity='.62'/%3E%3Cpath d='M25 14C23 11 21 9 18 7M36 14C35 10 34 8 31 5M47 15C49 12 51 10 55 8M54 17C58 16 61 15 65 13M31 17C29 21 26 23 22 25M43 17C43 21 42 24 39 28M53 17C57 20 60 22 64 24' fill='none' stroke='%23d8efb4' stroke-width='1' stroke-linecap='round' opacity='.36'/%3E%3Cpath d='M15 14C28 5 49 6 63 14C46 8 28 11 15 14Z' fill='url(%23shine)' opacity='.55'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(-6deg);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 7.5vw, 6.8rem);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero h1 em {
  display: inline-block;
  font-style: italic;
  font-weight: 500;
  font-size: 0.86em;
  color: var(--orange);
}

.hero-text {
  max-width: 600px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.75;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 220ms ease, background 200ms ease;
}

.button.primary {
  background: var(--orange);
  color: #2a1a06;
  box-shadow: 0 14px 32px rgba(224, 135, 28, 0.34);
}

.button.primary:hover {
  transform: translateY(-2px);
  background: #ec9426;
  box-shadow: 0 18px 40px rgba(224, 135, 28, 0.44);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.07);
}

.button.secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

.button.secondary.light:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ===================== METRICS ===================== */

.metrics {
  width: min(1180px, calc(100% - 48px));
  margin: -56px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.metrics div {
  padding: 30px 32px;
  border-right: 1px solid var(--line-soft);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  font-family: var(--font-display);
  color: var(--green-dark);
  font-size: 1.3rem;
  font-weight: 700;
}

.metrics span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.96rem;
}

/* ===================== SECTIONS ===================== */

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading h2,
.split-copy h2,
.contact-band h2 {
  margin: 0;
  color: var(--green-deep);
  font-size: clamp(2.3rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  font-weight: 700;
}

.section-heading.compact h2 {
  max-width: 780px;
}

.section-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.intro-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.intro-band > p,
.split-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.85;
}

/* Líneas de negocio */
.category-section {
  padding-top: 34px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.category-card {
  min-height: 250px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(47, 125, 59, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 238, 0.92));
  box-shadow: 0 12px 30px rgba(14, 50, 25, 0.06);
}

.category-card > span {
  color: var(--orange-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.category-card h3 {
  margin: auto 0 12px;
  color: var(--green-deep);
  font-size: 1.38rem;
  line-height: 1.18;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Cards de productos */
/* ===================== MEGA-MENÚ CATÁLOGO ===================== */
.cat-menu {
  position: relative;
  display: inline-flex;
}

.cat-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 180ms ease;
}

.cat-menu-toggle:hover,
.cat-menu.is-open .cat-menu-toggle {
  color: #fff;
}

.cat-menu-caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 240ms ease;
}

.cat-menu.is-open .cat-menu-caret {
  transform: translateY(1px) rotate(-135deg);
}

.cat-menu-toggle:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 4px;
}

.cat-menu-panel {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  z-index: 80;
  width: 360px;
  max-width: calc(100vw - 32px);
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  box-shadow: 0 24px 56px rgba(14, 50, 25, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 200ms ease, transform 240ms ease, visibility 0s linear 240ms;
}

.cat-menu:hover .cat-menu-panel,
.cat-menu.is-open .cat-menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 200ms ease, transform 240ms ease;
}

.cat-menu-eyebrow {
  margin: 0 0 12px;
  color: var(--orange-deep);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cat-menu-block {
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  margin-bottom: 10px;
}

.cat-menu-block-name {
  margin: 0;
  color: var(--green-deep);
  font-size: 0.95rem;
  font-weight: 700;
}

.cat-menu-block-sub {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cat-menu-links {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.cat-menu-link {
  padding: 7px 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 160ms ease;
}

.cat-menu-link:hover {
  color: var(--orange-deep);
}

.cat-menu-link.is-all {
  color: var(--orange-deep);
  font-weight: 800;
}

.cat-menu-brands {
  margin-top: 4px;
  padding: 0 2px;
}

.cat-menu-brands .cat-menu-eyebrow {
  margin-bottom: 8px;
}

.cat-menu-brand-pill {
  display: inline-block;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(47, 125, 59, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
}

/* ===================== LÍNEAS "PRONTO" ===================== */
.catalog-group-count--soon {
  min-width: auto;
  padding: 0 16px;
  background: rgba(224, 135, 28, 0.14);
  color: var(--orange-deep);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catalog-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 30px 32px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(47, 125, 59, 0.035);
}

.catalog-empty p {
  margin: 0;
  max-width: 540px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.catalog-empty-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 800;
}

.catalog-empty-cta::after {
  content: "→";
  transition: transform 200ms ease;
}

.catalog-empty-cta:hover::after {
  transform: translateX(4px);
}

.catalog {
  margin-top: 54px;
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.catalog-preview {
  margin-top: 32px;
}

.catalog-preview-card {
  display: block;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(47, 125, 59, 0.16);
  border-radius: 24px;
  color: inherit;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(14, 50, 25, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.catalog-preview-card:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 135, 28, 0.35);
  box-shadow: 0 24px 58px rgba(14, 50, 25, 0.11);
}

.catalog-preview-card span {
  color: var(--orange-deep);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.catalog-preview-card strong {
  display: block;
  margin-top: 8px;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
}

.catalog-preview-card small {
  display: block;
  max-width: 620px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.catalog-family {
  scroll-margin-top: 96px;
}

.cat-menu-type:focus-visible,
.cat-menu-all:focus-visible,
.cat-menu-soon-item:focus-visible,
.filter-btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.catalog-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.catalog-group-intro h3 {
  margin: 0;
  color: var(--green-deep);
  font-family: "Fraunces", serif;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.04;
}

.catalog-group-intro p {
  margin: 10px 0 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.catalog-group-count {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(47, 125, 59, 0.1);
  color: var(--green-dark);
  font-size: 0.95rem;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(14, 50, 25, 0.05);
  transition: transform 220ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(224, 135, 28, 0.4);
}

.product-media {
  height: 280px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background:
    radial-gradient(circle at 50% 38%, rgba(139, 185, 85, 0.16), transparent 62%),
    linear-gradient(180deg, #f4f8ee 0%, #e9f1df 100%);
}

.product-media img {
  max-width: 70%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(14, 50, 25, 0.22));
  transition: transform 320ms ease;
}

.product-card:hover .product-media img {
  transform: translateY(-4px) scale(1.03);
}

.product-content {
  flex: 1;
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.product-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(47, 125, 59, 0.1);
  color: var(--green-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-presentation {
  color: var(--orange-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 24px 0 10px;
  color: var(--green-deep);
  font-size: 1.5rem;
  font-weight: 700;
}

.product-card h3 a {
  color: inherit;
}

.product-card p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.98rem;
}

.product-detail-link {
  margin-top: auto;
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 800;
}

.product-detail-link::after {
  content: "→";
  transition: transform 200ms ease;
}

.product-card:hover .product-detail-link::after {
  transform: translateX(4px);
}

/* ===================== PÁGINAS DE PRODUCTO ===================== */

.product-page {
  background:
    radial-gradient(circle at 88% 12%, rgba(139, 185, 85, 0.14), transparent 30%),
    var(--paper);
}

.catalog-page {
  background:
    radial-gradient(circle at 88% 12%, rgba(139, 185, 85, 0.12), transparent 30%),
    var(--paper);
}

.catalog-page .product-page-header {
  position: sticky;
  top: 0;
  z-index: 70;
}

.catalog-page-intro {
  padding-top: clamp(72px, 8vw, 112px);
}

.catalog-page-intro h1 {
  max-width: 880px;
  margin: 0;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: 0.96;
}

.product-page-header {
  color: var(--white);
  background:
    radial-gradient(circle at 78% -20%, rgba(139, 185, 85, 0.2), transparent 36%),
    linear-gradient(120deg, #0b2f16, #184d27);
}

.product-page-nav {
  width: min(1180px, calc(100% - 48px));
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.product-page-brand {
  display: inline-flex;
}

.product-page-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  padding: 4px;
  border-radius: 50%;
  background: var(--white);
}

.product-page-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 800;
}

.product-page-nav-links .nav-cta {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #241707;
  background: var(--orange);
}

.product-detail {
  width: min(1180px, calc(100% - 48px));
  min-height: 650px;
  margin: 0 auto;
  padding: 86px 0;
  display: grid;
  grid-template-columns: minmax(340px, 0.86fr) minmax(0, 1.14fr);
  gap: 76px;
  align-items: center;
}

.product-detail-media {
  min-height: 540px;
  padding: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(47, 125, 59, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 38%, rgba(139, 185, 85, 0.2), transparent 60%),
    linear-gradient(180deg, #f7faF2, #e8f0dd);
  box-shadow: var(--shadow-soft);
}

.product-detail-media img {
  width: auto;
  height: auto;
  max-width: 76%;
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(14, 50, 25, 0.22));
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 0.85rem;
}

.product-breadcrumb a {
  color: var(--green-dark);
  font-weight: 800;
}

.product-detail-copy h1 {
  margin: 0;
  color: var(--green-deep);
  font-size: clamp(3.2rem, 6vw, 6rem);
  line-height: 0.96;
}

.product-detail-description {
  max-width: 650px;
  margin: 30px 0;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.8;
}

.product-facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-block: 1px solid var(--line);
}

.product-facts div {
  padding: 22px 24px 22px 0;
}

.product-facts div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.product-facts dt {
  color: var(--orange-deep);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-facts dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.product-composition {
  margin: 32px 0 0;
}

.composition-label {
  margin: 0 0 10px;
  color: var(--orange-deep);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.composition-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 470px;
}

.composition-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.composition-list .c-name {
  color: var(--ink);
  font-weight: 600;
}

.composition-list .c-value {
  color: var(--green-deep);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.composition-note {
  margin: 14px 0 0;
  max-width: 470px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.product-back-button {
  border-color: rgba(47, 125, 59, 0.3);
  color: var(--green-dark);
  background: transparent;
}

.product-back-button:hover {
  transform: translateY(-2px);
  background: rgba(47, 125, 59, 0.08);
}

.related-products {
  padding: 86px max(24px, calc((100vw - 1180px) / 2));
  background: var(--white);
}

.related-heading {
  margin-bottom: 36px;
}

.related-heading h2 {
  margin: 0;
  color: var(--green-deep);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

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

.related-product {
  min-height: 138px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease;
}

.related-product:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 135, 28, 0.45);
}

.related-product img {
  width: 82px;
  height: 98px;
  object-fit: contain;
}

/* Split section */
.split-section {
  position: relative;
  padding: 110px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 70px;
  background:
    radial-gradient(circle at 88% 12%, rgba(224, 135, 28, 0.18), transparent 40%),
    linear-gradient(150deg, #0c2c16, #14401f);
  color: var(--white);
  overflow: hidden;
}

.split-copy h2 {
  color: var(--white);
}

.split-copy p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 24px;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list div {
  position: relative;
  padding: 26px 26px 26px 30px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-list div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--orange);
}

.feature-list h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 700;
}

.feature-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
  font-size: 0.98rem;
}

/* Consulta / cotización */
.consult-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.quote-box {
  display: grid;
  gap: 20px;
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.quote-box label {
  display: grid;
  gap: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--green-deep);
}

.quote-box select,
.quote-box input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  background: var(--cream);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.quote-box select:focus,
.quote-box input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 125, 59, 0.16);
}

/* Contacto */
.contact-band {
  padding: 100px max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background:
    radial-gradient(circle at 15% 20%, rgba(79, 122, 42, 0.3), transparent 45%),
    linear-gradient(120deg, #0c2c16, #14401f);
  color: var(--white);
}

.contact-band h2 {
  color: var(--white);
}

.contact-band p {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  line-height: 1.65;
  margin: 16px 0 0;
}

/* Footer */
.footer {
  padding: 40px 24px;
  background: #08200f;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.footer p {
  margin: 0 0 16px;
  font-size: 0.95rem;
}

.footer a {
  display: inline-flex;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  transition: background 200ms ease;
}

.footer a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* WhatsApp flotante */
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1fb155;
  color: var(--white);
  font-size: 0;
  box-shadow: 0 16px 38px rgba(31, 177, 85, 0.45);
  transition: transform 200ms ease;
}

.floating-whatsapp:hover {
  transform: scale(1.06);
}

.floating-whatsapp::before {
  content: "";
  width: 34px;
  height: 34px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.floating-whatsapp::after {
  content: "";
  display: none;
}

/* ===================== UBICACIÓN ===================== */

.location-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  margin-top: 52px;
}

.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  min-height: 420px;
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: saturate(1.05);
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 38px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}

.location-item {
  display: grid;
  gap: 6px;
}

.location-key {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

.location-item p {
  margin: 0;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.6;
}

.location-item a {
  color: var(--green-dark);
  font-weight: 800;
  border-bottom: 2px solid var(--orange);
}

.location-info .button {
  margin-top: auto;
}

/* ===================== REVEAL ON SCROLL ===================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 920px) {
  .site-header {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(7, 36, 16, 0.86) 0%, rgba(9, 52, 22, 0.68) 56%, rgba(9, 52, 22, 0.76) 100%),
      url("assets/fondo-agronomia-mobile.webp") center bottom / cover no-repeat;
  }

  .nav {
    width: 100%;
    position: relative;
    margin-top: 0;
    padding: 12px 16px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    z-index: 40;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(7, 36, 16, 0.99), rgba(5, 29, 13, 0.99));
    border: 1px solid rgba(227, 133, 23, 0.24);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

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

  .nav-links a {
    padding: 14px 16px;
    border-radius: 12px;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links .nav-cta {
    margin: 8px 6px 4px;
    color: #241707;
  }

  .cat-menu {
    display: block;
    width: 100%;
  }

  .cat-menu-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: 0.96rem;
  }

  .cat-menu-panel {
    position: static;
    width: auto;
    max-width: none;
    padding: 0 8px;
    max-height: 0;
    overflow: hidden;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 320ms ease;
  }

  .cat-menu.is-open .cat-menu-panel {
    max-height: 1400px;
    padding: 6px 8px 12px;
  }

  .cat-menu-eyebrow {
    color: rgba(255, 255, 255, 0.55);
  }

  .cat-menu-block {
    padding: 12px 14px;
    border-color: rgba(255, 255, 255, 0.14);
  }

  .cat-menu-block-name {
    color: #fff;
  }

  .cat-menu-block-sub {
    color: rgba(255, 255, 255, 0.5);
  }

  .cat-menu-link {
    color: rgba(255, 255, 255, 0.84);
    padding: 8px 0;
  }

  .cat-menu-link.is-all {
    color: var(--orange);
  }

  .cat-menu-brand-pill {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }

  .intro-band,
  .split-section,
  .consult-section,
  .location-grid,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    width: min(100% - 28px, 1180px);
    min-height: calc(100vh - 92px);
    justify-content: flex-start;
    padding: 42px 0 76px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 14vw, 5rem);
  }

  .metrics {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 1180px);
    margin-top: -40px;
  }

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .metrics div:last-child {
    border-bottom: 0;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 78px 0;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-page-nav {
    width: min(100% - 28px, 1180px);
  }

  .product-detail {
    width: min(100% - 28px, 1180px);
    gap: 44px;
    padding: 64px 0 76px;
  }

  .product-detail-media {
    min-height: 440px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .split-section,
  .contact-band {
    padding-left: 24px;
    padding-right: 24px;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-actions .button {
    flex: 1;
  }
}

@media (max-width: 540px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 16px;
  }

  .brand img {
    width: 68px;
    height: 68px;
    padding: 4px;
  }

  .site-header {
    background-position: center bottom;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 13vw, 4rem);
  }

  .hero-text,
  .intro-band > p,
  .split-copy p {
    font-size: 1.02rem;
  }

  .hero-actions .button,
  .quote-box .button {
    width: 100%;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 220px;
  }

  .section-heading h2,
  .split-copy h2,
  .contact-band h2 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }

  .catalog {
    gap: 48px;
  }

  .catalog-group-head {
    margin-bottom: 24px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-media {
    height: 290px;
  }

  .product-content {
    padding: 24px;
  }

  .product-page-nav {
    width: calc(100vw - 28px);
    max-width: 100%;
    min-height: 82px;
    gap: 12px;
  }

  .product-page-brand img {
    width: 62px;
    height: 62px;
  }

  .product-page-nav-links {
    flex: 0 0 auto;
    gap: 14px;
    font-size: 0.82rem;
  }

  .product-page-nav-links a:not(.nav-cta) {
    display: none;
  }

  .product-page-nav-links .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .catalog-page-intro {
    padding-top: 58px;
    overflow: hidden;
  }

  .catalog-page-intro h1 {
    max-width: 100%;
    overflow-wrap: normal;
    text-wrap: balance;
    white-space: normal;
    font-size: clamp(1.95rem, 9.2vw, 2.55rem);
    line-height: 1.04;
  }

  .catalog-page-intro .section-lead {
    max-width: 100%;
    overflow-wrap: break-word;
    font-size: 1rem;
    line-height: 1.62;
  }

  .product-detail {
    padding-top: 42px;
  }

  .product-detail-media {
    min-height: 360px;
    padding: 30px;
  }

  .product-detail-media img {
    max-height: 330px;
  }

  .product-detail-copy h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .product-facts {
    grid-template-columns: 1fr;
  }

  .product-facts div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .product-detail-actions .button {
    width: 100%;
  }

  .floating-whatsapp {
    width: 58px;
    height: 58px;
    right: 16px;
    bottom: 16px;
  }
}

/* ===================== FILTROS DEL CATÁLOGO ===================== */
.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 36px;
}

.filter-btn {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-btn:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.filter-btn.is-active {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}

@media (max-width: 540px) {
  .product-filters {
    gap: 8px;
    margin-bottom: 28px;
  }
  .filter-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

/* ===================== CATÁLOGO SIMPLE ===================== */
.catalog-family-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.catalog-family-card {
  display: flex;
  min-height: 158px;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(47, 125, 59, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  color: inherit;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(14, 50, 25, 0.06);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.catalog-family-card:hover,
.catalog-family-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(226, 141, 28, 0.55);
  box-shadow: 0 22px 46px rgba(14, 50, 25, 0.1);
}

.catalog-family-card span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(226, 141, 28, 0.12);
  color: var(--orange-deep);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-family-card strong {
  color: var(--green-dark);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.04;
}

.catalog-family-card small {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 14px;
  align-items: end;
  margin: 18px 0 12px;
  padding: 16px;
  border: 1px solid rgba(47, 125, 59, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 40px rgba(14, 50, 25, 0.05);
}

.catalog-search,
.catalog-select {
  display: grid;
  gap: 7px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-search input,
.catalog-select select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(47, 125, 59, 0.2);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  outline: none;
}

.catalog-search input:focus,
.catalog-select select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(226, 141, 28, 0.14);
}

.catalog-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 800;
}

.catalog-status a {
  color: var(--orange-deep);
  font-weight: 900;
  text-decoration: none;
}

.catalog-empty-state {
  margin: 16px 0 22px;
  padding: 22px;
  border: 1px solid rgba(226, 141, 28, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
}

.catalog-empty-state strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green-dark);
}

.product-card[hidden],
.catalog-family[hidden],
.catalog-empty-state[hidden],
.product-filters {
  display: none !important;
}

@media (max-width: 980px) {
  .catalog-family-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .catalog-family-cards,
  .catalog-tools {
    grid-template-columns: 1fr;
  }

  .catalog-family-card {
    min-height: auto;
    padding: 18px;
  }

  .catalog-status {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ===================== AJUSTE LIMPIO DE CATALOGO ===================== */
.category-card {
  color: inherit;
  text-decoration: none;
}

.category-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--orange-deep);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-card-action::after {
  content: "→";
  color: var(--green-dark);
}

.catalog {
  gap: 36px;
}

.catalog-family {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(47, 125, 59, 0.14);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 55px rgba(14, 50, 25, 0.06);
}

.catalog-group-head {
  margin-bottom: 22px;
}

.catalog-group-intro h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.catalog-group-count {
  min-width: auto;
  height: auto;
  padding: 7px 13px;
}

.product-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.product-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  overflow: visible;
  box-shadow: 0 10px 24px rgba(14, 50, 25, 0.04);
}

.product-card:hover {
  transform: translateY(-2px);
}

.product-media {
  height: 118px;
  padding: 12px;
  border-radius: 16px;
  overflow: hidden;
}

.product-media img {
  max-width: 86%;
}

.product-content {
  min-width: 0;
  padding: 0;
}

.product-topline {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.product-card h3 {
  margin: 10px 0 6px;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.product-card p {
  max-width: 720px;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.product-detail-link,
.product-whatsapp-link {
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
}

.product-detail-link {
  margin-top: 0;
  border: 1px solid rgba(47, 125, 59, 0.22);
  color: var(--green-dark);
}

.product-whatsapp-link {
  color: #15100a;
  background: var(--orange);
  box-shadow: 0 10px 22px rgba(226, 141, 28, 0.24);
}

@media (max-width: 760px) {
  .catalog-family {
    padding: 18px;
    border-radius: 20px;
  }

  .product-card {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .product-media {
    height: 88px;
    padding: 8px;
    border-radius: 14px;
  }

  .product-card p {
    display: none;
  }

  .product-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    white-space: normal;
  }

  .product-detail-link,
  .product-whatsapp-link {
    justify-content: center;
    min-height: 42px;
    padding: 11px 12px;
    text-align: center;
  }
}

/* ===================== CONTENCION RESPONSIVE DEL CATALOGO ===================== */
.catalog-page,
.catalog-page main,
.catalog-page .section,
.catalog-page .section-heading,
.catalog-page .catalog,
.catalog-page .catalog-family-cards,
.catalog-page .catalog-family-card,
.catalog-page .catalog-tools,
.catalog-page .catalog-status,
.catalog-page .catalog-family,
.catalog-page .catalog-group-head,
.catalog-page .product-grid,
.catalog-page .product-card {
  min-width: 0;
  max-width: 100%;
}

.catalog-page .section {
  overflow-x: clip;
}

@media (max-width: 640px) {
  .catalog-page .product-page-nav {
    width: min(100% - 28px, 440px);
    min-height: 74px;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
  }

  .catalog-page .product-page-brand img {
    width: 58px;
    height: 58px;
  }

  .catalog-page .product-page-nav-links {
    min-width: 0;
    width: 100%;
    justify-content: end;
  }

  .catalog-page .product-page-nav-links a:not(.nav-cta) {
    display: none !important;
  }

  .catalog-page .product-page-nav-links .nav-cta {
    max-width: 96px;
    min-height: 38px;
    padding-inline: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .catalog-page-intro {
    width: min(100% - 28px, 440px);
    padding-top: 42px;
    margin-inline: auto;
  }

  .catalog-page-intro h1 {
    max-width: 320px;
    font-size: clamp(1.68rem, 7.5vw, 2.02rem);
    line-height: 1.08;
    overflow-wrap: break-word;
    text-wrap: auto;
  }

  .catalog-page-intro .section-lead {
    max-width: 320px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .catalog-family-cards {
    gap: 10px;
    margin-bottom: 14px;
  }

  .catalog-family-card {
    padding: 16px;
    border-radius: 18px;
  }

  .catalog-family-card strong {
    font-size: 1.18rem;
    line-height: 1.08;
  }

  .catalog-family-card small {
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .catalog-tools {
    padding: 14px;
    border-radius: 18px;
  }

  .catalog-search input,
  .catalog-select select {
    min-height: 48px;
    font-size: 0.95rem;
  }

  .catalog-status {
    gap: 8px;
    font-size: 0.92rem;
  }
}

@media (max-width: 640px) {
  body.catalog-page {
    overflow-x: hidden;
  }

  .catalog-page .product-page-nav {
    width: min(100%, calc(100vw - 32px)) !important;
    display: flex;
    justify-content: flex-start;
  }

  .catalog-page .product-page-nav-links {
    display: none !important;
  }

  .catalog-page .section,
  .catalog-page-intro,
  .catalog-page .catalog {
    width: min(100%, calc(100vw - 40px)) !important;
    max-width: calc(100vw - 40px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    box-sizing: border-box;
  }

  .catalog-page .catalog-family-cards,
  .catalog-page .catalog-tools,
  .catalog-page .catalog-status,
  .catalog-page .catalog-family,
  .catalog-page .product-grid,
  .catalog-page .product-card {
    width: 100% !important;
    box-sizing: border-box;
  }

  .catalog-page .catalog-family-card {
    width: 100%;
    min-width: 0;
    overflow: visible;
    box-sizing: border-box;
  }

  .catalog-page .catalog-family-card small,
  .catalog-page .section-lead,
  .catalog-page .product-card p {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .catalog-page .catalog-family-card small {
    display: block;
    max-width: min(100%, 300px);
  }

  .catalog-page-intro .section-lead {
    width: 100%;
    max-width: 310px;
  }

  .catalog-page .catalog-family-card strong {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .catalog-page .catalog-family-card span {
    max-width: 100%;
    white-space: normal;
  }

  .catalog-page .catalog-status a {
    overflow-wrap: anywhere;
  }
}

/* ===================== CATALOGO INTEGRADO CON LA PORTADA ===================== */
.catalog-page {
  background: var(--paper);
}

.catalog-page .product-page-header {
  box-shadow: 0 18px 42px rgba(7, 36, 16, 0.18);
}

.catalog-page-intro {
  width: 100%;
  max-width: none;
  padding: 0 0 clamp(70px, 8vw, 112px);
}

.catalog-page-intro > .section-heading {
  width: 100%;
  max-width: none;
  margin: 0 0 clamp(34px, 5vw, 64px);
  padding: clamp(88px, 12vw, 150px) max(28px, calc((100vw - 1180px) / 2)) clamp(84px, 10vw, 132px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 36, 16, 0.92) 0%, rgba(9, 52, 22, 0.78) 46%, rgba(9, 52, 22, 0.32) 100%),
    linear-gradient(180deg, rgba(7, 36, 16, 0.2), rgba(7, 36, 16, 0.72)),
    url("assets/fondo-agronomia-desktop.webp") center bottom / cover no-repeat;
}

.catalog-page-intro > .section-heading .eyebrow {
  color: var(--orange);
}

.catalog-page-intro h1 {
  max-width: 920px;
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: 0.96;
}

.catalog-page-intro .section-lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.06rem, 1.8vw, 1.24rem);
}

.catalog-page .catalog {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.catalog-page .catalog-family-cards {
  margin-top: -104px;
}

.catalog-page .catalog-family-card,
.catalog-page .catalog-tools,
.catalog-page .catalog-family {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.catalog-page .catalog-family-card {
  border-radius: 18px;
}

.catalog-page .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.catalog-page .product-card {
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(14, 50, 25, 0.1);
}

.catalog-page .product-card:hover {
  transform: translateY(-4px);
}

.catalog-page .product-media {
  height: 315px;
  padding: 18px;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(139, 185, 85, 0.18), transparent 56%),
    linear-gradient(180deg, #fffdf8, #edf3e4);
}

.catalog-page .product-media img {
  width: auto;
  height: 100%;
  max-width: 88%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(14, 50, 25, 0.18));
}

.catalog-page .product-content {
  padding: 20px 20px 12px;
}

.catalog-page .product-card h3 {
  margin: 12px 0 8px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.catalog-page .product-card p {
  display: block;
  min-height: 76px;
  color: var(--muted);
}

.catalog-page .product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 20px 20px;
  white-space: normal;
}

.catalog-page .product-detail-link,
.catalog-page .product-whatsapp-link {
  justify-content: center;
  border-radius: 999px;
  text-align: center;
}

@media (max-width: 980px) {
  .catalog-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .catalog-page .section,
  .catalog-page-intro {
    width: 100% !important;
    max-width: none !important;
    padding-top: 0;
  }

  .catalog-page-intro > .section-heading {
    padding: 64px 22px 112px;
    background:
      linear-gradient(180deg, rgba(7, 36, 16, 0.9), rgba(7, 36, 16, 0.78)),
      url("assets/fondo-agronomia-mobile.webp") center bottom / cover no-repeat;
  }

  .catalog-page-intro h1 {
    max-width: 360px;
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .catalog-page-intro .section-lead {
    max-width: 340px;
    color: rgba(255, 255, 255, 0.84);
  }

  .catalog-page .catalog {
    width: min(100% - 28px, 440px) !important;
    max-width: none !important;
  }

  .catalog-page .catalog-family-cards {
    margin-top: -78px;
  }

  .catalog-page .product-grid {
    grid-template-columns: 1fr;
  }

  .catalog-page .product-media {
    height: 300px;
  }

  .catalog-page .product-card p {
    min-height: auto;
  }
}

/* ===================== AJUSTE FINAL DE ERGONOMIA MOVIL ===================== */
.product-page-header {
  position: sticky;
  top: 0;
  z-index: 90;
}

.product-page-nav {
  position: relative;
}

.product-page-nav .menu-toggle {
  margin-left: auto;
}

@media (min-width: 921px) {
  .product-page-nav .menu-toggle {
    display: none;
  }
}

@media (max-width: 920px) {
  .product-page-nav {
    width: 100%;
    min-height: 74px;
    padding: 10px 16px;
  }

  .product-page-brand img {
    width: 56px;
    height: 56px;
  }

  .product-page-nav .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .product-page-nav-links.nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    z-index: 100;
    display: none !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(227, 133, 23, 0.24);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(7, 36, 16, 0.99), rgba(5, 29, 13, 0.99));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  }

  .product-page-nav-links.nav-links.is-open {
    display: flex !important;
  }

  .product-page-nav-links.nav-links a {
    display: flex !important;
    min-height: 46px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--white);
  }

  .catalog-page .product-page-nav-links.nav-links.is-open a:not(.nav-cta),
  .product-page .product-page-nav-links.nav-links.is-open a:not(.nav-cta) {
    display: flex !important;
  }

  .product-page-nav-links.nav-links a::after {
    display: none;
  }

  .product-page-nav-links.nav-links .nav-cta {
    width: auto;
    max-width: none;
    margin: 8px 4px 4px;
    justify-content: center;
    color: #241707;
  }
}

@media (max-width: 640px) {
  .catalog-page-intro > .section-heading {
    margin-bottom: 0;
    padding: 44px 22px 78px;
  }

  .catalog-page-intro h1 {
    max-width: 330px;
    font-size: clamp(2.25rem, 11vw, 3.35rem);
    line-height: 0.98;
  }

  .catalog-page-intro .section-lead {
    max-width: 315px;
    font-size: 1rem;
  }

  .catalog-page .catalog {
    width: min(100% - 28px, 430px) !important;
    gap: 18px;
  }

  .catalog-page .catalog-tools {
    margin-top: -50px;
    padding: 14px;
    border-radius: 18px;
  }

  .catalog-page .catalog-tools span,
  .catalog-page .catalog-status {
    font-size: 0.83rem;
  }

  .catalog-page .catalog-search input,
  .catalog-page .catalog-select select {
    min-height: 48px;
    padding: 0 14px;
    font-size: 0.96rem;
  }

  .catalog-page .catalog-status {
    gap: 10px;
    margin: 12px 0 0;
  }

  .catalog-page .catalog-family-cards {
    display: none;
  }

  .catalog-page .catalog-family-card {
    flex: 0 0 auto;
    min-height: 0;
    min-width: max-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    scroll-snap-align: start;
  }

  .catalog-page .catalog-family-card span {
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .catalog-page .catalog-family-card strong {
    font-family: var(--font-body);
    font-size: 0.86rem;
    line-height: 1;
  }

  .catalog-page .catalog-family-card small {
    display: none;
  }

  .catalog-page .catalog-family {
    padding: 20px 16px 18px;
    border-radius: 18px;
  }

  .catalog-page .catalog-group-head {
    gap: 12px;
    padding-bottom: 16px;
  }

  .catalog-page .catalog-group-intro h3 {
    font-size: clamp(1.65rem, 9vw, 2.35rem);
    line-height: 1;
  }

  .catalog-page .catalog-group-intro p {
    font-size: 1rem;
  }

  .catalog-page .product-grid {
    gap: 16px;
  }

  .catalog-page .product-card {
    border-radius: 18px;
  }

  .catalog-page .product-media {
    height: 235px;
    padding: 14px;
  }

  .catalog-page .product-content {
    padding: 16px 16px 8px;
  }

  .catalog-page .product-card h3 {
    font-size: 1.42rem;
    line-height: 1.08;
  }

  .catalog-page .product-actions {
    grid-template-columns: 1fr;
    padding: 0 16px 16px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }

  .floating-whatsapp::before {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 920px) {
  .catalog-page .catalog {
    gap: 18px;
  }

  .catalog-page .catalog-family-cards {
    display: none !important;
  }
}

/* ===================== HOME: CONTRASTE, ICONOS Y ORDEN ===================== */
html,
body {
  overflow-x: hidden;
}

.metric-icon,
.home-icon,
.category-icon,
.catalog-preview-icon {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  display: inline-flex;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.metric-icon--clock {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.metric-icon--bulk,
.category-icon--tool {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 8 4.5v9L12 21l-8-4.5v-9z'/%3E%3Cpath d='M12 12 4.5 7.8M12 12l7.5-4.2M12 12v8.5'/%3E%3C/svg%3E");
}

.metric-icon--chat {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5h14v10H9l-4 4z'/%3E%3Cpath d='M9 9h6M9 12h4'/%3E%3C/svg%3E");
}

.home-icon--truck {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v8H3zM14 10h4l3 3v2h-7z'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3C/svg%3E");
}

.home-icon--store {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h16l-1-5H5zM5 10v9h14v-9M9 19v-5h6v5M8 10v2M12 10v2M16 10v2'/%3E%3C/svg%3E");
}

.home-icon--leaf,
.category-icon--leaf {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 4C12 4 5 8 5 16c0 2 1 4 1 4s2 .5 4 0c8-2 10-9 10-16z'/%3E%3Cpath d='M5 20c3-5 7-8 12-10'/%3E%3C/svg%3E");
}

.category-icon--shield {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v5c0 5 3 8.5 7 10 4-1.5 7-5 7-10V6z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/svg%3E");
}

.category-icon--feed {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h10v6a5 5 0 0 1-2 4l-3 2-3-2a5 5 0 0 1-2-4z'/%3E%3Cpath d='M10 8h4M12 16v4'/%3E%3C/svg%3E");
}

.catalog-preview-icon {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4h12a2 2 0 0 1 2 2v14H8a4 4 0 0 1-4-4V6a2 2 0 0 1 2-2z'/%3E%3Cpath d='M8 8h8M8 12h6M8 16h8'/%3E%3C/svg%3E");
}

.metrics {
  border: 1px solid rgba(47, 125, 59, 0.12);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(250, 253, 247, 0.96));
}

.metrics .metric-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 2px 18px;
  align-items: start;
  position: relative;
}

.metrics .metric-icon {
  grid-row: 1 / span 2;
  width: 46px;
  height: 46px;
  margin-top: 1px;
  color: var(--orange-deep);
  background-color: currentColor;
  border-radius: 14px;
  box-shadow:
    inset 0 0 0 10px rgba(224, 135, 28, 0.1),
    0 12px 24px rgba(14, 50, 25, 0.08);
}

.metrics strong {
  line-height: 1.1;
}

.metrics .metric-text {
  margin-top: 3px;
}

.intro-band {
  position: relative;
  padding-top: 92px;
  padding-bottom: 86px;
}

.intro-band::before {
  content: "";
  position: absolute;
  left: 0;
  top: 94px;
  bottom: 86px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--orange), var(--green));
}

.intro-copy {
  display: grid;
  gap: 26px;
}

.intro-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.85;
}

.intro-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intro-highlights li {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(47, 125, 59, 0.14);
  border-radius: 14px;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.25;
}

.home-icon {
  width: 22px;
  height: 22px;
  color: var(--orange-deep);
}

.category-section,
#productos {
  position: relative;
}

.category-section::before,
#productos::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  pointer-events: none;
}

.category-section {
  padding-top: 94px;
  padding-bottom: 96px;
}

.category-section::before {
  background:
    linear-gradient(180deg, rgba(245, 237, 221, 0), rgba(236, 245, 229, 0.8) 22%, rgba(244, 248, 238, 0.9) 100%);
  border-block: 1px solid rgba(47, 125, 59, 0.08);
}

.category-grid {
  gap: 22px;
}

.category-card {
  min-height: 278px;
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-color: rgba(47, 125, 59, 0.16);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 240, 0.9));
  box-shadow: 0 18px 38px rgba(14, 50, 25, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), rgba(47, 125, 59, 0.75));
  opacity: 0.82;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 135, 28, 0.38);
  box-shadow: 0 24px 54px rgba(14, 50, 25, 0.13);
}

.category-card > .category-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--orange-deep);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.category-icon {
  width: 40px;
  height: 40px;
  padding: 10px;
  color: var(--green-dark);
  background-color: currentColor;
  border-radius: 13px;
  box-shadow: inset 0 0 0 999px rgba(47, 125, 59, 0.1);
}

.category-number {
  color: var(--orange-deep);
}

.category-card h3 {
  margin: 30px 0 12px;
}

.category-card-action {
  width: fit-content;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-deep);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#productos {
  padding-top: 96px;
  padding-bottom: 102px;
}

#productos::before {
  background:
    linear-gradient(180deg, rgba(244, 248, 238, 0.9), rgba(250, 245, 234, 0.92));
}

.catalog-preview-card {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 250px;
  align-items: center;
  gap: 24px;
  padding: 30px 96px 30px 34px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 232, 0.92));
  box-shadow: 0 22px 58px rgba(14, 50, 25, 0.11);
}

.catalog-preview-card::after {
  content: "→";
  position: absolute;
  right: 34px;
  bottom: 30px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #2a1a06;
  background: var(--orange);
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(224, 135, 28, 0.28);
}

.catalog-preview-card .catalog-preview-icon {
  width: 68px;
  height: 68px;
  color: var(--green-dark);
  border-radius: 18px;
  background-color: currentColor;
  box-shadow: inset 0 0 0 999px rgba(47, 125, 59, 0.1);
}

.catalog-preview-card .catalog-preview-copy {
  min-width: 0;
  display: block;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.catalog-preview-card .catalog-preview-eyebrow {
  display: block;
  margin: 0 0 8px;
  color: var(--orange-deep);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.catalog-preview-card .catalog-preview-copy strong {
  margin: 0;
  letter-spacing: -0.01em;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  text-transform: none;
}

.catalog-preview-card .catalog-preview-copy small {
  max-width: 640px;
  margin-top: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.catalog-preview-meta {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  max-width: 250px;
}

.catalog-preview-card .catalog-preview-meta span {
  display: inline-flex;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(47, 125, 59, 0.12);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: none;
}

@media (max-width: 920px) {
  .metrics .metric-item {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .metrics .metric-icon {
    width: 42px;
    height: 42px;
  }

  .intro-band {
    padding-top: 76px;
    padding-bottom: 72px;
  }

  .intro-band::before {
    top: 76px;
    bottom: 72px;
  }

  .intro-highlights {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 240px;
  }

  .catalog-preview-card {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 24px 24px 82px;
  }

  .catalog-preview-card::after {
    right: auto;
    left: 24px;
    bottom: 24px;
  }

  .catalog-preview-card .catalog-preview-icon {
    width: 56px;
    height: 56px;
  }

  .catalog-preview-meta {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 540px) {
  .section-heading h2,
  .split-copy h2,
  .contact-band h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .section-lead {
    max-width: 32ch;
    font-size: 1rem;
    line-height: 1.65;
  }

  .intro-band::before {
    display: none;
  }

  .category-section,
  #productos {
    padding-top: 70px;
    padding-bottom: 78px;
  }

  .category-card {
    min-height: 210px;
  }

  .category-card h3 {
    margin-top: 22px;
  }

  .catalog-preview-card {
    grid-template-columns: 1fr;
  }

  .catalog-preview-card::after {
    grid-column: auto;
  }
}
