/* Colombia Orgánica 2026 — hoja de estilos */
:root {
  /* línea gráfica de El Campo Innova (MinAgricultura) */
  --bone: #f2f5f9;
  --paper: #ffffff;
  --sand: #e6eef8;
  --forest: #004984;      /* azul marino */
  --forest-2: #0b5c9e;
  --forest-3: #3366cc;    /* azul institucional (--primary del sitio) */
  --moss: #2a5bc0;        /* acento de texto sobre claro */
  --ochre: #ff9000;       /* naranja de El Campo Innova (antes verde lima) */
  --ochre-soft: #ffb547;  /* naranja claro para texto sobre azul */
  --clay: #c2410c;
  --orange: #ff9000;
  --cyan: #30cad6;
  --yellow: #f2d610;
  --ink: #0f2238;
  --muted: #4d5d70;
  --line: rgba(15, 34, 56, .12);
  --line-inv: rgba(255, 255, 255, .16);
  --serif: "Montserrat", system-ui, sans-serif;
  --sans: "Nunito", system-ui, sans-serif;
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --r: 18px;
  --r-sm: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bone); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--moss); }
.eyebrow::before { content: ""; width: 40px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #3366cc 0 25%, #ff9000 25% 50%, #30cad6 50% 75%, #f2d610 75%); }
.h2 { font-size: clamp(30px, 3.6vw, 52px); }
.h2 em, .h1 em { font-style: italic; font-weight: 800; color: var(--moss); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); max-width: 820px; }
.head--split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 24px 64px; }
@media (max-width: 860px) { .head--split { grid-template-columns: 1fr; } }

/* botones */
.btn { --b: var(--forest); display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; background: var(--b); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid var(--b); transition: transform .18s var(--ease), background-color .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .08s; }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ochre { --b: var(--ochre); color: #0f2238; box-shadow: 0 8px 24px -10px rgba(255,144,0,.7); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--line { background: transparent; color: var(--forest); }
.btn--line:hover { background: var(--forest); color: #fff; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--ease); padding-bottom: 2px; }
.link:hover { background-size: 100% 1.5px; }

/* barra UE */
.eu-bar { background: var(--paper); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.eu-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 64px; flex-wrap: wrap; }
.eu-bar__eu { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 12.5px; line-height: 1.2; color: var(--ink); }
.eu-bar__eu img { width: 42px; height: 28px; }
.eu-bar__eu .eu-bar__ali { width: auto; height: 50px; margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line); box-sizing: content-box; }
.eu-bar__allies { display: flex; gap: 22px; align-items: center; }
.eu-bar__allies img { width: auto; display: block; height: 40px; }
.eu-bar__allies img[src*="campo"] { height: 38px; }
@media (max-width: 720px) { .eu-bar__allies { display: none; } }

/* navegación */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav); background: color-mix(in oklab, var(--bone) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.nav.is-stuck { border-bottom-color: var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 21px; letter-spacing: -0.01em; white-space: nowrap; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: -3px; }
.nav__links { display: flex; gap: 0; margin-left: -9px; }
.nav__links a { position: relative; padding: 10px 9px; font-size: 14.5px; white-space: nowrap; font-weight: 500; text-decoration: none; color: var(--ink); border-radius: 8px; }
.nav__links a::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 5px; height: 2px; background: var(--ochre); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); border-radius: 2px; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 8px; min-height: 44px; padding: 0 20px; font-size: 15px; }
.nav__toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 1240px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__links { display: flex; position: fixed; inset: var(--nav) 0 auto 0; flex-direction: column; gap: 0; padding: 12px var(--gut) 28px; background: var(--bone); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(0,0,0,.25); }
  .nav.is-open .nav__links a { padding: 16px 4px; font-size: 19px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav.is-open .nav__links a::after { display: none; }
}

/* hero */
.hero { position: relative; min-height: min(100svh - var(--nav) - 40px, 900px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.06); animation: heroZoom 2.4s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 40, 80, .88) 0%, rgba(0, 40, 80, .62) 42%, rgba(0, 40, 80, .12) 75%), linear-gradient(0deg, rgba(0, 40, 80, .85) 0%, rgba(0, 40, 80, 0) 45%); }
.hero__body { padding-block: clamp(64px, 9vw, 120px) 40px; display: grid; gap: 26px; max-width: 760px; }
.hero__badge { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); font-size: 14px; font-weight: 500; }
.hero__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); box-shadow: 0 0 0 4px rgba(211,154,58,.3); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(211,154,58,0); } }
.h1 { font-size: clamp(42px, 6.4vw, 92px); line-height: .98; letter-spacing: -0.035em; }
.h1 em { color: var(--ochre-soft); display: block; font-size: .62em; letter-spacing: -0.02em; margin-top: .25em; line-height: 1.05; }
.hero__lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; color: rgba(255,255,255,.86); max-width: 56ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--paper); color: var(--ink); border-radius: var(--r) var(--r) 0 0; margin-top: 24px; }
.stat { padding: 28px 28px 26px; border-left: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.stat:first-child { border-left: 0; }
.stat__n { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 62px); line-height: 1; letter-spacing: -0.03em; color: var(--forest); font-variant-numeric: tabular-nums; }
.stat__n sup { font-size: .38em; color: var(--orange); vertical-align: super; margin-left: 2px; }
.stat__t { font-size: 15px; color: var(--muted); line-height: 1.4; max-width: 24ch; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } .stat { padding: 22px 20px; } }
.note { font-size: 13px; color: var(--muted); }

/* por qué */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 960px) { .why { grid-template-columns: 1fr; } }
.why__media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.why__tag { position: absolute; left: 20px; bottom: 20px; right: 20px; background: rgba(0, 73, 132, .92); color: #fff; padding: 22px 24px; border-radius: 14px; backdrop-filter: blur(6px); display: grid; gap: 4px; }
.why__tag strong { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; color: var(--ochre-soft); }
.causes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
@media (max-width: 560px) { .causes { grid-template-columns: 1fr; } }
.cause { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 10px; transition: transform .3s var(--ease), box-shadow .3s; }
.cause:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -22px rgba(0,73,132,.45); }
.cause__ic { width: 42px; height: 42px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; color: var(--forest); }
.cause__ic svg { width: 22px; height: 22px; }
.cause h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.cause p { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* línea de tiempo */
.dark { background: var(--forest); color: #fff; }
.dark .eyebrow { color: var(--ochre); }
.dark .lead { color: rgba(255,255,255,.72); }
.dark .h2 em { color: var(--ochre-soft); }
.tl { position: relative; }
.tl__track { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 2px 6px; margin-inline: -2px; }
.tl__track::-webkit-scrollbar { display: none; }
.tl__btn { flex: 1 0 96px; scroll-snap-align: start; background: none; border: 0; padding: 0 4px 0 0; cursor: pointer; text-align: left; color: rgba(255,255,255,.6); display: grid; gap: 14px; min-height: 44px; }
.tl__btn .y { font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; transition: color .25s; white-space: nowrap; }
.tl__btn .dot { position: relative; height: 14px; }
.tl__btn .dot::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--line-inv); }
.tl__btn .dot::after { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--forest); border: 2px solid rgba(255,255,255,.45); transition: background-color .25s, border-color .25s, transform .3s var(--ease); }
.tl__btn:hover .y { color: #fff; }
.tl__btn[aria-selected="true"] { color: #fff; }
.tl__btn[aria-selected="true"] .dot::after { background: var(--ochre); border-color: var(--ochre); transform: scale(1.25); }
.tl__btn.is-past .dot::before { background: var(--ochre); }
.tl__btn.is-past .dot::after { border-color: var(--ochre); }
.tl__panel { margin-top: 44px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; min-height: 230px; }
@media (max-width: 860px) { .tl__panel { grid-template-columns: 1fr; } }
.tl__year { font-family: var(--serif); font-size: clamp(64px, 9vw, 140px); line-height: .9; letter-spacing: -0.04em; color: var(--ochre-soft); }
.tl__title { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 14px; }
.tl__text { font-size: 18px; color: rgba(255,255,255,.78); max-width: 58ch; }
.tl__nav { display: flex; gap: 10px; margin-top: 28px; }
.tl__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-inv); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .2s, transform .15s; }
.tl__arrow:hover { background: rgba(255,255,255,.1); }
.tl__arrow:active { transform: scale(.94); }
.tl__arrow svg { width: 18px; height: 18px; }
.tl__swap { animation: swap .45s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }

/* frase */
.quote { padding-block: clamp(90px, 12vw, 170px); }
.quote__text { font-family: var(--serif); font-size: clamp(34px, 4.8vw, 70px); line-height: 1.12; letter-spacing: -0.025em; max-width: 20ch; }
.quote__text .w { color: rgba(24,36,30,.18); transition: color .35s; }
.quote__text .w.on { color: var(--ink); }
.quote__text .w.hl.on { color: var(--moss); font-style: italic; }
.quote__by { margin-top: 32px; display: flex; align-items: center; gap: 14px; color: var(--muted); }
.quote__by::before { content: ""; width: 40px; height: 1px; background: var(--muted); }

/* qué hicimos */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.step { position: relative; grid-column: span 4; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; min-height: 250px; }
.step:hover { transform: translateY(-4px); box-shadow: 0 26px 40px -30px rgba(0,73,132,.5); }
.step__n { font-family: var(--serif); font-size: 15px; color: var(--moss); display: flex; align-items: center; gap: 10px; }
.step__n b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; font-weight: 500; font-size: 14px; font-family: var(--sans); }
.step h3 { font-size: 26px; }
.step p { color: var(--muted); font-size: 16px; line-height: 1.5; }
.step__meta { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 600; color: var(--forest); display: flex; gap: 8px; align-items: center; }
.step__meta svg { width: 16px; height: 16px; color: var(--moss); }
.step--photo { grid-column: span 6; padding: 0; color: #fff; min-height: 440px; justify-content: flex-end; border: 0; }
.step--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.step--photo:hover img { transform: scale(1.04); }
.step--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(0,40,80,.92) 0%, rgba(0,40,80,.35) 55%, rgba(0,40,80,0) 80%); }
.step--photo > div { position: relative; z-index: 2; padding: 30px; display: grid; gap: 10px; }
.step--photo .step__n { color: var(--ochre-soft); }
.step--photo h3 { font-size: clamp(28px, 2.6vw, 38px); }
.step--photo p { color: rgba(255,255,255,.82); max-width: 52ch; }
.step--photo .big { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--ochre-soft); letter-spacing: -0.03em; }
.step--wide { grid-column: span 12; background: var(--forest); color: #fff; border: 0; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: center; }
.step--wide p { color: rgba(255,255,255,.75); }
.step--wide .step__n { color: var(--ochre-soft); }
.method { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: m; }
.method li { counter-increment: m; background: rgba(255,255,255,.07); border: 1px solid var(--line-inv); border-radius: 12px; padding: 16px; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.88); }
.method li::before { content: counter(m, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 26px; color: var(--ochre); margin-bottom: 8px; }
@media (max-width: 1000px) { .step, .step--photo { grid-column: span 6; } .step--wide { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .step, .step--photo { grid-column: span 12; } .step--photo { min-height: 380px; } .method { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* territorio */
.terr { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .terr { grid-template-columns: 1fr; } }
.map { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(16px, 3vw, 36px); }
.map svg { width: 100%; height: auto; display: block; }
.map__land { fill: #dcebd0; stroke: var(--forest-3); stroke-width: 1.4; stroke-linejoin: round; }
.map__grid line { stroke: var(--line); stroke-dasharray: 2 6; }
.pin { cursor: pointer; }
.pin circle.c { fill: var(--forest); stroke: #fff; stroke-width: 3; transition: r .25s var(--ease), fill .25s; }
.pin circle.halo { fill: var(--ochre); opacity: 0; }
.pin text { font: 600 15px var(--sans); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; pointer-events: none; }
.pin:hover circle.c, .pin:focus-visible circle.c, .pin.is-on circle.c { fill: var(--ochre); }
.pin.is-on circle.halo { animation: halo 2s ease-out infinite; }
@keyframes halo { from { opacity: .55; r: 9; } to { opacity: 0; r: 30; } }
.pin:focus { outline: none; }
.pin:focus-visible circle.c { stroke: var(--ink); }
.map__legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: var(--muted); }
.map__legend span { display: inline-flex; gap: 8px; align-items: center; }
.map__legend i { width: 12px; height: 12px; border-radius: 50%; background: var(--forest); }
.map__legend i.v { background: var(--ochre); }
.place { background: var(--forest); color: #fff; border-radius: var(--r); overflow: hidden; display: grid; }
.place__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--forest-2); }
.place__img img { width: 100%; height: 100%; object-fit: cover; }
.place__body { padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; }
.place__body h3 { font-size: clamp(32px, 3.2vw, 46px); }
.place__when { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.1); border: 1px solid var(--line-inv); }
.chip--o { background: var(--ochre); color: var(--forest); border-color: var(--ochre); }
.place__where { font-size: 15px; color: rgba(255,255,255,.65); }
.place__topic { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.9); }
.place.tl__swap { animation: none; }
.place .swap { animation: swap .45s var(--ease); }
.cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cities button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 14px; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.cities button:hover { border-color: var(--forest); }
.cities button[aria-pressed="true"] { background: var(--forest); color: #fff; border-color: var(--forest); }

/* participantes */
.who { margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .who { grid-template-columns: 1fr; } }
.who__big { display: flex; gap: 32px; margin-top: 28px; }
.who__big div { display: grid; gap: 4px; }
.who__big b { font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 1; letter-spacing: -0.03em; color: var(--forest); }
.who__big span { font-size: 14px; color: var(--muted); }
.bars { display: grid; gap: 18px; }
.bars__legend { display: flex; gap: 18px; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.bars__legend span { display: inline-flex; gap: 8px; align-items: center; }
.bars__legend i { width: 14px; height: 8px; border-radius: 4px; background: var(--cyan); }
.bars__legend i.b { background: var(--forest); }
.bar { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 16px; align-items: center; font-size: 15px; }
.bar__track { display: grid; gap: 4px; }
.bar__fill { height: 10px; border-radius: 6px; background: var(--cyan); width: calc(var(--v) * 4%); transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease); display: flex; align-items: center; }
.bar__fill.b { background: var(--forest); }
.bar__fill::after { content: attr(data-v); position: absolute; margin-left: calc(100% + 8px); font-size: 12px; font-weight: 600; color: var(--muted); }
.bar__fill { position: relative; }
.bars.in .bar__fill { transform: scaleX(1); }
@media (max-width: 560px) { .bar { grid-template-columns: 1fr; gap: 6px; } }

/* experiencias */
.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .stories { grid-template-columns: 1fr; } }
.story { position: relative; min-height: 560px; border-radius: var(--r); overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.story:hover img { transform: scale(1.05); }
.story::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,34,68,.95) 0%, rgba(0,34,68,.55) 50%, rgba(0,34,68,.05) 80%); }
.story__body { padding: 30px; display: grid; gap: 12px; }
.story__place { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ochre-soft); }
.story h3 { font-size: 30px; }
.story p { color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.5; }
.story blockquote { margin: 6px 0 0; padding-left: 16px; border-left: 2px solid var(--ochre); font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.35; color: #fff; }
@media (max-width: 960px) { .story { min-height: 460px; } }

/* resultados */
.results-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.compare { display: grid; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.compare__head, .compare__row { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 1fr) minmax(0, 1.2fr); }
.compare__head > div { padding: 18px 24px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.compare__head .old { background: #fde7d6; color: var(--clay); }
.compare__head .new { background: var(--forest); color: var(--ochre-soft); }
.compare__row > div { padding: 20px 24px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.45; }
.compare__row .t { font-weight: 600; }
.compare__row .old { color: var(--muted); background: #faf3ef; display: flex; gap: 10px; }
.compare__row .new { background: #eef7e1; display: flex; gap: 10px; color: var(--ink); }
.compare__row .old::before, .compare__row .new::before { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.compare__row .old::before { content: "×"; background: #e9cfc3; color: var(--clay); }
.compare__row .new::before { content: "✓"; background: #5aa30c; color: #fff; }
@media (max-width: 760px) {
  .compare__head { display: none; }
  .compare__row { grid-template-columns: 1fr; }
  .compare__row .t { padding-bottom: 6px; background: var(--paper); }
  .compare__row .old, .compare__row .new { border-top: 0; padding-top: 10px; }
  .compare__row .old::after { content: " (antes)"; }
}
.res-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
@media (max-width: 960px) { .res-grid { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); }
.card h3 { font-size: 30px; margin-bottom: 10px; }
.card > p { color: var(--muted); }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cats li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--bone); border: 1px solid var(--line); font-size: 15px; font-weight: 500; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.cats li:hover { background: var(--forest); color: #fff; transform: translateY(-2px); }
.cats li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--moss); }
.cats li.was { border-color: var(--forest); }
.tech { background: var(--forest); color: #fff; border: 0; display: grid; gap: 20px; }
.tech > p { color: rgba(255,255,255,.75); }
.tech__num { display: flex; align-items: baseline; gap: 14px; }
.tech__num b { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 7vw, 96px); line-height: 1; letter-spacing: -0.04em; color: var(--ochre-soft); }
.tech__num span { font-size: 15px; color: rgba(255,255,255,.7); max-width: 22ch; }
.hub { width: 100%; height: auto; }
.hub line { stroke: rgba(255,255,255,.28); stroke-width: 1.5; stroke-dasharray: 4 5; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.hub .core rect { fill: var(--ochre); }
.hub .core text { fill: var(--forest); font: 700 15px var(--sans); }
.hub .node rect { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.3); }
.hub .node text { fill: #fff; font: 500 13.5px var(--sans); }
.voices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
@media (max-width: 1000px) { .voices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .voices { grid-template-columns: 1fr; } }
.voice { background: var(--sand); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start; }
.voice h4 { font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: 0; display: flex; gap: 10px; align-items: center; }
.voice h4 svg { width: 22px; height: 22px; color: var(--forest-3); }
.voice p { font-size: 15px; line-height: 1.5; color: #3d4943; }

/* por qué importa */
.matter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .matter { grid-template-columns: 1fr; } }
.matter__col { border-top: 3px solid var(--forest); padding-top: 24px; display: grid; gap: 14px; align-content: start; }
.matter__col:nth-child(2) { border-color: var(--orange); }
.matter__col:nth-child(3) { border-color: var(--ochre); }
.matter__col:nth-child(1) { border-color: var(--forest-3); }
.matter__col h3 { font-size: 30px; }
.matter__col li { position: relative; padding-left: 26px; color: #3d4943; font-size: 16px; line-height: 1.5; margin-top: 8px; }
.matter__col li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--moss); border-bottom: 2px solid var(--moss); transform: rotate(-45deg); }
.figures { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r); overflow: hidden; background: var(--forest); color: #fff; }
.fig { padding: clamp(24px, 3vw, 40px); border-left: 1px solid var(--line-inv); display: grid; gap: 10px; align-content: start; }
.fig:first-child { border-left: 0; }
.fig b { white-space: nowrap; font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 3vw, 46px); line-height: 1; letter-spacing: -0.03em; color: var(--ochre-soft); font-variant-numeric: tabular-nums; }
.fig > span { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.45; }
@media (max-width: 960px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fig:nth-child(3) { border-left: 0; } .fig:nth-child(n+3) { border-top: 1px solid var(--line-inv); } }
@media (max-width: 520px) { .figures { grid-template-columns: 1fr; } .fig { border-left: 0; border-top: 1px solid var(--line-inv); } .fig:first-child { border-top: 0; } }
.closing-quote { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: var(--r); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.closing-quote img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.closing-quote div { padding: clamp(28px, 4vw, 56px); display: grid; gap: 18px; align-content: center; }
.closing-quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(26px, 2.8vw, 40px); line-height: 1.2; letter-spacing: -0.02em; }
.closing-quote cite { font-style: normal; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .closing-quote { grid-template-columns: 1fr; } }

/* lo que sigue */
.road { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: r; }
.road::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: linear-gradient(90deg, var(--ochre), var(--moss)); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 1.4s var(--ease); }
.road.in { --p: 1; }
.road li { counter-increment: r; position: relative; display: grid; gap: 12px; padding-top: 76px; }
.road li::before { content: counter(r); position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bone); border: 2px solid var(--forest); font-family: var(--serif); font-size: 24px; color: var(--forest); }
.road h3 { font-size: 24px; }
.road p { color: var(--muted); font-size: 16px; line-height: 1.5; }
@media (max-width: 900px) { .road { grid-template-columns: 1fr; } .road::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; transform: scaleY(var(--p, 0)); transform-origin: top; } .road li { padding: 6px 0 14px 80px; } }
.next { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
@media (max-width: 960px) { .next { grid-template-columns: 1fr; } }
.next__media { border-radius: var(--r); overflow: hidden; min-height: 360px; position: relative; }
.next__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tasks li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.tasks li:first-child { padding-top: 0; }
.tasks__ic { width: 48px; height: 48px; border-radius: 14px; background: var(--forest); color: var(--ochre-soft); display: grid; place-items: center; }
.tasks__ic svg { width: 22px; height: 22px; }
.tasks h3 { font-family: var(--sans); font-size: 18px; font-weight: 700; letter-spacing: 0; margin-bottom: 4px; }
.tasks p { color: var(--muted); font-size: 16px; line-height: 1.5; }
.invite { margin-top: clamp(56px, 7vw, 96px); border-radius: var(--r); padding: clamp(32px, 5vw, 64px); background: linear-gradient(120deg, #004984 0%, #3366cc 100%); color: #fff; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 24px 48px; align-items: center; position: relative; overflow: hidden; }
.invite::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255,255,255,.18); pointer-events: none; }
.invite h2 { font-size: clamp(30px, 3.4vw, 48px); }
.invite p { margin-top: 12px; font-size: 18px; max-width: 60ch; color: rgba(255,255,255,.85); }
@media (max-width: 860px) { .invite { grid-template-columns: 1fr; } }

/* documentos y aliados */
.docs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 960px) { .docs { grid-template-columns: 1fr; } }
.doc { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.doc__ic { width: 52px; height: 52px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; color: var(--forest); }
.doc__ic svg { width: 24px; height: 24px; }
.doc h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.doc p { font-size: 14px; color: var(--muted); }
.doc .soon { font-size: 13px; font-weight: 600; color: var(--muted); padding: 6px 12px; border-radius: 999px; background: var(--bone); border: 1px solid var(--line); white-space: nowrap; }
.doc a.go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.doc a.go:hover { background: var(--forest); color: #fff; transform: translateX(3px); }
.doc a.go svg { width: 18px; height: 18px; }
.allies { display: grid; gap: 12px; }
.ally { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px 22px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.ally strong { font-size: 17px; }
.ally span { font-size: 15px; color: var(--muted); }
.team { margin-top: 28px; font-size: 15px; color: var(--muted); line-height: 1.7; }
.team b { color: var(--ink); font-weight: 600; }

/* pie */
.footer { background: var(--forest); color: rgba(255,255,255,.78); padding-block: clamp(64px, 8vw, 110px) 32px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, .6fr)); gap: 40px; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }
.footer .logo { color: #fff; }
.footer .logo small { color: rgba(255,255,255,.6); }
.footer h4 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ochre); margin-bottom: 14px; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__eu { margin-top: 28px; display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; padding: 20px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--line-inv); }
.footer__logos { display: flex; gap: 12px; align-items: center; } .footer__logos img { height: 48px; width: auto; border-radius: 4px; background: #fff; }
.footer__eu strong { color: #fff; display: block; margin-bottom: 4px; }
.footer__eu p { font-size: 13px; line-height: 1.5; }
.footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-inv); display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; }

/* aparición al hacer scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .hero__img img { transform: none; }
  .quote__text .w { color: var(--ink); }
}

/* cifras en Montserrat con peso, como El Campo Innova */
.stat__n, .tl__year, .who__big b, .tech__num b, .step--photo .big, .why__tag strong, .road li::before, .method li::before { font-weight: 700; }
.stat__n { font-size: clamp(36px, 3.8vw, 54px); }
.tl__year { font-size: clamp(56px, 7vw, 110px); }
.quote__text, .closing-quote blockquote { font-weight: 600; }
.step h3, .road h3 { font-size: 22px; }
.story h3, .card h3, .matter__col h3 { font-size: 24px; }

/* logo de Consultar Internacional junto a AL-INVEST Verde */
.eu-bar__eu .eu-bar__consultar { height: 34px; }
.footer__logos .footer__consultar { height: 48px; padding: 6px 10px; box-sizing: border-box; }
.footer__logos { flex-wrap: wrap; }
@media (max-width: 560px) { .eu-bar__eu .eu-bar__consultar { display: none; } }

/* ajustes 17/11: título del inicio en tres partes */
.hero .h1 { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.04; }
.h1__o { color: var(--ochre); }
.hero .h1 em { margin-top: .9em; font-size: .5em; }
.why__tag span { font-size: 15px; line-height: 1.45; }
@media (min-width: 1001px) { .step--def { grid-column: span 8; } }
.method--ficha { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .method--ficha { grid-template-columns: 1fr; } }
/* quiénes participaron: una sola serie */
.bars .bar__fill { height: 14px; }
.bar--total { border-top: 1px solid var(--line); padding-top: 14px; font-weight: 700; color: var(--forest); }
.bar--total b { font-family: var(--serif); font-size: 22px; }
/* documentos: solo aliados y roles */
.docs--solo { grid-template-columns: 1fr; }
.docs--solo .allies { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
