/* agricien.earth — v3 «de la necesidad a la solución» (septiembre 2026)
 * Diseño basado en la propuesta de Kimi: oliva, lima y crema; Space Grotesk + IBM Plex Mono. */
:root {
  --olive-deep: #2c3719;
  --olive: #3d4a27;
  --olive-soft: #5a6a3e;
  --lime: #8ebb3e;
  --lime-tint: #a5cd50;
  --lime-pale: #c7d460;
  --cream: #fbfbe4;
  --cream-soft: #f6f7d9;
  --paper: #fffef4;
  --line: #dfe3c2;
  --sombra: 0 10px 24px -14px rgba(61, 74, 39, .35);
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ancho: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--olive-deep); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--olive); }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

.contenedor { max-width: var(--ancho); margin: 0 auto; padding: 0 1.25rem; }
.rotulo { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--olive-soft); }
.suave { color: var(--olive-soft); }
.reveal { animation: rise .45s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ botones y chips */
.btn { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; padding: .8rem 1.7rem; font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .2s, transform .15s, color .2s; border: 1px solid transparent; }
.btn:hover { transform: translateY(-1px); }
.btn-olive { background: var(--olive); color: var(--cream); }
.btn-olive:hover { background: var(--olive-deep); }
.btn-lime { background: var(--lime); color: var(--olive-deep); }
.btn-lime:hover { background: var(--lime-tint); }
.btn-ghost { border-color: var(--olive); color: var(--olive); }
.btn-ghost:hover { background: var(--olive); color: var(--cream); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5a; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }
.botones { display: flex; flex-wrap: wrap; gap: .75rem; }

.chip { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--olive-soft); background: transparent; white-space: nowrap; transition: all .15s; }
button.chip:hover { border-color: var(--olive-soft); color: var(--olive); }
.chip.activo { background: var(--olive); color: var(--cream); border-color: var(--olive); }
.chip.lima { background: var(--lime); border-color: var(--lime); color: var(--olive-deep); }
.chip .n { opacity: .6; margin-left: .35rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }

.tarjeta { border: 1px solid var(--line); background: var(--paper); border-radius: 1rem; padding: 1.15rem 1.3rem; }
.pick { text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 1rem; padding: 1.1rem 1.25rem; width: 100%; transition: border-color .2s, box-shadow .2s, transform .15s; display: flex; flex-direction: column; }
.pick:hover { border-color: var(--lime); transform: translateY(-2px); box-shadow: var(--sombra); }
.pick.elegido { border-color: var(--olive); background: var(--cream-soft); box-shadow: 0 0 0 1px var(--olive) inset; }
.pick h3 { font-size: 1.05rem; font-weight: 600; }
.pick p { font-size: .9rem; color: var(--olive-soft); margin-top: .35rem; }
.mas { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-top: auto; padding-top: .9rem; font-weight: 600; }

.rejilla { display: grid; gap: 1rem; }
@media (min-width: 640px) { .r2 { grid-template-columns: repeat(2, 1fr); } .r3, .r4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .r3 { grid-template-columns: repeat(3, 1fr); } .r4 { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------ aviso y cabecera */
.aviso { background: var(--olive-deep); color: var(--cream); font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; text-align: center; padding: .45rem 2.5rem; position: relative; }
.aviso button { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); color: var(--cream); }
.cabecera { position: sticky; top: 0; z-index: 40; background: rgba(251, 251, 228, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.cabecera .contenedor { display: flex; align-items: center; gap: 1rem; min-height: 4.1rem; }
.marca { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--olive-deep); margin-right: auto; }
.marca img { width: 34px; height: 34px; object-fit: contain; }
.marca strong { font-size: 1.2rem; font-weight: 700; }
.marca small { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-soft); display: none; }
@media (min-width: 560px) { .marca small { display: inline; } }
.menu { display: none; align-items: center; gap: .25rem; }
.menu > a, .menu > .desplegable > button { padding: .45rem .95rem; border-radius: 999px; text-decoration: none; color: var(--olive); font-weight: 500; font-size: .95rem; }
.menu > a:hover, .menu > .desplegable > button:hover { background: var(--cream-soft); }
.menu > a.activo, .menu > .desplegable.activo > button { background: var(--olive); color: var(--cream); }
.desplegable { position: relative; }
.desplegable-lista { position: absolute; right: 0; top: calc(100% + .4rem); min-width: 15rem; background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; padding: .5rem; box-shadow: var(--sombra); display: none; }
.desplegable.abierto .desplegable-lista { display: block; }
.desplegable-lista a { display: flex; gap: .6rem; align-items: center; padding: .5rem .75rem; border-radius: .6rem; text-decoration: none; color: var(--olive); font-size: .92rem; }
.desplegable-lista a:hover, .desplegable-lista a.activo { background: var(--cream-soft); }
.desplegable-lista .rotulo { padding: .6rem .75rem .25rem; border-top: 1px solid var(--line); margin-top: .35rem; }
.desplegable-lista i { width: 1rem; color: var(--lime); }
.cta-contacto { display: none; }
.hamburguesa { width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--olive); }
@media (min-width: 1024px) {
  .menu { display: flex; }
  .cta-contacto { display: inline-flex; }
  .hamburguesa { display: none; }
}
.menu-movil { border-top: 1px solid var(--line); padding: .6rem 1.25rem 1rem; display: grid; gap: .15rem; }
.menu-movil a { padding: .6rem .75rem; border-radius: .6rem; text-decoration: none; color: var(--olive); font-weight: 500; display: flex; gap: .6rem; align-items: center; }
.menu-movil a.activo { background: var(--olive); color: var(--cream); }
.menu-movil .rotulo { padding: .7rem .75rem .2rem; }
.menu-movil .btn { justify-content: center; margin-top: .6rem; }
@media (min-width: 1024px) { .menu-movil { display: none !important; } }

/* ------------------------------------------------------------ vistas */
.vista { min-height: 60vh; outline: none; }
.cargando { height: 60vh; }
.seccion { padding: 3.5rem 0; }
.seccion.banda { background: var(--cream-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cabeza { margin-bottom: 2rem; max-width: 46rem; }
.cabeza .rotulo { margin-bottom: .8rem; }
.cabeza h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
.cabeza h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); font-weight: 700; }
.cabeza p.lede { margin-top: 1rem; font-size: 1.08rem; color: var(--olive-soft); max-width: 52ch; }
em { font-style: normal; color: var(--lime); }

.heroe { padding: 3.5rem 0 3.5rem; }
@media (min-width: 640px) { .heroe { padding-top: 5rem; } }
.heroe h1 { font-size: clamp(2.4rem, 6.5vw, 4rem); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; max-width: 56rem; }
.heroe .lede { margin-top: 1.5rem; font-size: 1.15rem; color: var(--olive-soft); max-width: 52ch; }
.heroe .botones { margin-top: 2.2rem; }
.cifras { margin-top: 3.2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }
@media (min-width: 760px) { .cifras { grid-template-columns: repeat(var(--n, 4), 1fr); } }
.cifra { background: var(--paper); padding: 1.3rem 1.25rem; }
.cifra .v { font-size: 1.9rem; font-weight: 700; }
.cifra .v small { font-size: .95rem; font-weight: 600; margin-left: .25rem; }
.cifra .rotulo { margin-top: .3rem; letter-spacing: .1em; line-height: 1.45; }

.dos-columnas { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .dos-columnas { grid-template-columns: 1fr 1fr; } }
.pasos-linea { display: grid; gap: 1.6rem; }
.paso { position: relative; padding-left: 3.4rem; }
.paso::before { content: attr(data-n); position: absolute; left: 0; top: .05rem; width: 2.4rem; height: 2.4rem; border-radius: 999px; background: var(--olive); color: var(--cream); font-family: var(--mono); font-size: .9rem; display: flex; align-items: center; justify-content: center; }
.paso:not(:last-child)::after { content: ""; position: absolute; left: 1.2rem; top: 2.75rem; bottom: -1.3rem; width: 1px; background: var(--line); }
.paso h3 { font-size: 1rem; font-weight: 600; }
.paso p { font-size: .92rem; color: var(--olive-soft); margin-top: .2rem; }
.cita { font-size: 1.12rem; font-weight: 600; line-height: 1.35; color: var(--olive-deep); }
.flujo { background: var(--olive); color: var(--cream); border-radius: 1rem; padding: 1.8rem 1.5rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; text-align: center; line-height: 2; }

/* ------------------------------------------------------------ asistente de soluciones */
.pasador { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-bottom: 2.4rem; }
.pasador .p { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--olive-soft); }
.pasador .p b { width: 1.8rem; height: 1.8rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: .75rem; font-weight: 500; border: 1px solid var(--line); }
.pasador .p.hecho b, .pasador .p.actual b { background: var(--olive); color: var(--cream); border-color: var(--olive); }
.pasador .p.actual { color: var(--olive-deep); font-weight: 600; }
.pasador .sep { width: 2.2rem; height: 1px; background: var(--line); display: none; }
@media (min-width: 640px) { .pasador .sep { display: block; } }
.grupo-campo { margin-bottom: 1.8rem; }
.grupo-campo > .rotulo { margin-bottom: .7rem; }
.respuesta h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); font-weight: 700; margin-top: .6rem; }
.respuesta > .lede { margin-top: .9rem; font-size: 1.08rem; color: var(--olive-soft); max-width: 60ch; }
.bloques { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 900px) { .bloques { grid-template-columns: 1fr 1fr; } }
.bloque .rotulo { margin-bottom: .8rem; }
.bloque h3 { font-size: 1.05rem; font-weight: 600; }
.fila-enlace { display: flex; justify-content: space-between; align-items: center; gap: .75rem; width: 100%; text-align: left; padding: .7rem .1rem; border-top: 1px solid var(--line); text-decoration: none; color: var(--olive-deep); }
.fila-enlace:first-of-type { border-top: 0; }
.fila-enlace small { color: var(--olive-soft); font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.fila-enlace:hover { color: var(--lime); }
.persona { display: flex; align-items: center; gap: .8rem; width: 100%; text-align: left; border: 1px solid var(--line); border-radius: .8rem; padding: .7rem .8rem; margin-bottom: .55rem; background: var(--paper); }
.persona:hover { border-color: var(--lime); }
.persona b { display: block; font-weight: 600; font-size: .95rem; }
.persona span { display: block; font-size: .82rem; color: var(--olive-soft); }
.avatar { width: 2.7rem; height: 2.7rem; border-radius: 999px; flex: none; background: #3b7ddd; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; object-fit: cover; }
.avatar.negocio { background: var(--olive); }
.avatar.asociado { background: #2f6fb3; }
.avatar.grande { width: 4.5rem; height: 4.5rem; font-size: 1.2rem; }
.campos { display: grid; gap: .75rem; max-width: 36rem; }
.campos input, .campos textarea { width: 100%; border: 1px solid var(--line); background: var(--paper); border-radius: .7rem; padding: .75rem .9rem; outline: none; }
.campos input:focus, .campos textarea:focus { border-color: var(--lime); }
.estado-envio { margin-top: .8rem; font-size: .9rem; color: var(--olive); min-height: 1.2em; }
.estado-envio.error { color: #b3261e; }
.enviado { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; border-color: var(--lime); }
.enviado i { color: var(--lime); font-size: 1.3rem; margin-top: .1rem; }
.acciones-pie { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; margin-top: 2rem; }

/* ------------------------------------------------------------ catálogo */
.productos { border: 1px solid var(--lime-pale); background: var(--cream-soft); border-radius: 1.2rem; padding: 1.4rem; margin-bottom: 2.6rem; }
.productos-cabeza { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: 1rem; }
.productos-cabeza h2 { font-size: 1.25rem; font-weight: 700; }
.producto { background: var(--paper); border: 1px solid var(--line); border-radius: .9rem; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; }
.producto h3 { font-size: 1rem; font-weight: 600; }
.producto p { font-size: .87rem; color: var(--olive-soft); }
.estado { align-self: flex-start; }
.modos { display: flex; flex-wrap: wrap; gap: .4rem; border-bottom: 1px solid var(--line); margin-bottom: 1.1rem; }
.modos button { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: .7rem .8rem; color: var(--olive-soft); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.modos button.activo { color: var(--olive-deep); border-bottom-color: var(--lime); font-weight: 600; }
.buscar { width: 100%; max-width: 36rem; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: .75rem 1.2rem; outline: none; }
.buscar:focus { border-color: var(--lime); }
.contador { margin: 1.3rem 0 .9rem; }
.item { text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 1rem; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .15s, box-shadow .2s; width: 100%; }
.item:hover { border-color: var(--lime); transform: translateY(-2px); box-shadow: var(--sombra); }
.item .foto { aspect-ratio: 16 / 10; background: var(--cream-soft); overflow: hidden; }
.item .foto img { width: 100%; height: 100%; object-fit: cover; }
.item .cuerpo { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.item h3 { font-size: 1.02rem; font-weight: 600; }
.item p { font-size: .87rem; color: var(--olive-soft); }
.item .rotulo { letter-spacing: .1em; font-size: .62rem; }
.item .rotulo b { color: var(--olive-deep); font-weight: 600; }
.vacio { padding: 2rem 0; color: var(--olive-soft); }

/* ------------------------------------------------------------ especialistas */
.filtros { display: grid; gap: 1.1rem; margin-bottom: 1.6rem; }
@media (min-width: 900px) { .filtros { grid-template-columns: 1fr 1fr; } }
.filtros .rotulo { margin-bottom: .55rem; }
.experto { text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 1rem; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .8rem; width: 100%; transition: border-color .2s, transform .15s; }
.experto:hover { border-color: var(--lime); transform: translateY(-2px); }
.experto .cab { display: flex; gap: .85rem; align-items: center; }
.experto h3 { font-size: 1rem; font-weight: 600; }
.experto .cargo { font-size: .84rem; color: var(--olive-soft); margin-top: .15rem; }

/* ------------------------------------------------------------ evidencia y nosotros */
.evidencia { display: flex; flex-direction: column; gap: .6rem; }
.evidencia .metrica { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); font-weight: 600; line-height: 1.5; }
.evidencia h3 { font-size: 1.12rem; font-weight: 700; }
.evidencia p { font-size: .92rem; color: var(--olive-soft); }
.evidencia .persona { margin: .4rem 0 0; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; padding: 1.1rem; }
.kpi .v { font-size: 1.6rem; font-weight: 700; color: var(--olive); }
.kpi p { font-size: .86rem; color: var(--olive-soft); margin-top: .25rem; }
.cta-final { margin-top: 3rem; text-align: center; background: var(--olive); color: var(--cream); border-radius: 1.2rem; padding: 2.4rem 1.5rem; }
.cta-final h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 1.4rem; }
.linea-tiempo { display: grid; gap: 1rem; }
.etapa .periodo { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; color: var(--lime); font-weight: 600; }
.etapa h3 { font-size: 1.05rem; font-weight: 600; margin: .3rem 0 .4rem; }
.etapa p { font-size: .9rem; color: var(--olive-soft); }
.hitos { display: grid; gap: .5rem; }
.hito { display: flex; gap: 1rem; font-size: .92rem; border-top: 1px solid var(--line); padding-top: .5rem; }
.hito b { font-family: var(--mono); color: var(--olive-soft); min-width: 3.2rem; }
.cliente b { display: block; font-size: .95rem; }
.cliente span { display: block; font-size: .82rem; color: var(--olive-soft); }
.region { margin: 1.6rem 0 .7rem; }
.icono { width: 2.6rem; height: 2.6rem; border-radius: .8rem; background: var(--cream-soft); color: var(--olive); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .8rem; }
.etiqueta { display: inline-block; font-size: .78rem; background: var(--cream-soft); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .6rem; margin: 0 .3rem .35rem 0; color: var(--olive); }

/* ------------------------------------------------------------ modal */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(44, 55, 25, .55); display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 640px) { .modal { align-items: center; padding: 1.5rem; } }
.modal-caja { background: var(--paper); width: 100%; max-width: 50rem; max-height: 92vh; overflow-y: auto; border-radius: 1.2rem 1.2rem 0 0; padding: 1.5rem; animation: rise .3s ease both; }
@media (min-width: 640px) { .modal-caja { border-radius: 1.2rem; padding: 2rem; } }
.modal-cabeza { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem; }
.modal-cabeza h3 { font-size: 1.45rem; font-weight: 700; margin-top: .3rem; }
.modal-cerrar { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 999px; border: 1px solid var(--line); color: var(--olive); }
.modal-cuerpo h4 { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-soft); margin: 1.5rem 0 .6rem; font-weight: 500; }
.modal-cuerpo p, .modal-cuerpo li { font-size: .95rem; }
.modal-cuerpo ul { padding-left: 1.1rem; margin: 0; }
.modal-cuerpo .principal { width: 100%; max-height: 18rem; object-fit: contain; background: var(--cream-soft); border-radius: .8rem; margin-bottom: 1rem; }
.specs { display: grid; grid-template-columns: minmax(7rem, 30%) 1fr; gap: .45rem 1rem; margin: 0; font-size: .92rem; }
.specs dt { color: var(--olive-soft); }
.specs dd { margin: 0; }
.modal-cuerpo .botones { margin-top: 1.6rem; }
.texto-largo { white-space: pre-line; }
.cols-modal { display: grid; gap: 0 1.5rem; }
@media (min-width: 700px) { .cols-modal { grid-template-columns: 1fr 1fr; } }
body.sin-scroll { overflow: hidden; }

/* ------------------------------------------------------------ pie */
.pie { margin-top: 4rem; border-top: 1px solid var(--line); background: var(--cream-soft); padding: 2.6rem 0 6rem; }
@media (min-width: 900px) { .pie { padding-bottom: 2.5rem; } }
.pie .cols { display: grid; gap: 2rem; }
@media (min-width: 760px) { .pie .cols { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.pie .rotulo { margin-bottom: .8rem; }
.pie a { display: block; text-decoration: none; color: var(--olive); font-size: .92rem; padding: .15rem 0; }
.pie a:hover { text-decoration: underline; }
.pie p { font-size: .9rem; color: var(--olive-soft); max-width: 42ch; }
.pie .legal { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .8rem; color: var(--olive-soft); }
.wa-flotante { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 50; width: 3.3rem; height: 3.3rem; border-radius: 999px; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .35); text-decoration: none; }
