body[data-page^="credito-"] {
  color: var(--forest-deep);
  background: var(--paper);
}

.agri-cycle,
.agri-requirements,
.agri-contact { scroll-margin-top: 94px; }

.nav-trigger.is-current::after { right: 0; }
.mega-links a[aria-current="page"] { color: #29751c; }

.agri-hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-deep);
  isolation: isolate;
}

.agri-hero__media {
  position: absolute;
  inset: 0 0 0 45%;
  overflow: hidden;
}

.agri-hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.agri-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,31,18,.96) 0%, rgba(0,31,18,.28) 52%, rgba(0,31,18,.08) 100%);
}

.agri-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  filter: saturate(.88) contrast(1.04);
  transform: scale(var(--agri-hero-scale, 1.045)) translate3d(0, var(--agri-hero-y, 0), 0);
  transition: transform .16s linear;
}

.agri-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,31,18,1) 0%, rgba(0,31,18,.98) 32%, rgba(0,31,18,.7) 56%, rgba(0,31,18,.18) 100%),
    linear-gradient(0deg, rgba(0,18,10,.74), transparent 44%);
}

.agri-hero__shell {
  position: relative;
  z-index: 3;
  min-height: 860px;
  display: flex;
  flex-direction: column;
  padding-block: 132px 42px;
}

.agri-hero__copy {
  width: min(690px, 58%);
  margin-block: 116px auto;
}

.agri-hero h1 {
  max-width: 10.5ch;
  margin: 0;
  font-size: 84px;
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.04em;
}

.agri-hero--compact h1 {
  max-width: 13ch;
  font-size: 72px;
}

.agri-hero--compact .agri-hero__copy > .agri-hero__tagline {
  max-width: 15ch;
  font-size: 48px;
}

body[data-page^="credito-"]:not([data-page="credito-agropecuario"]) .agri-hero__media {
  inset: 0;
}

body[data-page^="credito-"]:not([data-page="credito-agropecuario"]) .agri-hero__media img {
  object-position: 68% center;
}

.agri-hero__copy > .agri-hero__tagline {
  max-width: 12.5ch;
  margin-top: 14px;
  color: var(--lime);
  font-size: 52px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.agri-hero__copy > p:not(.agri-hero__tagline) {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.6;
}

.agri-hero__actions {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-top: 36px;
}

.agri-hero__actions .arrow-icon {
  transform: rotate(45deg);
  transform-origin: center;
}

.agri-hero__actions .button:hover .arrow-icon,
.agri-hero__actions .button:focus-visible .arrow-icon,
.agri-hero__actions .text-link:hover .arrow-icon,
.agri-hero__actions .text-link:focus-visible .arrow-icon {
  transform: rotate(135deg);
}

.agri-hero__note {
  position: relative;
  width: 310px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  margin-left: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.45;
  transform: translateY(-56px);
}

.agri-hero__note svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.agri-intro { background: var(--paper); }

.agri-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  align-items: end;
  gap: 100px;
  padding-block: 156px 164px;
}

.agri-intro h2 {
  max-width: 12ch;
  margin: 0;
  font-size: 72px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.agri-intro h2 span {
  color: rgba(0,31,18,.16);
  transition: color .5s var(--ease-out);
}

.agri-intro h2 span.is-lit { color: var(--forest-deep); }
.agri-intro h2 span.is-accent.is-lit { color: var(--signal-green); }
.agri-intro__phrase { display: contents; }

.service-intro-break { display: none; }

@media (min-width: 1025px) {
  .service-intro-break { display: initial; }
}

.agri-intro__aside {
  max-width: 440px;
  padding-bottom: 8px;
}

.agri-intro__aside p {
  margin: 0 0 30px;
  color: rgba(0,31,18,.68);
  font-size: 17px;
  line-height: 1.6;
}

.agri-intro__aside a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,31,18,.42);
  font-size: 13px;
  font-weight: 700;
}

.agri-intro__aside a:hover .arrow-icon { transform: translate(4px, -4px); }

.agri-cycle {
  height: 285vh;
  min-height: 1960px;
  color: var(--forest-deep);
  background: #dcebd5;
}

.agri-cycle__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
}

.agri-cycle__sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 10%, rgba(112,242,80,.22), transparent 31%),
    linear-gradient(180deg, #e7f2e2 0%, #dcebd5 56%, #d7e7d1 100%);
}

.agri-cycle__shell {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 34px;
  padding-block: 112px 32px;
}

.agri-cycle__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  align-items: end;
  gap: 68px;
}

.agri-cycle__heading h2 {
  max-width: 14ch;
  margin: 0;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.agri-cycle__heading p {
  max-width: 38ch;
  margin: 0;
  align-self: end;
  justify-self: start;
  padding-left: 58px;
  color: rgba(0,31,18,.68);
  font-size: 17px;
  line-height: 1.6;
}

.agri-cycle__experience {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  gap: 68px;
  align-items: stretch;
}

.agri-cycle__visual {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: 16px;
}

.agri-cycle__visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) brightness(.82);
  opacity: 0;
  transform: scale(1.065);
  transition:
    opacity .58s var(--ease-out),
    transform 1.05s var(--ease-out),
    filter .55s ease;
}

.agri-cycle__visual > img.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1.015);
}

.agri-cycle__visual-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(0deg, rgba(0,22,12,.64), transparent 70%);
}

.agri-cycle__stages {
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(0,31,18,.22);
}

.agri-cycle__stages li {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,31,18,.22);
  color: rgba(0,31,18,.66);
  transition: color .5s var(--ease-out), transform .5s var(--ease-out);
}

.agri-cycle__stages li.is-active {
  color: var(--forest-deep);
  transform: translateX(16px);
}

.agri-cycle__stages li > svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.agri-cycle__stages li.is-active > svg { color: #0a6532; }
.agri-cycle__stages h3 { margin: 0; font-size: 23px; font-weight: 600; letter-spacing: -.025em; }
.agri-cycle__stages p { max-width: 52ch; margin: 4px 0 0; color: inherit; font-size: 13px; line-height: 1.48; }

.agri-cycle__progress {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  color: rgba(0,31,18,.64);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.agri-cycle__progress i { height: 1px; overflow: hidden; background: rgba(0,31,18,.2); }
.agri-cycle__progress b { display: block; width: 100%; height: 100%; background: var(--forest); transform: scaleX(var(--cycle-progress, 0)); transform-origin: left; }

.agri-profile { background: var(--paper); }

.agri-profile__shell {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  gap: 110px;
  align-items: center;
  padding-block: 154px 48px;
}

.agri-profile__image {
  position: relative;
  min-height: 720px;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
}

.agri-profile__image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 1.1s var(--ease-out), filter .8s ease;
}

.agri-profile__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,31,18,.76), transparent 46%);
  pointer-events: none;
}

.agri-profile__image:hover img { transform: scale(1.045); filter: saturate(1.08); }

.agri-profile__image figcaption {
  position: absolute;
  z-index: 1;
  right: 30px;
  bottom: 28px;
  left: 30px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

.agri-profile__copy h2 {
  max-width: 14ch;
  margin: 0;
  font-size: 60px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.agri-profile__copy > p {
  max-width: 620px;
  margin: 30px 0 58px;
  color: rgba(0,31,18,.68);
  font-size: 17px;
  line-height: 1.6;
}

.agri-profile__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(0,31,18,.22); }
.agri-profile__list li { display: grid; grid-template-columns: 210px 1fr; gap: 30px; padding: 22px 0; border-bottom: 1px solid rgba(0,31,18,.22); }
.agri-profile__list span { font-size: 15px; font-weight: 700; }
.agri-profile__list small { color: rgba(0,31,18,.62); font-size: 13px; line-height: 1.5; }

.agri-requirements { background: var(--paper); }
.agri-requirements__shell { padding-block: 48px 120px; }

.agri-ready {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  overflow: hidden;
  border-radius: 16px;
}

.agri-ready__list { padding: 58px; color: var(--white); background: var(--forest); }
.agri-ready h2,
.agri-ready h3 { max-width: 14ch; margin: 0; font-size: 34px; font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
.agri-ready__list h2 { max-width: 13ch; }
.agri-ready__list > p { max-width: 35ch; margin: 20px 0 38px; color: rgba(255,255,255,.76); font-size: 17px; line-height: 1.6; }
.agri-ready__list ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.agri-ready__list li { display: grid; grid-template-columns: 24px 1fr; gap: 13px; align-items: start; color: rgba(255,255,255,.82); font-size: 13px; }
.agri-ready__list li svg { width: 21px; height: 21px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.agri-ready__cta {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
  padding: 58px;
  color: var(--forest-deep);
  background: var(--lime);
}

.agri-ready__cta > img { width: 72px; height: auto; object-fit: contain; }
.agri-ready__cta h3 { max-width: 15ch; }
.agri-ready__cta p { max-width: 38ch; margin: 18px 0 0; color: rgba(0,31,18,.68); font-size: 17px; line-height: 1.6; }

.agri-contact { background: var(--mint); }

.agri-contact__shell {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(520px, 1.15fr);
  gap: 92px;
  align-items: start;
  padding-block: 150px;
}

.agri-contact__copy {
  position: sticky;
  top: 132px;
  padding-top: 8px;
}

.agri-contact__copy h2 {
  max-width: 460px;
  margin: 0;
  font-size: 62px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
}

.agri-contact__copy > p { max-width: 46ch; margin: 28px 0 0; color: rgba(0,31,18,.68); font-size: 17px; line-height: 1.6; }

.agri-contact__journey {
  width: min(100%, 460px);
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid rgba(0,31,18,.22);
}

.agri-contact__journey h3 {
  margin: 0 0 24px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.agri-contact__journey ol {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agri-contact__journey ol::before,
.agri-contact__journey ol::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 17px;
  width: 1px;
  pointer-events: none;
}

.agri-contact__journey ol::before { background: rgba(0,31,18,.2); }
.agri-contact__journey ol::after {
  background: var(--signal-green);
  transform: scaleY(0);
  transform-origin: top;
}

.agri-contact__journey li {
  position: relative;
  z-index: 1;
  min-height: 54px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 15px;
}

.agri-contact__step-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--forest);
  background: var(--mint);
  border: 1px solid rgba(0,31,18,.3);
  border-radius: 50%;
}

.agri-contact__step-mark svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.agri-contact__journey strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; }
.agri-contact__journey small { display: block; margin-top: 4px; color: rgba(0,31,18,.64); font-size: 13px; line-height: 1.45; }

.agri-contact__journey.is-looping ol::after {
  animation: agri-contact-route 5.4s linear infinite;
}

.agri-contact__journey.is-looping li:nth-child(1) .agri-contact__step-mark { animation: agri-contact-step-1 5.4s linear infinite; }
.agri-contact__journey.is-looping li:nth-child(2) .agri-contact__step-mark { animation: agri-contact-step-2 5.4s linear infinite; }
.agri-contact__journey.is-looping li:nth-child(3) .agri-contact__step-mark { animation: agri-contact-step-3 5.4s linear infinite; }

@keyframes agri-contact-route {
  0%, 7% { transform: scaleY(0); }
  62%, 82% { opacity: 1; transform: scaleY(1); }
  92% { opacity: 0; transform: scaleY(1); }
  92.01%, 94% { opacity: 0; transform: scaleY(0); }
  100% { opacity: 1; transform: scaleY(0); }
}

@keyframes agri-contact-step-1 {
  0%, 7% { color: var(--forest); background: var(--mint); border-color: rgba(0,31,18,.3); transform: scale(1); box-shadow: 0 0 0 0 rgba(57,189,54,0); }
  12% { color: var(--forest-deep); background: var(--lime); border-color: var(--lime); transform: scale(1.1); box-shadow: 0 0 0 9px rgba(57,189,54,.13); }
  18%, 82% { color: var(--lime); background: var(--forest); border-color: var(--forest); transform: scale(1); box-shadow: 0 0 0 0 rgba(57,189,54,0); }
  92%, 100% { color: var(--forest); background: var(--mint); border-color: rgba(0,31,18,.3); transform: scale(1); box-shadow: 0 0 0 0 rgba(57,189,54,0); }
}

@keyframes agri-contact-step-2 {
  0%, 29% { color: var(--forest); background: var(--mint); border-color: rgba(0,31,18,.3); transform: scale(1); box-shadow: 0 0 0 0 rgba(57,189,54,0); }
  34% { color: var(--forest-deep); background: var(--lime); border-color: var(--lime); transform: scale(1.1); box-shadow: 0 0 0 9px rgba(57,189,54,.13); }
  40%, 82% { color: var(--lime); background: var(--forest); border-color: var(--forest); transform: scale(1); box-shadow: 0 0 0 0 rgba(57,189,54,0); }
  92%, 100% { color: var(--forest); background: var(--mint); border-color: rgba(0,31,18,.3); transform: scale(1); box-shadow: 0 0 0 0 rgba(57,189,54,0); }
}

@keyframes agri-contact-step-3 {
  0%, 51% { color: var(--forest); background: var(--mint); border-color: rgba(0,31,18,.3); transform: scale(1); box-shadow: 0 0 0 0 rgba(57,189,54,0); }
  56% { color: var(--forest-deep); background: var(--lime); border-color: var(--lime); transform: scale(1.1); box-shadow: 0 0 0 9px rgba(57,189,54,.13); }
  62%, 82% { color: var(--lime); background: var(--forest); border-color: var(--forest); transform: scale(1); box-shadow: 0 0 0 0 rgba(57,189,54,0); }
  92%, 100% { color: var(--forest); background: var(--mint); border-color: rgba(0,31,18,.3); transform: scale(1); box-shadow: 0 0 0 0 rgba(57,189,54,0); }
}

.agri-form {
  display: grid;
  gap: 22px;
  padding: 54px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 26px 70px rgba(0,31,18,.1);
}

.agri-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.agri-form label {
  display: grid;
  gap: 9px;
  color: rgba(0,31,18,.78);
  font-size: 13px;
  font-weight: 700;
}

.agri-form input,
.agri-form select,
.agri-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  color: var(--forest-deep);
  background: #f7faf4;
  border: 1px solid rgba(0,31,18,.2);
  border-radius: 10px;
  outline: 0;
  font: inherit;
  font-size: 13px;
  transition: border-color .24s ease, box-shadow .24s ease, background-color .24s ease;
}

.agri-form textarea { min-height: 118px; resize: vertical; }
.agri-form input:focus,
.agri-form select:focus,
.agri-form textarea:focus { background: var(--white); border-color: var(--signal-green); box-shadow: 0 0 0 3px rgba(57,189,54,.14); }

.agri-form__consent { grid-template-columns: 20px 1fr; align-items: start; gap: 12px !important; color: rgba(0,31,18,.65) !important; font-weight: 500 !important; line-height: 1.5; }
.agri-form__consent input { width: 18px; min-height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--forest); }
.agri-form__consent a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.agri-form .button { justify-self: start; border: 0; cursor: pointer; }
.agri-form__status { min-height: 20px; margin: -8px 0 0; color: var(--forest); font-size: 13px; font-weight: 600; }

.agri-faq { background: var(--paper); }

.agri-faq__shell {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 100px;
  padding-block: 138px;
}

.agri-faq h2 { max-width: 360px; margin: 0; font-size: 56px; font-weight: 600; line-height: 1.02; letter-spacing: -.04em; }
.agri-faq__items { border-top: 1px solid rgba(0,31,18,.24); }
.agri-faq details { border-bottom: 1px solid rgba(0,31,18,.24); }
.agri-faq summary { display: grid; grid-template-columns: 1fr 24px; align-items: center; gap: 20px; padding: 28px 0; cursor: pointer; font-size: 15px; font-weight: 700; list-style: none; }
.agri-faq summary::-webkit-details-marker { display: none; }
.agri-faq summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .36s cubic-bezier(.16,1,.3,1); }
.agri-faq details[open] summary svg { transform: rotate(180deg); }
.agri-faq__answer { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .36s cubic-bezier(.16,1,.3,1), opacity .22s ease; }
.agri-faq__answer > div { min-height: 0; overflow: hidden; }
.agri-faq details[open] .agri-faq__answer { grid-template-rows: 1fr; opacity: 1; }
.agri-faq__answer p { max-width: 68ch; margin: -5px 0 28px; color: rgba(0,31,18,.66); font-size: 13px; transform: translateY(-8px); transition: transform .36s cubic-bezier(.16,1,.3,1); }
.agri-faq details[open] .agri-faq__answer p { transform: translateY(0); }

.agri-next { background: var(--mint); }
.agri-next__shell { padding-block: 118px; }
.agri-next h2 { max-width: 440px; margin: 0 0 64px; font-size: 54px; font-weight: 600; line-height: 1.02; letter-spacing: -.04em; }
.agri-next__links { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(0,31,18,.28); }
.agri-next__links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 110px; padding: 0 26px; border-bottom: 1px solid rgba(0,31,18,.28); transition: background-color .3s ease; }
.agri-next__links a + a { border-left: 1px solid rgba(0,31,18,.28); }
.agri-next__links a:hover { background: rgba(255,255,255,.36); }
.agri-next__links a:hover .arrow-icon { transform: translate(4px, -4px); }
.agri-next__links span { font-size: 16px; font-weight: 700; transition: transform .35s var(--ease-out); }
.agri-next__links a:hover span { transform: translateX(10px); }

@media (max-width: 1366px) {
  .agri-hero h1 { font-size: 76px; }
  .agri-hero__copy > .agri-hero__tagline { font-size: 48px; }
  .agri-hero--compact h1 { font-size: 66px; }
  .agri-hero--compact .agri-hero__copy > .agri-hero__tagline { font-size: 44px; }
  .agri-intro h2 { font-size: 64px; }
  .agri-cycle__shell { padding-top: 98px; }
  .agri-cycle__heading h2 { font-size: 50px; }
  .agri-profile__shell { gap: 82px; padding-block: 132px 48px; }
  .agri-profile__copy h2 { font-size: 54px; }
  .agri-requirements__shell { padding-block: 48px 110px; }
  .agri-contact__shell { padding-block: 130px; }
}

@media (max-width: 1200px) {
  .agri-hero h1 { font-size: 68px; }
  .agri-hero__copy > .agri-hero__tagline { font-size: 44px; }
  .agri-hero--compact h1 { font-size: 60px; }
  .agri-hero--compact .agri-hero__copy > .agri-hero__tagline { font-size: 42px; }
  .agri-hero__copy { width: 62%; }
  .agri-intro__grid { gap: 64px; padding-block: 132px; }
  .agri-intro h2 { font-size: 58px; }
  .agri-cycle__experience { grid-template-columns: 1fr minmax(380px, .9fr); gap: 42px; }
  .agri-cycle__heading h2 { font-size: 46px; }
  .agri-profile__shell { gap: 60px; }
  .agri-profile__image { min-height: 650px; }
  .agri-profile__copy h2 { font-size: 50px; }
  .agri-ready__list, .agri-ready__cta, .agri-form { padding: 46px; }
  .agri-contact__shell { grid-template-columns: minmax(0, .8fr) minmax(500px, 1.2fr); gap: 62px; }
  .agri-contact__copy h2 { font-size: 54px; }
}

@media (min-width: 1025px) and (max-height: 820px) {
  .agri-hero, .agri-hero__shell { min-height: 740px; }
  .agri-hero__shell { padding-block: 116px 28px; }
  .agri-hero__copy { margin-bottom: 54px; }
  .agri-hero h1 { font-size: 64px; }
  .agri-hero__copy > .agri-hero__tagline { margin-top: 10px; font-size: 40px; }
  .agri-hero--compact h1 { font-size: 54px; }
  .agri-hero--compact .agri-hero__copy > .agri-hero__tagline { font-size: 36px; }
  .agri-hero__copy > p:not(.agri-hero__tagline) { margin-top: 20px; font-size: 15px; }
  .agri-hero__actions { margin-top: 26px; }
  .agri-hero__note { transform: translateY(-110px); }
  .agri-cycle__shell { gap: 22px; padding-block: 88px 20px; }
  .agri-cycle__heading h2 { font-size: 42px; }
  .agri-cycle__visual { min-height: 320px; }
  .agri-cycle__stages h3 { font-size: 19px; }
  .agri-cycle__stages p { font-size: 13px; }
}

@media (max-width: 1024px) {
  .agri-hero, .agri-hero__shell { min-height: 820px; }
  .agri-hero__media { left: 34%; }
  body[data-page^="credito-"]:not([data-page="credito-agropecuario"]) .agri-hero__media { inset: 0; }
  .agri-hero__copy { width: 76%; }
  .agri-hero h1 { font-size: 60px; }
  .agri-hero__copy > .agri-hero__tagline { font-size: 40px; }
  .agri-hero--compact h1 { font-size: 54px; }
  .agri-hero--compact .agri-hero__copy > .agri-hero__tagline { font-size: 40px; }
  .agri-hero__note { width: 270px; }
  .agri-intro__grid { grid-template-columns: 1fr; align-items: start; gap: 42px; padding-block: 112px; }
  .agri-intro h2 { max-width: 13ch; font-size: 52px; }
  .agri-intro__aside { max-width: 620px; }
  .agri-cycle { height: auto; min-height: 0; }
  .agri-cycle__sticky { position: relative; height: auto; min-height: 0; }
  .agri-cycle__shell { display: block; padding-block: 112px; }
  .agri-cycle__heading { grid-template-columns: 1fr; gap: 24px; }
  .agri-cycle__heading p { max-width: 54ch; padding-left: 0; }
  .agri-cycle__experience { grid-template-columns: 1fr; gap: 46px; margin-top: 60px; }
  .agri-cycle__visual { min-height: 560px; }
  .agri-cycle__stages { grid-template-rows: none; }
  .agri-cycle__stages li, .agri-cycle__stages li.is-active { min-height: 132px; padding: 22px 0; color: var(--forest-deep); transform: none; }
  .agri-cycle__stages li > svg { color: #0a6532; }
  .agri-cycle__progress { display: none; }
  .agri-profile__shell { grid-template-columns: .85fr 1.15fr; gap: 46px; padding-block: 112px 40px; }
  .agri-profile__image { min-height: 590px; }
  .agri-profile__copy h2 { font-size: 44px; }
  .agri-profile__copy > p { margin: 24px 0 42px; font-size: 16px; }
  .agri-profile__list li { grid-template-columns: 1fr; gap: 7px; }
  .agri-requirements__shell { padding-block: 40px 96px; }
  .agri-ready { grid-template-columns: 1fr; }
  .agri-ready__cta { min-height: 400px; }
  .agri-contact__shell { grid-template-columns: 1fr; gap: 54px; padding-block: 112px; }
  .agri-contact__copy { position: relative; top: auto; }
  .agri-contact__copy h2 { max-width: 12ch; font-size: 50px; }
  .agri-contact__journey { width: min(100%, 540px); }
  .agri-faq__shell { grid-template-columns: 1fr; gap: 50px; padding-block: 112px; }
  .agri-faq h2 { max-width: 360px; font-size: 50px; }
  .agri-next__shell { padding-block: 96px; }
}

@media (max-width: 880px) {
  .agri-hero, .agri-hero__shell { min-height: 960px; }
  .agri-hero__media { inset: 0; }
  .agri-hero__media img {
    position: relative;
    top: -46px;
    height: calc(100% + 46px);
    object-position: center top;
    transform: none;
    filter: saturate(.94) contrast(1.04) brightness(1.04);
  }
  body[data-page^="credito-"]:not([data-page="credito-agropecuario"]) .agri-hero__media img {
    top: -46px;
    height: calc(100% + 46px);
    object-position: center top;
    transform: none;
  }
  body[data-page^="credito-"]:not([data-page="credito-educativo"]) .agri-hero__media img {
    top: 0;
    height: 100%;
  }
  body[data-page="credito-activos-fijos"] .agri-hero__media img {
    transform: scale(1.06) translateY(24px);
  }
  .agri-hero__media::after {
    background: linear-gradient(180deg, rgba(0,31,18,.16) 0%, rgba(0,31,18,.08) 34%, rgba(0,31,18,.42) 62%, rgba(0,31,18,.9) 100%);
  }
  .agri-hero__shade {
    background:
      radial-gradient(circle at 65% 38%, rgba(0,25,14,0) 0%, rgba(0,25,14,.04) 19%, rgba(0,25,14,.16) 42%, rgba(0,25,14,.3) 62%),
      linear-gradient(0deg, rgba(0,25,14,.99) 0%, rgba(0,25,14,.9) 34%, rgba(0,25,14,.32) 59%, rgba(0,25,14,.1) 100%);
  }
  .agri-hero__shell { padding-top: 112px; }
  .agri-hero__copy { width: 90%; margin-top: auto; margin-bottom: 70px; padding-top: 230px; }
  .agri-hero h1 { font-size: 54px; }
  .agri-hero__copy > .agri-hero__tagline { font-size: 40px; }
  .agri-hero--compact,
  .agri-hero--compact .agri-hero__shell { min-height: 1040px; }
  .agri-hero--compact h1 { font-size: 50px; }
  .agri-hero--compact .agri-hero__copy > .agri-hero__tagline { font-size: 40px; }
  .agri-hero__note { display: none; }
  .agri-profile__shell { grid-template-columns: 1fr; }
  .agri-profile__image { min-height: 640px; }
  .agri-profile__copy { max-width: 680px; }
  .agri-next__links { grid-template-columns: 1fr; }
  .agri-next__links a + a { border-left: 0; }
}

@media (max-width: 767px) {
  .agri-hero, .agri-hero__shell { min-height: 960px; }
  .agri-hero__shell { padding-block: 96px 24px; }
  .agri-hero__copy { width: 100%; margin-bottom: 34px; padding-top: 245px; }
  .agri-hero h1 { max-width: 10ch; font-size: 48px; line-height: 1.02; }
  .agri-hero__copy > .agri-hero__tagline { max-width: 13ch; margin-top: 10px; font-size: 40px; line-height: 1.04; }
  .agri-hero--compact,
  .agri-hero--compact .agri-hero__shell { min-height: 1080px; }
  .agri-hero--compact h1 { max-width: 13ch; font-size: 48px; }
  .agri-hero--compact .agri-hero__copy > .agri-hero__tagline { max-width: 14ch; font-size: 40px; }
  .agri-hero__copy > p:not(.agri-hero__tagline) { max-width: 35ch; margin-top: 20px; font-size: 14px; }
  .agri-hero__actions { align-items: stretch; flex-direction: column; gap: 14px; margin-top: 28px; }
  .agri-hero__actions .button { width: 100%; }
  .agri-hero__actions .text-link { align-self: flex-start; }
  .agri-intro__grid { gap: 34px; padding-block: 92px; }
  .agri-intro h2 { font-size: 38px; line-height: 1.06; }
  .agri-intro__aside p { font-size: 16px; }
  .agri-cycle__shell { padding-block: 92px; }
  .agri-cycle__heading h2 { font-size: 38px; }
  .agri-cycle__heading p { font-size: 16px; }
  .agri-cycle__experience { gap: 34px; margin-top: 44px; }
  .agri-cycle__visual { min-height: 420px; }
  .agri-cycle__stages li, .agri-cycle__stages li.is-active { grid-template-columns: 34px 1fr; min-height: 138px; gap: 14px; padding: 22px 0; }
  .agri-cycle__stages h3 { font-size: 21px; }
  .agri-cycle__stages p { font-size: 13px; }
  .agri-profile__shell { gap: 56px; padding-block: 92px 32px; }
  .agri-profile__image { min-height: 520px; }
  .agri-profile__copy h2 { font-size: 38px; }
  .agri-profile__list li { padding-block: 18px; }
  .agri-requirements__shell { padding-block: 32px 76px; }
  .agri-ready__list, .agri-ready__cta { padding: 32px 26px; }
  .agri-ready h2, .agri-ready h3 { font-size: 28px; }
  .agri-ready__list > p, .agri-ready__cta p { font-size: 16px; }
  .agri-ready__cta { min-height: 420px; }
  .agri-contact__shell { gap: 42px; padding-block: 92px; }
  .agri-contact__copy h2 { font-size: 38px; }
  .agri-contact__copy > p { font-size: 16px; }
  .agri-contact__journey { margin-top: 38px; padding-top: 24px; }
  .agri-contact__journey h3 { margin-bottom: 21px; font-size: 18px; }
  .agri-form { gap: 19px; padding: 28px 22px; }
  .agri-form__row { grid-template-columns: 1fr; gap: 19px; }
  .agri-form .button { width: 100%; }
  .agri-faq__shell { gap: 42px; padding-block: 92px; }
  .agri-faq h2 { max-width: 250px; font-size: 38px; }
  .agri-faq summary { padding-block: 23px; font-size: 14px; }
  .agri-next__shell { padding-block: 84px; }
  .agri-next h2 { margin-bottom: 44px; font-size: 38px; }
  .agri-next__links a { min-height: 92px; padding-inline: 6px; }
  .agri-next__links a:hover span { transform: translateX(6px); }
}

/* Ajuste interno del extremo más estrecho de Móvil vertical */
@media (max-width: 340px) {
  .agri-hero h1 { font-size: 42px; }
  .agri-hero__copy > .agri-hero__tagline { font-size: 34px; }
  .agri-hero--compact,
  .agri-hero--compact .agri-hero__shell { min-height: 1060px; }
  .agri-hero--compact h1 { font-size: 40px; }
  .agri-hero--compact .agri-hero__copy > .agri-hero__tagline { font-size: 32px; }
}

@media (hover: none), (pointer: coarse) {
  .agri-hero__actions .arrow-icon { transform: rotate(135deg); }
}

@media (prefers-reduced-motion: reduce) {
  .agri-hero__media img,
  .agri-cycle__visual > img { transform: none !important; }
  .agri-contact__journey ol::after { transform: scaleY(1); animation: none !important; }
  .agri-contact__step-mark { color: var(--lime); background: var(--forest); border-color: var(--forest); animation: none !important; }
  .agri-intro h2 span { color: var(--forest-deep); }
  .agri-intro h2 span.is-accent { color: var(--signal-green); }
  .agri-cycle { height: auto; min-height: 0; }
  .agri-cycle__sticky { position: relative; height: auto; min-height: 0; }
  .agri-cycle__shell { display: block; padding-block: 112px; }
  .agri-cycle__experience { margin-top: 56px; }
  .agri-cycle__stages li { color: var(--forest-deep); }
  .agri-cycle__stages li > svg { color: #0a6532; }
}

/* Altura compartida para heroes internos con fotografía. El home conserva su sistema propio. */
:root { --internal-image-hero-height: 860px; }

.agri-hero,
.agri-hero__shell,
.agri-hero--compact,
.agri-hero--compact .agri-hero__shell {
  height: var(--internal-image-hero-height);
  min-height: var(--internal-image-hero-height);
}

@media (min-width: 881px) {
  .agri-hero__copy { margin-block: auto 48px; }
  .agri-hero__note {
    position: absolute;
    right: 0;
    bottom: 42px;
    transform: none;
  }
}

@media (min-width: 1025px) and (max-height: 820px) {
  :root { --internal-image-hero-height: 760px; }
  .agri-hero__note { bottom: 28px; }
  .agri-hero__copy { margin-bottom: 28px; }
}

@media (max-width: 1024px) {
  :root { --internal-image-hero-height: 820px; }
}

@media (max-width: 880px) {
  :root { --internal-image-hero-height: 960px; }
  .agri-hero--compact .agri-hero__copy { padding-top: 185px; }
}

/* Ajuste editorial exclusivo del hero de mejoramiento de vivienda. */
body[data-page="credito-mejoramiento-vivienda"] .agri-hero--compact h1 {
  max-width: 11.5ch;
}

body[data-page="credito-mejoramiento-vivienda"] .agri-hero--compact .agri-hero__copy > .agri-hero__tagline {
  max-width: 20ch;
}

body[data-page="credito-mejoramiento-vivienda"] .agri-intro h2 {
  max-width: 13.2ch;
  text-wrap: balance;
}

body[data-page="credito-agropecuario"] .agri-intro h2 {
  max-width: 13.2ch;
  text-wrap: balance;
}

body[data-page="credito-capital-trabajo"] .agri-intro h2 {
  max-width: 12.4ch;
  text-wrap: pretty;
}

body[data-page="credito-capital-trabajo"] .agri-hero--compact .agri-hero__copy > .agri-hero__tagline {
  max-width: none;
}

body[data-page="credito-capital-trabajo"] .agri-profile__copy h2 {
  max-width: 13ch;
  text-wrap: pretty;
}

body[data-page="credito-productivo"] .agri-intro h2 {
  max-width: 13.2ch;
  text-wrap: balance;
}

body[data-page="credito-educativo"] .agri-intro h2 {
  max-width: 26ch;
  text-wrap: balance;
}

body[data-page="credito-educativo"] .agri-intro__phrase {
  display: block;
}

body[data-page="credito-educativo"] .agri-hero__copy > p:not(.agri-hero__tagline) {
  max-width: 690px;
  text-wrap: pretty;
}

body[data-page="credito-productivo"] .agri-hero__copy > .agri-hero__tagline {
  max-width: 24ch;
  text-wrap: balance;
}

@media (max-width: 767px) {
  body[data-page="credito-productivo"] .agri-hero__copy > .agri-hero__tagline {
    max-width: none;
    text-wrap: pretty;
  }
}
