/* Client revision, 26 October 2026. Approved palette and existing breakpoints. */
.site-footer .footer-shell { max-width: 1120px; padding-top: 80px; }
.site-footer .footer-lead { align-items: center; padding-bottom: 48px; gap: 40px; }
.site-footer .footer-lead h2 { max-width: 660px; font-size: 39px; line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
.about-hero .about-hero__copy { width: min(760px, 64%); }
.about-hero { height: auto; }
.about-hero .about-hero__shell { height: auto; min-height: var(--internal-image-hero-height); }
.about-hero h1 { max-width: 100%; margin-top: 0; line-height: 1.04; letter-spacing: -.03em; text-wrap: pretty; }
.about-hero .about-hero__copy > p:last-of-type { max-width: calc(100% - 72px); font-size: 24px; text-wrap: pretty; }
.about-stage[data-about-stage="0"], .about-stage[data-about-stage="2"] { display: block; }
.about-stage[data-about-stage="0"] > p, .about-stage[data-about-stage="2"] > p { max-width: 64ch; color: var(--forest); font-size: 30px; line-height: 1.45; text-wrap: pretty; }
.payment-hero h1 { max-width: 14ch; font-size: 70px; line-height: 1.06; }
.contact-page .site-header { background: var(--forest); }
.contact-page .contact-workspace__shell { padding-top: 184px; padding-bottom: 96px; }
.contact-workspace__copy > h1 { max-width: 10ch; margin: 0; font-size: 62px; font-weight: 600; line-height: 1.04; letter-spacing: -.03em; }
.contact-offices { min-width: 0; display: grid; gap: 20px; }
.contact-offices > small { display: block; }
.contact-offices > div { display: grid; gap: 6px; }
.contact-offices > div > span { display: block; font-size: 16px; line-height: 1.6; font-weight: 400; }
.impact-metrics .metric-placeholder li:last-child { grid-column: span 2; border-right: 0; }
@media (min-width: 1024px) and (max-height: 850px) {
  .impact-card__surface { min-height: 0; padding: 28px; }
  .impact-card .impact-focus__label { margin-bottom: 24px; font-size: 30px; }
  .impact-card .impact-focus__copy { gap: 20px; }
  .impact-card h4 { font-size: 23px; }
  .impact-card p { font-size: 15px; line-height: 1.55; }
}
.whatsapp-float { position: fixed; right: 28px; bottom: 28px; z-index: 80; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: var(--white); background: var(--forest); box-shadow: 0 8px 24px rgba(1,57,32,.22); transition: transform .25s ease, background .25s ease; }
.whatsapp-float svg { width: 31px; height: 31px; fill: currentColor; }
.whatsapp-float:hover { transform: translateY(-3px); background: #07502e; }
.whatsapp-float:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
body:has(.mobile-menu[aria-hidden="false"]) .whatsapp-float { visibility: hidden; }
.service-uses { padding-top: 96px; background: #fff; color: var(--forest-deep); scroll-margin-top: 110px; }
.service-uses__heading { max-width: 1000px; margin-inline: auto; text-align: center; }
.service-uses__heading h2 { margin: 0; font-size: 48px; font-weight: 600; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.service-uses__heading > p { max-width: 64ch; margin: 24px auto 0; color: #53685f; font-size: 17px; line-height: 1.65; text-wrap: pretty; }
.service-uses__heading.is-copy-reveal-ready [data-agri-word] { color: #d0d8d3; transition: color .18s ease-out; }
.service-uses__heading.is-copy-reveal-ready [data-agri-word].is-lit { color: var(--forest-deep); }
.service-uses__items { display: grid; grid-template-columns: repeat(var(--uses-count, 4), minmax(0, 1fr)); gap: 32px; margin: 48px 0 0; padding: 0 0 12px; list-style: none; }
.service-uses__items > li { min-width: 0; }
.service-uses__controls { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; }
.service-uses__controls[hidden] { display: none; }
.service-uses__controls button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #b6c6ba; border-radius: 50%; background: #fff; color: var(--forest); cursor: pointer; }
.service-uses__controls button:disabled { opacity: .35; cursor: default; }
.service-uses__controls button:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.service-uses__controls svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-uses__previous svg { transform: rotate(180deg); }
.service-uses__controls:not([hidden]) + .service-uses__items { margin-top: 24px; }
.service-uses__photo { height: 200px; margin-bottom: 24px; overflow: hidden; border-radius: 16px; }
.service-uses__photo img { width: 100%; height: 100%; object-fit: cover; }
.service-uses__icon { width: 56px; height: 56px; margin-bottom: 20px; fill: none; stroke: var(--forest); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.service-uses__items h3 { margin: 0 0 14px; font-size: 27px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.service-uses__items p { max-width: 34ch; margin: 0; font-size: 16px; line-height: 1.65; color: #53685f; text-wrap: pretty; }
body[data-credit-layout="sticky"] .service-uses + .agri-profile .agri-profile__shell { padding-top: 116px; }
body[data-page="credito-transporte"] .agri-hero__media img { object-position: 74% center; }
body[data-page="credito-transporte"] .service-uses__items { max-width: 800px; margin-inline: auto; }
@media (max-width: 1279px) {
  .service-uses__heading h2 { font-size: 42px; }
  .service-uses__items { gap: 24px; }
  .payment-hero h1 { font-size: 60px; }
  .site-footer .footer-lead h2 { font-size: 33px; }
}
@media (max-width: 1023px) {
  .service-uses__items { grid-auto-flow: column; grid-auto-columns: 42%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; gap: 24px; scrollbar-width: thin; scrollbar-color: var(--forest) #edf3ed; }
  .service-uses__items > li { scroll-snap-align: start; }
  .about-hero .about-hero__copy { width: 76%; }
  .about-hero .about-hero__copy > p:last-of-type { font-size: 22px; }
  .about-stage[data-about-stage="0"] > p, .about-stage[data-about-stage="2"] > p { font-size: 26px; }
  .contact-workspace__copy > h1 { font-size: 46px; }
  .payment-hero h1 { font-size: 52px; }
  body[data-credit-layout="sticky"] .service-uses + .agri-profile .agri-profile__shell { padding-top: 96px; }
}
@media (max-width: 767px) {
  /* Let the new, client-approved long descriptions grow without clipping CTAs. */
  body[data-page^="credito-"] .agri-hero,
  body[data-page^="credito-"] .agri-hero__shell { height: auto; min-height: var(--internal-image-hero-height, 960px); }
  .site-footer .footer-lead h2 { font-size: 29px; }
  .site-footer .footer-lead { gap: 28px; }
  .about-hero .about-hero__copy { width: 100%; padding-top: 320px; }
  .about-hero .about-hero__copy > p:last-of-type { max-width: calc(100% - 24px); font-size: 20px; }
  .about-stage[data-about-stage="0"] > p, .about-stage[data-about-stage="2"] > p { font-size: 23px; }
  .contact-page .contact-workspace__shell { padding-top: 144px; }
  .contact-workspace__copy > h1 { max-width: 12ch; font-size: 42px; }
  .payment-hero h1 { max-width: 14ch; font-size: 44px; }
  .impact-metrics .metric-placeholder li:last-child { grid-column: auto; }
  .whatsapp-float { right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; }
  .service-uses__heading h2 { font-size: 34px; }
  .service-uses__heading > p { font-size: 16px; }
  .service-uses__items { grid-auto-columns: 84%; gap: 24px; margin-top: 36px; padding-bottom: 20px; }
  .service-uses__photo { height: 192px; }
  .service-uses__icon { width: 52px; height: 52px; margin-bottom: 16px; }
  .service-uses__items h3 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; }
  .service-uses__heading.is-copy-reveal-ready [data-agri-word] { color: var(--forest-deep); transition: none; }
}

/* Internal hero actions follow the approved home action scale. */
:is(.agri-hero__actions, .content-hero__actions) {
  flex-wrap: wrap;
}
:is(.agri-hero__actions, .content-hero__actions) > a {
  flex-shrink: 0;
  max-width: 100%;
}
:is(.agri-hero, .content-hero, .payment-hero) .button {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
}
:is(.agri-hero, .content-hero, .payment-hero) .button {
  min-height: 56px;
  padding: 16px 24px;
  font-size: 16px;
  line-height: 1.4;
  gap: 12px;
  text-align: center;
}
:is(.agri-hero__actions, .content-hero__actions) :is(.text-link, .content-text-link) {
  min-height: 48px;
  max-width: 100%;
  padding: 12px 0;
  font-size: 16px;
  line-height: 1.4;
  gap: 12px;
}
:is(.agri-hero, .content-hero, .payment-hero) :is(.button, .text-link, .content-text-link) .arrow-icon {
  width: 20px;
  height: 20px;
}
/* Center the shield on the first text line, with a small optical correction. */
.payment-disclosure svg {
  margin-top: calc(.8em - 8.5px);
}
.agri-hero__note svg {
  position: relative;
  top: 2px;
}
