:root {
  --bg: #ffffff;
  --surface: #f4f7f2;
  --surface-2: #ffffff;
  --ink: #025926;
  --text: #1d3e2b;
  --green: #02903c;
  --deep: #025926;
  --lime: #98bd11;
  --line: #cfdbcf;
  --shadow-sm: 0 8px 24px rgba(2, 89, 38, 0.08);
  --shadow-md: 0 16px 34px rgba(2, 89, 38, 0.14);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 30px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

:where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .section-title,
  .hero-content h2,
  .about-hero-content h1,
  .feature-card h3,
  .mini-feature-card h3,
  .t-card h3,
  .service-card h3,
  .blog-card h3,
  .blog-post-title,
  .blog-post-share h2,
  .blog-related h2,
  .blog-subscribe h2,
  .contact-card h2,
  .contact-helper-item h3
) {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 700 !important;
}

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

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.wrap {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.topbar {
  background: var(--deep);
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 10px 22px rgba(2, 89, 38, 0.22);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.footer-brand {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.82;
}

.brand {
  color: #fff;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 206px;
  height: auto;
  display: block;
}

.nav nav {
  display: flex;
  gap: 30px;
  font-size: 15px;
  font-weight: 700;
  color: #ecf7ef;
}

.nav nav a {
  opacity: 0.95;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.nav nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav nav a.nav-active {
  opacity: 1;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 14px;
  padding: 9px 14px;
  cursor: pointer;
}

.hero {
  padding-top: 0;
}

.hero-bg {
  min-height: 520px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6, 28, 12, 0.2) 0%, rgba(4, 15, 7, 0.76) 92%),
    url("/assets/fondo-hero.jpg") center 52% / cover;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
}

.hero-content {
  text-align: center;
  color: #fff;
  padding: 54px 24px;
  max-width: 860px;
}

.hero-logo-horizontal {
  width: 220px;
  height: auto;
  margin-bottom: 16px;
  filter: none;
}

.hero-content h2 {
  margin: 14px 0 12px;
  font-size: clamp(14px, 2.6vw, 36px);
  font-weight: 900;
  line-height: 1.08;
  white-space: nowrap;
  text-wrap: nowrap;
}

.hero-content p {
  margin: 0;
  font-size: clamp(11px, 1.35vw, 18px);
  white-space: nowrap;
  text-wrap: nowrap;
}

.hero-content .btn.lime {
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.btn.lime {
  margin-top: 20px;
  background: var(--lime);
  color: var(--deep);
}

.sustainable-banner .btn.lime.small {
  color: #ffffff;
}

.btn.white {
  background: #fff;
  color: var(--deep);
}

.btn.small {
  margin-top: 12px;
  padding: 8px 16px;
  font-size: 13px;
}

.btn.dark {
  margin: 0 14px 14px;
  background: var(--deep);
  color: #fff;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(2, 89, 38, 0.25);
}

.btn:active {
  transform: translateY(0);
}

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

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 0 0 18px;
  border: 1px solid var(--line);
  min-height: 340px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-icon {
  width: 100%;
  height: 190px;
  min-height: 52%;
  margin: 0;
  border: 0;
  border-radius: 0 0 22px 22px;
  background-color: #eff1ee;
  background-size: cover;
  background-position: center;
}

.feature-card h3 {
  margin: 16px 0 9px;
  padding: 0 16px;
  color: var(--green);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 900;
}

.feature-card p {
  margin: 0;
  padding: 0 16px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.45;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(2, 144, 60, 0.45);
}

.icon-muestra {
  background-image: url("/assets/toma-muestras.webp");
}

.icon-nutricion {
  background-image: url("/assets/estrategias-personalizadas.webp");
}

.icon-capacitacion {
  background-image: url("/assets/talleres.webp");
}

.icon-investigacion {
  background-image: url("/assets/investigacion.webp");
}

.quick-cta {
  margin-top: 26px;
  background: var(--lime);
  border-radius: var(--radius-sm);
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(340px, 1fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
}

.quick-left {
  padding: 22px 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.quick-left h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.quick-left p {
  margin: 10px 0 16px;
  color: #ffffff;
  font-size: clamp(14px, 1.02vw, 18px);
  line-height: 1.3;
  max-width: 780px;
}

.quick-left .btn.white {
  margin-top: 0;
  min-height: 46px;
  padding: 9px 24px;
  color: var(--lime);
  font-size: clamp(15px, 1.15vw, 20px);
  font-weight: 700;
}

.quick-right {
  display: block;
  align-self: stretch;
  justify-self: end;
  width: 100%;
  height: 100%;
}

.quick-right .img {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  min-height: 100%;
  height: 100%;
}

.quick-right .two {
  background: url("/assets/muestra-cta.jpg") center / cover;
}

.section-title {
  margin: 58px 0 8px;
  text-align: center;
  font-size: clamp(33px, 3.6vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0;
  text-align: center;
  font-size: 17px;
  color: var(--text);
}

.page-head {
  padding: 42px 0 14px;
}

.page-head.compact {
  padding: 34px 0 8px;
}

.kicker {
  margin: 0 0 10px;
  text-align: center;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-narrow {
  max-width: 860px;
  margin-inline: auto;
}

.section-gap-sm {
  margin-top: 22px;
}

.section-gap-md {
  margin-top: 34px;
}

.section-gap-lg {
  margin-top: 46px;
}

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

.mini-feature-card {
  min-height: auto;
  padding: 15px;
}

.mini-feature-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.mini-feature-card p {
  font-size: 14px;
}

.mini-feature-card.span-2 {
  grid-column: span 2;
}

.about-hero {
  padding-top: 14px;
}

.about-hero-bg {
  min-height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(7, 25, 11, 0.72), rgba(7, 25, 11, 0.24)),
    url("/assets/fondo-hero.jpg") center / cover;
  display: flex;
  align-items: center;
}

.about-hero-content {
  width: min(700px, 92%);
  margin-left: 36px;
  color: #fff;
}

.about-hero-content .kicker {
  text-align: left;
  color: #d9f1e0;
}

.about-hero-content h1 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.about-hero-content p {
  margin: 14px 0 0;
  font-size: 19px;
  line-height: 1.5;
}

.about-intro {
  margin-top: 44px;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 30px;
  align-items: start;
}

.about-story-main,
.about-story-side {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-height: 0;
}

.about-story-main {
  padding-right: 26px;
  border-right: 1px solid #d6dfd6;
}

.about-story-grid .kicker {
  text-align: left;
  margin: 0 0 8px;
  padding-left: 0;
}

.about-story-grid h2 {
  margin: 0;
  padding-left: 0;
  font-size: clamp(34px, 3.1vw, 48px);
  line-height: 1.05;
  color: var(--deep);
}

.about-story-grid p {
  margin: 10px 0 0;
  padding-left: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}

.about-principles {
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid #d6dfd6;
}

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

.about-principle-item {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-height: auto;
}

.about-principle-item:not(:first-child) {
  border-left: 1px solid #d6dfd6;
  padding-left: 18px;
}

.about-principle-item h3 {
  margin: 0;
  color: var(--green);
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.15;
}

.about-principle-item p {
  margin: 7px 0 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
}

.team-members .avatar {
  width: 124px;
  height: 124px;
  margin: -18px auto 12px;
  border-width: 4px;
  object-position: center top;
}

.quienes-page {
  background: var(--bg);
  color: var(--text);
}

.quienes-page .topbar {
  background: var(--deep);
  box-shadow: 0 10px 22px rgba(2, 89, 38, 0.22);
}

.quienes-page .nav {
  min-height: 72px;
}

.quienes-page .brand img {
  width: 206px;
}

.quienes-page .nav nav {
  gap: 30px;
  font-size: 15px;
}

.quienes-page .wa-float {
  display: none;
}

.qs-main {
  padding-bottom: 0;
}

.qs-main .wrap {
  width: min(1180px, 92vw);
}

.qs-hero-section {
  padding-top: 0;
}

.qs-hero {
  min-height: 440px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  overflow: hidden;
  background:
    linear-gradient(98deg, rgba(8, 14, 8, 0.58), rgba(8, 14, 8, 0.18) 66%),
    url("/assets/imagenes-agrointegral/quienes-hero.jpg") center bottom / cover;
  display: flex;
  align-items: flex-end;
}

.qs-hero-content {
  color: #fff;
  max-width: 690px;
  padding: 0 24px 50px 36px;
}

.qs-hero-content h1 {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.qs-hero-content p {
  margin: 14px 0 0;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.4;
  max-width: 560px;
}

.servicios-page .hero-bg {
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(98deg, rgba(8, 14, 8, 0.58), rgba(8, 14, 8, 0.18) 66%),
    url("/assets/imagenes-agrointegral/hero-servicios.jpg") center bottom / cover;
}

.interior-hero-copy {
  text-align: left;
}

.servicios-page .interior-hero-copy {
  color: #fff;
  max-width: 690px;
  padding: 0 24px 50px 36px;
}

.contacto-page .interior-hero-copy {
  max-width: 690px;
  padding: 34px 0 8px;
}

.interior-hero-copy h1 {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.interior-hero-copy p,
.interior-hero-copy .hero-subtitle {
  margin: 14px 0 0;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.4;
  max-width: 560px;
  font-weight: 600;
}

.interior-hero-copy .hero-subtitle {
  color: var(--deep);
}

.qs-section {
  margin-top: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 36px;
  align-items: stretch;
}

.qs-about-copy,
.qs-purpose-copy {
  height: 100%;
}

.qs-about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.qs-about-copy h2,
.qs-purpose-copy h2,
.qs-team-head h2 {
  margin: 0;
  color: var(--deep);
  letter-spacing: -0.02em;
}

.qs-about-copy h2 {
  font-size: clamp(34px, 3.6vw, 48px);
}

.qs-about-copy p {
  margin: 18px 0 0;
  max-width: 640px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.qs-landscape-art {
  position: relative;
  min-height: 430px;
  height: auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #bee6fa;
}

.qs-about-photo {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background:
    linear-gradient(110deg, rgba(9, 27, 12, 0.22), rgba(9, 27, 12, 0.08)),
    url("/assets/imagenes-agrointegral/sobre-nosotros-quienes.jpg") center/cover no-repeat;
}

.qs-purpose-photo {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background:
    linear-gradient(110deg, rgba(9, 27, 12, 0.2), rgba(9, 27, 12, 0.06)),
    url("/assets/imagenes-agrointegral/qs-proposito.jpg") center/cover no-repeat;
}

.qs-cloud {
  position: absolute;
  top: 76px;
  right: 66px;
  width: 166px;
  height: 72px;
  border-radius: 40px;
  background: #f0f0f0;
}

.qs-cloud::before,
.qs-cloud::after {
  content: "";
  position: absolute;
  background: #f0f0f0;
  border-radius: 999px;
}

.qs-cloud::before {
  width: 82px;
  height: 82px;
  left: 22px;
  top: -38px;
}

.qs-cloud::after {
  width: 66px;
  height: 66px;
  right: 8px;
  top: -24px;
}

.qs-hill {
  position: absolute;
  left: -10%;
  width: 122%;
  border-radius: 100% 100% 0 0;
}

.qs-hill-back {
  height: 94px;
  bottom: 66px;
  background: #b3da6f;
}

.qs-hill-front {
  height: 120px;
  bottom: -8px;
  background: #82aa00;
}

.qs-principles {
  margin-top: 56px;
  margin-bottom: 56px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qs-principle {
  text-align: center;
  padding: 0 34px;
}

.qs-principle:not(:first-child) {
  border-left: 1px solid var(--line);
}

.qs-principle h3 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.12;
}

.qs-principle p {
  margin: 7px 0 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
}

.qs-purpose {
  margin-top: 0;
  align-items: center;
}

.qs-landscape-art-left .qs-cloud {
  top: 84px;
  right: 138px;
}

.qs-purpose-copy {
  display: grid;
  gap: 36px;
}

.qs-purpose-copy h2 {
  font-size: clamp(33px, 3.6vw, 48px);
  line-height: 1.05;
}

.qs-purpose-copy p {
  margin: 10px 0 0;
  max-width: 520px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.qs-team {
  margin-top: 74px;
}

.qs-team-head {
  text-align: center;
}

.qs-team-head h2 {
  font-size: clamp(33px, 3.6vw, 48px);
}

.qs-team-head p {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 17px;
}

.qs-team-grid {
  margin-top: 82px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.qs-member-card {
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 92px 22px 24px;
  position: relative;
  text-align: center;
  min-height: 0;
  height: fit-content;
  align-self: start;
}

.qs-member-card img {
  width: 136px;
  height: 136px;
  border-radius: 999px;
  border: 4px solid #ececec;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: -68px;
  left: 50%;
  transform: translateX(-50%);
}

.qs-member-card h3 {
  margin: 0;
  color: var(--green);
  font-size: clamp(24px, 1.9vw, 28px);
}

.qs-role {
  margin: 8px auto 18px;
  color: var(--text);
  max-width: 94%;
  font-size: 14px;
  line-height: 1.35;
}

.qs-member-card p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

.qs-expert-cta {
  margin-top: 58px;
  min-height: 184px;
  border-radius: var(--radius-sm);
  padding: 26px 20px;
  background:
    linear-gradient(90deg, rgba(7, 9, 8, 0.56), rgba(7, 9, 8, 0.44)),
    url("/assets/fondo-cta.webp") center 42% / cover;
  color: #fff;
  display: grid;
  justify-items: center;
  text-align: center;
}

.qs-expert-cta h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.qs-expert-cta p {
  margin: 10px 0 16px;
  color: #ecf0ee;
  font-size: 17px;
}

.qs-expert-cta .btn.white {
  margin-top: 0;
  min-height: 42px;
  padding: 9px 20px;
  color: var(--deep);
  font-size: 16px;
  font-weight: 800;
}


.stats-box {
  margin-top: 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 22px 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stats-box article {
  text-align: center;
}

.stats-box strong {
  display: block;
  color: var(--green);
  font-size: clamp(44px, 5vw, 66px);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.stats-box small {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.alliances {
  margin-top: 88px;
  margin-bottom: 88px;
  background: #f8f8f8;
  padding: 18px 0 26px;
}

.alliances .section-title {
  margin-top: 0;
}

.alliance-logos {
  margin-top: 16px;
  padding: 12px 0;
  overflow: hidden;
  position: relative;
}

.alliance-track {
  display: flex;
  width: max-content;
  animation: alliance-marquee 24s linear infinite;
}

.alliance-group {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
}

.alliance-logos span {
  display: grid;
  place-items: center;
  min-height: 78px;
  min-width: 184px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.45);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.alliance-logos:hover .alliance-track {
  animation-play-state: paused;
}

.alliance-logos span:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.78);
}

.alliance-logos img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@keyframes alliance-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .alliance-track {
    animation: none;
  }
}

.stats-testimonials {
  margin-top: 118px;
  margin-bottom: 118px;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
  gap: 34px;
  align-items: stretch;
}

.stats-testimonials-left {
  min-height: 664px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stats-testimonials-left .section-title {
  margin: 0;
  text-align: left;
  font-size: clamp(44px, 4.8vw, 60px);
  line-height: 0.98;
}

.stats-testimonials .stats-box {
  margin-top: auto;
  background: transparent;
  border: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  box-shadow: none;
  gap: 34px 26px;
}

.stats-testimonials .stats-box article {
  text-align: left;
}

.stats-testimonials .stats-box strong {
  font-size: clamp(54px, 4.8vw, 74px);
  line-height: 0.9;
  color: var(--green);
  font-weight: 800;
}

.stats-testimonials .stats-box small {
  margin-top: 10px;
  color: var(--green);
  font-size: clamp(13px, 1.18vw, 24px);
  line-height: 1.2;
}

.stats-testimonials-right {
  min-height: 664px;
  position: relative;
  display: block;
}

.testimonial-vertical-btn {
  position: absolute;
  left: 50%;
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 54px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.testimonial-vertical-btn:hover {
  transform: translateX(-50%) translateY(-2px) scale(1.04);
  filter: saturate(1.15);
}

.testimonial-vertical-btn.up {
  top: -56px;
  transform: translateX(-50%);
}

.testimonial-vertical-btn.down {
  bottom: -56px;
  transform: translateX(-50%);
}

.testimonials-vertical-viewport {
  height: 664px;
  overflow: hidden;
}

.testimonials-vertical-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.t-card {
  border-radius: var(--radius-sm);
  background: #f1f1f1;
  border: 1px solid #ececec;
  padding: 24px 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.testimonials-vertical-track .t-slide {
  flex: 0 0 calc((664px - 28px) / 3);
  min-height: 212px;
}

.stats-testimonials .t-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin: 0;
  object-fit: cover;
  display: block;
  flex: 0 0 54px;
  border: 0;
  box-shadow: none;
}

.t-card h3,
.t-card small {
  display: block;
  margin: 0;
  text-align: left;
}

.t-card h3 {
  font-size: clamp(18px, 1.5vw, 28px);
  color: #161616;
  line-height: 1.1;
  font-weight: 900;
}

.t-card small {
  margin-top: 3px;
  color: #02903c;
  font-size: clamp(14px, 0.9vw, 18px);
  line-height: 1.2;
}

.t-card p {
  margin: 0;
  font-size: clamp(13px, 0.84vw, 16px);
  line-height: 1.45;
  color: #181818;
  max-height: 8.8em;
  overflow-y: auto;
  padding-right: 4px;
}

.t-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.brands {
  margin-top: 46px;
}

.brands-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, minmax(132px, auto));
  gap: 12px;
}

.brand-box {
  min-height: 132px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #f3f7f1;
  display: grid;
  place-items: center;
  color: #025926;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.brand-box img {
  max-width: 86%;
  max-height: 92px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.24s ease;
}

.brand-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.brand-box:hover img {
  transform: scale(1.03);
}

.brand-box.muted {
  color: #8f9391;
}

.brands-grid.bento-4 {
  grid-template-columns: 2fr 2fr 1.2fr;
  grid-template-rows: repeat(2, minmax(132px, auto));
}

.brands-grid.brands-grid-four {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
}

.brands-grid.bento-4 .brand-box:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.brands-grid.bento-4 .brand-box:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.brands-grid.bento-4 .brand-box:nth-child(3) {
  grid-column: 1 / span 2;
  grid-row: 2;
}

.brands-grid.bento-4 .brand-box:nth-child(4) {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.brand-box.coda-green {
  background: var(--lime);
}

.brand-box.coda-green img {
  filter: brightness(0) invert(1);
}

.sustainable-banner {
  margin-top: 34px;
  min-height: 290px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 30px;
  color: #fff;
  background:
    linear-gradient(95deg, rgba(10, 24, 10, 0.79), rgba(10, 24, 10, 0.25)),
    url("/assets/fondo-cta.webp") center / cover;
  box-shadow: var(--shadow-md);
}

.sustainable-banner h2 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 900;
}

.sustainable-banner p {
  margin: 10px 0 0;
  max-width: 580px;
  font-size: 16px;
}

.services {
  margin-top: 88px;
  margin-bottom: 88px;
}

.services-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.services-grid.services-grid-page {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.services-grid.services-grid-page .service-card {
  padding: 12px;
}

.services-grid.services-grid-page .service-img {
  height: 166px;
}

.servicios-page .services-grid.services-grid-page {
  grid-template-columns: 1fr;
  gap: 16px;
}

.servicios-page .services-grid.services-grid-page .service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px 18px calc(40% + 22px);
  min-height: 228px;
  background: #f4f6f3;
}

.servicios-page .services-grid.services-grid-page .service-img {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  height: auto;
  min-height: 0;
  z-index: 0;
  pointer-events: none;
  background-position: left center;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.servicios-page .services-grid.services-grid-page .service-card h3,
.servicios-page .services-grid.services-grid-page .service-card p {
  position: relative;
  z-index: 1;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.servicios-page .services-grid.services-grid-page .service-card h3 {
  margin-top: 0;
  margin-bottom: 9px;
  font-size: clamp(19px, 1.9vw, 32px);
  line-height: 1.02;
}

.servicios-page .services-grid.services-grid-page .service-card p {
  font-size: clamp(13px, 0.92vw, 16px);
  line-height: 1.4;
}

.servicios-page .services-grid.services-grid-page .service-card p strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02em;
}

.service-card {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  padding: 10px;
  transition: none;
}

.service-img {
  height: 142px;
  border-radius: 11px;
}

.service-img.one {
  background:
    linear-gradient(120deg, rgba(9, 45, 18, 0.25), rgba(9, 45, 18, 0.1)),
    url("/assets/imagenes-agrointegral/toma-muestras.jpg") center/cover;
}

.service-img.two {
  background:
    linear-gradient(120deg, rgba(9, 45, 18, 0.25), rgba(9, 45, 18, 0.1)),
    url("/assets/imagenes-agrointegral/estrategias-personalizadas.webp") center/cover;
}

.service-img.three {
  background:
    linear-gradient(120deg, rgba(9, 45, 18, 0.25), rgba(9, 45, 18, 0.1)),
    url("/assets/imagenes-agrointegral/talleres.jpg") center/cover;
}

.service-img.four {
  background:
    linear-gradient(120deg, rgba(9, 45, 18, 0.25), rgba(9, 45, 18, 0.1)),
    url("/assets/imagenes-agrointegral/investigacion.webp") center/cover;
}

.service-card h3 {
  margin: 12px 0 8px;
  text-align: center;
  font-size: 28px;
  line-height: 1.08;
  color: var(--green);
  font-weight: 900;
}

.service-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  text-align: center;
  line-height: 1.45;
}

.expert-banner {
  margin-top: 30px;
  border-radius: var(--radius-sm);
  padding: 20px;
  color: #fff;
  background:
    linear-gradient(95deg, rgba(8, 34, 16, 0.56), rgba(8, 34, 16, 0.24)),
    url("/assets/fondo-banner.jpg") center/cover;
}

.expert-banner p {
  margin: 11px 0 0;
  font-size: 17px;
}

.expert-banner--home {
  min-height: 225px;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.expert-banner--home h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(20px, 2.1vw, 34px);
  line-height: 1.16;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

.expert-banner--home p {
  margin: 8px 0 14px;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(13px, 0.95vw, 16px);
  line-height: 1.32;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}

.expert-banner--home .btn.white {
  padding-inline: 26px;
  min-height: 44px;
  font-size: clamp(15px, 1.1vw, 20px);
}

.blog-preview {
  margin-top: 46px;
}

.blog-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.blog-grid-articulos {
  margin-top: 22px;
  gap: 16px;
}

.blog-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f9fbf8;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}

.blog-card-link {
  color: inherit;
  text-decoration: none;
}

.blog-card-link:visited {
  color: inherit;
}

.blog-card-clickable {
  cursor: pointer;
}

.blog-card:focus-visible {
  outline: 2px solid #98bd11;
  outline-offset: 2px;
}

.blog-img {
  aspect-ratio: 16 / 9;
  height: auto;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.blog-img.one {
  background:
    linear-gradient(120deg, rgba(9, 45, 18, 0.2), rgba(9, 45, 18, 0.12)),
    url("/assets/imagenes-agrointegral/download-1.jpg") center/cover;
}

.blog-img.two {
  background:
    linear-gradient(120deg, rgba(9, 45, 18, 0.2), rgba(9, 45, 18, 0.12)),
    url("/assets/imagenes-agrointegral/download.jpg") center/cover;
}

.blog-img.three {
  background:
    linear-gradient(120deg, rgba(9, 45, 18, 0.2), rgba(9, 45, 18, 0.12)),
    url("/assets/imagenes-agrointegral/download.webp") center/cover;
}

.blog-card h3 {
  margin: 14px 14px 8px;
  color: var(--green);
  text-align: left;
  font-size: 22px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.blog-excerpt {
  margin: 0 14px 12px;
  color: #315740;
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card .btn.dark.small {
  margin: auto 14px 14px;
  padding: 9px 14px;
  font-size: 13px;
  align-self: flex-start;
}

.blog-card-cta {
  pointer-events: none;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.blog-grid-articulos .blog-card-featured {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  min-height: auto;
}

.blog-grid-articulos .blog-card-featured .blog-img {
  aspect-ratio: 16 / 9;
  background-size: contain;
  background-color: #e9efe7;
}

.blog-card-featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 26px 24px;
  gap: 10px;
  background: linear-gradient(168deg, #f6faf4, #eef4ec);
}

.blog-card-featured-kicker {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(2, 144, 60, 0.12);
  color: var(--green);
  border: 1px solid rgba(2, 144, 60, 0.26);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 10px;
}

.blog-grid-articulos .blog-card-featured h3 {
  margin: 0;
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.1;
}

.blog-grid-articulos .blog-card-featured .blog-excerpt {
  margin: 0;
  font-size: 16px;
  line-height: 1.52;
  -webkit-line-clamp: 4;
}

.blog-grid-articulos .blog-card-featured .blog-card-cta {
  margin-top: 4px;
}

.articulos-pagination {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.articulos-page-btn {
  min-width: 42px;
  min-height: 40px;
  border: 1px solid #c8d7c8;
  border-radius: 12px;
  background: #fff;
  color: #174730;
  font-family: "Nunito Sans", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  padding: 0 14px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.articulos-page-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(2, 89, 38, 0.36);
  box-shadow: 0 8px 18px rgba(2, 89, 38, 0.12);
}

.articulos-page-btn.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 10px 20px rgba(2, 89, 38, 0.2);
}

.articulos-page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.blog-post-page {
  padding-top: 22px;
  padding-bottom: 48px;
  position: relative;
}

.blog-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4e6758;
  margin-bottom: 12px;
}

.blog-breadcrumb a {
  color: #3a5a47;
  font-weight: 700;
}

.blog-breadcrumb-current {
  color: var(--green);
  font-weight: 800;
  max-width: 340px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-post-header {
  margin-bottom: 14px;
}

.blog-post-head-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.blog-post-hero {
  border-radius: 20px;
  overflow: hidden;
  min-height: clamp(220px, 34vw, 420px);
  background: url("/assets/fondo-hero.jpg") center/cover no-repeat;
  border: 1px solid rgba(2, 89, 38, 0.2);
}

.blog-post-hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(2, 89, 38, 0.2);
}

.blog-post-title {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--green);
  max-width: 100%;
}

.blog-post-meta {
  margin: 8px 0 0;
  font-size: 15px;
  color: #496451;
  font-weight: 700;
}

.blog-post-content {
  margin-top: 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.68;
}

.blog-post-content * {
  max-width: 100%;
}

.blog-post-content > *:first-child {
  margin-top: 0;
}

.blog-post-content > *:last-child {
  margin-bottom: 0;
}

.blog-post-content p {
  margin: 0 0 1em;
}

.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
  margin: 1.3em 0 0.5em;
  color: var(--green);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.blog-post-content h1 {
  font-size: clamp(34px, 3.9vw, 48px);
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
  font-size: clamp(24px, 2.6vw, 34px);
}

.blog-post-content h3 {
  font-size: clamp(22px, 2.3vw, 30px);
}

.blog-post-content h4 {
  font-size: clamp(20px, 2vw, 26px);
}

.blog-post-content h5,
.blog-post-content h6 {
  font-size: clamp(18px, 1.7vw, 22px);
}

.blog-post-content a {
  color: #027935;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.blog-post-content a:hover {
  color: #025926;
}

.blog-post-content img {
  max-width: 100%;
  border-radius: 12px;
  height: auto;
  display: block;
  margin: 16px auto;
}

.blog-post-content figure {
  margin: 1.2em 0;
}

.blog-post-content figcaption {
  font-size: 13px;
  color: #5c7265;
  text-align: center;
  margin-top: 8px;
}

.blog-post-content ul,
.blog-post-content ol {
  padding-left: 20px;
  margin: 0 0 1em;
}

.blog-post-content li + li {
  margin-top: 0.35em;
}

.blog-post-content blockquote {
  margin: 1.4em 0;
  padding: 14px 16px;
  border-left: 4px solid #98bd11;
  background: #f1f6ee;
  color: #254935;
  border-radius: 10px;
  font-style: italic;
}

.blog-post-content hr {
  border: 0;
  border-top: 1px solid #d8e3d7;
  margin: 1.6em 0;
}

.blog-post-content table {
  width: auto;
  max-width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 1.2em 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  display: table;
  background: transparent;
  box-shadow: none;
}

.blog-post-content thead tr {
  background: linear-gradient(180deg, #eff7ef 0%, #e8f3e8 100%);
}

.blog-post-content th,
.blog-post-content td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #e3ece3;
  font-size: 15px;
  white-space: normal;
  vertical-align: top;
}

.blog-post-content th {
  color: #1c4e33;
  font-weight: 800;
}

.blog-post-content tbody tr:nth-child(odd) {
  background: #ffffff;
}

.blog-post-content tbody tr:nth-child(even) {
  background: #f7fbf7;
}

.blog-post-content td + td,
.blog-post-content th + th {
  border-left: 1px solid #e3ece3;
}

.blog-post-content tr:last-child td {
  border-bottom: 0;
}

.blog-post-content pre {
  margin: 1.2em 0;
  padding: 14px;
  border-radius: 12px;
  background: #10271b;
  color: #dff3e5;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.45;
}

.blog-post-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.blog-post-content p code,
.blog-post-content li code,
.blog-post-content td code {
  background: #edf4ee;
  color: #17412b;
  border-radius: 6px;
  padding: 1px 5px;
  font-size: 0.9em;
}

.blog-post-content iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: 12px;
  margin: 1.2em 0;
}

.blog-post-share,
.blog-related,
.blog-subscribe {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f9fbf8;
  padding: 18px;
}

.blog-post-share h2,
.blog-related h2,
.blog-subscribe h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 34px);
  color: var(--green);
  font-weight: 900;
}

.blog-post-share-compact {
  display: inline-flex;
  flex-direction: column;
  width: auto;
  max-width: 100%;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  justify-self: end;
  margin-top: 10px;
}

.blog-post-share-label {
  margin: 0 0 8px;
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
}

.blog-post-share-actions {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.share-btn {
  border: 1px solid #c7d5c8;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  padding: 8px 13px;
  font: inherit;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

.share-btn:hover {
  border-color: #92ba9c;
  background: #f2f7f2;
}

.share-btn.share-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.share-btn.share-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.share-btn.share-icon.copied {
  background: #98bd11;
  border-color: #98bd11;
  color: #025926;
}

.blog-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.blog-related-more {
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
}

.blog-related .blog-grid {
  margin-top: 14px;
}

.blog-subscribe p {
  margin: 8px 0 14px;
  color: #355947;
  font-size: 15px;
}

.blog-subscribe .agro-form-subscribe {
  display: grid;
  grid-template-columns: minmax(300px, 760px) auto;
  align-items: end;
  justify-content: start;
  gap: 10px 14px;
}

.blog-subscribe .agro-form-subscribe .agro-form-field {
  margin: 0;
}

.blog-subscribe .agro-form-subscribe .agro-form-field > span {
  margin-bottom: 7px;
}

.blog-subscribe .agro-form-subscribe input[type="email"] {
  height: 46px;
  border: 1px solid #bfd1c0;
  border-radius: 12px;
  background: #ffffff;
  padding: 0 14px;
}

.blog-subscribe .agro-form-subscribe .btn.lime.small {
  margin-top: 0;
  min-height: 46px;
  align-self: end;
  white-space: nowrap;
}

.blog-subscribe .agro-form-subscribe .agro-form-status {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.agro-form {
  margin: 0;
}

.agro-form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.agro-form-field {
  display: block;
  margin-bottom: 11px;
}

.agro-form-field > span {
  display: block;
  margin: 0 0 6px;
  color: #5d6760;
  font-size: 14px;
  font-weight: 600;
}

.agro-form input,
.agro-form select,
.agro-form textarea {
  width: 100%;
  border: 0;
  border-radius: 16px;
  background: #ffffff;
  padding: 11px 14px;
  font: inherit;
  color: var(--deep);
  box-shadow: none;
  font-size: 14px;
}

.agro-form input::placeholder,
.agro-form select::placeholder,
.agro-form textarea::placeholder {
  color: #9ca7a0;
}

.agro-form textarea {
  min-height: 98px;
  resize: vertical;
  border-radius: 14px;
}

.agro-form button[type="submit"] {
  border: 0;
  cursor: pointer;
}

.agro-form .btn.lime.small {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 6px 20px 6px 8px;
  border-radius: 999px;
  background: #98bd11;
  color: #ffffff;
  font-family: "Nunito Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
}

.agro-form .btn.lime.small::before {
  content: "➜";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: #80a407;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.agro-form .btn.lime.small:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 10px 22px rgba(2, 89, 38, 0.2);
}

.agro-form .btn.lime.small:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.agro-form .btn.lime.small:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.agro-form-status {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.4;
  min-height: 20px;
}

.agro-form-status.success {
  color: #025926;
}

.agro-form-status.error {
  color: #a1362a;
}

.blog-post-not-found {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(2, 89, 38, 0.26);
  background: #f4f8f4;
  color: #134a2a;
}

.blog-post-cta {
  margin-top: 16px;
}

.blog-post-loader {
  display: none;
  margin: 16px 0 18px;
  padding: 12px 0;
}

.blog-post-loader .line,
.blog-post-loader .box {
  display: block;
  border-radius: 10px;
  background: linear-gradient(90deg, #eef3ef 20%, #f8fbf8 50%, #eef3ef 80%);
  background-size: 220% 100%;
  animation: postShimmer 1.2s linear infinite;
}

.blog-post-loader .line.lg {
  height: 38px;
  max-width: 78%;
}

.blog-post-loader .line.md {
  height: 18px;
  max-width: 36%;
  margin-top: 12px;
}

.blog-post-loader .box {
  margin-top: 16px;
  height: clamp(220px, 32vw, 390px);
}

.blog-post-page.is-loading .blog-post-head-row,
.blog-post-page.is-loading .blog-post-hero,
.blog-post-page.is-loading .blog-post-content,
.blog-post-page.is-loading .blog-related,
.blog-post-page.is-loading .blog-subscribe {
  display: none;
}

.blog-post-page.is-loading .blog-post-loader {
  display: block;
}

@keyframes postShimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

.contact-zone {
  margin-top: 52px;
  padding: 72px 0 52px;
  background:
    linear-gradient(95deg, rgba(6, 16, 6, 0.2), rgba(6, 16, 6, 0.24)),
    url("/assets/fondo-contacto.jpg") center/cover;
}

.contact-zone.contact-zone-home {
  background:
    linear-gradient(95deg, rgba(6, 16, 6, 0.2), rgba(6, 16, 6, 0.24)),
    url("/assets/fondo-form.jpg") center/cover;
}

.contact-card {
  width: min(560px, 100%);
  border-radius: var(--radius-sm);
  background: #f3f7f1;
  padding: 30px 30px 22px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
}

.contact-layout .contact-card {
  width: 100%;
}

.contact-helper-list {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.contact-helper-item {
  min-height: auto;
  padding: 12px 14px;
}

.contact-helper-item h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.contact-helper-item p {
  margin: 0;
  font-size: 15px;
}

.contact-card h2 {
  margin: 0 0 18px;
  color: #4a4e52;
  font-size: clamp(30px, 2.8vw, 44px);
  letter-spacing: -0.01em;
  font-weight: 700;
}

.contact-card .agro-form .btn.lime.small {
  margin-top: 12px;
}

.contact-wrap:not(.contact-layout) {
  display: flex;
  justify-content: flex-start;
}

.contact-wrap:not(.contact-layout) .contact-card {
  width: min(560px, calc(100% - 16px));
  border-radius: 24px;
  background: #f3f7f1;
  padding: 30px 28px 22px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.contact-wrap:not(.contact-layout) .contact-card h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.1;
  color: #4f5256;
}

footer {
  background: var(--deep);
  color: #eef6ef;
  padding: 26px 0;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 18px;
}

.footer-left {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-brand img {
  width: 126px;
  height: auto;
  display: block;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(214, 230, 215, 0.65);
  background: rgba(255, 255, 255, 0.96);
  color: #0c7b3a;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.socials a:hover {
  transform: translateY(-2px);
  background: #98bd11;
  color: #025926;
}

.socials svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 0;
  background: #25d366;
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  filter: saturate(1.05);
}

.footer-nav {
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.995);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (max-width: 1140px) {
  .features,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-testimonials {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 88px;
    margin-bottom: 88px;
  }

  .stats-testimonials-left {
    min-height: auto;
    gap: 24px;
  }

  .stats-testimonials-left .section-title {
    font-size: clamp(40px, 6.4vw, 58px);
  }

  .stats-testimonials-right {
    min-height: auto;
    padding: 56px 0;
  }

  .nav {
    min-height: 64px;
  }
}

@media (max-width: 940px) {
  .wrap {
    width: min(1180px, 94vw);
  }

  .nav {
    min-height: 56px;
    height: auto;
    padding: 8px 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .brand img {
    width: 184px;
  }

  .nav nav {
    display: none;
    width: 100%;
    order: 3;
    background: #034f24;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 8px;
    gap: 8px;
    flex-direction: column;
  }

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

  .nav nav a {
    display: block;
    font-size: 15px;
    font-weight: 800;
    padding: 8px 10px;
    border-radius: 8px;
  }

  .nav nav a:hover {
    background: rgba(255, 255, 255, 0.11);
  }

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

  .hero-content h2,
  .hero-content p,
  .qs-hero-content h1,
  .qs-hero-content p,
  .interior-hero-copy h1,
  .interior-hero-copy p,
  .interior-hero-copy .hero-subtitle,
  .about-hero-content h1,
  .about-hero-content p {
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  .stats-testimonials .stats-box {
    gap: 24px 16px;
  }

  .testimonials-vertical-viewport {
    height: 350px;
  }

  .testimonials-vertical-track .t-slide {
    flex-basis: 350px;
    min-height: 350px;
  }

  .testimonial-vertical-btn {
    font-size: 44px;
  }

  .testimonial-vertical-btn.up {
    top: 0;
  }

  .testimonial-vertical-btn.down {
    bottom: 0;
  }

  .blog-grid-articulos .blog-card-featured {
    min-height: auto;
  }

  .blog-grid-articulos .blog-card-featured h3 {
    font-size: clamp(28px, 5.8vw, 36px);
  }

  .testimonials-head {
    align-items: center;
  }

  .testimonials-head .section-title {
    font-size: clamp(28px, 5.4vw, 40px);
  }

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

  .mini-feature-card.span-2 {
    grid-column: auto;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .quienes-page .nav {
    min-height: 56px;
  }

  .quienes-page .brand img {
    width: 184px;
  }

  .quienes-page .nav nav {
    gap: 8px;
    font-size: 15px;
  }

  .qs-hero {
    min-height: 380px;
  }

  .qs-hero-content {
    padding: 0 18px 32px 26px;
  }

  .qs-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .qs-landscape-art,
  .qs-landscape-art-left {
    min-height: 340px;
    height: auto;
  }

  .qs-principles {
    margin-top: 54px;
    margin-bottom: 42px;
    padding: 18px 0;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .qs-principle {
    padding: 0;
  }

  .qs-principle:not(:first-child) {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }

  .qs-purpose {
    margin-top: 0;
  }

  .qs-purpose-copy {
    gap: 36px;
  }

  .qs-team {
    margin-top: 76px;
  }

  .qs-team-grid {
    margin-top: 92px;
    grid-template-columns: 1fr;
    gap: 96px;
  }

  .qs-member-card {
    min-height: auto;
  }

  .qs-expert-cta {
    margin-top: 52px;
  }

  .about-story-main {
    border-right: 0;
    padding-right: 0;
  }

  .about-principles-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-principle-item:not(:first-child) {
    border-left: 0;
    border-top: 1px solid #d6dfd6;
    padding-left: 0;
    padding-top: 12px;
  }

  .alliance-logos span {
    min-width: 160px;
  }

  .brands-grid,
  .brands-grid.bento-4 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .brand-box,
  .brands-grid.bento-4 .brand-box:nth-child(1),
  .brands-grid.bento-4 .brand-box:nth-child(2),
  .brands-grid.bento-4 .brand-box:nth-child(3),
  .brands-grid.bento-4 .brand-box:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .quick-cta {
    grid-template-columns: 1fr;
  }

  .quick-left {
    padding: 14px;
  }

  .quick-left h3 {
    font-size: clamp(20px, 4.6vw, 30px);
  }

  .quick-left p {
    font-size: clamp(14px, 2.5vw, 16px);
  }

  .quick-left .btn.white {
    min-height: 42px;
    padding: 9px 18px;
    font-size: clamp(14px, 3.2vw, 18px);
  }

  .quick-right .img {
    min-height: 168px;
  }

  .sustainable-banner {
    min-height: 260px;
    padding: 24px;
  }

  .expert-banner--home {
    min-height: 200px;
    padding: 20px 14px;
  }

  .expert-banner--home h2 {
    font-size: clamp(21px, 4.6vw, 31px);
  }

  .expert-banner--home p {
    font-size: clamp(14px, 2.2vw, 16px);
    margin-bottom: 14px;
  }

  .expert-banner--home .btn.white {
    min-height: 42px;
    padding-inline: 20px;
    font-size: clamp(14px, 3.2vw, 18px);
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(1180px, 95vw);
  }

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

  .hero-content {
    padding: 34px 16px;
  }

  .hero-logo-horizontal {
    width: 168px;
  }

  .hero-content h2 {
    font-size: clamp(28px, 7.2vw, 36px);
    white-space: normal;
    text-wrap: balance;
    line-height: 1.08;
  }

  .hero-content p {
    font-size: clamp(16px, 4.6vw, 20px);
    white-space: normal;
    text-wrap: pretty;
    line-height: 1.3;
    max-width: 34ch;
    margin-inline: auto;
  }

  .section-title {
    font-size: clamp(30px, 8vw, 40px);
  }

  .section-sub,
  .expert-banner p,
  .quick-left p {
    font-size: 15px;
  }

  .about-hero {
    padding-top: 0;
  }

  .quienes-page .nav {
    min-height: 56px;
  }

  .quienes-page .brand img {
    width: 184px;
  }

  .qs-main .wrap {
    width: min(1180px, 95vw);
  }

  .qs-hero {
    min-height: 296px;
    border-radius: 0 0 24px 24px;
  }

  .servicios-page .hero-bg {
    min-height: 296px;
    border-radius: 0 0 24px 24px;
  }

  .qs-hero-content {
    padding: 0 14px 20px;
  }

  .servicios-page .interior-hero-copy {
    padding: 0 14px 20px;
  }

  .contacto-page .interior-hero-copy {
    padding: 20px 0 8px;
  }

  .qs-hero-content p {
    margin-top: 12px;
    line-height: 1.2;
  }

  .interior-hero-copy p,
  .interior-hero-copy .hero-subtitle {
    margin-top: 12px;
    line-height: 1.2;
  }

  .qs-about-copy p {
    margin-top: 18px;
    line-height: 1.45;
  }

  .qs-landscape-art,
  .qs-landscape-art-left {
    min-height: 260px;
    height: auto;
  }

  .qs-cloud {
    top: 42px;
    right: 38px;
    width: 118px;
    height: 52px;
  }

  .qs-cloud::before {
    width: 54px;
    height: 54px;
    top: -22px;
    left: 20px;
  }

  .qs-cloud::after {
    width: 44px;
    height: 44px;
    top: -14px;
  }

  .qs-landscape-art-left .qs-cloud {
    right: 48px;
  }

  .qs-hill-back {
    height: 62px;
    bottom: 44px;
  }

  .qs-hill-front {
    height: 86px;
  }

  .qs-team-grid {
    margin-top: 72px;
    gap: 74px;
  }

  .qs-member-card {
    padding: 84px 18px 20px;
    border-radius: 16px;
  }

  .qs-member-card img {
    width: 112px;
    height: 112px;
    top: -56px;
  }

  .qs-expert-cta {
    min-height: 166px;
    padding: 18px 14px;
    border-radius: 16px;
  }

  .qs-expert-cta p {
    margin-bottom: 12px;
  }

  .qs-expert-cta .btn.white {
    min-height: 42px;
    font-size: 16px;
  }

  .about-hero-bg {
    min-height: 360px;
  }

  .about-hero-content {
    margin-left: 16px;
    width: calc(100% - 26px);
  }

  .about-hero-content p {
    font-size: 16px;
  }

  .testimonials-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .features,
  .mini-feature-grid,
  .stats-box,
  .brands-grid,
  .services-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .stats-testimonials .stats-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 10px;
  }

  .testimonials-vertical-viewport {
    height: 310px;
  }

  .testimonials-vertical-track .t-slide {
    flex-basis: 310px;
    min-height: 310px;
  }

  .feature-card {
    min-height: 320px;
  }

  .feature-icon {
    height: 176px;
  }

  .service-card h3,
  .blog-card h3 {
    font-size: 21px;
  }

  .blog-card-featured-content {
    padding: 18px 16px 16px;
    gap: 9px;
  }

  .blog-grid-articulos .blog-card-featured h3 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .blog-grid-articulos .blog-card-featured .blog-excerpt {
    font-size: 15px;
    line-height: 1.46;
    -webkit-line-clamp: 5;
  }

  .articulos-pagination {
    gap: 6px;
    margin-top: 16px;
  }

  .articulos-page-btn {
    min-height: 38px;
    padding: 0 12px;
  }

  .blog-post-hero {
    min-height: 210px;
    margin-top: 4px;
  }

  .blog-post-head-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .blog-post-title {
    font-size: clamp(26px, 8vw, 38px);
    line-height: 1.14;
  }

  .blog-post-content {
    font-size: 16px;
    line-height: 1.58;
    padding: 0;
    margin-top: 14px;
  }

  .blog-post-content th,
  .blog-post-content td {
    font-size: 13px;
    padding: 8px 10px;
  }

  .blog-post-content iframe {
    min-height: 220px;
  }

  .blog-post-share,
  .blog-related,
  .blog-subscribe {
    padding: 14px;
  }

  .blog-subscribe .agro-form-subscribe {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .blog-subscribe .agro-form-subscribe .btn.lime.small {
    justify-self: start;
  }

  .blog-post-share-compact {
    width: fit-content;
    justify-self: start;
    margin-top: 0;
  }

  .blog-breadcrumb {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .blog-breadcrumb-current {
    max-width: 180px;
  }

  .blog-post-page {
    padding-top: 16px;
    padding-bottom: 36px;
  }

  .blog-post-meta {
    margin-top: 6px;
  }

  .contact-zone {
    padding: 42px 0 34px;
  }

  .contact-card {
    padding: 22px 18px 20px;
  }

  .contact-card h2 {
    font-size: clamp(36px, 9vw, 52px);
    margin-bottom: 18px;
  }

  .contact-wrap:not(.contact-layout) .contact-card {
    width: 100%;
    border-radius: 24px;
    padding: 26px 20px 22px;
  }

  .contact-wrap:not(.contact-layout) .contact-card h2 {
    font-size: clamp(34px, 8.2vw, 46px);
    margin-bottom: 18px;
  }

}

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr !important;
  }
}
