@font-face {
  font-family: "Branding";
  src: url("/assets/fonts/branding-semilight.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Branding";
  src: url("/assets/fonts/branding-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Branding";
  src: url("/assets/fonts/branding-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Branding";
  src: url("/assets/fonts/branding-black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Branding";
  src: url("/assets/fonts/branding-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Branding";
  src: url("/assets/fonts/branding-semilight-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Branding";
  src: url("/assets/fonts/branding-medium-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Branding";
  src: url("/assets/fonts/branding-bold-italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ==========================================================
   Base
   ========================================================== */
:root {
  /* Paleta del manual de marca v2.2 */
  --agro: #1b723e;
  --brote: #8bc43f;
  --lima: #d5de23;
  --sol: #f6dc6e;
  --luz: #dfeb38;
  --monte: #11402a;
  --panela: #f5eedf;
  --carbon: #2b2420;
  --forest: #11402a;
  --green: #1b723e;
  --leaf: #1b723e;
  --lime: #d5de23;
  --lime-bright: #dfeb38;
  --lime-deep: #8bc43f;
  --lime-title: #1b723e;
  --green-deep: #11402a;
  --lime-soft: #eef3a8;
  --sun: #f6dc6e;
  --sun-soft: #fbe9a0;
  --cream: #fbf8f1;
  --paper: #ffffff;
  --mist: #f5eedf;
  --ink: #2b2420;
  --muted: #6a5f55;
  --line: rgba(43, 36, 32, 0.14);
  --shadow: 0 1px 2px rgba(43, 36, 32, 0.06), 0 18px 40px -18px rgba(43, 36, 32, 0.3);
  --radius: 32px;
  --radius-sm: 18px;
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --sans: "Branding", Arial, ui-sans-serif, system-ui, sans-serif;
  /* El manual pide una sola familia: Branding, con sus itálicas. */
  --serif: var(--sans);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

::selection {
  background: var(--lime);
  color: var(--forest);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 132px;
}
html.loading,
html.menu-open {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--green);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--forest);
}

:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--forest);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
h2 {
  color: var(--lime-title);
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
  font-weight: 700;
}
h3 {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
h1 em,
h2 em,
.quote em,
.statement em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--forest);
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
p:last-child {
  margin-bottom: 0;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--forest);
  color: #fff;
  border-radius: 10px;
}
.skip:focus {
  top: 12px;
  color: #fff;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

/* ---------- Botones ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 50px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 1rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  transform: translateX(-120%);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:hover::after {
  transform: translateX(120%);
  transition: transform 0.75s ease;
}
.btn--sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 0.92rem;
}
.btn--primary {
  background: var(--sol);
  color: var(--carbon);
  box-shadow: 0 12px 26px -12px rgba(190, 150, 20, 0.7);
}
.btn--primary:hover {
  background: #f0cf58;
  color: var(--carbon);
}
.btn--dark {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(10, 77, 42, 0.75);
}
.btn--dark:hover {
  background: #11402a;
  color: #fff;
}
.btn--sun {
  background: var(--sun);
  color: var(--forest);
  box-shadow: 0 12px 28px -12px rgba(248, 196, 0, 0.8);
}
.btn--sun:hover {
  background: #f6dc6e;
  color: var(--forest);
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--ghost:hover {
  background: #fff;
  color: var(--forest);
}
.btn--outline {
  border-color: var(--forest);
  color: var(--forest);
}
.btn--outline:hover {
  background: var(--forest);
  color: #fff;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 700;
  text-decoration: none;
}
.arr,
.link-arrow::after,
.pillar__go::after {
  content: "";
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: url("/assets/img/flecha.svg") center / contain no-repeat;
  mask: url("/assets/img/flecha.svg") center / contain no-repeat;
}
.link-arrow::after {
  transition: transform 0.2s ease;
}
.link-arrow:hover::after {
  transform: translateX(5px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 700;
}
.band .eyebrow,
.mv__card--mission .eyebrow,
.footer .eyebrow {
  color: var(--luz);
}
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--forest);
}

/* ==========================================================
   Precarga con el logo (siempre al abrir o recargar)
   ========================================================== */
.loader {
  display: none;
}
.js .loader {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  background: var(--cream);
  transition: transform 0.95s cubic-bezier(0.76, 0, 0.24, 1);
  animation: loader-failsafe 0.01s 4.6s forwards;
}
.no-loader .loader,
.loader[hidden] {
  display: none;
}
/* Borde curvo que sigue al telón mientras sube, como un amanecer. */
.loader::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16vh;
  background: var(--cream);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.loader.is-leaving {
  transform: translateY(calc(-100% - 16vh));
}
.loader__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(78vmin, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(246, 220, 110, 0.18);
  transform: translate(-50%, -20%) scale(0.2);
  opacity: 0;
  animation: glow-rise 1.7s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.loader__inner {
  position: relative;
  display: grid;
  justify-items: center;
}
.loader__logo {
  width: min(60vw, 340px);
}
.loader__img {
  width: 100%;
  height: auto;
  animation: logo-reveal 1.25s 0.3s cubic-bezier(0.65, 0, 0.2, 1) both;
}
.loader__bar {
  width: min(44vw, 170px);
  height: 3px;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(10, 77, 42, 0.12);
}
.loader__bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--agro);
  transform-origin: left;
  animation: bar-fill 1.7s 0.15s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes logo-reveal {
  from {
    clip-path: inset(0 100% 0 0);
    transform: translateY(14px) scale(0.97);
  }
  to {
    clip-path: inset(-4% -2% -4% -2%);
    transform: none;
  }
}
@keyframes glow-rise {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes bar-fill {
  from {
    transform: scaleX(0);
  }
}
@keyframes loader-failsafe {
  to {
    visibility: hidden;
    pointer-events: none;
  }
}
/* Mientras la precarga está arriba, la página espera para animarse. */
.loading main *,
.loading main *::before,
.loading main *::after {
  animation-play-state: paused !important;
}

/* ==========================================================
   Aviso de campaña y cabecera
   ========================================================== */
.announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px var(--gutter);
  background: var(--lime);
  color: var(--forest);
  font-size: 0.86rem;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}
.announce:hover {
  color: var(--forest);
}
.announce__tag {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--luz);
  font-size: 0.85rem;
  font-weight: 700;
  animation: pulse 2.4s ease-in-out infinite;
}
.announce__arrow {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.25s ease;
}
.announce:hover .announce__arrow {
  transform: translateX(5px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
}
.header {
  position: relative;
  padding-top: 8px;
}
.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 6px 8px 6px 22px;
  border-radius: 999px;
}
/* El fondo difuminado vive en un pseudo-elemento para no romper el menú móvil. */
.header__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(10, 77, 42, 0.08);
  backdrop-filter: saturate(1.5) blur(16px);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.header.is-stuck .header__inner::before {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px -20px rgba(43, 36, 32, 0.5);
}

.brand {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand__logo {
  display: block;
  flex: none;
  width: auto;
  max-width: none;
  height: 40px;
  aspect-ratio: 1172 / 290;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__login,
.nav__cta {
  white-space: nowrap;
}
.nav__list a {
  font-size: 0.94rem;
}
.nav__extra {
  display: none;
}
.nav__list {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list a {
  position: relative;
  display: block;
  white-space: nowrap;
  padding: 8px clamp(5px, 0.52vw, 11px);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--leaf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav__list a:hover {
  color: var(--forest);
}
.nav__list a:hover::after {
  transform: scaleX(1);
}
.nav__list a[aria-current="page"] {
  background: var(--forest);
  color: #fff;
}
.nav__list a[aria-current="page"]::after {
  display: none;
}

.menu-toggle {
  position: relative;
  z-index: 3;
  display: none;
  flex: none;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--forest);
  cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, background-color 0.2s ease;
}
.menu-toggle__bars {
  position: relative;
}
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle__bars::before {
  top: -6px;
}
.menu-toggle__bars::after {
  top: 6px;
}
.menu-toggle[aria-expanded="true"] {
  background: var(--lime);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
  background: transparent;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before,
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
  background: var(--forest);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1180px) {
  .nav__extra {
    display: list-item;
  }
  .menu-toggle {
    display: block;
  }
  .header__inner {
    flex-wrap: wrap;
  }
  .nav {
    flex-direction: column;
    align-items: stretch;
    flex-basis: 100%;
  }
  .nav__list {
    flex-direction: column;
  }
  /* Con JavaScript el menú es una pantalla completa; sin él, queda en línea. */
  .js .nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    justify-content: flex-start;
    gap: 28px;
    padding: 156px var(--gutter) 40px;
    overflow-y: auto;
    background: var(--forest);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0.3s;
  }
  .js .nav:not(.is-open) {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
  }
  .js .nav__list {
    gap: 0;
  }
  .js .nav__list a {
    padding: 16px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    color: #fff;
    font-size: clamp(1.4rem, 5.6vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  .js .nav__list a::after {
    display: none;
  }
  .js .nav__list a[aria-current="page"] {
    background: transparent;
    color: var(--luz);
  }
  .js .nav__login {
    min-height: 58px;
    border-color: rgba(255, 255, 255, 0.55);
    background: transparent;
    color: #fff;
    font-size: 1.05rem;
  }
  .js .nav__cta {
    min-height: 58px;
    background: var(--sol);
    color: var(--carbon);
    font-size: 1.05rem;
  }
  .js .nav.is-open .nav__list li {
    animation: rise 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  }
  .js .nav.is-open .nav__list li:nth-child(2) { animation-delay: 0.05s; }
  .js .nav.is-open .nav__list li:nth-child(3) { animation-delay: 0.1s; }
  .js .nav.is-open .nav__list li:nth-child(4) { animation-delay: 0.15s; }
  .js .nav.is-open .nav__list li:nth-child(5) { animation-delay: 0.2s; }
  .js .nav.is-open .nav__list li:nth-child(6) { animation-delay: 0.25s; }
  .menu-open .brand__logo {
    filter: brightness(0) invert(1);
  }
}

/* ==========================================================
   Portada: foto de la finca con el lema, vida y puntos de interés
   ========================================================== */
.hero {
  padding: 12px 0 0;
}
.hero__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100% - 2 * clamp(10px, 2vw, 24px), 1440px);
  height: clamp(470px, calc(100svh - 190px), 620px);
  margin-inline: auto;
  border-radius: clamp(28px, 4vw, 52px);
  background: #11402a;
  color: #fff;
}
/* El escenario lleva foto, destellos, aves y puntos: todo se mueve junto. */
.hero__stage {
  position: absolute;
  inset: 0;
  container-type: size;
  --iw: max(100cqw * 1.28, 100cqh * 1.7767);
  --ih: calc(var(--iw) / 1.7767);
  --px: 0;
  --py: 0.8;
  transform-origin: 56% 60%;
  translate: calc(var(--mx, 0) * -12px) calc(var(--p, 0) * 0.08px);
  animation: kenburns 26s ease-in-out infinite alternate;
}
.hero__img {
  position: absolute;
  width: var(--iw);
  height: var(--ih);
  max-width: none;
  left: calc((100cqw - var(--iw)) * var(--px));
  top: calc((100cqh - var(--ih)) * var(--py));
}
@keyframes kenburns {
  from {
    scale: 1.04;
  }
  to {
    scale: 1.11;
  }
}
/* Posición de un punto de la foto (tx, ty entre 0 y 1) respetando el recorte. */
.spot,
.glint {
  position: absolute;
  left: calc(var(--tx) * var(--iw) + (100cqw - var(--iw)) * var(--px));
  top: calc(var(--ty) * var(--ih) + (100cqh - var(--ih)) * var(--py));
}
.spot--house {
  --tx: 0.42;
  --ty: 0.55;
}
.spot--pond {
  --tx: 0.76;
  --ty: 0.47;
}
.spot--crop {
  --tx: 0.68;
  --ty: 0.84;
}
.spot {
  z-index: 3;
  width: 0;
  height: 0;
}
.spot__btn {
  position: absolute;
  left: -17px;
  top: -17px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(10, 77, 42, 0.75);
  cursor: pointer;
}
.spot__btn span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  animation: spot-pulse 2.4s ease-out infinite;
}
@keyframes spot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(215, 223, 35, 0.8);
  }
  100% {
    box-shadow: 0 0 0 18px rgba(215, 223, 35, 0);
  }
}
.spot__tip {
  position: absolute;
  left: -8px;
  bottom: 26px;
  width: max-content;
  max-width: 200px;
  padding: 8px 14px;
  border-radius: 14px;
  background: #fff;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.spot--pond .spot__tip,
.spot--crop .spot__tip {
  left: auto;
  right: -8px;
}
.spot:hover .spot__tip,
.spot.is-open .spot__tip,
.spot__btn:focus-visible + .spot__tip {
  opacity: 1;
  transform: none;
}
.glint {
  z-index: 2;
  width: 54px;
  height: 3px;
  margin: -1px 0 0 -27px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.85);
  --tx: 0.745;
  --ty: 0.445;
  opacity: 0;
  animation: glint 5s ease-in-out infinite;
}
.glint--2 {
  --tx: 0.79;
  --ty: 0.475;
  width: 38px;
  animation-delay: 1.7s;
}
.glint--3 {
  --tx: 0.765;
  --ty: 0.5;
  width: 46px;
  animation-delay: 3.2s;
}
@keyframes glint {
  0%,
  60%,
  100% {
    opacity: 0;
    transform: scaleX(0.3);
  }
  25% {
    opacity: 0.9;
    transform: scaleX(1);
  }
}
.birds {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 14%;
  width: clamp(80px, 10vw, 140px);
  fill: none;
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  animation: bird-fly 24s linear infinite;
}
.birds path {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: f3-flap 0.6s ease-in-out infinite alternate;
}
.birds path:nth-child(2) {
  animation-duration: 0.75s;
  animation-delay: -0.2s;
}
.birds path:nth-child(3) {
  animation-duration: 0.52s;
  animation-delay: -0.35s;
}
@keyframes bird-fly {
  0% {
    transform: translate(-20vw, 10px);
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  62% {
    transform: translate(120vw, -40px);
    opacity: 1;
  }
  63%,
  100% {
    transform: translate(120vw, -40px);
    opacity: 0;
  }
}
/* Velo plano (sin degradado) para que el lema se lea imponente sobre la foto */
.hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(5, 36, 18, 0.26);
  pointer-events: none;
}
.hero__text {
  position: absolute;
  z-index: 4;
  left: clamp(22px, 4vw, 60px);
  bottom: clamp(24px, 4.4vw, 60px);
  width: min(720px, calc(100% - 44px), 47%);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 4.3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow: 0 2px 4px rgba(0, 20, 8, 0.35), 0 4px 28px rgba(0, 20, 8, 0.55);
}
.btn--lg {
  min-height: 56px;
  padding: 0 32px;
  font-size: 1.05rem;
}
.hero .btn-row .btn {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.hero .btn-row .btn:nth-child(1) {
  animation-delay: 1.8s;
}
.hero .btn-row .btn:nth-child(2) {
  animation-delay: 2s;
}
/* sombras de nubes que cruzan despacio y partículas de luz */
.cloud {
  position: absolute;
  z-index: 1;
  top: 8%;
  left: -30%;
  width: 34%;
  height: 26%;
  border-radius: 50%;
  background: rgba(8, 40, 20, 0.32);
  filter: blur(26px);
  animation: cloud-pass 52s linear infinite;
}
.cloud--2 {
  top: 52%;
  width: 28%;
  height: 22%;
  animation-duration: 68s;
  animation-delay: -30s;
}
@keyframes cloud-pass {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(520%);
  }
}
.dust {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.dust i {
  position: absolute;
  bottom: -4%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 220, 0.9);
  opacity: 0;
  animation: dust-rise 14s linear infinite;
}
.dust i:nth-child(1) { left: 8%; animation-delay: 0s; }
.dust i:nth-child(2) { left: 22%; animation-delay: -3s; width: 4px; height: 4px; }
.dust i:nth-child(3) { left: 37%; animation-delay: -6s; }
.dust i:nth-child(4) { left: 51%; animation-delay: -9s; width: 4px; height: 4px; }
.dust i:nth-child(5) { left: 64%; animation-delay: -1.5s; }
.dust i:nth-child(6) { left: 76%; animation-delay: -7.5s; width: 5px; height: 5px; }
.dust i:nth-child(7) { left: 88%; animation-delay: -4.5s; }
.dust i:nth-child(8) { left: 95%; animation-delay: -11s; width: 4px; height: 4px; }
@keyframes dust-rise {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  12% {
    opacity: 0.85;
  }
  100% {
    transform: translate(40px, -460px);
    opacity: 0;
  }
}
.motion .spot {
  animation: pop 0.7s cubic-bezier(0.2, 1.3, 0.3, 1) backwards;
}
.motion .spot--house { animation-delay: 2.2s; }
.motion .spot--pond { animation-delay: 2.4s; }
.motion .spot--crop { animation-delay: 2.6s; }
.hero h1 em {
  color: var(--luz);
}
.hero .btn-row {
  margin-top: 28px;
}
.hero .scribble path {
  stroke-dashoffset: 1;
  animation: scribble-draw 1.2s 1.7s cubic-bezier(0.6, 0, 0.2, 1) forwards;
}
@keyframes scribble-draw {
  to {
    stroke-dashoffset: 0;
  }
}
.hero__scroll {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(5, 36, 18, 0.28);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}
.hero__scroll svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.motion .hero__scroll {
  animation: rise 0.8s 2.6s ease backwards;
}
.motion .hero__scroll svg {
  animation: scroll-nudge 1.8s ease-in-out 3.4s infinite;
}
.hero__scroll:hover {
  background: var(--lime);
  color: var(--forest);
}
@keyframes scroll-nudge {
  0%,
  100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(4px);
  }
}
.hero__panel .arcs {
  z-index: 3;
  top: -9%;
  left: -1%;
  right: auto;
  bottom: auto;
  width: min(24vw, 280px);
  transform: scaleX(-1);
}
.hero.is-idle .hero__stage,
.hero.is-idle .glint,
.hero.is-idle .birds,
.hero.is-idle .birds path,
.hero.is-idle .spot__btn span {
  animation-play-state: paused;
}
.motion .hero__panel {
  animation: curtain 1.3s 0.1s cubic-bezier(0.65, 0, 0.2, 1) backwards;
}
@media (max-width: 860px) {
  .hero__panel {
    height: clamp(560px, calc(100svh - 120px), 720px);
  }
  .hero .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__stage {
    --iw: calc(100cqh * 1.7767 * 1.15);
    --px: 0.5;
    --py: 1;
  }
  .hero__text {
    width: calc(100% - 36px);
    left: 18px;
    bottom: 44px;
  }
  .hero__scroll {
    display: none;
  }
  .hero .btn-row {
    gap: 12px;
  }
  .hero h1 {
    font-size: clamp(1.9rem, 8.4vw, 2.7rem);
  }
  .spot--pond,
  .spot--crop {
    display: none;
  }
  .hero__panel .arcs {
    width: 42vw;
  }
}

/* ---------- Cabecera de páginas internas ---------- */
.page-hero {
  padding: 12px 0 0;
}
.page-hero__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100% - 2 * clamp(10px, 2vw, 24px), 1440px);
  margin-inline: auto;
  padding: clamp(36px, 6.5vh, 76px) 0 clamp(44px, 8vh, 96px);
  border-radius: clamp(28px, 4vw, 52px);
  background: var(--lime);
  color: var(--forest);
}
.page-hero__panel::before,
.page-hero__panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}
.page-hero__panel::before {
  right: -12%;
  top: -55%;
  width: min(70vw, 760px);
  aspect-ratio: 1;
  border: clamp(40px, 7vw, 90px) solid rgba(255, 255, 255, 0.34);
}
.page-hero__panel::after {
  right: 6%;
  bottom: -70%;
  width: min(56vw, 560px);
  aspect-ratio: 1;
  background: rgba(10, 77, 42, 0.07);
}
.page-hero h1 {
  max-width: 17ch;
  color: var(--forest);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-size: clamp(2.1rem, min(4.6vw, 7.4svh), 3.6rem);
}
.page-hero h1 em {
  color: var(--green-deep);
}
.page-hero__lead {
  max-width: 600px;
  margin-top: 16px;
  color: #1c3a22;
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
}
.page-hero .btn-row {
  margin-top: 24px;
}
.page-hero--campaign .page-hero__panel {
  background: var(--lime);
}

/* ==========================================================
   Secciones
   ========================================================== */
.section {
  padding: clamp(42px, 5.4vw, 80px) 0;
}
.section--tight {
  padding-bottom: 0;
}
.section--paper {
  background: var(--paper);
}
.section--sand,
.section--mist {
  background: var(--mist);
}
.section__head {
  max-width: 760px;
  margin-bottom: clamp(24px, 3.4vw, 44px);
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.section__head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.12rem;
}
.lead {
  color: var(--muted);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
}
.prose {
  max-width: 68ch;
}
.prose h2 {
  margin: 1.6em 0 0.5em;
  font-size: 1.5rem;
}
.prose h2:first-child {
  margin-top: 0;
}

.statement {
  max-width: 26ch;
  margin: 0;
  color: var(--forest);
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}
.split--top {
  align-items: start;
}
.split h2 + p,
.split h2 + .lead {
  margin-top: 22px;
}
.split .btn-row,
.split .link-arrow {
  margin-top: 30px;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--flip > :first-child {
    order: 2;
  }
}

/* ---------- Fotografías e ilustraciones ---------- */
.photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--mist);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.photo:hover img {
  transform: scale(1.04);
}
.photo--square {
  aspect-ratio: 1;
}
.photo--portrait {
  aspect-ratio: 4 / 5;
  max-width: 340px;
}
.photo--banner {
  aspect-ratio: 2 / 1;
}
.photo--left img {
  object-position: 30% center;
}

.scene {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--panela);
  box-shadow: var(--shadow);
}
.scene svg {
  width: 100%;
  height: auto;
}
.scene--arch {
  border-radius: 999px 999px var(--radius) var(--radius);
}

.framed {
  position: relative;
  isolation: isolate;
}
.framed::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -28px;
  top: -28px;
  width: 46%;
  aspect-ratio: 1;
  border: 22px solid var(--lime);
  border-radius: 50%;
  opacity: 0.55;
}
.framed--sun::before {
  right: auto;
  left: -28px;
  top: auto;
  bottom: -28px;
  border: 0;
  background: var(--sun);
  opacity: 0.8;
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.duo .photo:last-child {
  margin-top: 40px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.gallery .photo:nth-child(2) {
  margin-top: 36px;
}
@media (max-width: 760px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery .photo:nth-child(2) {
    margin-top: 0;
  }
  .framed::before {
    right: -12px;
    top: -18px;
  }
  .framed--sun::before {
    left: -12px;
    bottom: -18px;
  }
}

/* ---------- Tarjetas ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cards--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.section--paper .card {
  background: var(--cream);
}
.card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow);
}
.card p {
  color: var(--muted);
  font-size: 1rem;
}
.card .link-arrow {
  margin-top: auto;
  padding-top: 8px;
}
.card .link-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.card__label {
  margin: 0;
  color: var(--leaf);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 500;
}
.card__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 8px;
  border-radius: 22px;
  background: var(--agro);
  color: #fff;
}
.card__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card--sun .card__icon {
  background: var(--sol);
  color: var(--forest);
}
.card--forest .card__icon {
  background: var(--forest);
}

/* ---------- Pilares (bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.pillar {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  grid-column: span 2;
  min-height: 208px;
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar:nth-child(1) {
  grid-column: span 4;
}
.pillar:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  color: inherit;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pillar:hover::before {
  opacity: 1;
}
.pillar__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 1;
}
.pillar h3 {
  color: inherit;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}
.pillar p {
  margin: 0;
  max-width: 46ch;
  font-size: 1rem;
  opacity: 0.88;
}
.pillar__go {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.92rem;
}
.pillar__go::after {
  margin-left: 0.35em;
  vertical-align: -0.12em;
  transition: transform 0.2s ease;
}
.pillar:hover .pillar__go::after {
  transform: translateX(5px);
}
.pillar--forest {
  background: var(--forest);
  color: #fff;
}
.pillar--forest .pillar__num {
  color: var(--luz);
}
.pillar--lime {
  background: var(--lime);
  color: var(--forest);
}
.pillar--paper {
  background: var(--paper);
  border: 1px solid var(--line);
}
.pillar--paper .pillar__num {
  color: var(--leaf);
}
.pillar--sun {
  background: var(--sun-soft);
  color: var(--forest);
}
.pillar--green {
  background: var(--green);
  color: #fff;
}
.pillar--green .pillar__num {
  color: var(--luz);
}
@media (max-width: 900px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pillar,
  .pillar:nth-child(1) {
    grid-column: span 1;
  }
  .pillar:nth-child(1) {
    grid-column: span 2;
  }
}
@media (max-width: 600px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .pillar,
  .pillar:nth-child(1) {
    grid-column: span 1;
    min-height: 0;
  }
}

/* ---------- Frentes de acción ---------- */
.frentes {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.frente {
  display: grid;
  grid-template-columns: minmax(2.4ch, auto) minmax(0, 1fr);
  gap: clamp(18px, 3.5vw, 48px);
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.frente:hover {
  padding-left: 14px;
}
.frente__num {
  color: var(--leaf);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
}
.frente h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
}
.frente p {
  margin-top: 8px;
  max-width: 62ch;
  color: var(--muted);
}

/* ---------- Misión y visión ---------- */
.mv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.mv__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 3.2vw, 38px);
  border-radius: var(--radius);
}
.mv__card::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -110px;
  width: 300px;
  aspect-ratio: 1;
  border: 46px solid currentColor;
  border-radius: 50%;
  opacity: 0.08;
}
.mv__card h2 {
  margin-bottom: 22px;
  color: inherit;
}
.mv__card p {
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}
.mv__card--mission {
  background: var(--forest);
  color: #fff;
}
.mv__card--mission h2 em {
  color: var(--luz);
}
.mv__card--mission p {
  color: rgba(255, 255, 255, 0.92);
}
.mv__card--vision {
  background: var(--lime);
  color: var(--forest);
}
.mv__card--vision h2 em {
  color: var(--green);
}
.mv__card--vision .eyebrow {
  color: var(--forest);
}
@media (max-width: 860px) {
  .mv {
    grid-template-columns: 1fr;
  }
}

/* ---------- Tres columnas ---------- */
.cols3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}
.col {
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.col h3 {
  margin-bottom: 4px;
  font-size: 1.3rem;
}
.col .checks {
  margin-top: 20px;
}

/* ---------- Pilares en detalle ---------- */
.prow {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: clamp(28px, 6vw, 96px);
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
}
.prow:first-child {
  padding-top: 0;
  border-top: 0;
}
.prow__head {
  align-self: start;
}
.prow__num {
  display: block;
  color: var(--luz);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(4.5rem, 11vw, 8.5rem);
  font-weight: 500;
  line-height: 0.9;
}
.prow__head h2 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}
.prow__body .lead {
  margin-bottom: 8px;
}
.prow__body .checks {
  margin-top: 22px;
}
.prow__body .link-arrow {
  margin-top: 24px;
}
.result {
  display: block;
  margin-top: 30px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  background: var(--mist);
  color: var(--forest);
  font-weight: 700;
}
.result small {
  display: block;
  margin-bottom: 4px;
  color: var(--leaf);
  font-size: 0.87rem;
  font-weight: 700;
}
@media (min-width: 861px) {
  .prow__head {
    position: sticky;
    top: 120px;
  }
}
@media (max-width: 860px) {
  .prow {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* ---------- Valores ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.values li {
  padding: 30px 24px 30px 0;
  border-bottom: 1px solid var(--line);
}
.values__num {
  display: block;
  margin-bottom: 10px;
  color: var(--leaf);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1;
}
.values p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 1rem;
}
.values--big .values__num {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

/* ---------- Ruta ---------- */
.route {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: route;
}
h2 + .route,
h2 + .checks {
  margin-top: 32px;
}
.route li {
  position: relative;
  padding: 0 0 36px 68px;
  counter-increment: route;
}
.route li:last-child {
  padding-bottom: 0;
}
.route li::before {
  content: counter(route);
  position: absolute;
  left: 0;
  top: -4px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--lime);
  font-weight: 700;
}
.route li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: 2px;
  width: 2px;
  background: repeating-linear-gradient(var(--lime) 0 6px, transparent 6px 12px);
}
.route p {
  margin-top: 6px;
  color: var(--muted);
}

/* ---------- Listas con hoja ---------- */
.checks {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.checks li {
  position: relative;
  padding-left: 34px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 0 60% 0 60%;
  background: var(--brote);
}

/* ---------- Franjas verdes, lema y cierre ---------- */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--forest);
  color: #fff;
}
.band::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -8%;
  top: -40%;
  width: min(60vw, 620px);
  aspect-ratio: 1;
  border: clamp(36px, 6vw, 80px) solid rgba(185, 214, 43, 0.12);
  border-radius: 50%;
}
.band a:not(.btn),
.mv__card--mission a:not(.btn) {
  color: var(--luz);
}
.band a:not(.btn):hover,
.mv__card--mission a:not(.btn):hover {
  color: #fff;
}
.band h2,
.band h3 {
  color: #fff;
}
.band h2 em {
  color: var(--luz);
}
.band p {
  color: rgba(255, 255, 255, 0.86);
}
.band .values,
.band .values li {
  border-color: rgba(255, 255, 255, 0.18);
}
.band .values__num {
  color: var(--luz);
}

.quote {
  margin: 0;
  text-align: center;
}
.quote p {
  max-width: 20ch;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.quote em {
  color: var(--luz);
}
.quote footer {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.00rem;
  font-weight: 500;
}

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: clamp(24px, 3.6vw, 44px);
  border-radius: clamp(24px, 3.2vw, 38px);
  background: var(--lime);
  color: var(--forest);
}
.cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -160px;
  width: 380px;
  aspect-ratio: 1;
  border: 56px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}
.cta h2 {
  max-width: 18ch;
  color: var(--forest);
}
.cta .btn--primary {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(10, 77, 42, 0.75);
}
.cta .btn--primary:hover {
  background: #11402a;
  color: #fff;
}
.cta p {
  max-width: 48ch;
  margin-top: 14px;
  color: #11402a;
  font-weight: 500;
}
@media (max-width: 760px) {
  .cta {
    grid-template-columns: 1fr;
  }
}

/* ---------- Preguntas ---------- */
.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  color: var(--forest);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--leaf);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 24px 22px;
  color: var(--muted);
}

/* ==========================================================
   Campaña Sembrando Bienestar
   ========================================================== */
.campaign {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: clamp(28px, 4vw, 52px);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.campaign h2 {
  color: #1b723e;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
.campaign h2 em {
  color: var(--forest);
}
.campaign .lead {
  margin-top: 18px;
}
.campaign .btn-row {
  margin-top: 28px;
}
.campaign__art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 26px;
  margin-right: calc(-1 * clamp(32px, 5vw, 64px));
}
.campaign__stripe {
  display: block;
  height: 34px;
  border-radius: 999px 0 0 999px;
  background: var(--lime);
  transform-origin: right;
}
.campaign__stripe:nth-child(1) {
  width: 92%;
}
.campaign__stripe:nth-child(2) {
  width: 78%;
  background: var(--leaf);
}
.campaign__stripe:nth-child(3) {
  width: 60%;
  background: var(--green);
}
.campaign__tag {
  margin: 8px clamp(32px, 5vw, 64px) 0 0;
  color: var(--muted);
  font-weight: 500;
}
@media (max-width: 760px) {
  .campaign {
    grid-template-columns: 1fr;
  }
  .campaign__art {
    gap: 14px;
  }
  .campaign__stripe {
    height: 20px;
  }
}

.regrow {
  background: #f6ecc9;
}
.regrow__green {
  clip-path: inset(0 0 0 0);
}

.notice {
  max-width: 820px;
  margin: 0 0 24px;
  padding: 16px 20px;
  border: 2px dashed #c98a1b;
  border-radius: var(--radius-sm);
  background: #fff6dc;
  color: #6b4706;
}
.donate {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  max-width: 920px;
}
.donate__card--qr {
  grid-column: 1 / -1;
}
.donate__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--paper);
  border-top: 8px solid var(--lime);
  box-shadow: var(--shadow);
}
.donate__direct {
  max-width: 820px;
  margin: 0 0 28px;
  color: var(--forest);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}
.donate__card--qr {
  flex-direction: row;
  align-items: center;
  gap: 24px;
  border-top-color: var(--forest);
}
.donate__qr {
  flex: none;
  width: min(44vw, 200px);
  height: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}
@media (max-width: 520px) {
  .donate__card--qr {
    flex-direction: column;
    align-items: flex-start;
  }
}
.donate__card p {
  margin: 0;
}
.donate__bank {
  color: var(--forest);
  font-size: 1.3rem;
  font-weight: 700;
}
.donate__type,
.donate__holder {
  color: var(--muted);
  font-size: 0.95rem;
}
.donate__number {
  margin: 10px 0 2px !important;
  color: var(--ink);
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.donate__card .btn {
  margin-top: 18px;
}
.donate__tips {
  max-width: 820px;
  margin-top: 32px;
  color: var(--muted);
}

/* ==========================================================
   Contacto
   ========================================================== */
.channels {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.channel {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.channel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.channel__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--sun);
}
.channel__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.channel strong {
  display: block;
  color: var(--forest);
}
.channel span {
  color: var(--muted);
  font-size: 0.95rem;
}

.form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.form h2 {
  font-size: 1.6rem;
}
.field {
  display: grid;
  gap: 8px;
}
.field label {
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 700;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--leaf);
  box-shadow: 0 0 0 4px rgba(47, 155, 58, 0.18);
}
.form__note {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ==========================================================
   Pie y 404
   ========================================================== */
.footer {
  margin-top: clamp(28px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.82);
}
.footer__hills {
  width: 100%;
  height: clamp(60px, 9vw, 120px);
  margin-bottom: -1px;
}
.footer__body {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 32px 0 24px;
  background: var(--forest);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 40px;
}
.footer .brand__logo {
  height: 40px;
}
.footer__slogan {
  max-width: 26ch;
  margin: 22px 0 14px;
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.3;
}
.footer__legal {
  max-width: 38ch;
  font-size: 0.88rem;
}
.footer__title {
  margin-bottom: 16px;
  color: var(--luz);
  font-size: 0.94rem;
  font-weight: 700;
}
.footer__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.98rem;
}
.footer a {
  color: #fff;
  text-decoration: none;
}
.footer a:hover {
  color: var(--luz);
  text-decoration: underline;
}
.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.86rem;
}
.footer__bottom p {
  margin: 0;
}
@media (max-width: 820px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.notfound {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: clamp(72px, 12vw, 160px) 0;
  text-align: center;
}
.notfound__logo {
  width: min(70vw, 320px);
  height: auto;
}

/* ==========================================================
   Animaciones
   Los estados ocultos solo existen bajo .motion (JS activo),
   así el contenido nunca se pierde si el script no carga.
   ========================================================== */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}
@keyframes curtain {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(-80px);
  }
}
@keyframes settle {
  from {
    transform: scale(1.2);
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}
@keyframes draw-line {
  from {
    transform: scaleY(0);
  }
}
@keyframes light-up {
  from {
    background: var(--mist);
    color: transparent;
    transform: scale(0.6);
  }
}
@keyframes word-in {
  from {
    opacity: 0;
    transform: translateY(0.55em) rotate(3deg);
  }
}
@keyframes stripe-in {
  from {
    transform: scaleX(0);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(248, 196, 0, 0.75);
  }
  70%,
  100% {
    box-shadow: 0 0 0 9px rgba(248, 196, 0, 0);
  }
}

/* Titulares: palabra por palabra */
.word {
  display: inline-block;
  transform-origin: left bottom;
  animation: word-in 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.word.d1 { animation-delay: 0.08s; }
.word.d2 { animation-delay: 0.16s; }
.word.d3 { animation-delay: 0.24s; }
.word.d4 { animation-delay: 0.32s; }
.word.d5 { animation-delay: 0.40s; }
.word.d6 { animation-delay: 0.48s; }
.word.d7 { animation-delay: 0.56s; }
.word.d8 { animation-delay: 0.64s; }
.word.d9 { animation-delay: 0.72s; }
.word.d10 { animation-delay: 0.80s; }
.word.d11 { animation-delay: 0.88s; }
.word.d12 { animation-delay: 0.96s; }
.word.d13 { animation-delay: 1.04s; }
.word.d14 { animation-delay: 1.12s; }
.hero .eyebrow,
.page-hero .eyebrow {
  animation: rise 0.7s ease backwards;
}
.hero__lead,
.page-hero__lead {
  animation: rise 0.8s 0.45s ease backwards;
}
.hero .btn-row,
.page-hero .btn-row,
.hero__campaign {
  animation: rise 0.8s 0.6s ease backwards;
}

/* Aparición al bajar, escalonada entre hermanos */
.motion [data-reveal] {
  opacity: 0;
}
.motion [data-reveal].is-visible {
  opacity: 1;
  animation: rise 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  animation-delay: var(--d, 0s);
}
.cards > :nth-child(2),
.values > :nth-child(2),
.gallery > :nth-child(2),
.bento > :nth-child(2),
.split > :nth-child(2) {
  --d: 0.1s;
}
.cards > :nth-child(3),
.values > :nth-child(3),
.gallery > :nth-child(3),
.bento > :nth-child(3) {
  --d: 0.2s;
}
.cards > :nth-child(4),
.values > :nth-child(4),
.bento > :nth-child(4) {
  --d: 0.3s;
}
.bento > :nth-child(5) {
  --d: 0.4s;
}

/* Fotos: se descubren como una cortina y la imagen se asienta */
.motion .photo[data-reveal].is-visible,
.motion [data-reveal].is-visible .photo {
  animation: curtain 1.15s cubic-bezier(0.65, 0, 0.2, 1) backwards;
  animation-delay: var(--d, 0s);
}
.motion .photo[data-reveal].is-visible img,
.motion [data-reveal].is-visible .photo img {
  animation: settle 1.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  animation-delay: var(--d, 0s);
}
.motion .duo.is-visible .photo:last-child,
.motion .duo.is-visible .photo:last-child img {
  animation-delay: 0.18s;
}
.motion .framed[data-reveal].is-visible {
  animation-name: none;
}
.motion .framed.is-visible::before {
  animation: pop 0.9s 0.45s cubic-bezier(0.2, 1.2, 0.3, 1) backwards;
}

/* La ruta: la línea se traza y cada número se enciende */
.route li:nth-child(1) { --n: 0s; }
.route li:nth-child(2) { --n: 0.35s; }
.route li:nth-child(3) { --n: 0.7s; }
.route li:nth-child(4) { --n: 1.05s; }
.route li:nth-child(5) { --n: 1.4s; }
.motion .route li {
  opacity: 0;
}
.motion .route.is-visible li {
  opacity: 1;
  animation: rise 0.6s var(--n) ease backwards;
}
.motion .route.is-visible li::before {
  animation: light-up 0.5s var(--n) cubic-bezier(0.2, 1.3, 0.3, 1) backwards;
}
.route li::after {
  transform-origin: top;
}
.motion .route.is-visible li::after {
  animation: draw-line 0.5s calc(var(--n) + 0.3s) ease-out backwards;
}

/* Lema: trazo a mano bajo "con el corazón" */
.scribbled {
  position: relative;
  display: inline-block;
}
.scribble {
  position: absolute;
  left: 0;
  bottom: -0.16em;
  width: 100%;
  height: 0.3em;
  overflow: visible;
}
.scribble path {
  fill: none;
  stroke: var(--sun);
  stroke-width: 3.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.motion .scribble path {
  stroke-dashoffset: 1;
}
.motion .quote.is-visible .scribble path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.2s 0.6s cubic-bezier(0.6, 0, 0.2, 1);
}

/* Campaña: franjas que entran y campo que reverdece */
.motion .campaign.is-visible .campaign__stripe {
  animation: stripe-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.motion .campaign.is-visible .campaign__stripe:nth-child(2) {
  animation-delay: 0.15s;
}
.motion .campaign.is-visible .campaign__stripe:nth-child(3) {
  animation-delay: 0.3s;
}
.motion .regrow .regrow__green {
  clip-path: inset(0 100% 0 0);
}
.motion .regrow.is-visible .regrow__green {
  clip-path: inset(0 0 0 0);
  transition: clip-path 2.6s 0.7s cubic-bezier(0.5, 0, 0.2, 1);
}
.motion .regrow[data-reveal].is-visible {
  animation: rise 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

/* Transición entre páginas (navegadores compatibles) */
@view-transition {
  navigation: auto;
}
.header {
  view-transition-name: site-header;
}
::view-transition-old(root) {
  animation: page-out 0.22s ease both;
}
::view-transition-new(root) {
  animation: page-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes page-out {
  to {
    opacity: 0;
  }
}
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}


/* ==========================================================
   Íconos de la marca (vectores propios, 3 colores) y arcos
   ========================================================== */
.ico {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ico-tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 72px;
  height: 72px;
  padding: 8px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(43, 36, 32, 0.06), 0 12px 26px -14px rgba(43, 36, 32, 0.4);
  transition: transform 0.3s cubic-bezier(0.2, 1.2, 0.3, 1);
}
.ico-tile--lg {
  width: 96px;
  height: 96px;
  padding: 10px;
  border-radius: 30px;
}
.ico-tile--sm {
  width: 60px;
  height: 60px;
  padding: 6px;
  border-radius: 20px;
}
.ico-tile--xs {
  width: 38px;
  height: 38px;
  padding: 5px;
  border-radius: 12px;
  box-shadow: none;
}
.section--paper .ico-tile,
.values .ico-tile {
  background: var(--cream);
  box-shadow: none;
  border: 1px solid var(--line);
}
.pillar:hover .ico-tile,
.card:hover .card__icon,
.frente:hover .ico-tile,
.values li:hover .ico-tile {
  transform: translateY(-4px) rotate(-4deg);
}

.pillar__top,
.prow__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.prow__top {
  align-items: flex-end;
  justify-content: flex-start;
  gap: 22px;
}
.values .ico-tile {
  margin-bottom: 18px;
}

.frente {
  grid-template-columns: minmax(2.4ch, auto) minmax(0, 1fr) auto;
  align-items: center;
}
.frente > div {
  align-self: center;
}

.card .card__icon,
.card--sun .card__icon,
.card--forest .card__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding: 5px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--cream);
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.2, 1.2, 0.3, 1);
}
.section--paper .card .card__icon {
  background: #fff;
}
.card__icon svg {
  display: none;
}

.hero__campaign-icon {
  padding: 7px;
  background: var(--mist);
}
.hero__campaign-icon svg {
  display: none;
}

.channel .channel__icon {
  width: 64px;
  height: 64px;
  padding: 8px;
  border-radius: 20px;
  background: var(--cream);
  color: inherit;
}
.channel__icon svg {
  display: none;
}

.footer__item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.footer__item .ico-tile {
  background: #fff;
}

/* Arcos de la marca como fondo decorativo */
.page-hero__panel::before,
.page-hero__panel::after {
  display: none;
}
.cta::after {
  right: -24px;
  bottom: -30px;
  width: min(46vw, 400px);
  aspect-ratio: 1847 / 1231;
  border: 0;
  border-radius: 0;
  background: url("/assets/img/arcos.svg") no-repeat center / contain;
  opacity: 0.9;
}
@media (max-width: 700px) {
  .page-hero__panel {
    padding-bottom: 150px;
  }

  .ico-tile--lg {
    width: 92px;
    height: 92px;
    padding: 10px;
    border-radius: 28px;
  }
  .frente {
    grid-template-columns: minmax(2ch, auto) minmax(0, 1fr);
  }
  .frente > .ico-tile {
    display: none;
  }
}


/* ==========================================================
   Arcos de la marca animados (encabezados de las páginas)
   ========================================================== */
.arcs {
  position: absolute;
  z-index: -1;
  right: -1%;
  bottom: -22%;
  width: min(38vw, 470px);
  height: auto;
  overflow: visible;
  pointer-events: none;
}
.arcs mask path {
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1;
  animation: arc-draw 1.15s cubic-bezier(0.65, 0, 0.2, 1) both;
}
.arcs .arc--1 { animation-delay: 0.15s; }
.arcs .arc--2 { animation-delay: 0.3s; }
.arcs .arc--3 { animation-delay: 0.45s; }
.arcs .arc--4 { animation-delay: 0.6s; }
.arcs .arc--5 { animation-delay: 0.75s; }
.arcs .arc--6 { animation-delay: 0.9s; }
.arcs .arc--7 { animation-delay: 1.05s; }
@keyframes arc-draw {
  0% {
    stroke-dashoffset: 1;
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}
@media (max-width: 700px) {
  .arcs {
    right: -6%;
    bottom: -14%;
    width: 84vw;
  }
}

/* ==========================================================
   Actualización: cinta fija, números de marca, viñetas, tarjetas
   bancarias, QR compacto, aviso de donación y fichas de íconos
   ========================================================== */
.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- Cinta de campaña fija junto al menú ---------- */
.announce {
  padding: 7px var(--gutter);
}
.announce__text {
  display: inline;
}
@media (max-width: 700px) {
  .announce__long {
    display: none;
  }
  .announce {
    padding: 7px 14px;
    font-size: 0.82rem;
  }
}

/* ---------- Íconos: siempre centrados dentro de su ficha ---------- */
.card .card__icon,
.card--sun .card__icon,
.card--forest .card__icon,
.ico-tile,
.channel .channel__icon,
.nudge__icon,
.hero__campaign-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ico {
  flex: none;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

/* ---------- Números: Branding Black (cifra destacada del manual de marca), sin degradados ---------- */
.pillar__num,
.prow__num,
.frente__num,
.values__num,
.route__n,
.tear__num {
  font-style: normal;
  font-weight: 900;
  font-variant-numeric: lining-nums;
  letter-spacing: -0.02em;
}
.pillar__top .pillar__num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 18px -10px rgba(43, 36, 32, 0.5);
  color: var(--agro);
  font-size: 1.45rem;
  line-height: 1;
}
.prow__num {
  display: block;
}
.frente__num {
  display: block;
  color: var(--agro);
}
.values__num {
  display: block;
  margin-bottom: 14px;
  color: var(--agro);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  line-height: 1;
}
.values--big .values__num {
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
}
/* Si es una palabra y no una cifra, va en Bold (título), no en Black. */
.values--big .values__num--text,
.values__num--text {
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.route__n {
  position: absolute;
  left: 0;
  top: -6px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 16px -10px rgba(43, 36, 32, 0.5);
  color: var(--agro);
  font-size: 1.25rem;
  line-height: 1;
}
.route li::before {
  content: none;
}
.route li:not(:last-child)::after {
  left: 22px;
  top: 46px;
}
.motion .route.is-visible .route__n {
  animation: pop 0.55s var(--n) cubic-bezier(0.2, 1.3, 0.3, 1) backwards;
}

/* ---------- Viñetas: círculo lima con marca (sin hojas) ---------- */
.checks li::before {
  top: 0.18em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lime);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: calc(0.18em + 5.5px);
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: rotate(-45deg);
}

/* ---------- Tarjetas en columnas ---------- */
.cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card > .btn,
.card > .btn-row {
  margin-top: auto;
  align-self: flex-start;
}
.card > .btn-row {
  padding-top: 6px;
}
@media (max-width: 760px) {
  .cards--3 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .cards--2 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Campaña: cifras ---------- */
.section--stats {
  padding: clamp(32px, 4.2vw, 54px) 0;
}
.section--stats .values li {
  padding: 20px 20px 20px 0;
}

/* ---------- Tarjetas bancarias ---------- */
.bank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 170px;
  gap: 16px;
  align-items: stretch;
}
.bank-card {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-height: 186px;
  padding: 18px 20px;
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 22px 40px -22px rgba(10, 40, 25, 0.7);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
  will-change: transform;
}
.bank-card:hover {
  box-shadow: 0 30px 50px -22px rgba(10, 40, 25, 0.8);
}
.bank-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.bank-card:hover::before {
  opacity: 1;
}
.bank-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -14%;
  bottom: -34%;
  width: 70%;
  aspect-ratio: 1847 / 1231;
  background: url("/assets/img/arcos-blanco.svg") no-repeat center / contain;
  opacity: 0.12;
}
.bank-card--bold {
  background: var(--agro);
}
.bank-card--dav {
  background: #c8102e;
}
.bank-card--key {
  background: var(--lime);
  color: var(--forest);
}
.bank-card--key::after {
  filter: brightness(0.3);
  opacity: 0.1;
}
.bank-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.bank-card__bank {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.bank-card__chip {
  width: 34px;
  height: 25px;
  border-radius: 6px;
  background: var(--sol);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.bank-card__type {
  margin: 0;
  font-size: 0.83rem;
  font-weight: 700;
  opacity: 0.85;
}
.bank-card__number {
  margin: 0;
  font-size: clamp(0.95rem, 1.1vw + 0.1rem, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.bank-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.bank-card__holder {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
}
.bank-card__holder span {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  opacity: 0.75;
}
.bank-card__copy {
  flex: none;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  font: 700 0.78rem var(--sans);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.bank-card__copy:hover {
  background: #fff;
  color: var(--forest);
}
.bank-card--key .bank-card__copy {
  border-color: rgba(10, 77, 42, 0.45);
  background: rgba(10, 77, 42, 0.1);
}
.bank-card--key .bank-card__copy:hover {
  background: var(--forest);
  color: #fff;
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: perspective(900px) translateY(34px) rotateX(-22deg) scale(0.94);
  }
}
.motion .bank-card[data-reveal].is-visible {
  animation: card-in 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  animation-delay: var(--d, 0s);
}
.bank-grid > :nth-child(2) {
  --d: 0.12s;
}
.bank-grid > :nth-child(3) {
  --d: 0.24s;
}
.bank-grid > :nth-child(4) {
  --d: 0.36s;
}

/* ---------- QR compacto ---------- */
.qr-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}
.qr-tile__btn {
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: none;
  line-height: 0;
  cursor: zoom-in;
}
.qr-tile__btn img {
  width: 124px;
  height: 124px;
  border-radius: 10px;
}
.qr-tile__title {
  margin: 0;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 700;
}
.qr-tile__more {
  padding: 0;
  border: 0;
  background: none;
  color: var(--green);
  font: 700 0.8rem var(--sans);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.qr-dialog {
  position: fixed;
  max-width: min(92vw, 380px);
  padding: 22px 20px 18px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  text-align: center;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.qr-dialog::backdrop {
  background: rgba(8, 40, 22, 0.6);
  backdrop-filter: blur(4px);
}
.qr-dialog[open] {
  animation: rise 0.35s ease;
}
.qr-dialog img {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto 10px;
}
.qr-dialog p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.qr-dialog__close {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--mist);
  color: var(--forest);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 1080px) {
  .bank-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .qr-tile {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
    gap: 18px;
  }
}
@media (max-width: 640px) {
  .bank-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Aviso para donar (a mitad de página) ---------- */
.nudge {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: min(360px, calc(100vw - 32px));
  padding: 16px 16px 16px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 26px 50px -22px rgba(10, 50, 30, 0.6);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.nudge[hidden] {
  display: none;
}
.nudge.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.nudge.is-open.is-away {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  pointer-events: none;
}
.nudge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--agro);
}
.nudge__icon {
  flex: none;
  width: 54px;
  height: 54px;
  padding: 6px;
  border-radius: 18px;
  background: var(--mist);
}
.nudge__body {
  padding-right: 16px;
}
.nudge__title {
  margin: 0 0 4px;
  color: var(--forest);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
}
.nudge__text {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}
.nudge__close {
  position: absolute;
  right: 8px;
  top: 6px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.nudge__close:hover {
  background: var(--mist);
}
@media (max-width: 560px) {
  .nudge {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
}


/* ==========================================================
   Pie de página: colores planos, tarjeta lima con arcos y
   arcos de fondo visibles también en teléfono
   ========================================================== */
.footer__body {
  background: var(--forest);
}
.footer__marks {
  display: flex;
  gap: 14px;
  margin: 18px 0 0;
}
.footer__marks .ico {
  width: 38px;
  height: 38px;
  opacity: 0.85;
}
.footer__title {
  position: relative;
  padding-bottom: 10px;
}
.footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--lime);
}
.footer a,
.footer a:hover {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.footer a:hover {
  text-decoration-color: var(--lime);
}
.footer__item .ico-tile {
  box-shadow: 0 0 0 2px var(--lime);
}
@media (max-width: 820px) {
    .footer__grid nav .footer__list {
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }
  .footer__grid {
    gap: 26px;
  }
}
@media (max-width: 560px) {
  .footer__bottom {
    flex-direction: column;
    gap: 6px;
  }
}


/* ==========================================================
   Firma del desarrollador: luz fantasma en los tres colores
   ========================================================== */
.dev {
  display: inline-flex;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.dev__l,
.dev__sp {
  display: inline-block;
  color: #fff;
  animation: ghost 4.8s ease-in-out infinite;
}
.dev__sp {
  width: 0.32em;
}
.dev > :nth-child(1) {
  animation-delay: 0.00s;
}
.dev > :nth-child(2) {
  animation-delay: 0.13s;
}
.dev > :nth-child(3) {
  animation-delay: 0.26s;
}
.dev > :nth-child(4) {
  animation-delay: 0.39s;
}
.dev > :nth-child(5) {
  animation-delay: 0.52s;
}
.dev > :nth-child(6) {
  animation-delay: 0.65s;
}
.dev > :nth-child(7) {
  animation-delay: 0.78s;
}
.dev > :nth-child(8) {
  animation-delay: 0.91s;
}
.dev > :nth-child(9) {
  animation-delay: 1.04s;
}
.dev > :nth-child(10) {
  animation-delay: 1.17s;
}
.dev:hover .dev__l {
  animation-duration: 2.2s;
}
@keyframes ghost {
  0%,
  52%,
  100% {
    color: #fff;
    text-shadow: 0 0 0 transparent;
    transform: none;
  }
  10% {
    color: #d5de23;
    text-shadow: -4px 0 10px rgba(212, 224, 51, 0.55), 0 0 12px rgba(212, 224, 51, 0.95), 0 0 26px rgba(212, 224, 51, 0.5);
    transform: translateY(-2px);
  }
  22% {
    color: #8bc43f;
    text-shadow: 0 0 12px rgba(138, 198, 66, 0.95), 0 0 26px rgba(138, 198, 66, 0.5);
    transform: translateY(-1px);
  }
  34% {
    color: #f6dc6e;
    text-shadow: 4px 0 10px rgba(246, 222, 114, 0.55), 0 0 12px rgba(246, 222, 114, 0.95), 0 0 26px rgba(246, 222, 114, 0.5);
    transform: translateY(-2px);
  }
  44% {
    color: #fff;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
    transform: none;
  }
}


/* ---------- Redes sociales en el pie ---------- */
.footer__follow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__soc,
.footer__soc:hover {
  display: inline-flex;
  text-decoration: none;
}
.footer__soc .ico-tile {
  width: 46px;
  height: 46px;
  padding: 5px;
  border-radius: 15px;
  transition: transform 0.25s cubic-bezier(0.2, 1.2, 0.3, 1);
}
.footer__soc:hover .ico-tile,
.footer__soc:focus-visible .ico-tile {
  transform: translateY(-3px) rotate(-4deg);
}

/* ==========================================================
   Bloques en forma de lágrima: muesca arriba a la derecha con
   botón circular, título y recuadro blanco con el texto
   ========================================================== */
.section {
  --bite: var(--cream);
}
.section--paper {
  --bite: var(--paper);
}
.section--mist,
.section--sand {
  --bite: var(--mist);
}
.band {
  --bite: var(--forest);
}
.tear {
  --t: var(--forest);
  --tc: #fff;
  --r: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 20px 20px 20px;
  border-radius: 30px;
  background: var(--t);
  color: var(--tc);
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease;
}
a.tear:hover,
.tear:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 40px -24px rgba(10, 50, 30, 0.55);
  color: var(--tc);
}
.tear--forest {
  --t: var(--forest);
  --tc: #fff;
}
.tear--green {
  --t: #1b723e;
  --tc: #fff;
}
.tear--lime {
  --t: #d5de23;
  --tc: var(--forest);
}
.tear--sun {
  --t: #f6dc6e;
  --tc: var(--forest);
}
.tear--leaf {
  --t: #8bc43f;
  --tc: var(--forest);
}
.tear--cream {
  --t: #fff0da;
  --tc: var(--forest);
}
.tear__bite {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-bottom-left-radius: 30px;
  background: var(--bite);
}
.tear__bite::before,
.tear__bite::after {
  content: "";
  position: absolute;
  width: var(--r);
  height: var(--r);
  background: radial-gradient(circle at 0 100%, transparent var(--r), var(--bite) calc(var(--r) + 0.5px));
}
.tear__bite::before {
  top: 0;
  left: calc(-1 * var(--r));
}
.tear__bite::after {
  top: 100%;
  right: 0;
}
.tear__ico,
.tear__go,
.tear__num {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--t);
  color: var(--tc);
  transition: transform 0.35s cubic-bezier(0.2, 1.2, 0.3, 1);
}
.tear__ico {
  padding: 9px;
  background: #fff;
}
.tear__ico .ico {
  width: 100%;
  height: 100%;
}
.tear__go {
  font-size: 1.3rem;
}
.tear:hover .tear__go {
  transform: rotate(-45deg);
}
.tear:hover .tear__ico,
.tear:hover .tear__num {
  transform: rotate(-8deg) scale(1.05);
}
.tear__num {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--t);
}
.tear__num {
  color: var(--agro);
  font-size: 1.5rem;
  line-height: 1;
}
.tear__title {
  min-height: 62px;
  margin: 0;
  padding-right: 80px;
  display: flex;
  align-items: center;
  color: inherit;
  font-size: 1.2rem;
  line-height: 1.2;
}
.tear__panel {
  margin-top: auto;
  padding: 16px 18px;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
}
.tear__panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.tear__panel p + * {
  margin-top: 14px;
}
.tear__panel .btn,
.tear__panel .btn-row {
  margin-top: 14px;
}
.tear__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 8px 16px;
  border: 1.5px solid var(--forest);
  border-radius: 999px;
  color: var(--forest);
  font-size: 0.88rem;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.tear:hover .tear__cta {
  background: var(--forest);
  color: #fff;
}
.tear .pillar__top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 62px;
}
.tear .pillar__top .pillar__num,
.tear .pillar__top .ico-tile {
  width: 50px;
  height: 50px;
  padding: 6px;
  border-radius: 16px;
  box-shadow: none;
  border: 0;
  background: #fff;
}
.tear .pillar__top .ico-tile {
  transform: none;
}
.tear .pillar__top + .tear__title {
  min-height: 0;
  padding-right: 0;
}

/* cuadrícula de pilares con tarjetas lágrima */
.bento > .tear {
  grid-column: span 2;
  min-height: 0;
}
.bento > .tear:nth-child(1) {
  grid-column: span 4;
}
@media (max-width: 900px) {
  .bento > .tear,
  .bento > .tear:nth-child(1) {
    grid-column: span 1;
  }
  .bento > .tear:nth-child(1) {
    grid-column: span 2;
  }
}
@media (max-width: 600px) {
  .bento > .tear,
  .bento > .tear:nth-child(1) {
    grid-column: span 1;
  }
}
.motion .tear[data-reveal].is-visible {
  animation: rise 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  animation-delay: var(--d, 0s);
}

/* ==========================================================
   Paleta ampliada (con medida), tejido, El corozo y ajustes
   ========================================================== */
:root {
  --orange: #f6dc6e;
  --plum: #a3324a;
  --warm: #fff0da;
}
.btn--donate {
  background: var(--orange);
  color: var(--carbon);
  box-shadow: 0 12px 26px -12px rgba(246, 220, 110, 0.9);
}
.btn--donate:hover {
  background: #f0cf58;
  color: var(--carbon);
}
.eyebrow {
  font-size: 1rem;
  font-weight: 500;
  color: var(--green);
}
.tear__title {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
}
.tear__ico {
  box-shadow: inset 0 0 0 2px var(--t);
}
.photo--wide {
  aspect-ratio: 1080 / 700;
}
.tejido {
  height: 44px;
  background: url("/assets/img/tejido.webp") repeat-x left center / auto 100%;
}
.corozo {
  --bite: var(--warm);
  margin: clamp(30px, 4vw, 56px) 0;
  background: var(--warm);
}
.corozo__inner {
  padding: clamp(36px, 5vw, 64px) 0;
}
.corozo__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.corozo__pics {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  align-items: end;
}
.corozo__pic {
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #eeebd0;
  box-shadow: var(--shadow);
}
.corozo__pic img {
  display: block;
  width: 100%;
  height: auto;
}
.corozo__pic--cup {
  margin-bottom: 26px;
}
.corozo h2 .plum {
  color: var(--plum);
}
.corozo h2 em {
  color: var(--forest);
}
.corozo__quote {
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: clamp(22px, 3.4vw, 40px) clamp(22px, 4vw, 52px);
  border-radius: 30px;
  background: var(--forest);
  text-align: center;
}
.corozo__quote p {
  max-width: 28ch;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
}
.corozo__quote em {
  color: var(--luz);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}
.corozo__cta {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  margin-top: 16px;
  padding: clamp(20px, 3vw, 34px) clamp(20px, 3.4vw, 44px);
  border-radius: 30px;
  background: #8db36a;
  color: var(--forest);
}
.corozo__logo {
  flex: none;
  width: clamp(130px, 17vw, 190px);
  height: auto;
}
.corozo__cta-title {
  margin: 0 0 8px;
  color: var(--forest);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 700;
  line-height: 1.3;
}
.corozo__cta p:not(.corozo__cta-title) {
  margin: 0 0 14px;
  color: #11402a;
}
.footer .brand__logo--v {
  width: min(190px, 56vw);
  height: auto;
}
@media (max-width: 860px) {
  .corozo__grid {
    grid-template-columns: 1fr;
  }
  .corozo__cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Pie: el borde superior son los arcos de la marca ---------- */
.footer__arcs {
  display: block;
  width: 100%;
  height: clamp(74px, 11vw, 160px);
  margin-bottom: -1px;
}
.footer__arcs svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.footer__arcs path {
  fill: none;
  stroke-width: 10px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.footer__arcs path.body {
  stroke: none;
  fill: #11402a;
  vector-effect: none;
}
@media (max-width: 700px) {
  .footer__arcs path {
    stroke-width: 6px;
  }
}


/* ---------- Pie compacto ---------- */
.footer__grid nav .footer__list {
  grid-template-columns: repeat(2, auto);
  justify-content: start;
  column-gap: clamp(24px, 3vw, 44px);
}
@media (min-width: 821px) {
  .footer__grid {
    grid-template-columns: 1.3fr 1.2fr 1.1fr;
  }
}
.footer {
  margin-top: clamp(20px, 3vw, 40px);
}
.footer__body {
  padding: 18px 0 14px;
}
.footer__grid {
  gap: clamp(22px, 3vw, 36px);
}
.footer .brand__logo--v {
  width: min(128px, 38vw);
}
.footer__slogan {
  max-width: 32ch;
  margin: 12px 0 8px;
  font-size: 1.08rem;
  line-height: 1.3;
}
.footer__legal {
  font-size: 0.8rem;
  line-height: 1.5;
}
.footer__marks {
  margin: 12px 0 0;
}
.footer__marks .ico {
  width: 30px;
  height: 30px;
}
.footer__title {
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.footer__list {
  gap: 6px;
  font-size: 0.9rem;
}
.footer__soc .ico-tile {
  width: 40px;
  height: 40px;
  padding: 4px;
  border-radius: 13px;
}
.footer__follow {
  gap: 10px;
}
.footer__bottom {
  margin-top: 18px;
  padding-top: 12px;
  font-size: 0.82rem;
}
@media (max-width: 820px) {
  .footer__body {
    padding: 14px 0 12px;
  }
  .footer__grid {
    gap: 20px;
  }
  .footer__bottom {
    margin-top: 14px;
  }
}

/* ==========================================================
   Fotografías del campo: formas de la marca, arcos detrás,
   cinta que avanza sola y galería con visor
   ========================================================== */
.pf {
  position: relative;
  isolation: isolate;
  margin-top: clamp(14px, 2vw, 24px);
}
.pf:first-child {
  margin-top: 0;
}
/* Arcos de la marca asomando detrás del grupo de fotos */
.pf--arcs::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: clamp(-34px, -2.4vw, -12px);
  bottom: clamp(-44px, -3vw, -14px);
  width: clamp(150px, 20vw, 270px);
  aspect-ratio: 1847 / 1231;
  background: url("/assets/img/arcos.svg") no-repeat center / contain;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pf--arcs:hover::after {
  transform: translate(8px, -8px) rotate(-3deg);
}
.pf--tight {
  margin-top: clamp(14px, 2vw, 24px);
}

/* Fila de fotos con la misma altura: el ancho de cada una sigue su proporción */
.row-photos {
  display: flex;
  gap: clamp(10px, 1.4vw, 18px);
  height: clamp(220px, 28vw, 380px);
}
.row-photos .photo {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 28px;
}
.row-photos .ar-l {
  flex-grow: 1.5;
  border-bottom-right-radius: 96px;
}
.row-photos .ar-p {
  flex-grow: 0.667;
  border-radius: 999px 999px 28px 28px;
}
.row-photos .photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.row-photos--3 .photo:nth-child(2) {
  margin-top: 28px;
  height: calc(100% - 28px);
}
@media (max-width: 700px) {
  .row-photos {
    flex-direction: column;
    height: auto;
  }
  .row-photos .photo,
  .row-photos--3 .photo:nth-child(2) {
    flex: none;
    height: auto;
    margin-top: 0;
    aspect-ratio: 3 / 2;
  }
  .row-photos .ar-p {
    aspect-ratio: 4 / 5;
    border-radius: 999px 999px 28px 28px;
  }
}

/* Foto de grupo y fotos por pilar */
.photo--group {
  aspect-ratio: 2.15 / 1;
  border-radius: 36px 36px 36px 120px;
}
.photo--group img {
  object-position: 50% 38%;
}
.photo--leaf {
  margin-top: 28px;
  aspect-ratio: 16 / 9;
  max-width: 560px;
  border-radius: 28px 28px 28px 100px;
}
@media (max-width: 700px) {
  .photo--group {
    aspect-ratio: 4 / 3;
    border-radius: 28px 28px 28px 70px;
  }
}

/* Cinta de fotos que avanza sola (se detiene al pasar el cursor) */
.reel {
  overflow: hidden;
  margin: 8px 0 18px;
  padding: 8px 0 12px;
}
.reel__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: reel 130s linear infinite;
}
.reel:hover .reel__track {
  animation-play-state: paused;
}
.reel__dup {
  display: contents;
}
.reel__item {
  flex: none;
  height: clamp(190px, 22vw, 290px);
  margin: 0;
  overflow: hidden;
  background: var(--mist);
  box-shadow: var(--shadow);
}
.reel__item--l {
  border-radius: 28px 28px 28px 96px;
}
.reel__item--p {
  border-radius: 999px 999px 28px 28px;
}
.reel__item img {
  display: block;
  width: auto;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reel__item:hover img {
  transform: scale(1.06);
}
.reel__more {
  margin-top: 4px;
}
.section__cta {
  margin-top: 26px;
}
@keyframes reel {
  to {
    transform: translateX(calc(-50% - 8px));
  }
}

/* Galería */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(22px, 3vw, 36px);
}
.filter {
  padding: 10px 22px;
  border: 1.5px solid var(--forest);
  border-radius: 999px;
  background: transparent;
  color: var(--forest);
  font: 700 0.95rem var(--sans);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.filter:hover {
  transform: translateY(-2px);
}
.filter.is-on {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--forest);
}
.gal-grid {
  columns: 3 260px;
  column-gap: 16px;
}
.gal {
  break-inside: avoid;
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--mist);
  box-shadow: var(--shadow);
}
.gal[hidden] {
  display: none;
}
.gal:nth-child(3n + 1) {
  border-bottom-right-radius: 90px;
}
.gal:nth-child(3n + 2) {
  border-top-left-radius: 90px;
}
.gal__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  line-height: 0;
  cursor: zoom-in;
}
.gal__btn img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.gal:hover img {
  transform: scale(1.05);
}
.lb {
  position: fixed;
  width: min(94vw, 1100px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: #0a2a18;
  color: #fff;
  overflow: hidden;
}
.lb::backdrop {
  background: rgba(5, 25, 14, 0.82);
  backdrop-filter: blur(4px);
}
.lb[open] {
  animation: rise 0.35s ease;
}
.lb__fig {
  display: grid;
  margin: 0;
}
.lb__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(94vh - 70px);
  object-fit: contain;
  background: #0a2a18;
}
.lb__cap {
  padding: 14px 70px 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  text-align: center;
}
.lb__close,
.lb__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.lb__close {
  top: 12px;
  right: 12px;
}
.lb__nav {
  top: 50%;
  margin-top: -23px;
  font-size: 1.1rem;
}
.lb__nav--prev {
  left: 12px;
}
.lb__nav--prev .arr {
  transform: scaleX(-1);
}
.lb__nav--next {
  right: 12px;
}

/* Entrada escalonada de las fotos de cada fila */
.row-photos > :nth-child(2) {
  --d: 0.12s;
}
.row-photos > :nth-child(3) {
  --d: 0.24s;
}
.gal:nth-child(3n + 2) {
  --d: 0.1s;
}
.gal:nth-child(3n) {
  --d: 0.2s;
}

/* ==========================================================
   Pie de página: fondo crema, logo a color y paisaje de la marca
   ========================================================== */
.footer2 {
  margin-top: clamp(28px, 4vw, 56px);
  background: var(--cream);
  color: var(--ink);
}
.footer2__top {
  display: grid;
  grid-template-columns: 1.15fr 1.25fr 1.1fr;
  gap: clamp(22px, 4vw, 56px);
  padding: clamp(34px, 5vw, 64px) 0 clamp(8px, 2vw, 20px);
}
.footer2__logo {
  display: inline-block;
}
.footer2__logo img {
  width: min(230px, 60vw);
  height: auto;
}
.footer2__slogan {
  position: relative;
  max-width: 28ch;
  margin: 14px 0 0;
  padding-bottom: 14px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.22rem;
  font-style: italic;
  line-height: 1.3;
}
.footer2__slogan::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: var(--lime);
}
.footer2__legal {
  max-width: 34ch;
  margin: 14px 0 0;
  color: #4f5a52;
  font-size: 0.92rem;
  line-height: 1.5;
}
.footer2__title {
  position: relative;
  margin: 8px 0 18px;
  padding-bottom: 12px;
  color: var(--forest);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
}
.footer2__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: var(--lime);
}
.footer2__list {
  display: grid;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer2__list--2 {
  grid-template-columns: repeat(2, minmax(0, auto));
  justify-content: start;
}
.footer2 a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer2__list a {
  font-size: 1.02rem;
}
.footer2__list a:hover {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.footer2__place {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 1.02rem;
}
.footer2__pin {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--forest);
}
.footer2__social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer2__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  transition: transform 0.25s cubic-bezier(0.2, 1.2, 0.3, 1), background-color 0.2s ease;
}
.footer2__social li:first-child a {
  background: #1b723e;
}
.footer2__social a:hover {
  background: var(--leaf);
  color: var(--forest);
  transform: translateY(-3px);
}
.footer2__social svg {
  width: 22px;
  height: 22px;
}
.footer2__mail {
  width: 100%;
  font-size: 0.92rem;
}
.footer2__art {
  position: relative;
  height: clamp(130px, 17vw, 250px);
  margin-top: -6px;
  overflow: hidden;
  pointer-events: none;
}
.footer2__svg {
  position: absolute;
  inset: auto 0 -1px 0;
  display: block;
  width: 100%;
  height: 100%;
}
.footer2__bar {
  background: #11402a;
  color: #fff;
}
.footer2__bar-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  padding: 8px 0 24px;
  font-size: 0.95rem;
}
.footer2__bar p {
  margin: 0;
}
.footer2__bar a {
  color: #fff;
}
.footer2__bar a:hover {
  color: var(--luz);
}
@media (max-width: 860px) {
  .footer2__top {
    grid-template-columns: 1fr;
  }
  .footer2__art {
    height: clamp(96px, 28vw, 170px);
  }
  .footer2__bar-in {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 420px) {
  .footer2__list--2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media print {
  .loader,
  .header,
  .announce,
  .nudge,
  .footer2__art,
  .menu-toggle {
    display: none !important;
  }
}

/* ---------- Pie: bloque flotante con cúpula (forma de los arcos de la marca) ---------- */
.footer__body {
  margin: 0 5.139% 14px;
  padding: 18px 0 14px;
  border-radius: 0 0 42px 42px;
  overflow: visible;
}
.footer__body > .wrap {
  width: min(100% - 2 * clamp(18px, 3vw, 40px), var(--wrap));
}
@media (max-width: 700px) {
  .footer__body {
    margin: 0 5.139% 10px;
    border-radius: 0 0 30px 30px;
  }
}

/* Un solo distintivo por bloque: el ícono (sin número al lado) */
.prow__top {
  margin-bottom: 4px;
}
.pillar__top {
  min-height: 0;
}

.tear .pillar__top .ico-tile {
  width: 62px;
  height: 62px;
  padding: 8px;
  border-radius: 20px;
}

/* ---------- Davivienda / Bre-B y dos QR ---------- */
.bank-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.bank-grid > .bank-card:nth-child(2) {
  --d: 0.1s;
}
.bank-card--brb {
  background: #d9232d;
}
.bank-card--brb .bank-card__bank {
  font-size: 0.98rem;
}
.qr-pair {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.qr-pair .qr-tile {
  flex-direction: row;
  justify-content: flex-start;
  gap: 18px;
  text-align: left;
}
.qr-tile__sub {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.85rem;
}
.qr-pair .qr-tile > :not(.qr-tile__btn) {
  align-self: center;
}
@media (max-width: 640px) {
  .bank-grid,
  .qr-pair {
    grid-template-columns: 1fr;
  }
  .qr-pair .qr-tile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ==========================================================
   Tipografía de la marca: rótulo ligero y grande, título en
   Black (lima) y palabra de acento en cursiva serif oscura
   ========================================================== */
.eyebrow {
  margin-bottom: 8px;
  color: #1b723e;
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--forest);
}
.band .eyebrow,
.mv__card--mission .eyebrow,
.footer .eyebrow {
  color: var(--luz);
}
.section__head h2,
.split h2 {
  letter-spacing: -0.035em;
}
.section h2 em,
.page-hero h1 em,
.split h2 em,
.corozo h2 em {
  font-size: 1.04em;
}
.cta h2 em,
.campaign h2 em {
  color: var(--forest);
}
.campaign h2 {
  color: var(--lime-title);
}
.prow__head h2 {
  font-weight: 700;
}

/* ==========================================================
   Pie de página: horizonte de montañas redondeadas, sol de arcos
   de la marca y contenido sobre crema, en tamaño compacto
   ========================================================== */
.footer3 {
  position: relative;
  margin-top: clamp(72px, 8vw, 110px);
  color: var(--ink);
}
.footer3 a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Surcos de la marca */
.footer3__furrows {
  position: relative;
  height: clamp(30px, 4vw, 52px);
  margin-bottom: -1px;
  pointer-events: none;
}
.footer3__furrows svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Contenido */
.footer3__body {
  position: relative;
  background: #fffdf6;
}
.footer3__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.7fr) minmax(0, 1fr);
  align-items: start;
  padding: 26px 0 34px;
}
.footer3__about {
  padding-right: clamp(20px, 3vw, 40px);
}
.footer3__nav,
.footer3__find {
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 1px solid var(--line);
}
.footer3__logo {
  display: inline-block;
}
.footer3__logo img {
  display: block;
  width: clamp(150px, 14vw, 190px);
  height: auto;
}
.footer3__slogan {
  max-width: 32ch;
  margin: 12px 0 6px;
  color: var(--forest);
  font-size: 1.02rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
}
.footer3__legal {
  max-width: 36ch;
  margin: 0;
  color: #3b4a40;
  font-size: 0.88rem;
  line-height: 1.45;
}
.footer3__title {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 10px;
  color: var(--forest);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.2;
}
.footer3__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: #f6dc6e;
}
.footer3__list {
  display: grid;
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  gap: 9px clamp(16px, 2.4vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer3__list a {
  display: inline-block;
  font-size: 0.97rem;
  line-height: 1.3;
  white-space: nowrap;
}
.footer3__list a:hover {
  color: var(--green);
}
.footer3__place {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.4;
}
.footer3__pin {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 2px solid #f6dc6e;
  border-radius: 13px;
  background: #fff;
  color: #1b723e;
}
.footer3__pin svg {
  width: 22px;
  height: 22px;
}
.footer3__social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer3__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #1b723e;
  color: #fff;
  box-shadow: 3px 3px 0 #f6dc6e;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.footer3__social a:hover {
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #f6dc6e;
}
.footer3__social svg {
  width: 23px;
  height: 23px;
}
.footer3__mail {
  width: 100%;
}

/* Barra final */
.footer3__bar {
  position: relative;
  background: #11402a;
  color: #fff;
}
.footer3__bar-in {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  padding: 20px 0 clamp(16px, 2vw, 22px);
  font-size: 0.93rem;
}
.footer3__bar-in::before,
.footer3__bar-in::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: #f6dc6e;
}
.footer3__bar-in::before {
  left: 0;
}
.footer3__bar-in::after {
  right: 0;
}
.footer3__bar p {
  margin: 0;
}
.footer3__bar a {
  color: #fff;
}
.footer3__bar a:hover {
  color: var(--luz);
}

@media (max-width: 1100px) {
  .footer3__list a {
    font-size: 0.92rem;
  }
}
@media (max-width: 960px) {
  .footer3__grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 26px;
    padding-bottom: 30px;
  }
  .footer3__find {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
  }
}
@media (max-width: 680px) {
  .footer3__grid {
    grid-template-columns: 1fr;
  }
  .footer3__about {
    padding-right: 0;
  }
  .footer3__nav {
    padding-left: 0;
    border-left: 0;
  }
  .footer3__list {
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr;
  }
  .footer3__bar-in {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 18px;
  }
}
@media (max-width: 360px) {
  .footer3__list {
    grid-template-columns: 1fr;
  }
}

/* Recompensas de la campaña (Vaki) */
.rewards-intro {
  align-items: center;
}
.rewards-intro .btn-row {
  margin-top: 22px;
}
.reward__via {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.reward__via img {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
}
.vaki-art img {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.rewards {
  margin-top: clamp(28px, 4vw, 48px);
}
.tear__panel .reward__price {
  margin: 0 0 8px;
  color: var(--forest);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}
.reward__note {
  max-width: 62ch;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

/* Transparencia: documentos de la asociación */
.doc__state {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.doc__note {
  max-width: 62ch;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

/* Énfasis en itálica de Branding (el manual pide una sola familia) */
h1 em,
h2 em,
h3 em {
  font-style: italic;
  font-weight: 700;
}

/* Correo en el pie: texto, no tarjeta de red social */
.footer3__social .footer3__mail a {
  display: inline-block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ink);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}
.footer3__social .footer3__mail a:hover {
  transform: none;
  box-shadow: none;
  color: var(--green);
}

/* Datos legales (Transparencia) */
.legal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 14px;
  margin: 0;
}
.legal div {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.legal dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}
.legal dd {
  margin: 0;
  color: var(--forest);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.legal a {
  color: inherit;
}

/* Presupuesto (Fincas que Rinden) */
.budget {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.budget li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: baseline;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}
.budget__name {
  color: var(--ink);
  font-weight: 700;
}
.budget__val {
  color: var(--forest);
  font-weight: 900;
  white-space: nowrap;
}
.budget__bar {
  grid-column: 1 / -1;
  height: 10px;
  border-radius: 999px;
  background: rgba(27, 114, 62, 0.12);
  overflow: hidden;
}
.budget__bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--green);
}
.budget .w30 { width: 100%; }
.budget .w25 { width: 83.4%; }
.budget .w12 { width: 40%; }
.budget .w8 { width: 26.7%; }
.budget .w5 { width: 16.7%; }
.budget .w4 { width: 13.4%; }
.budget__total {
  background: var(--forest) !important;
  border-color: var(--forest) !important;
}
.budget__total .budget__name,
.budget__total .budget__val {
  color: #fff;
}
.checks--two {
  columns: 2 280px;
  column-gap: 32px;
}
.checks--two li {
  break-inside: avoid;
}

/* Tienda */
.shop__cat + .shop__cat {
  margin-top: clamp(28px, 4vw, 44px);
}
.shop__cat > h3 {
  margin: 0 0 16px;
  color: var(--forest);
}
.shop__item h4 {
  margin: 0;
  color: var(--forest);
  font-size: 1.1rem;
}
.shop__price {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

/* ==========================================================
   Escuela de la finca
   ========================================================== */
.cat-plata { --c: #f6dc6e; --ci: #7a5d00; --ct: #fbf1c9; }
.cat-familias { --c: #a3324a; --ci: #a3324a; --ct: #f6e3e7; }
.cat-tecno { --c: #11402a; --ci: #11402a; --ct: #e2eae5; }
.cat-ahorro { --c: #1b723e; --ci: #1b723e; --ct: #e3f0e6; }
.cat-credito { --c: #2c7da0; --ci: #22617d; --ct: #e0eef4; }
.cat-cuentas { --c: #e3a72f; --ci: #7e5300; --ct: #fbefd4; }
.cat-tecnificar { --c: #8bc43f; --ci: #3f6b12; --ct: #edf6df; }
.cat-vender { --c: #b85c38; --ci: #a65230; --ct: #f7e6dd; }

.page-hero .eyebrow a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Buscador */
.esc-search { max-width: 640px; margin-top: 22px; }
.esc-search input {
  width: 100%; min-height: 52px; padding: 0 20px; border: 2px solid var(--forest);
  border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem;
}
.esc-search input:focus-visible { outline: 3px solid var(--sol, #f6dc6e); outline-offset: 2px; }
.esc-search__hint { margin: 10px 4px 0; color: var(--forest); font-size: 0.9rem; font-weight: 700; }

/* Progreso */
.esc-prog { margin: 0 0 24px; }
.esc-prog__bar, .mes__bar { display: block; height: 10px; border-radius: 999px; background: rgba(27, 114, 62, 0.14); overflow: hidden; }
.esc-prog__bar i, .mes__bar i { display: block; width: 100%; height: 100%; border-radius: 999px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease; }
.esc-prog p { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }

/* Meses */
.mes-list { display: grid; gap: 14px; }
.mes { border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); overflow: hidden; }
.mes[hidden] { display: none; }
.mes > summary { display: grid; gap: 6px; padding: 18px 22px; cursor: pointer; list-style: none; }
.mes > summary::-webkit-details-marker { display: none; }
.mes > summary::after { content: "+"; position: absolute; right: 22px; top: 14px; font-size: 1.6rem; color: var(--forest); }
.mes { position: relative; }
.mes[open] > summary::after { content: "−"; }
.mes__k { color: var(--muted); font-size: 0.85rem; font-weight: 700; }
.mes__name { color: var(--forest); font-size: 1.35rem; font-weight: 900; line-height: 1.2; padding-right: 36px; }
.mes__desc { color: var(--ink); }
.mes__n { color: var(--forest); font-size: 0.9rem; font-weight: 700; }
.mes__body { padding: 4px 22px 22px; }
.mes__acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.mes__list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mes__list li[hidden] { display: none; }
.mes__list a { display: grid; grid-template-columns: 62px 1fr 24px; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.mes__list a:hover { border-color: var(--green); }
.mes__d { color: var(--muted); font-size: 0.82rem; font-weight: 700; }
.mes__t { font-weight: 700; }
.mes__ok { opacity: 0; color: #fff; background: var(--green); border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; font-size: 0.8rem; }
.mes__list .is-done .mes__ok { opacity: 1; }
.mes__list .is-done a { background: var(--ct, #e3f0e6); }

/* Lección */
.les__wrap { max-width: 800px; }
.les__hero { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; border-bottom: 8px solid var(--c, var(--green)); }
.les__hero img { display: block; width: 100%; height: auto; max-height: 360px; object-fit: cover; }
.les__body { font-size: 1.08rem; line-height: 1.65; }
.les__body h3 { margin: 1.8em 0 0.5em; color: var(--forest); }
.les__body p { margin: 0 0 1em; }
.ba-lead { font-size: 1.22rem; font-weight: 700; color: var(--forest); }
.les__body .list, .les__body .olist { margin: 0 0 1.2em; padding-left: 1.3em; display: grid; gap: 8px; }
.ba-key, .ba-ej, .ba-do, .ba-err, .ba-paso, .ba-tip, .ba-fin {
  margin: 1.4em 0; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--cream);
}
.ba-key { background: var(--ct, #e3f0e6); border-left: 8px solid var(--c, var(--green)); }
.ba-key > span, .ba-ej > span, .ba-paso > span { display: block; margin-bottom: 4px; color: var(--ci, var(--forest)); font-size: 0.85rem; font-weight: 900; }
.ba-key p, .ba-ej p, .ba-paso p, .ba-tip p { margin: 0; }
.ba-ej { background: #fff; border-left: 8px solid var(--sol, #f6dc6e); }
.ba-do { background: var(--forest); color: #fff; border: 0; }
.ba-do b { color: var(--sol, #f6dc6e); }
.ba-do .list { margin: 10px 0 0; }
.ba-err { border-left: 8px solid #a3324a; background: #fbeff1; }
.ba-paso { background: #fff; border: 2px dashed var(--green); }
.ba-tip { background: #fff; }
.ba-cmp { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 1.4em 0; }
.ba-cmp > div { padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); }
.ba-cmp .ok { background: #e3f0e6; border-color: var(--green); }
.ba-cmp .bad { background: #fbeff1; border-color: #a3324a; }
.ba-cmp .list { margin: 8px 0 0; }
.ba-table { display: grid; margin: 1.4em 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 0.95rem; }
.ba-table [role="row"] { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); padding: 10px 14px; border-top: 1px solid var(--line); background: #fff; gap: 8px; }
.ba-table .h { background: var(--forest); color: #fff; font-weight: 700; border-top: 0; }
.ba-links { display: grid; gap: 8px; margin: 1.2em 0; }
.rel { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--forest); font-weight: 700; text-decoration: none; }
.rel:hover { border-color: var(--green); }

/* Herramientas */
.tool { margin: 1.6em 0; padding: 20px; border-radius: var(--radius); background: var(--ct, #e3f0e6); border: 1px solid var(--line); }
.tool-t { display: block; color: var(--forest); font-size: 1.1rem; margin-bottom: 4px; }
.tool-p { margin: 0 0 12px; color: var(--muted); font-size: 0.95rem; }
.tf-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 12px; }
.tf { display: grid; gap: 4px; }
.tf > span { font-size: 0.85rem; font-weight: 700; color: var(--forest); }
.tf input[type="text"], .tf input[type="search"] { min-height: 46px; padding: 0 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; font: inherit; color: var(--ink); width: 100%; }
.tf input:focus-visible { outline: 3px solid var(--green); outline-offset: 1px; }
.tool-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 8px; }
.tool-out > div, .cr-out { padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; gap: 2px; }
.tool-out small, .cr-out small { color: var(--muted); font-size: 0.8rem; }
.tool-out b, .cr-out b { color: var(--forest); font-size: 1.25rem; font-weight: 900; }
.tool-out em { font-style: normal; font-size: 0.85rem; color: var(--ci, var(--forest)); font-weight: 700; }
.tool-sem { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; gap: 2px; }
.tool-sem.ok { border-color: var(--green); background: #e3f0e6; }
.tool-sem.bad { border-color: #a3324a; background: #fbeff1; }
.cr { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.cr-col { display: grid; gap: 10px; align-content: start; }
.bola-out { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.bola-out li { display: flex; justify-content: space-between; gap: 10px; }
.muted { color: var(--muted); }
.ck-bar { height: 10px; border-radius: 999px; background: rgba(27, 114, 62, 0.14); overflow: hidden; }
.ck-bar span { display: block; height: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.ck-n { margin: 6px 0 10px; font-weight: 700; color: var(--forest); }
.ck { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ck label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.ck input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--green); }
.rep { display: grid; gap: 14px; margin: 10px 0; }
.rep-r { display: grid; gap: 6px; }
.rep-r > span { display: flex; justify-content: space-between; gap: 10px; }
.rep-r em { font-style: normal; font-weight: 900; color: var(--forest); }
.rep-r input[type="range"] { width: 100%; accent-color: var(--green); }
.rep-sum { font-weight: 900; color: #a3324a; }
.rep-sum.ok { color: var(--green); }

/* Preguntas */
.quiz { margin: 1.6em 0; padding: 20px; border-radius: var(--radius); border: 2px solid var(--forest); background: #fff; }
.qz-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; color: var(--forest); }
.qz-score { font-weight: 700; font-size: 0.9rem; }
.qz { margin-bottom: 18px; }
.qz-q { display: flex; gap: 10px; font-weight: 700; margin: 0 0 10px; }
.qz-q .num { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--forest); color: #fff; font-size: 0.85rem; }
.qz-ops { display: grid; gap: 8px; }
.qz-o { text-align: left; padding: 12px 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--cream); color: var(--ink); font: inherit; cursor: pointer; }
.qz-o:hover { border-color: var(--green); }
.qz.ans .qz-o { cursor: default; }
.qz-o.right { border-color: var(--green); background: #e3f0e6; }
.qz-o.wrong { border-color: #a3324a; background: #fbeff1; }
.qz-fb { margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; background: #e3f0e6; font-size: 0.95rem; }
.qz-fb.bad { background: #fbeff1; }
.qz-done { margin: 0; font-weight: 900; color: var(--green); }
.sort { margin: 1.4em 0; }
.srt { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.srt li { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; }
.srt li.right { border-color: var(--green); background: #e3f0e6; }
.srt li.wrong { border-color: #a3324a; background: #fbeff1; }
.srt button { padding: 6px 12px; border-radius: 999px; border: 2px solid var(--forest); background: #fff; font: inherit; cursor: pointer; }
.srt button.pick { background: var(--forest); color: #fff; }
.glos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 1.4em 0; }
.gl { text-align: left; padding: 14px 16px; border-radius: var(--radius); border: 2px solid var(--line); background: var(--cream); font: inherit; cursor: pointer; color: var(--ink); }
.gl .gl-b { display: none; }
.gl[aria-pressed="true"] .gl-f { display: none; }
.gl[aria-pressed="true"] .gl-b { display: block; }
.gl[aria-pressed="true"] { background: #fff; border-color: var(--green); }
.gl b { display: block; color: var(--forest); }
.gl small { color: var(--muted); }

/* Cierre de lección */
.ba-fin { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: var(--ct, #e3f0e6); }
.ba-done.is { background: var(--forest); }
.ba-fin-t { color: var(--muted); font-size: 0.9rem; }
.les__banner { display: grid; gap: 6px; justify-items: start; margin: 1.4em 0; padding: 20px; border-radius: var(--radius); background: var(--forest); color: #fff; }
.les__banner[hidden] { display: none; }
.les__nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; margin-top: 2em; }
.les__go { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--cream); color: var(--forest); text-decoration: none; }
.les__go:hover { border-color: var(--green); }
.les__go--next { text-align: right; }
.les__go small { color: var(--muted); }
.les__count { align-self: center; color: var(--muted); font-size: 0.85rem; text-align: center; }
@media (max-width: 640px) {
  .les__nav { grid-template-columns: 1fr; }
  .les__go--next { text-align: left; }
  .mes__list a { grid-template-columns: 54px 1fr 22px; }
}

/* Quiz de etapa, indicador y certificado */
.tool-page { max-width: 760px; }
.eq { display: grid; gap: 12px; }
.eq[hidden], .eres[hidden] { display: none; }
.eq-n { color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.eq h2 { margin: 0; }
.eq-ops { display: grid; gap: 10px; }
.eq-o { text-align: left; padding: 14px 18px; border-radius: 14px; border: 2px solid var(--line); background: var(--cream); font: inherit; color: var(--ink); cursor: pointer; }
.eq-o:hover, .eq-o.pick { border-color: var(--green); background: #e3f0e6; }
.eres { display: grid; gap: 10px; justify-items: start; padding: 24px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.eres__k { color: var(--green); font-weight: 900; }
.eres h2 { margin: 0; }
.ind-d { margin: 0 0 22px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.ind-d legend { padding: 0 8px; font-weight: 900; color: var(--forest); font-size: 1.1rem; }
.ind-q { padding: 12px 0; border-top: 1px solid var(--line); }
.ind-q:first-of-type { border-top: 0; }
.ind-q.miss { background: #fbeff1; border-radius: 10px; padding-inline: 10px; }
.ind-q p { margin: 0 0 8px; font-weight: 700; }
.ind-s { display: flex; flex-wrap: wrap; gap: 8px; }
.ind-s label { cursor: pointer; }
.ind-s input { position: absolute; opacity: 0; }
.ind-s span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-size: 0.92rem; }
.ind-s input:checked + span { background: var(--forest); border-color: var(--forest); color: #fff; }
.ind-s input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.ires__total { display: grid; gap: 2px; justify-items: start; margin-bottom: 8px; }
.ires__total b { font-size: 3.4rem; font-weight: 900; color: var(--forest); line-height: 1; }
.ires__lvl { padding: 4px 12px; border-radius: 999px; font-weight: 900; font-size: 0.9rem; background: #e3f0e6; color: var(--green); }
.ires__lvl.mid { background: #fbefd4; color: #7e5300; }
.ires__lvl.bad { background: #fbeff1; color: #a3324a; }
.ires__dim { display: grid; grid-template-columns: 110px 1fr 56px; gap: 12px; align-items: center; margin: 10px 0; }
.ires__l { font-weight: 700; color: var(--forest); }
.ires__bar { display: block; height: 12px; border-radius: 999px; background: rgba(27, 114, 62, 0.14); overflow: hidden; }
.ires__bar i { display: block; height: 100%; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 0.5s; }
.ires__rec { display: grid; gap: 8px; margin: 16px 0; padding: 16px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.ires__rec[hidden] { display: none; }
.cert-form { display: grid; gap: 12px; max-width: 420px; }
.cert { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 36px 24px; border-radius: var(--radius); background: #f5eedf; border: 10px double #1b723e; }
.cert[hidden], .tool-page [hidden] { display: none; }
.cert__logo { width: 220px; height: auto; }
.cert__k { color: var(--green); font-weight: 700; margin: 8px 0 0; }
.cert p { margin: 0; }
.cert__n { color: var(--forest); font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 900; line-height: 1.1; }
.cert__r { color: var(--green); font-weight: 700; font-size: 1.3rem; }
.cert__d { color: var(--muted); font-size: 0.9rem; }
.cert__f { margin-top: 16px; font-weight: 700; font-size: 0.85rem; }

[hidden] { display: none !important; }

/* Intranet */
.form__error {
  margin: 0 0 1rem;
  padding: 0.7rem 0.9rem;
  border-left: 4px solid #b3261e;
  background: #fbeceb;
  color: #7a1914;
  font-size: 0.95rem;
}
.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* ---------- Portada de Inicio (manual v2.2: el texto vive en panel plano; la foto no lleva filtros y termina en surco) ---------- */
.portada {
  padding: 0;
}
.portada__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  width: 100%;
  min-height: clamp(420px, 56svh, 580px);
  background: var(--agro);
  color: #fff;
}
.portada__grid {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 64px) clamp(32px, 4vw, 56px) max(var(--gutter), calc((100vw - 1200px) / 2));
}
.portada__text {
  max-width: 560px;
}
.portada .eyebrow {
  color: var(--luz);
}
.portada h1 {
  max-width: 16ch;
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.portada h1 em {
  color: var(--luz);
}
.portada__lead {
  max-width: 46ch;
  margin: 0 0 26px;
  color: #fff;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}
/* La foto: sin filtros ni desenfoque; su borde izquierdo es un arco de centro lejano */
.portada__foto {
  position: relative;
  min-height: 100%;
  clip-path: ellipse(100% 100% at 100% 50%);
}
.portada__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
/* Fragmento de surcos sangrando desde la esquina inferior de la foto (blanco, sin tocar rostros) */
.portada__surcos {
  position: absolute;
  right: -6%;
  bottom: -10%;
  width: 40%;
  max-width: 520px;
  height: auto;
  pointer-events: none;
}
.btn--outline-light {
  border-color: #fff;
  background: transparent;
  color: #fff;
}
.btn--outline-light:hover {
  background: #fff;
  color: var(--agro);
}
.portada .btn {
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.portada .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px -14px rgba(0, 0, 0, 0.5);
}
.portada .btn:active {
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  .portada__panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .portada__grid {
    padding: 28px var(--gutter) 24px;
  }
  .portada__foto {
    min-height: 220px;
    clip-path: ellipse(120% 100% at 50% 100%);
  }
  .portada__surcos {
    width: 55%;
  }
}
@media (max-width: 480px) {
  .portada .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Inicio: tres frentes, cuentas claras, campaña con foto */
.bento.bento--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bento.bento--three > .tear,
.bento.bento--three > .tear:nth-child(1) {
  grid-column: auto;
}
@media (max-width: 800px) {
  .bento.bento--three {
    grid-template-columns: 1fr;
  }
}
.more {
  margin: 28px 0 0;
}
.cuentas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.cuentas__col {
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius);
}
.cuentas__col h3 {
  margin: 0 0 14px;
}
.cuentas__col--real {
  background: var(--agro);
  color: #fff;
}
.cuentas__col--real h3,
.cuentas__col--real .checks li {
  color: #fff;
}
.cuentas__col--meta {
  background: var(--sol);
  color: var(--carbon);
}
@media (max-width: 760px) {
  .cuentas {
    grid-template-columns: 1fr;
  }
}
.campaign__photo {
  position: relative;
  align-self: stretch;
  margin: 0 calc(-1 * clamp(32px, 5vw, 64px)) calc(-1 * clamp(32px, 5vw, 64px)) 0;
  min-height: 280px;
}
.campaign__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.campaign__photo figcaption,
.photo figcaption {
  padding: 10px 14px;
  background: rgba(17, 64, 42, 0.86);
  color: #fff;
  font-size: 0.86rem;
}
.campaign__photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
@media (max-width: 760px) {
  .campaign__photo {
    margin: 0 calc(-1 * clamp(32px, 5vw, 64px)) calc(-1 * clamp(32px, 5vw, 64px));
  }
}
.quote__sub {
  margin: 22px auto 0;
  max-width: none;
  text-align: center;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
}
.quote__sub em {
  color: var(--luz);
}


/* Menú: la cápsula es más ancha que el contenido de la página, para que todo quepa dentro */
.header__inner.wrap {
  width: min(100% - 2 * clamp(10px, 2vw, 28px), 1440px);
  padding-right: 10px;
}


/* Líneas de trabajo (arquitectura de marca v2.2): un color complementario por línea */
.lineas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.linea {
  --lc: var(--agro);
  padding: 26px 22px 24px;
  border-top: 8px solid var(--lc);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--panela);
}
.linea h3 {
  margin: 0 0 10px;
  color: var(--forest);
  font-size: 1.6rem;
  font-weight: 700;
}
.linea__tema {
  color: var(--muted);
  font-size: 0.95rem;
}
.linea p:last-child {
  margin: 0;
  color: var(--carbon);
  font-weight: 500;
}
.linea--campo { --lc: #b85c38; }
.linea--sabores { --lc: #f2b33d; }
.linea--rutas { --lc: #2c7da0; }
.linea--escuela { --lc: #d5de23; }
.linea--comunidad { --lc: #a3324a; }


/* ---------- Fase 1: diseño base (encabezados verdes, barra superior, botones flotantes) ---------- */
/* Verde Luz sobre fondos oscuros; Verde Lima en fondos claros (manual v2.2) */
.announce {
  background: var(--monte);
  color: #fff;
}
.announce__tag {
  background: var(--sol);
  color: var(--carbon);
}
.announce strong {
  color: var(--luz);
}
.page-hero__panel {
  background: var(--monte);
  color: #fff;
}
.page-hero__panel::before {
  border-color: rgba(255, 255, 255, 0.05);
}
.page-hero__panel::after {
  background: rgba(255, 255, 255, 0.04);
}
.page-hero h1 {
  color: #fff;
}
.page-hero h1 em,
.page-hero .eyebrow {
  color: var(--luz);
}
.page-hero__lead {
  color: rgba(255, 255, 255, 0.92);
}
.page-hero .btn--outline {
  border-color: #fff;
  color: #fff;
}
.page-hero .btn--outline:hover {
  background: #fff;
  color: var(--monte);
}
.page-hero--campaign .page-hero__panel {
  background: var(--monte);
}

/* Botones flotantes */
.fabs {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 95;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}
.fabs > * {
  pointer-events: auto;
}
.fab-contacto,
.fab-top,
.fab-nuevo {
  box-shadow: 0 14px 28px -12px rgba(10, 40, 25, 0.55);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.fab-contacto:hover,
.fab-top:hover,
.fab-nuevo:hover {
  transform: translateY(-3px);
}
.fab-contacto {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--sol);
  color: var(--carbon);
  font-weight: 700;
  text-decoration: none;
}
.fab-contacto svg,
.fab-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fab-top {
  position: absolute;
  right: 0;
  bottom: 60px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--agro);
  color: #fff;
  cursor: pointer;
}
.fab-top[hidden] {
  display: none;
}
.fab-nuevo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 10px;
  border-radius: 999px;
  background: var(--monte);
  color: #fff;
  text-decoration: none;
}
.fab-nuevo__ic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--luz) url("/assets/icons/grueso-brote.svg") center / 20px no-repeat;
}
.fab-nuevo__t {
  display: grid;
  line-height: 1.15;
}
.fab-nuevo small {
  color: var(--luz);
  font-size: 0.7rem;
  font-weight: 700;
}
.fab-nuevo strong {
  font-size: 0.86rem;
  font-weight: 700;
}
.fab-contacto {
  margin-left: auto;
}
/* El aviso de campaña se sube para no taparse con los botones */
.nudge {
  bottom: 84px;
}
@media (max-width: 640px) {
  .fab-nuevo {
    display: none;
  }
  .fab-contacto span {
    display: none;
  }
  .fab-contacto {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
  }
  .fab-top {
    bottom: 64px;
    right: 4px;
  }
  .nudge {
    bottom: 84px;
  }
}
@media print {
  .fabs {
    display: none;
  }
}

/* Botones que antes iban sobre lima y ahora quedan sobre verde oscuro */
.page-hero .btn--dark {
  background: var(--sol);
  color: var(--carbon);
  box-shadow: 0 12px 26px -12px rgba(190, 150, 20, 0.7);
}
.page-hero .btn--dark:hover {
  background: #f0cf58;
  color: var(--carbon);
}


/* ---------- Fase 2: gobierno, metas, proyectos ---------- */
.organos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.organos li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--forest);
}
.organos__n {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--agro);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
}
.subhead {
  margin: 34px 0 14px;
  color: var(--forest);
}
.cargos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cargo {
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--agro);
  color: #fff;
}
.cargo:nth-child(even) {
  background: var(--monte);
}
.cargo small {
  color: var(--luz);
  font-size: 0.85rem;
  font-weight: 700;
}
.cargo strong {
  font-size: 1.02rem;
  line-height: 1.3;
}
.cargos__nota {
  margin-top: 22px;
  padding: 22px 26px;
  border-left: 8px solid var(--lima);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--paper);
}
.cargos__nota h3 {
  margin: 0 0 8px;
  color: var(--forest);
}
.cargos__nota .fuente {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.nolist {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nolist li {
  position: relative;
  padding: 6px 0 6px 30px;
}
.nolist li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 2px;
  color: #a3324a;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}
.statement--sm {
  margin-top: 32px;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
}
.metas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.metas li {
  padding: 22px 22px 20px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border-top: 8px solid var(--lima);
}
.metas__n {
  display: block;
  color: var(--agro);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}
.metas__l {
  display: block;
  margin-top: 10px;
  font-weight: 500;
}
.metas__f {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}
.proys {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.proys li {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}
.proys h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--forest);
}
.proys__tag {
  justify-self: start;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--lima);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 700;
}


/* ---------- Fase 3: ingreso de miembros (pantalla completa) ---------- */
.ingreso {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100svh;
}
.ingreso__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 5vw, 64px);
  background: var(--monte);
  color: #fff;
}
.ingreso__logo img {
  display: block;
  width: min(280px, 60vw);
  height: auto;
}
.ingreso .eyebrow {
  color: var(--luz);
}
.ingreso h1 {
  max-width: 14ch;
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.06;
}
.ingreso h1 em {
  color: var(--luz);
}
.ingreso__lista {
  display: grid;
  gap: 18px;
  max-width: 46ch;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ingreso__lista li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ingreso__ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}
.ingreso__ic img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}
.ingreso__lema {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--luz);
  font-size: 1.15rem;
  font-weight: 700;
}
.ingreso__arcos {
  position: absolute;
  right: -14%;
  bottom: -14%;
  z-index: -1;
  width: 70%;
  height: auto;
  opacity: 0.08;
  pointer-events: none;
}
.ingreso__form {
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 64px);
  background: #fff;
}
.ingreso__card {
  width: min(100%, 480px);
}
.ingreso__card h2 {
  margin: 0 0 6px;
  color: var(--carbon);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}
.ingreso__sub {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.1rem;
}
.form--bare {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: none;
}
.field__pw {
  position: relative;
}
.field__pw input {
  padding-right: 84px;
}
.field__ver {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: var(--panela);
  color: var(--forest);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.field__ver:hover {
  background: var(--sol);
}
.ingreso__enviar {
  width: 100%;
  margin-top: 6px;
}
.ingreso__ayuda {
  margin: 18px 0 8px;
  color: var(--muted);
}
.ingreso__volver {
  display: inline-block;
  margin-top: 14px;
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}
.ingreso__volver:hover {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .ingreso {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .ingreso__panel {
    gap: 22px;
    padding: 24px var(--gutter) 32px;
  }
  .ingreso h1 {
    margin-bottom: 18px;
  }
  .ingreso__lista li:nth-child(n + 3) {
    display: none;
  }
  .ingreso__lema {
    display: none;
  }
}


/* Menú completo también en pantallas de 1181 a 1320 px (por ejemplo Chrome con escala de Windows al 150 %):
   enlaces y botones más compactos en vez de colapsar en la hamburguesa. */
@media (min-width: 1181px) and (max-width: 1320px) {
  .header__inner.wrap {
    padding-left: 18px;
    padding-right: 8px;
  }
  .nav {
    gap: 4px;
  }
  .nav__list {
    gap: 0;
  }
  .nav__list a {
    padding: 8px 6px;
    font-size: 0.85rem;
  }
  .nav__login,
  .nav__cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.85rem;
  }
}


/* ---------- Selector de idioma ---------- */
.lang {
  position: relative;
}
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 12px 0 11px;
  border: 1.5px solid rgba(17, 64, 42, 0.18);
  border-radius: 999px;
  background: var(--panela);
  color: var(--forest);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.lang__btn:hover {
  border-color: var(--lima);
  background: var(--lima);
}
.lang__btn[aria-expanded="true"] {
  border-color: var(--agro);
  background: var(--agro);
  color: #fff;
  box-shadow: 0 10px 20px -10px rgba(17, 64, 42, 0.7);
}
.lang__btn:focus-visible {
  outline: 3px solid var(--sol);
  outline-offset: 2px;
}
.lang__globo,
.lang__flecha,
.lang__check {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lang__globo {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}
.lang__flecha {
  width: 12px;
  height: 12px;
  stroke-width: 2.6;
  transition: transform 0.25s ease;
}
.lang__btn[aria-expanded="true"] .lang__flecha {
  transform: rotate(180deg);
}
.lang__list {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 120;
  display: none;
  min-width: 212px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 48px -20px rgba(10, 40, 25, 0.55);
}
.lang__list::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 26px;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fff;
  transform: rotate(45deg);
}
.lang.is-open .lang__list {
  display: block;
  animation: lang-entra 0.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes lang-entra {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
  }
}
.lang__list li + li {
  margin-top: 2px;
}
.lang__list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 6px 14px 6px 8px;
  border-radius: 15px;
  color: var(--carbon);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.lang__list a:hover {
  background: var(--panela);
}
.lang__code {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--panela);
  color: var(--forest);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.lang__name {
  flex: 1;
}
.lang__check {
  width: 18px;
  height: 18px;
  stroke-width: 2.8;
  opacity: 0;
}
.lang__list a[aria-current="true"] {
  background: var(--agro);
  color: #fff;
  font-weight: 700;
}
.lang__list a[aria-current="true"] .lang__code {
  background: var(--sol);
  color: var(--carbon);
}
.lang__list a[aria-current="true"] .lang__check {
  opacity: 1;
}
/* Escritorio con poco ancho: sin la flecha, para que todo quepa en la barra */
@media (min-width: 1181px) and (max-width: 1320px) {
  .lang__btn {
    min-height: 38px;
    padding: 0 10px;
    gap: 5px;
  }
  .lang__flecha {
    display: none;
  }
}

/* ---------- Selector de idioma: escritorio en el menú, celular junto a la hamburguesa ---------- */
.lang--top {
  display: none;
}
@media (max-width: 1180px) {
  .lang--nav {
    display: none;
  }
  .lang--top {
    position: relative;
    z-index: 3;
    display: block;
    margin-left: auto;
    margin-right: 8px;
  }
  .lang--top .lang__btn {
    min-height: 46px;
    padding: 0 14px 0 12px;
    gap: 6px;
  }
  .lang--top .lang__flecha {
    display: none;
  }
  .lang--top .lang__list {
    min-width: 228px;
  }
  .lang--top .lang__list::before {
    right: 30px;
  }
  .menu-open .lang--top .lang__btn {
    border-color: rgba(255, 255, 255, 0.6);
    background: transparent;
    color: #fff;
  }
  .menu-open .lang--top .lang__btn[aria-expanded="true"] {
    background: var(--sol);
    border-color: var(--sol);
    color: var(--carbon);
  }
}
@media (max-width: 360px) {
  .lang--top .lang__sel {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lang.is-open .lang__list {
    animation: none;
  }
}

/* ---------- Hamburguesa: dos pequeños "satélites" (Sol y Brote) dan vueltas alrededor del botón mientras se baja por la página (celular) ---------- */
@media (max-width: 1180px) {
  .menu-toggle {
    transition: background-color 0.2s ease;
  }
  .menu-toggle::before,
  .menu-toggle::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transform-origin: 0 35px;
    transition: opacity 0.2s ease;
  }
  .menu-toggle::before {
    box-shadow: 0 0 0 4.5px var(--sol);
  }
  .menu-toggle::after {
    box-shadow: 0 0 0 3.5px var(--brote);
  }
  .menu-toggle.is-bajando[aria-expanded="false"] {
    background: var(--agro);
  }
  .menu-toggle.is-bajando[aria-expanded="false"]::before,
  .menu-toggle.is-bajando[aria-expanded="false"]::after {
    opacity: 1;
    animation: ham-satelite 0.9s linear infinite;
  }
  .menu-toggle.is-bajando[aria-expanded="false"]::after {
    animation-delay: -0.45s;
  }
}
@keyframes ham-satelite {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  /* Es un movimiento pequeño y solo ocurre mientras se baja; en equipos con "reducir movimiento" gira más despacio. */
  .menu-toggle.is-bajando[aria-expanded="false"]::before,
  .menu-toggle.is-bajando[aria-expanded="false"]::after {
    animation-duration: 2.2s;
  }
  .menu-toggle.is-bajando[aria-expanded="false"]::after {
    animation-delay: -1.1s;
  }
}

/* El aviso de la campaña vuelve a su lugar: ya no hay botones flotantes debajo */
.nudge {
  bottom: 20px;
}
@media (max-width: 640px) {
  .nudge {
    bottom: 20px;
  }
}

/* Proyecto: el encabezado y la franja de cifras ya no quedan pegados */
.page-hero + .section--stats.band {
  width: min(100% - 2 * clamp(10px, 2vw, 24px), 1440px);
  margin: clamp(14px, 2vw, 22px) auto 0;
  border-radius: clamp(28px, 4vw, 52px);
}

/* ---------- Tarjetas de aportes: cuadradas, con foto de La Elvira y un diseño distinto cada una ---------- */
.pagos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.pagos .qr-pair {
  grid-column: 1 / -1;
}
.pago {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1 / 1.12;
  border-radius: 28px;
  color: #fff;
  box-shadow: 0 18px 36px -22px rgba(17, 64, 42, 0.7);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease;
}
.pago:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 44px -22px rgba(17, 64, 42, 0.8);
}
.pago__foto {
  position: relative;
  flex: 0 0 42%;
  overflow: hidden;
}
.pago__foto img:not(.pago__arcos) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pago__cuerpo {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 18px 16px;
}
.pago__banco {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.15;
}
.pago__tipo {
  margin: 2px 0 0;
  font-size: 0.82rem;
  opacity: 0.92;
}
.pago__numero {
  margin: 0;
  font-size: clamp(1.02rem, 1.45vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.pago__titular {
  margin: 4px 0 0;
  font-size: 0.8rem;
  line-height: 1.25;
}
.pago__titular span {
  display: block;
  opacity: 0.75;
  font-size: 0.72rem;
}
.pago__aviso {
  margin: 8px 0 0;
  font-size: 0.8rem;
  font-weight: 700;
}
.pago__t2 {
  display: none;
}
.pago.is-copied .pago__t1 {
  display: none;
}
.pago.is-copied .pago__t2 {
  display: inline;
}
.pago__tap {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: copy;
}
.pago__tap:focus-visible {
  outline: 4px solid var(--sol);
  outline-offset: -6px;
}
.pago.is-copied {
  box-shadow: 0 0 0 4px var(--sol), 0 26px 44px -22px rgba(17, 64, 42, 0.8);
}

/* 1 · Bold: la foto termina en surco (arco de centro lejano) */
.pago--bold {
  background: var(--agro);
}
.pago--bold .pago__foto {
  flex-basis: 46%;
  clip-path: ellipse(78% 100% at 50% 0%);
}
.pago--bold .pago__aviso {
  color: var(--sol);
}

/* 2 · Davivienda: fragmento de surcos blancos sangrando desde la esquina */
.pago--dav {
  background: #c8102e;
}
.pago__arcos {
  position: absolute;
  right: -12%;
  top: -18%;
  width: 66%;
  height: auto;
  pointer-events: none;
}
.pago--dav .pago__aviso {
  color: var(--sol);
}

/* 3 · Bre-B: el panel abraza la foto */
.pago--brb {
  padding: 12px;
  background: var(--corozo, #a3324a);
}
.pago--brb .pago__foto {
  flex-basis: 40%;
  border-radius: 20px;
}
.pago--brb .pago__cuerpo {
  padding: 12px 8px 4px;
}
.pago--brb .pago__aviso {
  color: var(--sol);
}

/* 4 · Llave Bold: el sol es la foto */
.pago--key {
  background: var(--lima);
  color: var(--carbon);
}
.pago--key .pago__foto {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  flex: none;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--agro);
}
.pago--key .pago__cuerpo {
  position: absolute;
  inset: 0;
  padding: 18px;
}
.pago--key .pago__cab {
  max-width: 42%;
}
.pago--key .pago__aviso {
  color: var(--agro);
}
@media (max-width: 1180px) {
  .pagos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pago {
    aspect-ratio: 1 / 0.92;
  }
}
@media (max-width: 560px) {
  .pagos {
    grid-template-columns: 1fr;
  }
  .pago {
    aspect-ratio: 1 / 0.95;
  }
  .pago__numero {
    font-size: 1.3rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pago {
    transition: none;
  }
}


/* Aviso cuando la página aún no está traducida al idioma elegido */
.aviso-idioma {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 16px;
  margin: 12px auto 0;
  padding: 10px 46px 10px 18px;
  position: relative;
  width: min(100% - 2 * clamp(10px, 2vw, 24px), 1440px);
  border-radius: 18px;
  background: var(--sol);
  color: var(--carbon);
  font-size: 0.95rem;
  line-height: 1.35;
  text-align: center;
}
.aviso-idioma p {
  margin: 0;
}
.aviso-idioma a {
  color: var(--carbon);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.aviso-idioma__x {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(43, 36, 32, 0.12);
  color: var(--carbon);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
