/* ==========================================================================
   SUNFOREST Colombia — Sistema de diseño
   Tipografía: Archivo (Omnibus-Type, Buenos Aires). Grotesca de uso técnico
   con eje de anchura: semicondensada en titulares, como en una ficha técnica
   o la etiqueta de un instrumento; ancho normal y cifras tabulares en el texto
   y los datos.
   Color: verde bosque institucional + las cinco bandas del logotipo, usadas
   como bloques sólidos y como código de color de cada producto (--c).
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-italic.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap;
}

:root {
  --ink: #13221b;
  --ink-soft: #3a4941;
  --muted: #65726b;
  --paper: #f6f5f1;
  --paper-2: #ecebe4;
  --paper-3: #dfddd3;
  --white: #ffffff;
  --line: rgba(19, 34, 27, .13);
  --line-strong: rgba(19, 34, 27, .26);
  --line-dark: rgba(255, 255, 255, .15);

  --forest: #12301f;
  --forest-2: #1a4130;
  --primary: #1a5c3a;
  --primary-hover: #134a2d;
  --amber: #f2a516;

  /* Bandas del logotipo */
  --sun: #f4b312;
  --sky: #3e8fd0;
  --magenta: #d61f85;
  --lime: #c9d02e;
  --leaf: #1e9e4a;
  --bands: linear-gradient(90deg, var(--sun) 0 20%, var(--sky) 20% 40%, var(--magenta) 40% 60%, var(--lime) 60% 80%, var(--leaf) 80% 100%);

  /* Semáforo de cosecha */
  --s-low: #d9573a;
  --s-mid: #f2a516;
  --s-high: #2fae5a;

  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --cond: 86%;
  --semi: 92%;

  --r: 6px;
  --r-lg: 8px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { font-weight: 640; font-stretch: var(--cond); line-height: 1.06; letter-spacing: -.008em; margin: 0 0 .5em; text-wrap: balance; color: inherit; }
h1 { font-size: clamp(2.3rem, 4.8vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.4rem); font-stretch: var(--semi); line-height: 1.2; letter-spacing: -.008em; }
h4 { font-size: 1.05rem; font-stretch: var(--semi); }
h1 em, h2 em { font-style: normal; }
p { margin: 0 0 1em; text-wrap: pretty; }

.nw { white-space: nowrap; }
.btn .nw::before, .btn .nw::after { content: " "; white-space: pre; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--r); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section--dark { background: var(--forest); color: #fff; }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }

/* Contextos oscuros */
.section--dark, .finder, .cta-band, .offer--featured, .site-footer, .mobile-nav { --line: var(--line-dark); }

/* ---------- Tipografía de apoyo ---------- */
.eyebrow { display: block; font-size: .78rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--primary); margin: 0 0 14px; }
.section--dark .eyebrow, .finder .eyebrow, .cta-band .eyebrow, .offer--featured .eyebrow { color: var(--lime); }
.lead { font-size: clamp(1.06rem, 1.35vw, 1.2rem); line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
.section--dark .lead, .finder .lead, .cta-band .lead { color: rgba(255, 255, 255, .78); }
.mono { font-variant-numeric: tabular-nums; font-weight: 600; }
.muted { color: var(--muted); }
.accent { color: var(--primary); }

.section-head { display: grid; gap: 4px; margin-bottom: clamp(32px, 4.5vw, 56px); padding-top: 22px; border-top: 1px solid var(--line-strong); }
.section--dark .section-head { border-top-color: var(--line-dark); }
.section-head h2 { margin: 0; max-width: 22ch; }
.section-head p { margin: 0; }
.section-head .lead { margin-top: 10px; }
.section-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: 32px; }
.section-head--split .lead { margin-top: 0; }

/* Bandas del logotipo */
.bands { display: grid; grid-template-columns: repeat(5, 1fr); height: 6px; }
.bands i:nth-child(1) { background: var(--sun); }
.bands i:nth-child(2) { background: var(--sky); }
.bands i:nth-child(3) { background: var(--magenta); }
.bands i:nth-child(4) { background: var(--lime); }
.bands i:nth-child(5) { background: var(--leaf); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--primary); --fg: #fff; --bd: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 22px; border-radius: var(--r); border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 1rem; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn svg.arrow { margin-left: 10px; }
.btn svg:not(.arrow) { margin-right: 10px; }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn--primary:hover { --bg: var(--primary-hover); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); }
.btn--ghost:hover { --bd: var(--ink); }
.btn--wa { --bg: #1f8f4e; --bd: #1f8f4e; }
.btn--wa:hover { --bg: #1a7a43; --bd: #1a7a43; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .93rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
/* En fondos oscuros */
.section--dark .btn--primary, .finder .btn--primary, .cta-band .btn--primary, .offer--featured .btn--primary, .mobile-nav .btn--primary, .aside-card--dark .btn--primary { --bg: #fff; --fg: var(--forest); }
.section--dark .btn--primary:hover, .finder .btn--primary:hover, .cta-band .btn--primary:hover, .offer--featured .btn--primary:hover, .mobile-nav .btn--primary:hover, .aside-card--dark .btn--primary:hover { --bg: var(--paper-2); }
.section--dark .btn--ghost, .finder .btn--ghost, .cta-band .btn--ghost, .offer--featured .btn--ghost { --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.section--dark .btn--ghost:hover, .finder .btn--ghost:hover, .cta-band .btn--ghost:hover, .offer--featured .btn--ghost:hover { --bd: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--primary); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover svg { transform: translateX(3px); }
.section--dark .link-arrow { color: #fff; }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--bands); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 38px; width: auto; }
.brand .logo-light { display: none; }
.brand-tag { font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line-strong); line-height: 1.3; }
.nav { display: flex; align-items: center; gap: 2px; height: 100%; }
.nav a { position: relative; display: flex; align-items: center; height: 100%; padding: 0 14px; font-size: .96rem; font-weight: 500; text-decoration: none; color: var(--ink-soft); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--primary); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: var(--r); border: 1.5px solid var(--line-strong); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), background-color .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { position: fixed; inset: 0; z-index: 99; background: var(--forest); color: #fff; padding: calc(var(--header-h) + 20px) var(--gutter) 32px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; overflow-y: auto; }
.menu-open .mobile-nav { opacity: 1; visibility: visible; transition: opacity .25s; }
.mobile-nav a.m-link { font-size: 1.7rem; font-weight: 600; font-stretch: var(--cond); line-height: 1.1; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line-dark); display: flex; justify-content: space-between; align-items: center; }
.mobile-nav a.m-link span { font-size: .8rem; font-weight: 500; color: rgba(255, 255, 255, .5); font-variant-numeric: tabular-nums; }
.mobile-nav .btn-row { margin-top: 28px; }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: var(--forest); color: #fff; border-color: transparent; }
.menu-open .site-header .logo-dark { display: none; }
.menu-open .site-header .logo-light { display: block; }
.menu-open .site-header .menu-toggle { border-color: rgba(255, 255, 255, .35); }
.menu-open .brand-tag { color: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .25); }

/* ---------- Héroe de inicio ---------- */
.hero { padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(36px, 4.5vw, 56px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.hero-copy { align-self: center; }
.hero h1 { margin-bottom: 24px; max-width: 14ch; font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: 1.02; }
.kicker { display: block; font-size: .8rem; font-weight: 650; font-stretch: 100%; letter-spacing: .09em; text-transform: uppercase; color: var(--primary); margin-bottom: 20px; line-height: 1.4; }
.hero .lead { margin-bottom: 30px; }

.hero-trust { list-style: none; margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .88rem; font-weight: 550; color: var(--ink-soft); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--primary); flex: none; }

/* La foto llega hasta el borde derecho de la pantalla */
.hero-figure { margin: 0 calc(-1 * ((100vw - min(100vw, var(--maxw))) / 2 + var(--gutter))) 0 0; display: flex; }
.hero-photo { position: relative; flex: 1; min-height: 440px; border-radius: var(--r-lg) 0 0 var(--r-lg); overflow: hidden; background: var(--paper-3); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero-plate { position: absolute; left: 0; bottom: 0; display: flex; flex-direction: column; gap: 2px; padding: 14px 20px 14px 18px; background: var(--forest); color: #fff; border-top-right-radius: var(--r); font-size: .84rem; line-height: 1.35; border-left: 4px solid var(--leaf); }
.hero-plate b { font-weight: 650; letter-spacing: .02em; }
.hero-plate span { color: rgba(255, 255, 255, .72); }

/* Haz de lectura: cruza la foto una vez, en sincronía con la escala NIR */
.hero-scan { position: absolute; top: 0; bottom: 0; left: 0; width: 22%; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(201, 208, 46, 0) 0%, rgba(201, 208, 46, .16) 75%, rgba(255, 255, 255, .5) 98.6%, #fff 99%, #fff 100%);
  mix-blend-mode: screen; transform: translateX(-100%); }
.hero.is-ready .hero-scan { animation: heroScan 2s cubic-bezier(.45, .05, .35, 1) .5s 1 both; }
@keyframes heroScan { 0% { opacity: 0; transform: translateX(-100%); } 8% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateX(460%); } }

/* Escala del espectro de medición (700–950 nm) */
.nir { margin-top: clamp(36px, 4.5vw, 56px); }
.nir-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .76rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.nir-head > span:first-child { color: var(--primary); }
.nir-track { position: relative; height: 10px; }
.nir-bar { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(90deg, #c4122f 0%, #8e0b23 14%, #4a0d1c 32%, #2a1a1e 52%, #1f2420 72%, #13221b 100%); }
.nir-bar::after { content: ""; position: absolute; inset: 0; border-radius: 2px; opacity: .35; background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(255, 255, 255, .25) 7px 8px); mask-image: linear-gradient(90deg, transparent 20%, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 60%); }
.nir-cursor { position: absolute; top: -5px; bottom: -6px; left: 0; width: 2px; background: var(--ink); transform: translateX(-1px); }
.nir-cursor::before { content: ""; position: absolute; left: -4px; top: -5px; border: 5px solid transparent; border-top-color: var(--ink); }
.hero.is-ready .nir-cursor { animation: nirSweep 2s cubic-bezier(.45, .05, .35, 1) .5s 1 both; }
@keyframes nirSweep { from { left: 0; } to { left: 100%; } }
.nir-ticks { position: relative; height: 9px; margin-top: 4px; }
.nir-ticks i { position: absolute; top: 0; width: 1px; height: 5px; background: var(--line-strong); transform: translateX(-.5px); }
.nir-ticks i.major { height: 9px; background: var(--ink-soft); }
.nir-labels { position: relative; height: 18px; margin-top: 4px; font-size: .78rem; font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.nir-labels span { position: absolute; top: 0; transform: translateX(-50%); }
.nir-labels span:first-child { transform: none; }
.nir-labels span:nth-last-child(2) { transform: translateX(-100%); }
.nir-labels em { position: absolute; right: 0; top: 100%; font-style: normal; font-size: .7rem; color: var(--muted); }

/* Entrada del texto del héroe */
.js .hero-copy > * { opacity: 0; transform: translateY(10px); }
.hero.is-ready .hero-copy > * { animation: heroIn .7s var(--ease) both; }
.hero.is-ready .hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero.is-ready .hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero.is-ready .hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .hero-copy > * { opacity: 1; transform: none; }
  .hero-scan { display: none; }
  .nir-cursor { left: 100%; }
  }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(48px, 6vw, 80px) 0 0; border-top: 1px solid var(--line-strong); }
.stat { padding: 20px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat dt { font-size: .82rem; color: var(--muted); font-weight: 500; }
.stat dd { margin: 6px 0 0; font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 650; font-stretch: var(--cond); letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }

/* ---------- Héroe interior ---------- */
.page-hero { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-bottom: 0; }
.breadcrumbs { font-size: .84rem; margin-bottom: 24px; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; color: var(--ink); }
.breadcrumbs [aria-current] { color: var(--ink); }

/* ---------- Riesgos ---------- */
.risk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.risk { border-top: 3px solid var(--ink); padding-top: 20px; }
.risk .num { font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.risk h3 { margin: 12px 0 10px; }
.risk p { color: var(--ink-soft); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--wide-left { grid-template-columns: 1.1fr .9fr; }
.split-media { border-radius: var(--r-lg); overflow: hidden; background: var(--paper-3); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.quote-big { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 640; font-stretch: var(--cond); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 20px; }

.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; }
.check-list li::before { content: ""; width: 16px; height: 16px; margin-top: 4px; background: var(--check, var(--primary)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M2.5 8.6l3.6 3.4L13.5 4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M2.5 8.6l3.6 3.4L13.5 4'/%3E%3C/svg%3E") center / contain no-repeat; }
.section--dark .check-list, .offer--featured .check-list { --check: var(--lime); }

/* ---------- Modelos ---------- */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.model:hover { border-color: var(--line-strong); box-shadow: 0 10px 30px -18px rgba(19, 34, 27, .35); }
.model-media { position: relative; aspect-ratio: 9 / 6; overflow: hidden; background: var(--paper-3); border-bottom: 4px solid var(--c, var(--leaf)); }
.model-media img { width: 100%; height: 100%; object-fit: cover; }
.model-badge { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 4px; background: #fff; color: var(--ink); font-size: .74rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 7px; }
.model-badge::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--leaf)); }
.model-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.model-name { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.model-name a { text-decoration: none; }
.model-name b { white-space: nowrap; font-weight: 700; font-stretch: 78%; font-size: 2.1rem; letter-spacing: -.02em; line-height: 1; }
.model-name b i { font-style: normal; }
.model-name > span { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-stretch: 100%; }
.model p { color: var(--ink-soft); margin: 0; font-size: .97rem; }
.model-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.model-metrics div { padding: 10px 10px 10px 0; display: flex; flex-direction: column; gap: 2px; }
.model-metrics div + div { padding-left: 10px; border-left: 1px solid var(--line); }
.model-metrics small { font-size: .76rem; color: var(--muted); }
.model-metrics strong { font-weight: 650; font-size: .95rem; font-variant-numeric: tabular-nums; }
.model-actions { margin-top: auto; padding-top: 6px; display: flex; gap: 10px; flex-wrap: wrap; }
.model-actions .btn { flex: 1; min-width: 120px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.chip { display: inline-block; padding: 4px 9px; border-radius: 4px; background: var(--paper-2); font-size: .84rem; color: var(--ink-soft); white-space: nowrap; }
a.chip:hover { background: var(--paper-3); }
.section--dark .chip { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .88); }

/* ---------- Buscador por fruta ---------- */
.finder { background: var(--forest); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); }
.finder h2 { max-width: 16ch; }
.finder-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.finder-grid > [aria-live] { position: sticky; top: calc(var(--header-h) + 20px); }
.fruit-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.fruit-btn { border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; border-radius: 4px; padding: 8px 13px; cursor: pointer; font-size: .95rem; font-weight: 500; transition: background-color .15s, border-color .15s, color .15s; }
.fruit-btn:hover { border-color: #fff; }
.fruit-btn[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--forest); font-weight: 600; }
.fruit-btn--light { color: var(--ink); border-color: var(--line-strong); }
.fruit-btn--light:hover { border-color: var(--ink); }
.fruit-btn--light[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.finder-result { border: 1px solid var(--line-dark); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 16px; background: rgba(255, 255, 255, .03); }
.finder-result[hidden] { display: none; }
.finder-empty { display: grid; place-items: center; text-align: center; color: rgba(255, 255, 255, .6); min-height: 260px; border: 1px dashed rgba(255, 255, 255, .25); border-radius: var(--r); padding: 28px; }
.finder-empty svg { width: 36px; height: 36px; margin: 0 auto 12px; opacity: .7; }
.finder-model { display: flex; align-items: center; gap: 16px; padding-left: 14px; border-left: 4px solid var(--c, var(--leaf)); }
.finder-model b { font-weight: 700; font-stretch: 78%; font-size: 1.9rem; line-height: 1; display: block; }
.finder-model div > span { display: block; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; line-height: 1.35; color: rgba(255, 255, 255, .62); }
.finder-model b { margin: 4px 0; }
.finder-fruit { display: flex; align-items: center; gap: 20px; padding: 14px 18px 14px 14px; margin-bottom: 4px; border-radius: var(--r); background: #f6f5f1; color: var(--ink); }
.finder-fruit img { width: 112px; height: 112px; object-fit: contain; flex: none; animation: fruitIn .35s var(--ease) both; }
.finder-fruit .eyebrow { color: var(--primary) !important; }
.finder-fruit b { display: block; font-weight: 700; font-stretch: 80%; font-size: 2rem; line-height: 1.05; letter-spacing: -.01em; }
.finder-fruit span { display: block; margin-top: 4px; font-size: .88rem; color: var(--ink-soft); }
@keyframes fruitIn { from { opacity: 0; transform: scale(.92); } }
.finder-params { list-style: none; margin: 0; padding: 0; }
.finder-params li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-dark); }
.finder-params li span:last-child { font-weight: 650; font-variant-numeric: tabular-nums; }
.finder-note { font-size: .9rem; color: rgba(255, 255, 255, .65); margin: 0; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.step { border-top: 2px solid currentColor; padding-top: 16px; }
.step-num { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .06em; color: var(--primary); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.section--dark .step-num { color: var(--lime); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.section--dark .step p { color: rgba(255, 255, 255, .72); }

/* ---------- Funciones ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.features--light { border-color: var(--line); background: var(--white); }
.feature { padding: 26px 22px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.features--light .feature { border-color: var(--line); }
.feature-icon { color: var(--lime); margin-bottom: 6px; }
.features--light .feature-icon { color: var(--primary); }
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.05rem; font-stretch: 100%; font-weight: 650; margin: 0; letter-spacing: 0; }
.feature p { margin: 0; font-size: .93rem; color: rgba(255, 255, 255, .7); }
.features--light .feature p { color: var(--ink-soft); }

/* ---------- Ilustración del panel ---------- */
.dash { background: #0c2116; border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 16px; color: rgba(255, 255, 255, .85); font-size: .78rem; font-variant-numeric: tabular-nums; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-dark); }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.dash-tag { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .7rem; color: rgba(255, 255, 255, .7); }
.dash-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; margin-top: 12px; }
.dash-card { background: rgba(255, 255, 255, .035); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 12px; }
.dash-card h4 { font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 600; font-stretch: 100%; color: rgba(255, 255, 255, .55); margin: 0 0 10px; line-height: 1.3; }
.heatmap { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; }
.heatmap i { aspect-ratio: 1; border-radius: 2px; background: var(--s-high); }
.heatmap i.m { background: var(--s-mid); }
.heatmap i.l { background: var(--s-low); }
.heatmap i.e { background: rgba(255, 255, 255, .07); }
.legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend span::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--c); }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 86px; }
.bars i { flex: 1; background: var(--lime); opacity: .85; border-radius: 1px; }
.dash-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.dash-list li { white-space: nowrap; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 4px; background: rgba(255, 255, 255, .04); }
.dash-list li b { font-weight: 600; }
.pill { padding: 2px 7px; border-radius: 3px; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #0c2116; background: var(--c); }
.dash-caption { margin: 10px 0 0; font-size: .72rem; color: rgba(255, 255, 255, .45); text-align: right; }

/* ---------- Especificaciones ---------- */
.specs-band { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.spec { padding: 22px 18px 22px 0; display: flex; flex-direction: column; gap: 4px; }
.spec + .spec { padding-left: 18px; border-left: 1px solid var(--line); }
.spec svg { width: 24px; height: 24px; color: var(--primary); margin-bottom: 8px; }
.spec strong { font-weight: 680; font-stretch: var(--cond); font-size: 1.45rem; letter-spacing: -.015em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.spec span { font-size: .88rem; color: var(--muted); }

/* ---------- Tabla comparativa ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .95rem; }
.compare th, .compare td { text-align: left; padding: 15px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-weight: 700; font-stretch: 78%; font-size: 1.55rem; letter-spacing: -.02em; line-height: 1.05; background: var(--white); border-top: 4px solid var(--c, transparent); border-bottom: 1px solid var(--line-strong); }
.compare thead th small { display: block; font-size: .74rem; font-weight: 600; font-stretch: 100%; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.compare tbody th { font-weight: 600; width: 22%; color: var(--ink); font-size: .9rem; background: var(--paper); }
.compare td .mono { color: var(--ink); }
.compare tfoot td { background: var(--paper); }

/* ---------- Ficha de producto ---------- */
.product-hero { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(56px, 8vw, 96px); }
.product-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.product-gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; }
.product-photo { border-radius: var(--r-lg); overflow: hidden; background: var(--paper-3); aspect-ratio: 9 / 6.4; position: relative; border-bottom: 5px solid var(--c, var(--leaf)); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); margin-bottom: 14px; }
.product-info h1 i { font-style: normal; }
.product-sub { display: block; font-size: .8rem; font-weight: 650; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; margin-bottom: 18px; }
.product-sub::before { content: ""; display: inline-block; vertical-align: -1px; width: 11px; height: 11px; margin-right: 10px; border-radius: 2px; background: var(--c, var(--leaf)); }
.product-info .lead { margin-bottom: 24px; }
.product-cta { display: grid; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); margin: 28px 0; }
.product-cta p { margin: 0; font-size: .9rem; color: var(--muted); text-align: center; }
.kv { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.kv li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.kv li span:first-child { color: var(--muted); }
.kv li span:last-child { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.block-title { font-size: .8rem; font-weight: 650; font-stretch: 100%; letter-spacing: .09em; text-transform: uppercase; color: var(--primary); margin: 36px 0 12px; }
.params { width: 100%; border-collapse: collapse; font-size: .96rem; border-top: 1px solid var(--line-strong); }
.params th, .params td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.params th { font-weight: 500; color: var(--ink-soft); padding-right: 16px; }
.params td { font-weight: 650; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.callout { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; background: var(--paper-2); border-left: 3px solid var(--primary); border-radius: 0 var(--r) var(--r) 0; padding: 16px 18px; margin: 24px 0 0; font-size: .96rem; }
.callout svg { width: 22px; height: 22px; color: var(--primary); margin-top: 1px; }
.callout p { margin: 0; }

/* ---------- Pack y licencia ---------- */
.offer-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.offer { border-radius: var(--r-lg); padding: clamp(26px, 3.5vw, 40px); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--c, var(--leaf)); display: flex; flex-direction: column; gap: 16px; }
.offer--featured { background: var(--forest); color: #fff; border-color: var(--forest); border-top-color: var(--c, var(--lime)); }
.offer h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-stretch: var(--cond); margin: 0; }
.offer p { margin: 0; color: var(--ink-soft); }
.offer--featured p { color: rgba(255, 255, 255, .76); }
.offer .check-list { margin: 0; }
.offer .btn-row { margin-top: auto; }
.offer-tag { align-self: flex-start; font-size: .74rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.offer--featured .offer-tag { color: var(--lime); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-size: 1.15rem; font-weight: 600; font-stretch: var(--semi); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--primary); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 22px; color: var(--ink-soft); max-width: 70ch; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.post-card:hover { border-color: var(--line-strong); box-shadow: 0 10px 30px -18px rgba(19, 34, 27, .35); }
.post-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1.5px; }
.post-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--forest); position: relative; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.post-meta > :first-child { color: var(--primary); }
.post-card h3 { font-size: 1.3rem; margin: 0; }
.post-card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.post-card .link-arrow { margin-top: auto; align-self: flex-start; font-size: .93rem; }
.post-card--featured { display: grid; grid-template-columns: 1.2fr 1fr; grid-column: 1 / -1; }
.post-card--featured .post-card-media { aspect-ratio: auto; min-height: 340px; }
.post-card--featured .post-card-body { padding: clamp(26px, 4vw, 44px); justify-content: center; }
.post-card--featured h3 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.post-cover-art { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px; background: var(--forest); }
.post-cover-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--bands); }
.post-cover-art span { position: relative; color: #fff; font-weight: 650; font-stretch: var(--cond); font-size: 1.6rem; }
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }

.article-hero { padding-top: clamp(32px, 5vw, 56px); padding-bottom: 36px; }
.article-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); max-width: 24ch; }
.article-cover { border-radius: var(--r-lg); overflow: hidden; margin: 0 0 clamp(36px, 5vw, 64px); aspect-ratio: 16 / 8; background: var(--forest); position: relative; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.aside-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; background: var(--white); }
.aside-card h2, .aside-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.aside-card p { font-size: .93rem; color: var(--ink-soft); }
.aside-card--dark { background: var(--forest); color: #fff; border-color: var(--forest); }
.aside-card--dark p { color: rgba(255, 255, 255, .75); }
.aside-card--dark .eyebrow { color: var(--lime); }
.share { display: flex; gap: 8px; }
.share a, .share button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid var(--line-strong); background: transparent; cursor: pointer; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.share a:hover, .share button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.site-footer .share a { border-color: var(--line-dark); }
.share svg { width: 18px; height: 18px; }

.prose { font-size: 1.1rem; line-height: 1.72; color: #26352d; max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); margin: 1.8em 0 .1em; }
.prose h3 { font-size: 1.35rem; margin: 1.6em 0 .1em; }
.prose h4 { font-size: 1.12rem; margin: 1.4em 0 .1em; }
.prose a { color: var(--primary); font-weight: 600; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--primary); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--primary); font-size: 1.28rem; font-weight: 550; font-stretch: var(--semi); line-height: 1.4; color: var(--ink); }
.prose blockquote p { margin: 0; }
.prose img { border-radius: var(--r); margin-inline: auto; }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font-size: .86rem; color: var(--muted); margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--leaf); }
.prose hr { border: 0; height: 1px; background: var(--line-strong); margin: 2.4em 0; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; background: var(--paper-2); padding: .1em .4em; border-radius: 4px; }
.prose pre { background: var(--paper-2); padding: 16px; border-radius: var(--r); overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; display: block; overflow-x: auto; font-variant-numeric: tabular-nums; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 14px 10px 0; text-align: left; }
.prose th { font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 650; border-bottom-color: var(--line-strong); }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--forest); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Tutoriales ---------- */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.video-card:first-child { grid-column: 1 / -1; }
.video-facade { position: relative; aspect-ratio: 16 / 9; width: 100%; border: 0; padding: 0; cursor: pointer; background: var(--forest); color: #fff; display: grid; place-items: center; overflow: hidden; }
.video-facade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--bands); }
.video-card:first-child .video-facade, .video-card:first-child .video-frame { aspect-ratio: 21 / 9; }
.video-facade .play { width: 68px; height: 68px; border-radius: 50%; background: #fff; color: var(--forest); display: grid; place-items: center; transition: transform .2s var(--ease); }
.video-facade:hover .play { transform: scale(1.06); }
.video-facade .play svg { width: 24px; height: 24px; margin-left: 4px; }
.video-facade .vlabel { position: absolute; left: 20px; bottom: 20px; font-size: .78rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.video-facade .vnum { position: absolute; left: 20px; top: 16px; font-size: .9rem; font-weight: 700; color: var(--lime); font-variant-numeric: tabular-nums; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-body { padding: 20px 22px 24px; }
.video-body h2 { font-size: 1.4rem; margin: 0 0 6px; }
.video-body p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.contact-lines { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line-strong); }
.contact-lines li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; }
.contact-lines .ic { width: 40px; height: 40px; border-radius: var(--r); background: var(--paper-2); display: grid; place-items: center; color: var(--primary); }
.contact-lines .ic svg { width: 20px; height: 20px; }
.contact-lines small { display: block; font-size: .74rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.contact-lines a { font-weight: 600; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }

.form-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--primary); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r); border: 1.5px solid var(--line-strong); background: var(--white); font-size: 1rem; transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313221b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26, 92, 58, .18); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: var(--s-low); }
.field .hint { font-size: .8rem; color: var(--muted); }
.field.is-prefilled select, .field.is-prefilled input { border-color: var(--leaf); background-color: #f2f8f3; }
.prefill-note { display: none; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: #eaf4ec; color: var(--primary); font-size: .93rem; margin-bottom: 22px; font-weight: 500; }
.prefill-note.is-visible { display: flex; }
.prefill-note svg { width: 18px; height: 18px; flex: none; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .88rem; color: var(--ink-soft); }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--r); font-size: .95rem; display: none; }
.form-status.is-ok { display: block; background: #eaf4ec; color: var(--primary); }
.form-status.is-error { display: block; background: #fbeae6; color: #8a2a17; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- Llamada final ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--forest); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px) clamp(28px, 5vw, 64px) calc(clamp(32px, 5vw, 64px) + 6px); display: grid; grid-template-columns: 1.4fr .6fr; gap: 32px; align-items: end; }
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--bands); }
.cta-band h2 { margin: 0 0 12px; max-width: 20ch; }
.cta-band p { color: rgba(255, 255, 255, .76); margin: 0; max-width: 54ch; }
.cta-band .btn-row { justify-content: flex-end; }

/* ---------- Pie ---------- */
.site-footer { background: var(--forest); color: rgba(255, 255, 255, .78); padding-top: clamp(56px, 7vw, 88px); margin-top: clamp(24px, 4vw, 56px); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--bands); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 38ch; font-size: .95rem; }
.site-footer h2 { font-size: .76rem; font-weight: 650; font-stretch: 100%; letter-spacing: .09em; text-transform: uppercase; color: var(--lime); margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: rgba(255, 255, 255, .88); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 20px 0 26px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .86rem; color: rgba(255, 255, 255, .55); }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #1f8f4e; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .35); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Entrada al hacer scroll (sutil) ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 y legales ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-size: clamp(5rem, 16vw, 10rem); font-weight: 750; font-stretch: 75%; line-height: 1; color: var(--paper-3); margin: 0; }
.notfound .eyebrow, .notfound .lead { margin-inline: auto; }
.legal-note { background: #fff6dd; border: 1px solid #f2d27a; border-radius: var(--r); padding: 16px 20px; font-size: .95rem; margin-bottom: 32px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav, .header-cta .btn--ghost, .brand-tag { display: none; }
  .menu-toggle { display: inline-flex; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .specs-band { grid-template-columns: repeat(3, 1fr); }
  .spec:nth-child(4) { border-left: 0; padding-left: 0; }
  .spec:nth-child(n+4) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  body { font-size: 16.5px; }
  .hero-grid, .split, .split--wide-left, .finder-grid, .product-grid, .contact-grid, .article-layout, .offer-grid, .cta-band, .section-head--split { grid-template-columns: 1fr; }
  .section-head--split { gap: 12px; }
  .hero h1 { max-width: none; }
  .hero-figure { margin: 0 calc(-1 * var(--gutter)); }
  .hero-photo { min-height: 0; height: clamp(260px, 62vw, 420px); border-radius: 0; }
  .hero-plate { border-top-right-radius: 0; padding: 10px 14px 10px 14px; font-size: .78rem; }
  .nir-head > span:last-child { display: none; }
  .nir-head { flex-wrap: nowrap; }
  .nir-head > span:first-child { white-space: nowrap; }
  .nir-head::after { content: "700–950 nm"; white-space: nowrap; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
  .models, .risk-grid, .posts { grid-template-columns: 1fr; }
  .models { max-width: 560px; }
  .post-card--featured { grid-template-columns: 1fr; }
  .post-card--featured .post-card-media { min-height: 0; aspect-ratio: 16 / 10; }
  .product-gallery, .contact-aside, .article-aside { position: static; }
  .product-gallery > .dash { display: none; }
  .videos { grid-template-columns: 1fr; }
  .video-card:first-child .video-facade, .video-card:first-child .video-frame { aspect-ratio: 16 / 9; }
  .cta-band .btn-row { justify-content: flex-start; }
  .dash-body { grid-template-columns: 1fr; }
  .finder-grid > [aria-live] { position: static; scroll-margin-top: calc(var(--header-h) + 16px); }
  .finder-empty { min-height: 0; }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 8px 16px; font-size: .84rem; }
  .nir-head { font-size: .7rem; }
  .nir-labels span:nth-child(2), .nir-labels span:nth-child(4) { display: none; }
      .finder-model { gap: 12px; padding-left: 12px; }
  .finder-model b { font-size: 1.6rem; }
  .features, .steps { grid-template-columns: 1fr; }
  .specs-band { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(n) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .spec:nth-child(1), .spec:nth-child(2) { border-top: 0; }
  .spec:nth-child(even) { border-left: 1px solid var(--line); padding-left: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 auto; }
  .brand img { height: 32px; }
  .header-cta .btn--primary { display: none; }
  .prose { font-size: 1.04rem; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
