@charset "UTF-8";

/* Dirección unificada · una composición, dos temas.
   De B: la fotografía a sangre cortada por bloques planos y la calculadora como página de color.
   De A: la retícula de 12 columnas, el índice decimal y los filetes de 1 px.
   Todo color sale de los tokens de :root; la estructura no cambia entre temas. */

:root {
  /* Tema claro: papel y tinta navy. */
  color-scheme: light;
  --bg: #f8f6f3;
  --surface: #ffffff;
  --ink: #0a1628;
  --ink-2: #49566a;
  --rule: #cfcdc7;
  --rule-strong: #0a1628;
  --action: #0a1628;
  --on-action: #f8f6f3;
  --action-hover: #0a7a42;
  --on-action-hover: #f8f6f3;
  --accent: #0a7a42;
  --focus: #0a1628;
  --error: #8f1a22;
  --logo-on-light: block;
  --logo-on-dark: none;

  /* Constantes en los dos temas: el bloque del dinero, la lámina 3D y el pie. */
  --block: #0a7a42;
  --on-block: #f8f6f3;
  --plate: #050a12;
  --inverse: #0a1628;
  --on-inverse: #f8f6f3;
  --on-inverse-2: #c5ccd6;
  --inverse-rule: #4a566a;

  --gutter: clamp(20px, 4.4vw, 64px);
  --gap: clamp(14px, 2vw, 32px);
  --col: calc((100% - 2 * var(--gutter) - 11 * var(--gap)) / 12);
  --header: 64px;
  --display: "Clash Display", "General Sans", Arial, sans-serif;
  --text: "General Sans", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, 0, 0, 1);
  font-family: var(--text);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tema oscuro: carbón. Este bloque aparece dos veces con los mismos valores
   (ajuste del equipo y elección explícita); theme.test.mjs comprueba que no diverjan. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #050a12;
    --surface: #0a1628;
    --ink: #f8f6f3;
    --ink-2: #c6cdcb;
    --rule: #2b3544;
    --rule-strong: #8f99a6;
    --action: #02ca60;
    --on-action: #050a12;
    --action-hover: #f8f6f3;
    --on-action-hover: #050a12;
    --accent: #02ca60;
    --focus: #f8f6f3;
    --error: #ffb4ab;
    --logo-on-light: none;
    --logo-on-dark: block;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050a12;
  --surface: #0a1628;
  --ink: #f8f6f3;
  --ink-2: #c6cdcb;
  --rule: #2b3544;
  --rule-strong: #8f99a6;
  --action: #02ca60;
  --on-action: #050a12;
  --action-hover: #f8f6f3;
  --on-action-hover: #050a12;
  --accent: #02ca60;
  --focus: #f8f6f3;
  --error: #ffb4ab;
  --logo-on-light: none;
  --logo-on-dark: block;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.55; caret-color: var(--accent); }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, ol, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; text-wrap: balance; }
p, li, figcaption { text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input { font: inherit; color: inherit; }
button, a, input, summary, label { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--action); color: var(--on-action); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.num, output, .rates-table td { font-family: var(--mono); font-variant-numeric: tabular-nums; }
/* Pantalla de carga: logo, un filete que se traza y la página que sube como telón.
   Solo CSS: sin script no puede quedarse pegada. */
.loader { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; background: var(--bg); animation: loader-out .5s cubic-bezier(.7, 0, .2, 1) 1.15s both; }
.loader-inner { width: min(300px, 62vw); }
.loader-inner img { width: 100%; height: auto; }
.loader-rule { display: block; height: 1px; margin-top: 22px; background: var(--rule-strong); transform-origin: left; animation: loader-rule .9s cubic-bezier(.3, 0, .1, 1) .1s both; }
.loader-line { display: flex; justify-content: space-between; margin: 10px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.4; }
@keyframes loader-rule { from { transform: scaleX(0); } }
@keyframes loader-out { to { transform: translateY(-100%); visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } }
@media print { .loader { display: none; } }

.skip-link { position: fixed; z-index: 20; inset: 8px auto auto 8px; padding: 12px 18px; transform: translateY(-200%); background: var(--ink); color: var(--bg); font-weight: 500; }
.skip-link:focus { transform: none; }

/* Retícula: 12 columnas. El índice ocupa las columnas 1 a 3; el contenido arranca en la 4. */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-inline: var(--gutter); }
.grid > * { grid-column: 1 / -1; min-width: 0; }
.section { padding-top: clamp(72px, 10vw, 160px); }
main > section[id] { scroll-margin-top: var(--header); }
.section-head { row-gap: 22px; padding-bottom: clamp(36px, 5vw, 76px); }
.section-head::before { content: ""; grid-column: 1 / -1; border-top: 1px solid var(--rule-strong); }
.section-index { font-size: 14px; line-height: 1.5; }
.section-index .num { display: inline-block; min-width: 4.4ch; font-weight: 500; }
.section-head h2 { font-size: clamp(40px, 6.4vw, 104px); line-height: .94; letter-spacing: -.028em; }
.section-intro { max-width: 46ch; color: var(--ink-2); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; }

/* Fotografía: marcos sin radio; la imagen deriva unos puntos con el scroll (motion.js). */
.photo { position: relative; overflow: hidden; background: var(--rule); }
.photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.plate-caption { display: flex; justify-content: space-between; gap: 6px 32px; flex-wrap: wrap; padding: 12px var(--gutter) 0; color: var(--ink-2); font-size: 14px; line-height: 1.4; }

/* Acciones: rectángulos secos. Sin radio, sin sombra. */
.button { min-height: 54px; display: inline-flex; justify-content: center; align-items: center; padding: 0 28px; border: 1px solid transparent; border-radius: 0; font: 500 17px/1.2 var(--text); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease); }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--action); border-color: var(--action); color: var(--on-action); }
.button-primary:hover { background: var(--action-hover); border-color: var(--action-hover); color: var(--on-action-hover); }
.button-secondary { background: transparent; border-color: var(--rule-strong); color: var(--ink); }
.button-secondary:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
fieldset:disabled .button { cursor: default; }

/* Cabecera: el menú arranca en la columna 4, donde arranca todo el contenido. */
.site-header { position: sticky; top: 0; z-index: 5; min-height: var(--header); padding-inline: var(--gutter); display: flex; align-items: center; column-gap: var(--gap); background: var(--bg); border-bottom: 1px solid var(--rule-strong); }
.brand { flex: 0 1 calc((100% - 11 * var(--gap)) / 12 * 3 + 2 * var(--gap)); min-width: 116px; display: inline-flex; align-items: center; min-height: 48px; }
.brand img { width: 116px; height: 44px; object-fit: contain; object-position: left center; }
.logo-on-light { display: var(--logo-on-light); }
.logo-on-dark { display: var(--logo-on-dark); }
.desktop-nav { flex: 1 1 auto; display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); }
.desktop-nav a, .mobile-nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.desktop-nav a:hover, .mobile-nav a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.desktop-nav .header-cta { margin-left: auto; min-height: 40px; padding: 0 16px; border: 1px solid var(--rule-strong); transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease); }
.desktop-nav .header-cta:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); text-decoration: none; }
.desktop-nav .header-cta:active { transform: translateY(1px); }
.menu-button { display: none; margin-left: auto; min-height: 44px; padding: 0 16px; border: 1px solid var(--rule-strong); border-radius: 0; background: transparent; font-size: 15px; font-weight: 500; cursor: pointer; }
.menu-button[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.mobile-nav { display: none; }

/* Portada: foto a sangre y bloque plano que la corta. El bloque mide 7 columnas. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-plate { display: contents; }
.hero-plate .photo { grid-area: 1 / 1; height: calc(100svh - var(--header) - 44px); min-height: 560px; }
.hero-plate .photo img { object-position: 62% 46%; }
.hero-plate .plate-caption { grid-area: 2 / 1; }
.hero-panel { --pad: clamp(28px, 3.6vw, 56px); grid-area: 1 / 1; z-index: 1; align-self: end; justify-self: start; width: calc(var(--gutter) + 7 * var(--col) + 6 * var(--gap) + var(--pad)); padding: clamp(32px, 3.6vw, 56px) var(--pad) clamp(28px, 3vw, 44px) var(--gutter); background: var(--bg); }
.hero h1 { margin-bottom: clamp(22px, 2.4vw, 36px); font-size: clamp(64px, 9.4vw, 148px); line-height: .86; letter-spacing: -.035em; }
.hero-lede { max-width: 30ch; margin-bottom: clamp(24px, 2.4vw, 34px); font-size: clamp(19px, 1.55vw, 23px); line-height: 1.4; }
.hero-action { display: flex; align-items: center; gap: 24px; }
.hero-action .button { flex: 0 0 auto; }
.hero-terms { max-width: 34ch; color: var(--ink-2); font-size: 14px; line-height: 1.45; }

/* 1 · Punto de partida: fotografía real de campo, a sangre por la derecha. */
.forest-body { row-gap: 16px; }
.forest-note { max-width: 34ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; }
.forest-figure { margin-top: clamp(20px, 3vw, 44px); margin-right: calc(-1 * var(--gutter)); }
.forest-visual { aspect-ratio: 2 / 1; min-width: 0; }
.forest-visual img { object-position: center 38%; }
.forest-caption { padding-top: 10px; color: var(--ink-2); font-size: 14px; }

/* 2 · Proceso: secuencia numerada a la izquierda, foto a sangre por la derecha. */
.process-layout { align-items: start; row-gap: 40px; }
.process-list { padding: 0; list-style: none; border-top: 1px solid var(--rule-strong); }
.process-list li { display: grid; grid-template-columns: 5.4ch minmax(0, 1fr); column-gap: 14px; padding-block: clamp(22px, 2.6vw, 34px); border-bottom: 1px solid var(--rule); }
.process-number { grid-row: 1 / span 3; padding-top: .62em; color: var(--accent); font-size: 14px; font-weight: 500; line-height: 1; }
.process-list h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.08; letter-spacing: -.015em; }
.process-list li > p { grid-column: 2; max-width: 56ch; }
.process-summary { margin-top: 8px; font-weight: 500; }
.process-summary + p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.field-photo { margin-inline: calc(-1 * var(--gutter)); }
.field-photo .photo { aspect-ratio: 4 / 3.6; width: 100%; }
.field-photo .photo img { object-position: center 40%; }
.field-photo figcaption { padding: 10px var(--gutter) 0; color: var(--ink-2); font-size: 14px; }

/* 3 · Fincas: tres planas a sangre; el pie de foto es un bloque de 6 columnas que corta la imagen. */
.farm { position: relative; }
.farm + .farm, .farm-map + .farm { margin-top: clamp(20px, 4.4vw, 64px); }
.farm .photo { height: calc(100svh - var(--header)); min-height: 520px; max-height: 920px; }
.farm-panel { --pad: clamp(28px, 3.4vw, 52px); position: absolute; left: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; width: calc(var(--gutter) + 6 * var(--col) + 5 * var(--gap) + var(--pad)); padding: clamp(28px, 3vw, 44px) var(--pad) 18px var(--gutter); background: var(--bg); }
.farm:nth-of-type(even) .farm-panel { left: auto; right: 0; padding-inline: var(--pad) var(--gutter); }
.farm-panel h3 { grid-column: 1 / -1; margin-bottom: clamp(16px, 1.8vw, 26px); font-size: clamp(44px, 6vw, 92px); line-height: .92; letter-spacing: -.03em; }
.farm-panel h3 span { display: block; margin-bottom: 10px; font: 500 18px/1.3 var(--text); letter-spacing: 0; }
.farm-place, .farm-area { padding-top: 12px; border-top: 1px solid var(--rule-strong); color: var(--ink-2); font-size: 16px; line-height: 1.3; }
.farm-place { align-self: stretch; display: flex; align-items: flex-end; }
.farm-area { padding-left: clamp(20px, 3vw, 48px); text-align: right; }
.farm-area strong { margin-right: .2em; color: var(--ink); font: 500 clamp(28px, 2.6vw, 40px)/1 var(--mono); font-variant-numeric: tabular-nums; }
/* Lámina de mapa por finca: satélite con los polígonos del INAB; leyenda en la columna del índice. */
.farm-map { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin: var(--gap) 0 0; padding-inline: var(--gutter); }
.farm-map .photo { grid-column: 4 / 10; height: auto; min-height: 0; max-height: none; aspect-ratio: 3 / 2; }
.farm-map figcaption { grid-column: 1 / 4; grid-row: 1; display: grid; row-gap: 8px; padding-top: 12px; border-top: 1px solid var(--rule-strong); color: var(--ink-2); font-size: 14px; line-height: 1.4; }
.farm-map figcaption strong { color: var(--ink); font-weight: 500; }
.farm-map figcaption span:last-child { margin-top: 8px; font-size: 13px; }
.key { display: inline-block; width: 22px; height: 12px; margin-right: 10px; vertical-align: -1px; border: 2px solid var(--ink); }
.key-plant { border-color: #02ca60; background: #02ca6038; }

/* 4 · Cifras: tabla financiera y notas al margen. */
.incentive-reading { align-items: start; row-gap: 28px; }
.table-scroll { max-width: 100%; }
.rates-table { width: 100%; border-collapse: collapse; }
.rates-table caption { padding-bottom: 14px; text-align: left; color: var(--ink-2); font-size: 14px; }
.rates-table th, .rates-table td { padding: 15px 0 15px 16px; border-bottom: 1px solid var(--rule); text-align: right; vertical-align: baseline; }
.rates-table th:first-child { width: 22%; padding-left: 0; text-align: left; }
.rates-table thead th { border-top: 1px solid var(--rule-strong); border-bottom-color: var(--rule-strong); color: var(--ink-2); font-size: 14px; font-weight: 500; line-height: 1.3; vertical-align: bottom; }
.rates-table tbody th { font: 500 17px/1.3 var(--mono); }
.rates-table td { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.3; }
.rates-table tfoot th, .rates-table tfoot td { padding-block: 20px; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); font-weight: 500; }
.rates-table tfoot th { font-size: 15px; }
.rates-table tfoot td { font-size: clamp(19px, 1.9vw, 26px); }
.rates-table tfoot td:last-child { color: var(--accent); }
.rate-notes { display: grid; gap: 14px var(--gap); color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* 4.1 · Calculadora: la página de color. Un solo bloque verde, plano, igual en los dos temas.
   Dentro del bloque los tokens de tinta, filete y foco pasan a papel. */
.calculator { --ink: var(--on-block); --ink-2: var(--on-block); --rule: var(--on-block); --rule-strong: var(--on-block); --focus: var(--on-block); margin-top: clamp(72px, 10vw, 160px); padding-block: clamp(56px, 7vw, 112px) clamp(64px, 8vw, 128px); background: var(--block); color: var(--on-block); }
.calculator ::selection { background: var(--on-block); color: var(--block); }
.calculator-grid { row-gap: 0; align-items: end; }
.calculator .section-index { align-self: start; margin-bottom: 28px; }
.calculator-intro h3 { margin-bottom: 16px; font-size: clamp(38px, 4.4vw, 68px); line-height: .96; letter-spacing: -.028em; }
.calculator-intro p { max-width: 32ch; }
.calc-control { margin-top: 40px; }
.calc-control > label { display: block; font-size: 15px; font-weight: 500; }
.slider-line { display: flex; flex-direction: column-reverse; }
.slider-line output { font-size: clamp(56px, 7.4vw, 112px); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.slider-line input { -webkit-appearance: none; appearance: none; width: 100%; min-width: 0; height: 48px; margin: 6px 0 0; background: transparent; cursor: ew-resize; }
.slider-line input::-webkit-slider-runnable-track { height: 2px; background: var(--on-block); }
.slider-line input::-moz-range-track { height: 2px; background: var(--on-block); }
.slider-line input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 34px; margin-top: -16px; border: 0; border-radius: 0; background: var(--on-block); }
.slider-line input::-moz-range-thumb { width: 14px; height: 34px; border: 0; border-radius: 0; background: var(--on-block); }
.slider-line input:hover::-webkit-slider-thumb, .slider-line input:active::-webkit-slider-thumb { background: var(--plate); }
.slider-line input:hover::-moz-range-thumb, .slider-line input:active::-moz-range-thumb { background: var(--plate); }
.slider-line input:focus-visible { outline-offset: 0; }
.calc-help { margin-top: 8px; font-size: 14px; }
.annual-title { margin: clamp(44px, 5.4vw, 80px) 0 14px; font: 500 17px/1.4 var(--text); }
.annual-title span { font-weight: 400; }
.annual-returns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; list-style: none; border-top: 1px solid var(--on-block); }
.annual-returns li { min-width: 0; padding: 14px var(--gap) 14px 0; border-bottom: 1px solid var(--on-block); }
.annual-returns li span { display: block; font-size: 14px; }
.annual-returns output { display: block; margin-top: 4px; font-size: clamp(17px, 1.55vw, 22px); font-weight: 500; line-height: 1.2; white-space: nowrap; }
.calc-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.calc-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; margin-top: clamp(40px, 5vw, 72px); }
.calc-summary > div { min-width: 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding-top: 14px; border-top: 1px solid var(--on-block); }
.calc-summary dt { font-size: 14px; line-height: 1.4; }
.calc-summary dd { font: 500 clamp(22px, 2.3vw, 32px)/1.1 var(--mono); font-variant-numeric: tabular-nums; }
.calc-summary .calc-total { grid-column: 1 / -1; flex-direction: column; justify-content: flex-start; gap: 10px; padding: 0 0 clamp(8px, 2vw, 28px); border-top: 0; }
.calc-summary .calc-total dt { font-size: 17px; font-weight: 500; }
.calc-summary .calc-total dd { font-size: clamp(36px, 13.6vw, 96px); line-height: .9; letter-spacing: -.04em; white-space: nowrap; }
.timber-details { margin-top: clamp(40px, 5vw, 72px); border-block: 1px solid var(--on-block); }
.timber-copy { max-width: 60ch; padding-bottom: 22px; font-size: 15px; }
.timber-copy p { margin-bottom: 6px; }
.timber-copy output { display: block; margin-top: 12px; font-size: clamp(22px, 2.3vw, 32px); font-weight: 500; line-height: 1.1; }
.calculator-footnote { margin-top: 20px; font-size: 14px; }

/* Desplegables: la cruz se dibuja con dos trazos; el vertical se retira al abrir. */
summary { position: relative; display: flex; align-items: center; padding-right: 44px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before, summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 16px; height: 1px; background: currentColor; transition: transform .2s var(--ease); }
summary::after { transform: rotate(90deg); }
details[open] > summary::after { transform: rotate(0deg); }
.timber-details summary { min-height: 60px; font-weight: 500; }

/* 5 · Preguntas */
.faq-list { border-top: 1px solid var(--rule-strong); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { min-height: 76px; padding-block: 18px; font: 500 clamp(19px, 1.7vw, 24px)/1.25 var(--text); transition: color .16s var(--ease); }
.faq-list summary:hover { color: var(--accent); }
.faq-list details > p { max-width: 62ch; padding: 0 44px 26px 0; color: var(--ink-2); }

/* 6 · Evaluación: la foto del equipo abre la sección; el formulario es una entrevista de siete preguntas. */
.team-plate { margin-bottom: clamp(56px, 7vw, 112px); }
.team-plate .photo { aspect-ratio: 21 / 9; max-height: 78svh; min-height: 300px; width: 100%; }
.team-plate .photo img { object-position: center 58%; }
.no-script { max-width: 46ch; font-size: 15px; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.progress-label { display: block; margin-bottom: 12px; color: var(--ink-2); font: 500 14px/1 var(--mono); font-variant-numeric: tabular-nums; }
.evaluation-form progress { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 3px; margin-bottom: clamp(32px, 4vw, 52px); border: 0; background: var(--rule); color: var(--accent); }
.evaluation-form progress::-webkit-progress-bar { background: var(--rule); }
.evaluation-form progress::-webkit-progress-value { background: var(--accent); }
.evaluation-form progress::-moz-progress-bar { background: var(--accent); }
.eval-step { min-width: 0; margin: 0; padding: 0; border: 0; scroll-margin-top: calc(var(--header) + 112px); }
.eval-step legend { width: 100%; margin-bottom: clamp(20px, 2.4vw, 32px); padding: 0; font: 500 clamp(30px, 3.4vw, 52px)/1.02 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.radio-option { min-height: 64px; display: flex; align-items: center; gap: 18px; padding: 12px 0; border-top: 1px solid var(--rule); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.3; cursor: pointer; transition: color .16s var(--ease); }
.radio-option:hover { color: var(--accent); }
.radio-option:has(input:checked) { color: var(--accent); font-weight: 500; }
.radio-option:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.radio-option input { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; flex: 0 0 22px; margin: 0; border: 1.5px solid var(--ink-2); border-radius: 50%; background: transparent; cursor: pointer; transition: border-color .16s var(--ease); }
.radio-option:hover input { border-color: var(--accent); }
.radio-option input:checked { border: 7px solid var(--accent); }
.radio-option input:focus-visible { outline: 0; }
.eval-step > .radio-option:last-of-type { border-bottom: 1px solid var(--rule); }
.eval-step > .step-next { margin-top: 28px; }
.step-actions { display: flex; gap: 12px; padding-top: 28px; }
.step-actions .button, .step-next { min-width: 168px; }
.form-label { display: block; margin: 22px 0 8px; font-size: 15px; font-weight: 500; }
.eval-step legend + .form-label { margin-top: 0; }
.form-input { width: 100%; min-height: 56px; padding: 12px 16px; border: 1px solid var(--ink-2); border-radius: 0; background: var(--surface); color: var(--ink); font-size: 18px; transition: border-color .16s var(--ease); }
.form-input:hover { border-color: var(--ink); }
.form-input:focus-visible { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
.form-error { margin-top: 24px; padding-top: 12px; border-top: 2px solid var(--error); color: var(--error); font-weight: 500; }
.form-error:focus-visible { outline: 0; }
.form-consent { margin-top: 28px; color: var(--ink-2); font-size: 14px; }
.form-result h3 { margin-bottom: 16px; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.02; letter-spacing: -.02em; }
.form-result p { max-width: 46ch; margin-bottom: 28px; color: var(--ink-2); }
.form-result:focus-visible { outline: 0; }
.form-column:has(.form-result:not([hidden])) .form-consent { display: none; }

/* Pie: cierre navy en los dos temas. */
.site-footer { --focus: var(--on-inverse); margin-top: clamp(72px, 10vw, 160px); padding-block: clamp(40px, 5vw, 72px) 28px; background: var(--inverse); color: var(--on-inverse); font-size: 15px; }
.site-footer ::selection { background: var(--on-inverse); color: var(--inverse); }
.footer-inner { row-gap: 28px; align-items: start; }
.footer-brand { min-height: 0; }
.footer-brand img { width: 132px; height: 50px; object-fit: contain; object-position: left center; }
.footer-legal { color: var(--on-inverse-2); }
.footer-contact, .footer-nav { display: grid; justify-items: start; align-content: start; }
.footer-contact a[href^="tel"] { font-family: var(--mono); }
.footer-contact a, .footer-nav a { min-height: 32px; display: inline-flex; align-items: center; text-decoration: none; }
.footer-contact a:hover, .footer-nav a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.footer-inner > small { margin-top: clamp(20px, 4vw, 56px); padding-top: 14px; border-top: 1px solid var(--inverse-rule); color: var(--on-inverse-2); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; }
/* Único control de tema: texto pequeño en el pie, sin icono; el área táctil mide 44 px. */
.theme-toggle { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--on-inverse-2); font: inherit; cursor: pointer; }
.theme-toggle:hover { color: var(--on-inverse); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* Página de incentivos: guía de PROBOSQUE. Reutiliza secciones, tablas y preguntas de la portada. */
.guide-page .section-head h1 { font-size: clamp(44px, 7.4vw, 120px); line-height: .92; letter-spacing: -.03em; }
.desktop-nav a[aria-current="page"], .mobile-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.crumbs a { color: inherit; }
.guide-body { row-gap: clamp(28px, 3.4vw, 48px); }
.key-facts { display: grid; gap: 18px var(--gap); padding-top: 18px; border-top: 1px solid var(--rule); font-size: 17px; line-height: 1.5; }
.key-facts strong { display: block; margin-bottom: 4px; }
.chooser { display: grid; padding: 0; list-style: none; border-top: 1px solid var(--rule-strong); }
.chooser a { display: grid; gap: 8px; padding: 22px 44px 22px 0; border-bottom: 1px solid var(--rule); color: inherit; text-decoration: none; position: relative; }
.chooser a::after { content: "\2193"; position: absolute; right: 0; top: 22px; font-family: var(--mono); }
.chooser a:hover .chooser-case { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.chooser-case { font: 500 clamp(19px, 1.7vw, 24px)/1.3 var(--text); }
.chooser-answer { color: var(--ink-2); font: 500 15px/1.4 var(--mono); }
.guide-note { max-width: 62ch; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.example { max-width: 62ch; padding: 18px 0; border-block: 1px solid var(--rule); font-size: 17px; line-height: 1.55; }
.type-list { display: grid; gap: 0; border-top: 1px solid var(--rule-strong); }
.type-list > div { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.type-list dt { font: 500 19px/1.3 var(--text); }
.type-list dd { margin: 0; color: var(--ink-2); line-height: 1.55; }
.type-list strong { color: var(--ink); font-weight: 500; }
.tables-grid { display: grid; gap: clamp(32px, 4vw, 56px) var(--gap); align-items: start; }
.phase-table .when { color: var(--ink-2); font-family: var(--text); font-size: 15px; }
.area-table td { text-align: left; }
.table-title { margin-bottom: 6px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.05; }
.table-lead { margin-bottom: 14px; color: var(--ink-2); font-size: 15px; }
.guide-calc { display: grid; gap: 18px var(--gap); }
.guide-field { display: grid; gap: 8px; }
.guide-field label { font-weight: 500; }
.guide-field select, .guide-field input { width: 100%; min-height: 56px; padding: 12px 16px; border: 1px solid var(--ink-2); border-radius: 0; background: var(--surface); color: var(--ink); font: 400 18px/1.2 var(--text); }
.guide-field input { font-family: var(--mono); }
.guide-field select:focus-visible, .guide-field input:focus-visible { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
.guide-result { padding: clamp(24px, 3vw, 40px); background: var(--block); color: var(--on-block); }
.guide-result-total { display: grid; gap: 10px; }
.guide-result-total span { font-size: 15px; font-weight: 500; }
.guide-result-total output { font: 500 clamp(40px, 7vw, 88px)/.95 var(--mono); letter-spacing: -.03em; overflow-wrap: anywhere; }
.guide-result-list { display: grid; margin-top: 22px; padding: 0; list-style: none; border-top: 1px solid var(--on-block); }
.guide-result-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--on-block) 35%, transparent); font-size: 15px; }
.guide-result-list li span:last-child { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.guide-error { margin-top: 14px; font-weight: 500; }
.js .no-script-note { display: none; }
.steps-list { display: grid; padding: 0; list-style: none; counter-reset: paso; border-top: 1px solid var(--rule-strong); }
.steps-list li { display: grid; grid-template-columns: 4.4ch minmax(0, 1fr); column-gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); line-height: 1.55; counter-increment: paso; }
.steps-list li::before { content: counter(paso); grid-row: 1 / 3; color: var(--ink); font: 500 17px/1.5 var(--mono); }
.steps-list strong { color: var(--ink); font-weight: 500; }
.rules-list { display: grid; border-top: 1px solid var(--rule-strong); }
.rules-list > div { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.rules-list dt { font-weight: 500; font-size: 18px; }
.rules-list dd { margin: 0; color: var(--ink-2); line-height: 1.55; max-width: 66ch; }
.change-list { display: grid; padding: 0; list-style: none; border-top: 1px solid var(--rule-strong); }
.change-list li { padding: 16px 0; border-bottom: 1px solid var(--rule); line-height: 1.55; }
.guide-links a { color: inherit; text-underline-offset: 5px; }
.guide-cta { display: grid; gap: 18px; justify-items: start; padding-top: 22px; border-top: 1px solid var(--rule-strong); font-size: 19px; }
.guide-end { padding-bottom: clamp(72px, 10vw, 140px); }

/* Guías (/guias/ y /probosque/requisitos/): reutilizan el bloque anterior; solo tablas de texto y notas. */
.guide-page .table-scroll { overflow-x: auto; }
.doc-table tbody th, .doc-table td, .compare-table tbody th, .compare-table td { font: 400 16px/1.45 var(--text); text-align: left; }
.doc-table th:first-child, .compare-table th:first-child { width: 40%; }
.guide-review, .faq-guides { max-width: 62ch; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.faq-guides { margin-top: 22px; }
.faq-guides a, .guide-index dt a, .guide-note a, .rules-list a, .key-facts a { color: inherit; text-underline-offset: 4px; }
@media (min-width: 769px) { .faq-guides { grid-column: 4 / -1; } }

/* Blog (/blog/): índice de artículos; los artículos reutilizan las clases de las guías. */
.blog-list { margin: 0; padding: 0; list-style: none; }
.blog-list > li { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.blog-list h2 { margin: 0; font: 500 clamp(22px, 2.4vw, 30px)/1.2 var(--text); letter-spacing: 0; }
.blog-list h2 a { color: inherit; text-underline-offset: 5px; }
.blog-list p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.post-meta { color: var(--ink-2); font-size: 15px; }
/* Figuras de los artículos: capturas, videos de los gemelos y diagrama de proceso (colores por tokens, dos temas). */
.post-figure { display: grid; gap: 10px; }
.post-figure img, .post-figure video { display: block; width: 100%; height: auto; border: 1px solid var(--rule); background: var(--plate); }
.post-figure figcaption { color: var(--ink-2); font-size: 14px; line-height: 1.45; max-width: 72ch; }
.diagram-scroll { overflow-x: auto; }
.process-diagram { display: block; width: 100%; max-width: 420px; height: auto; }
.process-diagram .dg-box { fill: var(--surface); stroke: var(--rule); stroke-width: 1; }
.process-diagram .dg-focus { stroke: var(--accent); stroke-width: 1.5; }
.process-diagram .dg-arrow { stroke: var(--ink-2); stroke-width: 1.25; }
.process-diagram .dg-head { fill: var(--ink-2); }
.process-diagram .dg-num { fill: var(--accent); font: 500 20px var(--display); }
.process-diagram .dg-name { fill: var(--ink); font: 600 15px var(--text); }
.process-diagram .dg-sub { fill: var(--ink-2); font: 400 11.5px var(--mono); }
.source-list { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.source-list a { color: inherit; text-underline-offset: 4px; overflow-wrap: anywhere; }

@media (min-width: 769px) {
  .guide-body > * { grid-column: 4 / -1; }
  .key-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tables-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-calc { grid-template-columns: 2fr 1fr; }
  .rules-list > div, .type-list > div { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: var(--gap); }
  .section-head { row-gap: 0; }
  .section-head::before { margin-bottom: 14px; }
  .section-index { grid-column: 1 / span 3; }
  .section-head h2, .section-head .section-intro, .section-head .no-script { grid-column: 4 / -1; }
  .section-head .section-intro, .section-head .no-script { margin-top: clamp(24px, 3vw, 44px); }

  .forest-note { grid-column: span 4; }
  .forest-note:first-child { grid-column: 4 / span 4; }
  .forest-figure { grid-column: 4 / -1; }

  .process-list { grid-column: 4 / span 5; }
  .field-photo { grid-column: 9 / -1; position: sticky; top: calc(var(--header) + 24px); margin-left: 0; }
  .field-photo .photo { aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header) - 96px); }
  .field-photo figcaption { padding-left: 0; }

  .incentive-reading > *, .faq-list { grid-column: 4 / -1; }
  .rate-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .calculator .section-index { grid-column: 1 / span 3; margin-bottom: 0; }
  .calculator-grid > :not(.section-index) { grid-column: 4 / -1; }
  .calculator-grid > .calculator-intro { grid-column: 4 / span 4; }
  .calculator-grid > .calc-control { grid-column: 8 / -1; margin-top: 0; }
  .annual-returns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calc-summary .calc-total dd { font-size: clamp(64px, 10.4vw, 152px); }

  .form-column { grid-column: 4 / -1; }

  .footer-brand { grid-column: 1 / span 3; }
  .footer-legal { grid-column: 4 / span 3; }
  .footer-contact { grid-column: 7 / span 3; }
  .footer-nav { grid-column: 10 / -1; }
}

@media (min-width: 1041px) {
  .table-scroll { grid-column: 4 / span 6; }
  .incentive-reading > .rate-notes { grid-column: 10 / -1; grid-template-columns: minmax(0, 1fr); padding-top: 14px; border-top: 1px solid var(--rule-strong); }
  .annual-returns { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .calc-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 0; }
  .form-column { grid-column: 4 / span 7; }
}

@media (max-width: 1040px) {
  .hero-panel { width: calc(var(--gutter) + 9 * var(--col) + 8 * var(--gap) + var(--pad)); }
  .hero-action { flex-direction: column; align-items: flex-start; gap: 16px; }
  .farm-panel { width: calc(var(--gutter) + 8 * var(--col) + 7 * var(--gap) + var(--pad)); }
}

@media (max-width: 768px) {
  .guide-body > * { grid-column: 1 / -1; }
  .site-header { flex-wrap: wrap; padding-block: 8px; }
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; align-items: center; }
  .mobile-nav:not([hidden]) { width: 100%; display: grid; margin-top: 8px; border-top: 1px solid var(--rule-strong); }
  .mobile-nav a { min-height: 56px; border-bottom: 1px solid var(--rule); font: 500 24px/1 var(--display); }
  .hero-plate .photo { height: 44svh; min-height: 260px; }
  .hero-plate .plate-caption { grid-area: 3 / 1; }
  .hero-plate .plate-caption span + span { display: none; }
  .hero-panel { grid-area: 2 / 1; width: auto; justify-self: stretch; padding: 30px var(--gutter) 22px; }
  .hero h1 { font-size: clamp(60px, 18.6vw, 132px); }
  .forest-figure { margin-inline: calc(-1 * var(--gutter)); }
  .forest-visual { aspect-ratio: 4 / 3; }
  .forest-caption { padding-inline: var(--gutter); }
  .farm .photo { height: auto; min-height: 0; max-height: none; aspect-ratio: 4 / 3.4; }
  .farm-panel, .farm:nth-of-type(even) .farm-panel { position: static; width: auto; padding: 22px var(--gutter) 20px; }
  .farm-map { display: block; padding-inline: var(--gutter); margin-top: 18px; }
  .farm-map .photo { aspect-ratio: 3 / 2; }
  .farm-map figcaption { margin-top: 14px; }
  .rates-table th:first-child { width: 16%; }
  .team-plate .photo { aspect-ratio: 4 / 3; }
  .footer-brand, .footer-inner > small { grid-column: 1 / -1; }
  .footer-legal, .footer-contact, .footer-nav { grid-column: span 6; }
  .footer-legal { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .rates-table td { font-size: 16px; }
  .rates-table thead th { font-size: 13px; }
  .rates-table th, .rates-table td { padding-left: 12px; }
  .step-actions .button, .step-next { min-width: 0; flex: 1; padding-inline: 16px; }
  .step-actions .button-secondary { flex: 0 0 104px; }
  .eval-step > .step-next { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Portada 2026-11-19: pilares, catálogo, origen, equipo y franja de acción */
.pillar-grid { row-gap: var(--gap); }
.pillar { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 40px); border-top: 1px solid var(--rule-strong); background: var(--surface); }
.pillar h3 { font: 500 clamp(26px, 2.4vw, 36px)/1.05 var(--display); letter-spacing: -.015em; }
.pillar p { color: var(--ink-2); max-width: 44ch; }
.pillar-num { font-size: 14px; color: var(--accent); }
.pillar-link { margin-top: auto; padding-top: 10px; color: var(--ink); font-weight: 500; text-underline-offset: 5px; }
.pillar-block { background: var(--block); border-top-color: var(--block); }
.pillar-block h3, .pillar-block p, .pillar-block .pillar-num, .pillar-block .pillar-link { color: var(--on-block); }
.origin-body { row-gap: 18px; }
.origin-body p { max-width: 58ch; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; }
.team-grid { row-gap: clamp(40px, 5vw, 64px); }
.person { display: grid; gap: 12px; align-content: start; border-top: 1px solid var(--rule-strong); padding-top: 24px; }
.person-photo { width: 152px; height: 152px; object-fit: cover; background: var(--rule); filter: grayscale(1); }
.person h3 { font: 500 clamp(26px, 2.4vw, 34px)/1.05 var(--display); }
.person-role { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.person > p { max-width: 50ch; color: var(--ink-2); }
.person-facts { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.person-facts li { padding-block: 9px; border-bottom: 1px solid var(--rule); font-size: 15px; }
.person-link { color: var(--ink); font-weight: 500; text-underline-offset: 5px; }
@media (min-width: 900px) {
  .pillar { grid-column: span 4; }
  .origin-body p:first-child { grid-column: 4 / span 4; }
  .origin-body p:last-child { grid-column: 8 / span 4; }
  .person { grid-column: span 6; }
}
.hero-lede { max-width: 34ch; }
.hero-index { margin: 0 0 clamp(26px, 2.6vw, 38px); padding: 0; list-style: none; border-top: 1px solid var(--rule-strong); }
.hero-index li { border-bottom: 1px solid var(--rule); }
.hero-index a { display: flex; align-items: baseline; gap: 18px; padding-block: 13px; color: var(--ink); font: 500 clamp(18px, 1.5vw, 22px)/1.2 var(--text); text-decoration: none; transition: color .16s var(--ease), padding-left .16s var(--ease); }
.hero-index a:hover { color: var(--accent); padding-left: 6px; }
.hero-index .num { min-width: 2.4ch; font: 400 13px/1 var(--mono); color: var(--accent); }
.pillar { scroll-margin-top: calc(var(--header) + 24px); }
.hero-action { flex-wrap: wrap; }
.hero-action .hero-terms { flex-basis: 100%; }
.pillar-sub { margin-top: -8px; font: 400 13px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.pillar-block .pillar-sub { color: var(--on-block); }
.catalog-grid { row-gap: clamp(40px, 5vw, 64px); align-items: start; }
.catalog-col { border-top: 1px solid var(--rule-strong); padding-top: 20px; }
.catalog-col h3 { display: flex; gap: 12px; align-items: baseline; margin-bottom: 18px; font: 500 clamp(22px, 1.9vw, 28px)/1.1 var(--display); }
.catalog-col h3 .num { font: 400 13px/1 var(--mono); color: var(--accent); }
.catalog-label { margin: 22px 0 6px; font: 400 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.catalog-list { margin: 0; padding: 0 0 0 2.6ch; border-top: 1px solid var(--rule); }
.catalog-list li { padding: 9px 0 9px 4px; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.35; }
.catalog-list li::marker { font: 400 12px var(--mono); color: var(--ink-2); }
.catalog-cta { display: grid; gap: 12px; margin-top: 28px; padding: 24px; background: var(--block); color: var(--on-block); }
.catalog-cta p { font: 500 20px/1.25 var(--display); }
.catalog-cta .button-primary { background: var(--on-block); border-color: var(--on-block); color: var(--block); }
.catalog-wa { color: var(--on-block); text-underline-offset: 4px; font-size: 15px; }
.cta-band { margin-top: clamp(72px, 10vw, 140px); padding-block: clamp(36px, 4vw, 56px); background: var(--inverse); color: var(--on-inverse); }
.cta-band .grid { row-gap: 22px; align-items: center; }
.cta-band-text { max-width: 40ch; font: 500 clamp(22px, 2.2vw, 32px)/1.2 var(--display); }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .button-primary { background: var(--on-inverse); border-color: var(--on-inverse); color: var(--inverse); }
.cta-band .button-secondary { border-color: var(--on-inverse); color: var(--on-inverse); }
@media (min-width: 900px) {
  .catalog-col { grid-column: span 4; }
  .cta-band-text { grid-column: 1 / span 7; }
  .cta-band-actions { grid-column: 8 / -1; justify-content: flex-end; }
}

/* Páginas de servicios */
.catalog-list .ley { display: block; margin-top: 3px; font: 400 12px/1.4 var(--mono); color: var(--ink-2); }
.catalog-list .estado { display: inline-block; margin-left: 6px; padding: 1px 7px; font: 400 11px/1.6 var(--mono); letter-spacing: .04em; text-transform: uppercase; border: 1px solid var(--rule); white-space: nowrap; }
.catalog-list .estado-hecho { color: var(--accent); border-color: var(--accent); }
.catalog-list .estado-piloto { color: var(--ink); }
.catalog-list .estado-pedido { color: var(--ink-2); }
.guide-page .catalog-list { grid-column: 1 / -1; max-width: 72ch; }
.catalog-col h3 a { color: inherit; text-underline-offset: 5px; }
@media (min-width: 900px) { .guide-page .catalog-list { grid-column: 4 / -1; } }

/* Consultas por WhatsApp y botones de servicios (2026-11-19) */
.hero-index .flecha { margin-left: auto; color: var(--accent); }
.pillar-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 12px; }
.pillar-actions .button { justify-self: start; }
.pillar-wa { color: inherit; font-weight: 500; text-underline-offset: 5px; }
.pillar-block .pillar-actions .button-primary { background: var(--on-block); border-color: var(--on-block); color: var(--block); }
.pillar-block .pillar-wa { color: var(--on-block); }
.ask-body { row-gap: 20px; }
.wa-form { display: grid; gap: 20px; max-width: 760px; padding: clamp(20px, 3vw, 36px); border-top: 1px solid var(--rule-strong); background: var(--surface); }
.wa-form fieldset { margin: 0; padding: 0; border: 0; }
.wa-form legend, .wa-field { font: 500 18px/1.3 var(--text); }
.wa-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wa-opt { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--rule); font-size: 16px; cursor: pointer; }
.wa-opt:has(input:checked) { border-color: var(--accent); color: var(--accent); }
.wa-field { display: grid; gap: 8px; }
.wa-field select, .wa-field input { min-height: 46px; padding: 0 12px; border: 1px solid var(--rule-strong); background: var(--bg); color: var(--ink); font: 400 16px var(--text); }
.wa-form .button { justify-self: start; }
.wa-nota { color: var(--ink-2); font-size: 14px; }
.grupo-wa { grid-column: 1 / -1; margin-top: 14px; }
.grupo-wa a { color: var(--accent); font-weight: 500; text-underline-offset: 5px; }
@media (min-width: 900px) { .ask-body .wa-form { grid-column: 4 / -1; } .guide-page .grupo-wa { grid-column: 4 / -1; } }

/* Pregúntenos (blogs y guías) */
.pregunta-form { display: grid; gap: 16px; max-width: 760px; padding: clamp(20px, 3vw, 36px); border-top: 1px solid var(--rule-strong); background: var(--surface); }
.pregunta-form label { display: grid; gap: 8px; font: 500 17px/1.3 var(--text); }
.pregunta-form textarea, .pregunta-form input { padding: 12px; border: 1px solid var(--rule-strong); background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--text); }
.pregunta-form textarea { min-height: 140px; resize: vertical; }
.pregunta-form .button { justify-self: start; }
.pregunta-form .trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pregunta-estado { min-height: 1.4em; color: var(--accent); font-weight: 500; }
.pregunta-nota { color: var(--ink-2); font-size: 14px; }
@media (min-width: 900px) { .guide-page .pregunta-form, .guide-page .fuentes-list { grid-column: 4 / -1; } }
.fuentes-list { margin: 0; padding-left: 2.6ch; }
.fuentes-list li { padding-block: 6px; font-size: 15px; color: var(--ink-2); }
.fuentes-list a { color: inherit; text-underline-offset: 4px; word-break: break-word; }
.guia-pdf { grid-column: 1 / -1; margin-top: 14px; }
@media (min-width: 900px) { .guide-page .guia-pdf { grid-column: 4 / -1; } }
