:root {
  --bio-green: #4f9f00;
  --bio-green-dark: #2f6f00;
  --bio-green-soft: #edf8df;
  --bio-blue: #0b73a8;
  --bio-blue-dark: #064d73;
  --bio-blue-soft: #eaf6fb;
  --ink: #102719;
  --muted: #5d6f61;
  --line: rgba(14, 38, 56, .10);
  --white: #ffffff;
  --off-white: #f7f4ea;
  --shadow: 0 28px 70px rgba(22, 58, 25, .14);
  --shadow-soft: 0 16px 38px rgba(22, 58, 25, .10);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
  --header-height: 82px;
  --forest: #123b20;
  --forest-2: #0f2d1a;
  --flag-green: #006847;
  --flag-green-dark: #004b33;
  --flag-green-soft: #dcefe8;
  --leaf: #006847;
  --leaf-bright: #0c8a5a;
  --sage: #eef6e9;
  --cream: #fbf8ef;
  --earth: #d9c7a0;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 104, 71, .14), transparent 30%),
    radial-gradient(circle at 86% 11%, rgba(0, 104, 71, .08), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(217, 199, 160, .22), transparent 34%),
    linear-gradient(180deg, #fffefb 0%, #f7f4ea 40%, #edf5ef 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: .18;
  background-image:
    radial-gradient(ellipse at center, rgba(0, 104, 71, .24) 0 18%, transparent 19%),
    radial-gradient(ellipse at center, rgba(0, 75, 51, .12) 0 14%, transparent 15%),
    linear-gradient(120deg, rgba(0,104,71,.04), transparent 34%);
  background-size: 180px 112px, 240px 145px, 100% 100%;
  background-position: 4% 12%, 92% 30%, center;
  background-attachment: fixed;
  filter: blur(.2px);
  transform: rotate(-8deg) scale(1.05);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .30;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(ellipse at 15% 22%, rgba(0,104,71,.34) 0 14%, transparent 15%),
    radial-gradient(ellipse at 83% 18%, rgba(0,104,71,.28) 0 12%, transparent 13%),
    radial-gradient(ellipse at 12% 80%, rgba(0,104,71,.24) 0 10%, transparent 11%),
    radial-gradient(ellipse at 88% 72%, rgba(0,104,71,.24) 0 12%, transparent 13%);
  filter: blur(16px);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { line-height: 1.7; color: var(--muted); }

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

.section {
  position: relative;
  padding: 108px 0;
}

.section.compact { padding: 82px 0; }

.section.alt {
  background:
    radial-gradient(circle at 8% 12%, rgba(79,159,0,.10), transparent 32%),
    radial-gradient(circle at 92% 78%, rgba(18,59,32,.08), transparent 34%),
    linear-gradient(180deg, rgba(251,248,239,.86), rgba(238,246,233,.86));
  backdrop-filter: blur(10px);
}

.section::before {
  content: "";
  position: absolute;
  inset: 18px auto auto 4%;
  width: 150px;
  height: 150px;
  pointer-events: none;
  opacity: .17;
  background: radial-gradient(ellipse at 38% 62%, rgba(0,104,71,.95) 0 38%, transparent 39%);
  border-radius: 70% 0 70% 0;
  transform: rotate(-28deg);
}

.section-title {
  width: min(860px, 100%);
  margin: 0 auto 46px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 9px 14px;
  border: 1px solid rgba(128, 198, 0, .28);
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  color: var(--bio-green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(128,198,0,.08);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bio-blue);
  box-shadow: 0 0 0 6px rgba(0,120,189,.10);
}

h1, h2, h3, h4 { margin: 0; color: var(--ink); }

h1 {
  font-size: clamp(42px, 7vw, 82px);
  line-height: .96;
  letter-spacing: -.06em;
  font-weight: 900;
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.03;
  letter-spacing: -.045em;
  font-weight: 900;
}

h3 { font-size: 22px; line-height: 1.22; }

.gradient-text {
  background: linear-gradient(90deg, var(--forest), var(--leaf-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  cursor: pointer;
  white-space: nowrap;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--forest), var(--bio-green));
  box-shadow: 0 18px 34px rgba(0,120,189,.22);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255,255,255,.75);
  border-color: rgba(14,38,56,.12);
  box-shadow: 0 12px 28px rgba(14,38,56,.08);
  backdrop-filter: blur(10px);
}

.btn-green {
  color: #fff;
  background: var(--bio-green);
  box-shadow: 0 14px 28px rgba(128,198,0,.23);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background .25s ease, box-shadow .25s ease, min-height .25s ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(14,38,56,.09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.brand img {
  width: 142px;
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(14,38,56,.08);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(14,38,56,.06);
  backdrop-filter: blur(14px);
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #375064;
  font-size: 14px;
  font-weight: 800;
  transition: background .25s ease, color .25s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--forest), var(--bio-green));
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
}

/* Hero */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 42px) 0 78px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 54px;
  align-items: center;
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 32px;
  font-size: 18px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
  max-width: 650px;
}

.metric {
  padding: 18px;
  border: 1px solid rgba(14,38,56,.08);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(14,38,56,.06);
}

.metric strong {
  display: block;
  font-size: 24px;
  letter-spacing: -.04em;
  color: var(--bio-blue);
}

.metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.hero-orbit {
  position: absolute;
  width: min(520px, 90vw);
  aspect-ratio: 1;
  border: 1.5px solid rgba(128,198,0,.45);
  border-radius: 50%;
  animation: slowSpin 28s linear infinite;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bio-blue);
  box-shadow: 0 0 0 10px rgba(0,120,189,.10);
}

.hero-orbit::before { top: 12%; right: 10%; }
.hero-orbit::after { bottom: 18%; left: 7%; background: var(--bio-green); box-shadow: 0 0 0 10px rgba(128,198,0,.12); }

.hero-product-card {
  position: relative;
  z-index: 2;
  width: min(430px, 100%);
  padding: 26px;
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.72)),
    radial-gradient(circle at 10% 10%, rgba(128,198,0,.18), transparent 38%);
  border: 1px solid rgba(14,38,56,.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: rotate(-2deg);
}

.hero-product-card img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 30px 42px rgba(14, 38, 56, .17));
  animation: float 5s ease-in-out infinite;
}

.hero-floating {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid rgba(14,38,56,.08);
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  font-weight: 900;
  color: var(--ink);
}

.hero-floating.one { top: 18%; left: 2%; }
.hero-floating.two { right: 0; bottom: 16%; }

.hero-floating i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--forest), var(--bio-green));
  font-style: normal;
}

@keyframes slowSpin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* Cards */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

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

.glass-card,
.service-card,
.fact-card,
.line-card,
.client-card,
.contact-card {
  border: 1px solid rgba(14,38,56,.08);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.76);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.glass-card { padding: 28px; position: relative; overflow: hidden; }

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

.feature {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(14,38,56,.07);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.60));
  transition: transform .25s ease, box-shadow .25s ease;
}

.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(14,38,56,.10); }

.feature-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--bio-green-soft), var(--bio-blue-soft));
}

.feature-icon img { width: 44px; height: 44px; object-fit: contain; }
.feature p { margin: 0; font-size: 14px; }

.image-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 430px;
  background:
    linear-gradient(135deg, rgba(128,198,0,.18), rgba(0,120,189,.18)),
    #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(14,38,56,.08);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transform: scale(1.02);
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: auto 22px 22px 22px;
  height: 110px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(128,198,0,.88), rgba(0,120,189,.88));
  filter: blur(28px);
  opacity: .45;
}

.service-card,
.fact-card,
.line-card,
.contact-card { padding: 26px; }

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  transition: transform .28s ease, box-shadow .28s ease;
}

.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--forest), var(--leaf-bright));
}

.service-icon,
.fact-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 20px;
  color: #fff;
  font-size: 26px;
  background: linear-gradient(135deg, var(--forest), var(--bio-green));
  box-shadow: 0 15px 28px rgba(0,120,189,.18);
}

.service-card p,
.fact-card p,
.line-card p { margin-bottom: 0; font-size: 15px; }

.fact-card {
  min-height: 260px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 15%, rgba(114,189,0,.28), transparent 28%),
    linear-gradient(145deg, var(--forest), #1f612b);
  border: 0;
}

.fact-card h3,
.fact-card p { color: #fff; }
.fact-card p { opacity: .88; }
.fact-icon { background: rgba(255,255,255,.18); box-shadow: none; }

/* Products */
.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: -18px auto 34px;
}

.filter-btn {
  border: 1px solid rgba(14,38,56,.10);
  background: rgba(255,255,255,.78);
  color: var(--muted);
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  backdrop-filter: blur(10px);
}

.filter-btn:hover { transform: translateY(-2px); }
.filter-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--forest), var(--bio-green));
  box-shadow: 0 12px 28px rgba(0,120,189,.18);
}

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

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(14,38,56,.08);
  box-shadow: 0 16px 34px rgba(14,38,56,.09);
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}

.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.product-media {
  height: 260px;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(79,159,0,.15), transparent 36%),
    radial-gradient(circle at 80% 75%, rgba(217,199,160,.24), transparent 34%),
    #fff;
}

.product-media img {
  max-height: 215px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(14,38,56,.13));
}

.product-body { padding: 20px 22px 24px; }

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--bio-blue-dark);
  background: var(--bio-blue-soft);
  font-size: 12px;
  font-weight: 900;
}

.product-body h3 { font-size: 18px; }

.product-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.mini-btn {
  flex: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 11px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--forest), var(--bio-green));
}

/* Lineas */
.line-card { overflow: hidden; padding: 0; }
.line-card img { width: 100%; height: 210px; object-fit: contain; padding: 22px; background: #fff; }
.line-card-content { padding: 22px; }
.line-card ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.8; }

/* Clients */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.client-card {
  min-height: 130px;
  display: grid;
  place-items: center;
  padding: 20px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.client-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.client-card img { max-height: 76px; object-fit: contain; filter: saturate(.9); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items: stretch;
}

.map-wrap {
  overflow: hidden;
  min-height: 430px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(14,38,56,.08);
  background: #fff;
}

.map-wrap iframe { width: 100%; height: 100%; min-height: 430px; border: 0; }

.contact-card { display: grid; gap: 16px; }
.contact-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(14,38,56,.07);
}

.contact-item i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--forest), var(--bio-green));
  font-style: normal;
  font-size: 20px;
}

.contact-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-item p { margin: 0; font-size: 14px; }

/* Footer */
.footer {
  padding: 46px 0 28px;
  background: linear-gradient(145deg, var(--forest-2), #06170d);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 24px;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer img { width: 160px; margin-bottom: 16px; }
.footer p { color: rgba(255,255,255,.72); margin: 0; }
.footer a { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  color: rgba(255,255,255,.68);
  font-size: 14px;
}

.social-links { display: flex; gap: 12px; justify-content: flex-end; }
.social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--forest), var(--bio-green));
  font-weight: 900;
}

.whatsapp-float,
.back-top {
  position: fixed;
  z-index: 60;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 18px 34px rgba(14,38,56,.22);
  transition: transform .25s ease, opacity .25s ease;
}

.whatsapp-float {
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  color: #fff;
  background: #25d366;
  font-size: 28px;
}

.whatsapp-float:hover,
.back-top:hover { transform: translateY(-5px) scale(1.03); }

.back-top {
  right: 94px;
  bottom: 28px;
  width: 50px;
  height: 50px;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--forest), var(--bio-green));
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  font-size: 22px;
}

.back-top.show { opacity: 1; pointer-events: auto; }


/* Ambient leaves and natural motion */
.nature-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
}

.leaf {
  position: absolute;
  width: var(--size, 54px);
  height: calc(var(--size, 54px) * .58);
  border-radius: 72% 0 72% 0;
  background:
    linear-gradient(145deg, rgba(255,255,255,.18), transparent 34%),
    linear-gradient(145deg, rgba(0,104,71,var(--alpha,.28)), rgba(0,75,51,var(--alpha2,.16)));
  border: 1px solid rgba(255,255,255,.18);
  transform: rotate(var(--rotate, -25deg));
  filter: blur(.1px);
  opacity: var(--opacity, .40);
  will-change: transform;
  box-shadow: 0 10px 28px rgba(0,104,71,.08);
}

.leaf::before {
  content: "";
  position: absolute;
  inset: 15% 22% 18% 22%;
  border-radius: 70% 0 70% 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 68%);
  opacity: .8;
}

.leaf::after {
  content: "";
  position: absolute;
  left: 14%;
  top: 50%;
  width: 74%;
  height: 1.4px;
  background: rgba(255,255,255,.42);
  transform: rotate(-24deg);
  transform-origin: left center;
}

.leaf.l1 { left: 2%; top: 12%; --size: 120px; --rotate: -38deg; --opacity:.32; }
.leaf.l2 { right: 4%; top: 19%; --size: 150px; --rotate: 22deg; --opacity:.28; }
.leaf.l3 { left: 7%; top: 54%; --size: 88px; --rotate: 42deg; --opacity:.30; }
.leaf.l4 { right: 10%; top: 66%; --size: 110px; --rotate: -16deg; --opacity:.28; }
.leaf.l5 { left: 42%; top: 38%; --size: 76px; --rotate: 18deg; --opacity:.22; }
.leaf.l6 { left: 24%; top: 78%; --size: 98px; --rotate: -28deg; --opacity:.23; }
.leaf.l7 { right: 30%; top: 8%; --size: 84px; --rotate: 32deg; --opacity:.21; }
.leaf.l8 { right: 18%; top: 44%; --size: 70px; --rotate: -32deg; --opacity:.20; }

.nature-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 92px;
  overflow: hidden;
  pointer-events: none;
  opacity: .72;
}

.nature-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 30px;
  height: 48px;
  border: 2px solid rgba(18,59,32,.22);
  border-radius: 999px;
}

.hero-scroll-hint::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bio-green);
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { transform: translate(-50%, 0); opacity: 1; }
  70% { transform: translate(-50%, 19px); opacity: .15; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

.btn-primary, .mini-btn, .social-links a, .back-top, .contact-item i, .service-icon, .fact-icon, .hero-floating i {
  background-size: 180% 180%;
  animation: softGlow 7s ease infinite;
}

@keyframes softGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.product-card::after, .service-card::after, .glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.42), transparent);
  transform: translateX(-120%);
  transition: transform .7s ease;
  pointer-events: none;
}

.product-card:hover::after, .service-card:hover::after, .glass-card:hover::after {
  transform: translateX(120%);
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(.985);
  transition: opacity .72s ease, transform .72s cubic-bezier(.2,.75,.22,1);
  transition-delay: var(--delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
  .hero-grid,
  .grid-2,
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-visual { min-height: 470px; order: -1; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --header-height: 74px; }
  .brand img { width: 124px; }
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    position: fixed;
    top: 82px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 4px;
    border-radius: 24px;
    padding: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav a { text-align: center; }
  .hero-metrics { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid,
  .footer-bottom { grid-template-columns: 1fr; flex-direction: column; text-align: center; }
  .footer img { margin-inline: auto; }
  .social-links { justify-content: center; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 74px 0; }
  .hero { padding-bottom: 54px; }
  .hero-visual { min-height: 390px; }
  .hero-product-card { border-radius: 30px; padding: 18px; }
  .hero-floating { display: none; }
  .hero-orbit { width: 330px; }
  .btn-row { align-items: stretch; }
  .btn { width: 100%; }
  .grid-4, .clients-grid { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; text-align: center; }
  .feature-icon { margin: auto; }
  .whatsapp-float { width: 58px; height: 58px; right: 16px; bottom: 16px; }
  .back-top { right: 82px; bottom: 20px; }
}

/* =========================================================
   Ajuste visual premium BioCleaning: hero con imagen protagonista
   Para usar la imagen exacta en base64:
   1) Baja al <script> y pega tu data:image en HERO_IMAGE_DATA_URI, o
   2) reemplaza esta variable por:
      --hero-photo: url("data:image/jpeg;base64,...");
   ========================================================= */

:root {
  --bio-green: #006847;
  --bio-green-dark: #004b33;
  --bio-green-soft: #e4f2e3;
  --bio-blue: #0b5f7a;
  --bio-blue-dark: #063a49;
  --bio-blue-soft: #e7f4f2;
  --ink: #102719;
  --muted: #5b6c5d;
  --off-white: #fbf6e8;
  --cream: #fbf4df;
  --sage: #edf6e8;
  --earth: #d9c69a;
  --forest: #0c3b25;
  --forest-2: #071d13;
  --flag-green: #006847;
  --flag-green-dark: #003f2b;
  --leaf: #006847;
  --leaf-bright: #14a36d;
  --hero-photo: url("../img/principal_imagen.png");
  --hero-photo-position: center;
  --hero-overlay: rgba(5, 42, 27, .72);
  --shadow: 0 32px 84px rgba(0, 63, 43, .22);
  --shadow-soft: 0 18px 42px rgba(0, 63, 43, .13);
}

body {
  background:
    radial-gradient(circle at 8% 4%, rgba(0, 104, 71, .20), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(217, 198, 154, .38), transparent 28%),
    linear-gradient(180deg, #fffdf6 0%, #f7f1df 38%, #edf6e8 100%);
}

body::before {
  opacity: .26;
  background-size: 142px 88px, 210px 128px, 100% 100%;
}

body::after {
  opacity: .42;
  filter: blur(18px);
}

.site-header:not(.is-scrolled) .nav {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 14px 34px rgba(0, 35, 22, .10);
}

.site-header:not(.is-scrolled) .nav a {
  color: rgba(255, 255, 255, .90);
  text-shadow: 0 2px 12px rgba(0,0,0,.16);
}

.site-header:not(.is-scrolled) .nav a:hover,
.site-header:not(.is-scrolled) .nav a.active {
  color: #063821;
  background: rgba(255, 255, 255, .86);
  text-shadow: none;
}

.site-header:not(.is-scrolled) .menu-toggle {
  background: rgba(255, 255, 255, .82);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 31, 20, .94) 0%, rgba(4, 54, 35, .82) 34%, rgba(4, 54, 35, .35) 62%, rgba(4, 54, 35, .18) 100%),
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.18), transparent 24%),
    var(--hero-photo) var(--hero-photo-position) / cover no-repeat;
  box-shadow: inset 0 -120px 120px rgba(251, 248, 239, .90);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.15), transparent 22%),
    radial-gradient(circle at 78% 18%, rgba(20,163,109,.18), transparent 32%),
    radial-gradient(circle at 84% 76%, rgba(217,198,154,.36), transparent 30%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.28));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(115deg, transparent 0 30%, rgba(255,255,255,.10) 42%, transparent 54%),
    radial-gradient(ellipse at 10% 90%, rgba(0, 104, 71, .38), transparent 36%),
    radial-gradient(ellipse at 88% 12%, rgba(255,255,255,.14), transparent 28%);
  mix-blend-mode: screen;
  animation: heroLightSweep 9s ease-in-out infinite;
}

@keyframes heroLightSweep {
  0%, 100% { opacity: .52; transform: translateX(-2%); }
  50% { opacity: .82; transform: translateX(2%); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: .94fr 1.06fr;
  gap: 48px;
}

.hero-copy {
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.06)),
    radial-gradient(circle at 12% 14%, rgba(255,255,255,.12), transparent 34%);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 80px rgba(0, 22, 14, .22);
}

.hero h1 {
  color: #fff;
  text-shadow: 0 18px 52px rgba(0,0,0,.30);
}

.hero .gradient-text {
  background: linear-gradient(90deg, #c4f5a5, #ffffff 45%, #d9c69a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  color: rgba(255, 255, 255, .88);
  text-shadow: 0 8px 24px rgba(0,0,0,.20);
}

.hero .eyebrow {
  color: #073821;
  background: rgba(255,255,255,.88);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 12px 34px rgba(0,0,0,.12);
}

.hero .eyebrow::before {
  background: var(--flag-green);
  box-shadow: 0 0 0 6px rgba(0,104,71,.16);
}

.hero .btn-primary {
  background: linear-gradient(135deg, #006847, #159a5f 48%, #b7d98c);
  color: #fff;
  box-shadow: 0 18px 44px rgba(0, 104, 71, .35);
}

.hero .btn-secondary {
  color: #073821;
  background: rgba(255,255,255,.88);
  border-color: rgba(255,255,255,.24);
  box-shadow: 0 14px 34px rgba(0, 26, 17, .16);
}

.hero-metrics {
  max-width: none;
}

.hero .metric {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .20);
  box-shadow: 0 12px 34px rgba(0, 22, 14, .16);
}

.hero .metric strong {
  color: #c7f2a8;
}

.hero .metric span {
  color: rgba(255,255,255,.82);
}

.hero-visual-premium {
  min-height: 580px;
  perspective: 1000px;
}

.hero-photo-ring {
  position: absolute;
  width: min(610px, 92vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.24);
  background:
    radial-gradient(circle at 50% 50%, transparent 50%, rgba(255,255,255,.12) 51%, transparent 53%),
    conic-gradient(from 90deg, rgba(255,255,255,.0), rgba(196,245,165,.52), rgba(255,255,255,.0), rgba(217,198,154,.48), rgba(255,255,255,.0));
  filter: drop-shadow(0 30px 80px rgba(0,0,0,.20));
  animation: slowSpin 32s linear infinite;
}

.hero-photo-card {
  position: relative;
  z-index: 2;
  width: min(500px, 100%);
  min-height: 570px;
  padding: 18px;
  border-radius: 44px;
  transform: rotate(2.4deg);
  background:
    linear-gradient(145deg, rgba(255,255,255,.34), rgba(255,255,255,.10)),
    linear-gradient(145deg, rgba(0,104,71,.18), rgba(217,198,154,.18));
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: 0 38px 90px rgba(0, 24, 16, .38);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.hero-photo-main {
  position: absolute;
  inset: 18px 18px 92px 18px;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.20)),
    var(--hero-photo) var(--hero-photo-position) / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}

.hero-photo-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.28), transparent 24%),
    linear-gradient(180deg, transparent 45%, rgba(2,32,21,.48) 100%);
  animation: premiumPhotoPulse 6s ease-in-out infinite;
}

.hero-photo-main::after {
  content: "";
  position: absolute;
  inset: auto -8% -12% -8%;
  height: 35%;
  background: radial-gradient(ellipse at center, rgba(196,245,165,.42), transparent 66%);
  filter: blur(18px);
}

@keyframes premiumPhotoPulse {
  0%, 100% { opacity: .68; }
  50% { opacity: .92; }
}

.hero-product-strip {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  min-height: 86px;
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 26px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: 0 22px 44px rgba(0, 30, 19, .18);
}

.hero-product-strip img {
  width: 82px;
  max-height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(0,0,0,.12));
}

.hero-product-strip strong {
  display: block;
  color: var(--forest);
  font-size: 16px;
  letter-spacing: -.03em;
}

.hero-product-strip span {
  display: block;
  margin-top: 4px;
  color: #607064;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-floating {
  color: #063821;
  background: rgba(255,255,255,.90);
  border-color: rgba(255,255,255,.42);
  box-shadow: 0 18px 44px rgba(0, 28, 18, .20);
}

.hero-floating.one {
  top: 14%;
  left: -3%;
}

.hero-floating.two {
  right: -2%;
  bottom: 20%;
}

.hero-floating.three {
  left: 8%;
  bottom: 8%;
}

.hero-floating i {
  background: linear-gradient(135deg, #006847, #13a36d);
  box-shadow: 0 0 0 8px rgba(0,104,71,.10);
}

.nature-layer {
  z-index: 1;
  mix-blend-mode: multiply;
}

.leaf {
  opacity: var(--opacity, .48);
  background:
    linear-gradient(145deg, rgba(255,255,255,.20), transparent 34%),
    linear-gradient(145deg, rgba(0,104,71,.56), rgba(0,75,51,.30));
  box-shadow:
    0 14px 34px rgba(0,104,71,.16),
    inset 0 0 18px rgba(255,255,255,.10);
}

.leaf.l1 { --size: 138px; --opacity:.46; }
.leaf.l2 { --size: 172px; --opacity:.42; }
.leaf.l3 { --size: 104px; --opacity:.40; }
.leaf.l4 { --size: 128px; --opacity:.40; }
.leaf.l5 { --size: 90px; --opacity:.34; }
.leaf.l6 { --size: 112px; --opacity:.36; }
.leaf.l7 { --size: 96px; --opacity:.32; }
.leaf.l8 { --size: 86px; --opacity:.32; }

.section.alt {
  background:
    radial-gradient(circle at 8% 12%, rgba(0,104,71,.14), transparent 30%),
    radial-gradient(circle at 90% 76%, rgba(217,198,154,.24), transparent 34%),
    linear-gradient(180deg, rgba(251,246,232,.90), rgba(237,246,232,.92));
}

.btn-primary,
.mini-btn,
.filter-btn.active,
.nav a:hover,
.nav a.active,
.service-card::before {
  background: linear-gradient(135deg, #006847, #159a5f 54%, #8bb174);
}

.fact-card {
  background:
    radial-gradient(circle at 82% 15%, rgba(196,245,165,.22), transparent 28%),
    linear-gradient(145deg, #073821, #006847 100%);
}

.product-media {
  background:
    radial-gradient(circle at 30% 20%, rgba(0,104,71,.12), transparent 36%),
    radial-gradient(circle at 80% 75%, rgba(217,198,154,.28), transparent 34%),
    #fffdf6;
}

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

  .hero {
    background:
      linear-gradient(180deg, rgba(4,31,20,.90) 0%, rgba(4,54,35,.76) 48%, rgba(4,54,35,.46) 100%),
      var(--hero-photo) var(--hero-photo-position) / cover no-repeat;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual-premium {
    order: 2;
    min-height: 530px;
  }

  .site-header:not(.is-scrolled) .nav a {
    color: #375064;
    text-shadow: none;
  }
}

@media (max-width: 860px) {
  .site-header:not(.is-scrolled) {
    background: rgba(5, 42, 27, .34);
    backdrop-filter: blur(14px);
  }

  .site-header:not(.is-scrolled) .nav {
    background: rgba(255,255,255,.92);
  }

  .hero-copy {
    padding: 26px;
    border-radius: 28px;
  }

  .hero-photo-card {
    min-height: 500px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 104px;
  }

  .hero-copy {
    padding: 22px;
  }

  .hero-visual-premium {
    min-height: 410px;
  }

  .hero-photo-card {
    min-height: 390px;
    border-radius: 32px;
    padding: 12px;
  }

  .hero-photo-main {
    inset: 12px 12px 82px 12px;
    border-radius: 24px;
  }

  .hero-product-strip {
    left: 18px;
    right: 18px;
    bottom: 18px;
    grid-template-columns: 64px 1fr;
  }

  .hero-product-strip img {
    width: 64px;
    max-height: 58px;
  }
}

