/* =========================================================
   RESET Y VARIABLES
========================================================= */
:root {
  --primary: #0b5ee8;
  --primary-dark: #063d9f;
  --navy: #071a3a;
  --text: #17243d;
  --muted: #60708d;
  --line: #dfe7f3;
  --soft: #f3f7fc;
  --white: #ffffff;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow: 0 18px 50px rgba(15, 44, 95, 0.12);
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.05rem;
}

p {
  color: var(--muted);
}

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

.section {
  padding: 50px 0;
}

.section-tight {
  padding: 58px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #cfe1ff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  transition: 0.25s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 10px 30px rgba(11, 94, 232, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  color: var(--primary);
  background: transparent;
  border-color: #b9cdf1;
}

.btn-secondary:hover {
  background: #edf4ff;
}

.btn-light {
  background: var(--white);
  color: var(--primary-dark);
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

/* =========================================================
   HEADER
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223, 231, 243, 0.9);
}

.header-inner {
  min-height: 85px;
  display: grid;
  grid-template-columns: auto;
  align-items: center;
  gap: 90px;
  grid-auto-flow: column dense;
  align-items: center;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-mark {
  max-width: 100%;
}

.brand small {
  margin-top: 15px;
  color: fff;
  font-size: 1rem;
  text-align: center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.main-nav a {
  font-size: 0.82rem;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: 0.25s ease;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #ffffff;
}

.hero-main {
  position: relative;
  display: grid;
  grid-template-columns: 40% 60%;
  width: 100%;
  min-height: 630px;
}

.hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0px 0px 42px max(40px, calc((90vw - 1208px) / 2));
  //*background:
    radial-gradient(
      circle at 45% 45%,
      rgba(220, 235, 255, 0.34),
      transparent 45%
    ),
    #ffffff;*//
}

.hero-content::after {
  content: "";
  position: absolute;
  top: 0;
  right: -185px;
  z-index: -1;
  width: 300px;
  height: 100%;
  pointer-events: none;
  //*background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.98) 18%,
    rgba(255, 255, 255, 0.83) 48%,
    rgba(255, 255, 255, 0.35) 75%,
    rgba(255, 255, 255, 0) 100%
  );*//
}

.hero-content h1 {
  max-width: 540px;
  margin: 0 0 28px;
  color: var(--primary);
  font-size: clamp(3.2rem, 5.2vw, 4rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.hero-content > p {
  max-width: 510px;
  margin: 0;
  color: #596984;
  font-size: 1rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-actions .btn {
  min-height: 50px;
  padding-inline: 23px;
}

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

.hero-metric {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.metric-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: var(--primary);
  border: 1px solid #a8c2ef;
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.86);
}

.hero-metric strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-metric small {
  display: block;
  color: #61718b;
  font-size: 0.7rem;
  line-height: 1.45;
}

.hero-image {
  position: relative;
  min-height: 630px;
  overflow: visible;
}

.hero-background {
  width: 100%;
  height: 100%;
  min-height: 630px;
  object-fit: cover;
  object-position: center;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 175px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 255, 255, 0.45) 45%,
    rgba(255, 255, 255, 0) 100%
  );
}

.hero-product {
    position: absolute;
    right: 40%;
    bottom: 35px;
    z-index: 4;
    width: min(80%, 760px);
    max-height: 430px;
    object-fit: contain;
    transform: rotate(8deg);
    transform-origin: center;
    filter: drop-shadow(0 26px 24px rgba(7, 26, 58, 0.23));
}

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

@media (max-width: 1100px) {
  .hero-main {
    grid-template-columns: 45% 55%;
    min-height: 580px;
  }

  .hero-content {
    padding-left: 30px;
    padding-right: 20px;
  }

  .hero-content::after {
    right: -130px;
    width: 220px;
  }

  .hero-image,
  .hero-background {
    min-height: 580px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 32px;
  }

  .hero-product {
    right: 2%;
    bottom: -35px;
    width: 88%;
  }
}

@media (max-width: 850px) {
  .hero-main {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero-content {
    width: 100%;
    padding: 58px 24px 45px;
  }

  .hero-content::after {
    display: none;
  }

  .hero-content h1 {
    max-width: 650px;
  }

  .hero-content > p {
    max-width: 650px;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
  }

  .hero-image {
    width: 100%;
    min-height: 480px;
  }

  .hero-background {
    min-height: 480px;
    height: 480px;
  }

  .hero-image::before {
    width: 100%;
    height: 100px;
    background: linear-gradient(
      180deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0.5) 48%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .hero-product {
    right: 5%;
    bottom: -38px;
    width: 88%;
  }
}

@media (max-width: 640px) {
  .hero-content {
    padding: 46px 18px 38px;
  }

  .hero-content h1 {
    margin-bottom: 22px;
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero-content > p {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 34px;
  }

  .hero-image {
    min-height: 350px;
  }

  .hero-background {
    height: 350px;
    min-height: 350px;
  }

  .hero-product {
    right: -5%;
    bottom: -18px;
    width: 105%;
    max-width: none;
  }
}

/* =========================================================
   BENEFICIOS
========================================================= */
.benefits {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.benefit-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.benefit-card:last-child {
  border-right: 0;
}

.benefit-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}
.benefit-card span{
  font-size: 3rem;
}
/* =========================================================
   RESULTADOS + PRODUCTO
========================================================= */

.results-product-section {
  position: relative;
  overflow: hidden;
  padding: 34px 0 0;
  background:
    linear-gradient(
      115deg,
      rgba(226, 237, 255, 0.92) 0%,
      rgba(244, 248, 255, 0.92) 48%,
      rgba(250, 252, 255, 0.98) 100%
    );
}

.results-product-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(400px, 0.88fr);
  align-items: stretch;
  width: min(1240px, calc(100% - 40px));
  min-height: 385px;
  margin-inline: auto;
  gap: 0;
}

/* =========================================================
   BLOQUE IZQUIERDO
========================================================= */

.results-side {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-bottom: 28px;
}

.results-content {
  position: relative;
  z-index: 2;
  padding: 0 42px 25px 0;
}

.results-content h2 {
  margin: 0 0 30px;
  color: #102143;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 750;
  letter-spacing: -0.035em;
}

.results-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

.result-stat {
  position: relative;
  min-height: 92px;
  padding: 0 22px;
  text-align: center;
}

.result-stat:first-child {
  padding-left: 0;
}

.result-stat:last-child {
  padding-right: 0;
}

.result-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 0;
  width: 1px;
  height: 70px;
  background: rgba(125, 149, 185, 0.25);
}

.result-stat strong {
  display: block;
  margin-bottom: 9px;
  color: #075ee8;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.045em;
}

.result-stat span {
  display: block;
  color: #4e5e78;
  font-size: 0.75rem;
  line-height: 1.5;
}

.results-farm-image {
  position: relative;
  flex: 1;
  min-height: 200px;
  margin-top: auto;
  //*margin-left: calc((100vw - min(1240px, calc(100vw - 40px))) / -2);*//
  overflow: hidden;
}

.results-farm-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(243, 248, 255, 0.05) 0%,
      rgba(243, 248, 255, 0) 52%,
      rgba(243, 248, 255, 0.9) 100%
    ),
    linear-gradient(
      180deg,
      rgba(243, 248, 255, 0.85) 0%,
      rgba(243, 248, 255, 0.1) 32%,
      rgba(243, 248, 255, 0) 100%
    );
}

.results-farm-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 54%;
}

/* =========================================================
   TARJETA DERECHA
========================================================= */

.durability-card {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  min-height: 330px;
  margin-bottom: 28px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 78% 46%,
      rgba(224, 234, 250, 0.9),
      transparent 34%
    ),
    #ffffff;
  border: 1px solid rgba(224, 231, 242, 0.75);
  border-radius: 22px 22px 22px 0px;
  box-shadow:
    0 16px 42px rgba(42, 71, 119, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.durability-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: 32px 10px 28px 34px;
  background-color: white;
}

.durability-label {
  margin-bottom: 20px;
  color: #075ee8;
  font-size: 0.92rem;
  font-weight: 750;
}

.durability-list {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.durability-list li {
  position: relative;
  padding-left: 24px;
  color: #41516b;
  font-size: 0.75rem;
  line-height: 1.4;
}

.durability-list li::before {
  content: "✓";
  position: absolute;
  top: -1px;
  left: 0;
  color: #075ee8;
  font-size: 0.9rem;
  font-weight: 800;
}

.durability-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: auto;
  padding-top: 27px;
  color: #075ee8;
  font-size: 0.79rem;
  font-weight: 750;
}

.durability-link span {
  font-size: 1.15rem;
  transition: transform 0.25s ease;
}

.durability-link:hover span {
  transform: translateX(5px);
}

/* =========================================================
   PRODUCTO
========================================================= */

.durability-product {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.durability-product::before {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(224, 233, 247, 0.8) 0%,
      rgba(239, 244, 251, 0.36) 46%,
      rgba(255, 255, 255, 0) 72%
    );
}

.durability-product img {
    position: relative;
z-index: 2;
width: 305%;
max-width: none;
margin-left: -180%;
transform: rotate(8deg);
filter: drop-shadow(0 20px 18px rgba(52, 72, 104, 0.17));
margin-top: -260px;
}

.product-decor {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(156, 178, 211, 0.45);
  border-radius: 50%;
}

.product-decor::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -24px;
  width: 24px;
  height: 1px;
  background: rgba(156, 178, 211, 0.35);
}

.product-decor-one {
  top: 26%;
  right: 14%;
  width: 10px;
  height: 10px;
}

.product-decor-two {
  top: 38%;
  right: 4%;
  width: 7px;
  height: 7px;
}

.product-decor-three {
  right: 20%;
  bottom: 22%;
  width: 6px;
  height: 6px;
}

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

@media (max-width: 1050px) {
  .results-product-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .results-content {
    padding-right: 0;
  }

  .results-farm-image {
    margin-left: 0;
    border-radius: 0 0 18px 18px;
  }

  .durability-card {
    min-height: 345px;
    margin-bottom: 42px;
  }

  .durability-product img {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .results-product-section {
    padding-top: 45px;
  }

  .results-product-wrapper {
    width: min(100% - 28px, 1240px);
  }

  .results-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
  }

  .result-stat:nth-child(2)::after {
    display: none;
  }

  .result-stat:nth-child(3),
  .result-stat:nth-child(4) {
    padding-top: 8px;
  }

  .results-farm-image img {
    height: 190px;
  }

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

  .durability-content {
    padding: 30px 28px 5px;
  }

  .durability-product {
    min-height: 210px;
  }

  .durability-product img {
    width: 72%;
    margin: -10px auto 8px;
  }

  .durability-link {
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .results-stats {
    //grid-template-columns: 1fr;//
  }

  .result-stat {
    display: grid;
    grid-template-columns: 110px 1fr;
    align-items: center;
    min-height: auto;
    padding: 16px 0;
    text-align: left;
    border-bottom: 1px solid rgba(125, 149, 185, 0.2);
  }

  .result-stat:not(:last-child)::after {
    display: none;
  }

  .result-stat strong {
    margin-bottom: 0;
  }

  .result-stat span {
    text-align: left;
  }

  .results-farm-image img {
    height: 170px;
  }

  .durability-product img {
    width: 92%;
  }
}

/* =========================================================
   TECNOLOGÍA
========================================================= */
.technology-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.technology-copy > p {
  max-width: 640px;
}

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

.feature-grid article {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-grid span {
  color: var(--primary);
  font-size: 2rem;
}

.feature-grid p {
  margin-bottom: 0;
  font-size: 0.82rem;
}

.technology-media {
  min-height: 480px;
  display: grid;
  place-items: center;
  border: 1px dashed #c8d5e8;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fbfdff, #edf4ff);
}

.technology-media img {
  width: 90%;
}

/* =========================================================
   CASOS DE ÉXITO
========================================================= */
.cases {
  background: #fbfcfe;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border: 1px solid #cbd8ea;
  border-radius: 50%;
  color: var(--primary);
  background: var(--white);
}

.slider-btn:hover {
  background: #edf4ff;
}

.case-slider {
  overflow: hidden;
}

.case-track {
  display: flex;
  gap: 22px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.case-card {
  flex: 0 0 calc((100% - 44px) / 3);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 34px rgba(15, 44, 95, 0.07);
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
}

.case-body {
  padding: 22px;
}

.case-meta {
display: flex;
margin: 14px 0 0;
justify-content: center;
}

.case-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--primary);
  background: #edf4ff;
  font-size: 0.7rem;
}

.case-card blockquote {
  margin: 16px 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* =========================================================
   PROCESO
========================================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.process-step {
  position: relative;
  padding: 16px;
  text-align: center;
}

.process-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 44px;
  right: -14px;
  color: #b4c5df;
}

.step-number {
  position: absolute;
  top: 2px;
  right: calc(50% - 38px);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border: 1px solid #b8cbe9;
  border-radius: 50%;
  color: var(--primary);
  font-size: 2.8rem;
}

.process-step p {
  margin-bottom: 0;
  font-size: 0.82rem;
}

/* =========================================================
   CTA Y FOOTER
========================================================= */
.cta {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 44, 129, 0.96), rgba(11, 94, 232, 0.9)),
    url("../assets/img/farm.svg") center / cover;
}

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

.cta h2 {
  max-width: 650px;
}

.cta p {
  max-width: 650px;
  margin-bottom: 0;
  color: #d9e7ff;
}

.site-footer {
  padding: 70px 0 26px;
  color: #d9e5f6;
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
}

.footer-brand .brand-mark {
  text-align: center;
}

.footer-grid h3 {
  color: var(--white);
  font-size: 0.9rem;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 9px;
  color: #aebed6;
  font-size: 0.82rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8ca0be;
  font-size: 0.72rem;
}

/* =========================================================
   ANIMACIONES
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/*nuevo producto*/
.pdf {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 181, 181, 0.96), rgba(11, 94, 232, 0.9)),
    url("../assets/img/farm.svg") center / cover;
}

.pdf-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-direction: column;
}

.pdf h2 {
  max-width: 650px;
}

.pdf p {
  max-width: 650px;
  margin-bottom: 0;
  color: #d9e7ff;
}
/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: auto auto 1fr auto;
  }

  .menu-toggle {
    display: block;
    order: 2;
  }

  .main-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 18px 20px 26px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    transition: transform 0.3s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-grid,
  .technology-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 520px;
  }

  .hero-media > img:first-child {
    height: 520px;
  }

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

  .benefit-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefit-card:last-child {
    border-bottom: 0;
  }

  .case-card {
    flex-basis: calc((100% - 22px) / 2);
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-step:nth-child(3)::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .section {
    padding: 72px 0;
  }

  .section-tight {
    padding: 48px 0;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .header-cta {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    order: initial;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-actions,
  .cta-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta .btn {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 400px;
  }

  .hero-media > img:first-child {
    height: 400px;
  }

  .hero-product {
   width: 100%;
  right: 0%;
  bottom: 5%;
  }

  .results-panel,
  .product-card {
    padding: 28px;
  }

  .stats-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-card {
    flex-basis: 100%;
  }

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

  .process-step:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: 50%;
    bottom: -16px;
    transform: translateX(50%);
  }

  .section-heading.split {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .stats-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .results-panel {
    min-height: 700px;
  }

  .farm-image {
    height: 220px;
  }
}
/* =========================================================
   WHATSAPP FLOTANTE
========================================================= */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;

  color: #ffffff;
  background: #25d366;
  border-radius: 50%;

  box-shadow: 0 12px 30px rgba(7, 26, 58, 0.25);
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  color: #ffffff;
  background: #1fbd5a;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 34px rgba(7, 26, 58, 0.32);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.35);
  outline-offset: 4px;
}


/* =========================================================
   REDES SOCIALES DEL FOOTER
========================================================= */

.footer-social {
  margin-top: 18px;
}

.footer-grid .footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0;

  color: #ffffff;
  font-weight: 600;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-social-link svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
}

.footer-grid .footer-social-link:hover {
  color: #8fb8ff;
  transform: translateY(-2px);
}


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

@media (max-width: 760px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 29px;
    height: 29px;
  }
}
/* =========================================================
   VIDEO
========================================================= */

.video-section {
  padding: 0px 0px 30px 0px;
}

.video-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

/* Texto */

.video-heading {
  max-width: 500px;
}

.video-heading .eyebrow {
  margin-bottom: 18px;
}

.video-heading h2 {
  margin-bottom: 22px;
  color: var(--navy);
}

.video-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Video */

.video-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: var(--navy);
  box-shadow: 0 22px 60px rgba(7, 26, 58, 0.16);
}

.video-wrapper video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}


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

@media (max-width: 850px) {

  .video-section {
    padding: 60px 0;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .video-heading {
    max-width: 650px;
  }
}

@media (max-width: 480px) {

  .video-section {
    padding: 50px 0;
  }

  .video-grid {
    gap: 28px;
  }

  .video-wrapper {
    border-radius: 12px;
  }
}