/* base.css — GENERADO por scripts/landing-css.mjs, NO EDITAR A MANO.
   Fuentes (en orden de cascada): tokens/fonts.css + tokens/colors.css + tokens/typography.css + tokens/spacing.css + site.css + components.css.
   Toca aquellos y corre: npm run landing:css */

/* ══════ tokens/fonts.css ══════ */
/* ============================================================
   FERMENTY — Webfonts (autoalojadas, INFORME-rendimiento-080826 fase 2)
   Display:  Comfortaa      (rounded, friendly, artisanal headings + wordmark)
   UI/Body:  Raleway        (elegant humanist sans — interface + prose)
   Data:     JetBrains Mono (monospaced tabular numerals — pH, temp, days, timers)

   Un woff2 VARIABLE (wght 400-700, subset latin) por familia, servido desde
   /landing/fonts/ — mismo origen, cero handshakes a Google, y el nivel css2
   desaparece de la cadena crítica. Sin itálicas: la landing no usa ninguna
   (auditado 08-08-2026). El subset latin cubre es/en/de completos.

   Si algún día se regenera un fichero, CAMBIARLE EL NOMBRE (-v2): van con
   TTL largo en Apache y el mismo nombre serviría el viejo durante días.
   ============================================================ */

@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/landing/fonts/comfortaa-vf.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/landing/fonts/raleway-vf.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/landing/fonts/jetbrains-mono-vf.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ══════ tokens/colors.css ══════ */
/* ============================================================
   FERMENTY — Color tokens
   "Living minimalism" — warm paper grounds, deep culture greens,
   a probiotic-lime spark, and honey-gold for the active ferment.
   Muted & editorial first; brights used as accents, never fields.
   ============================================================ */

:root {
  /* ---- Warm paper neutrals (backgrounds & ink) ---- */
  --paper-0: #FCFBF7;   /* lightest — cards, sheets */
  --paper-1: #F6F2E9;   /* app canvas */
  --paper-2: #EFEADD;   /* raised / hover fields */
  --paper-3: #E6DFCE;   /* hairline borders */
  --paper-4: #D8CFB8;   /* strong borders / dividers on paper */

  --ink-900: #1B241D;   /* primary text — near-black green ink */
  --ink-700: #2F3A31;
  --ink-500: #56625A;   /* secondary text */
  --ink-400: #79847B;   /* muted / captions */
  --ink-300: #9BA59C;   /* disabled / placeholder */

  /* ---- Culture green (primary brand) ---- */
  --green-900: #16271B;
  --green-800: #1F3A26;
  --green-700: #2C5234;   /* deep — pressed, headings on light */
  --green-600: #3B6843;
  --green-500: #4B7A50;   /* PRIMARY */
  --green-400: #6FA06A;
  --green-300: #98C28E;
  --green-200: #C2DCB6;
  --green-100: #E0EDD7;
  --green-050: #EFF5E9;

  /* ---- Probiotic lime (alive spark / highlight) ---- */
  --lime-600: #9FB02F;
  --lime-500: #B7C63C;    /* BRIGHT accent */
  --lime-400: #CBD75D;
  --lime-300: #DEE793;
  --lime-100: #F0F3CF;

  /* ---- Honey gold (active ferment / warmth) ---- */
  --gold-700: #B07E24;
  --gold-600: #D0A03A;
  --gold-500: #F5C356;    /* GOLD accent */
  --gold-400: #F8D379;
  --gold-300: #FAE1AA;
  --gold-200: #FBE9C1;
  --gold-100: #FDF4DE;

  /* ---- Semantic raw ---- */
  --teal-500:  #3E7C77;   /* info / cool culture */
  --teal-100:  #DCEBE9;
  --amber-500: #D8943B;   /* warning / watch */
  --amber-100: #F6E6CB;
  --rust-500:  #B5503A;   /* danger / spoilage */
  --rust-100:  #F1D9D2;

  /* ============================================================
     SEMANTIC ALIASES — author UI against these
     ============================================================ */

  /* Surfaces & ground */
  --bg-canvas:       var(--paper-1);
  --bg-canvas-deep:  var(--paper-2);
  --surface-card:    var(--paper-0);
  --surface-raised:  #FFFFFF;
  --surface-sunken:  var(--paper-2);
  --surface-inverse: var(--green-900);

  /* Text */
  --text-primary:    var(--ink-900);
  --text-secondary:  var(--ink-500);
  --text-muted:      var(--ink-400);
  --text-disabled:   var(--ink-300);
  --text-on-accent:  var(--paper-0);
  --text-on-dark:    #EAF0E4;
  --text-link:       var(--green-700);

  /* Borders & lines */
  --border-subtle:   var(--paper-3);
  --border-default:  var(--paper-4);
  --border-strong:   var(--ink-300);
  --border-focus:    var(--green-500);

  /* Brand / interactive */
  --accent:          var(--green-500);
  --accent-hover:    var(--green-600);
  --accent-press:    var(--green-700);
  --accent-soft:     var(--green-050);
  --accent-on-soft:  var(--green-700);
  --accent-bright:   var(--lime-500);
  --accent-gold:     var(--gold-500);

  /* Status (fermentation states) */
  --status-active:   var(--gold-500);   /* fermenting / bubbling */
  --status-active-bg:var(--gold-100);
  --status-ready:    var(--green-500);   /* ready / done */
  --status-ready-bg: var(--green-050);
  --status-rest:     var(--teal-500);    /* curing / cold */
  --status-rest-bg:  var(--teal-100);
  --status-watch:    var(--amber-500);   /* check soon */
  --status-watch-bg: var(--amber-100);
  --status-spoil:    var(--rust-500);    /* spoiled / discard */
  --status-spoil-bg: var(--rust-100);

  /* Feedback */
  --success: var(--green-500);
  --warning: var(--amber-500);
  --danger:  var(--rust-500);
  --info:    var(--teal-500);

  /* ============================================================
     FERMENTATION-PROCESS CATEGORIES (Scheme 2)
     A layer above ferment types. Used for PROGRESS RINGS and
     CATEGORY HEADERS/ACCENTS only — never as large fields, and
     never in place of the status language (status pills keep the
     status colors). Soft tints are derived, not new hex.
     ============================================================ */
  --cat-lactica:    #3A7A22;   /* láctica — green */
  --cat-acetica:    #C9621A;   /* acética — amber/orange */
  --cat-alcoholica: #8A5BB0;   /* alcohólica — purple */
  --cat-fungica:   #B0843A;   /* fúngica — ochre */

  /* Soft grounds for category headers/chips (derived from the four) */
  --cat-lactica-soft:    color-mix(in srgb, var(--cat-lactica) 11%, var(--paper-0));
  --cat-acetica-soft:    color-mix(in srgb, var(--cat-acetica) 11%, var(--paper-0));
  --cat-alcoholica-soft: color-mix(in srgb, var(--cat-alcoholica) 11%, var(--paper-0));
  --cat-fungica-soft:   color-mix(in srgb, var(--cat-fungica) 11%, var(--paper-0));
}

/* ══════ tokens/typography.css ══════ */
/* ============================================================
   FERMENTY — Typography tokens
   Rounded & plain: Comfortaa display over Raleway UI, Inter for
   readings. Friendly, calm, artisanal.
   ============================================================ */

:root {
  /* Families */
  --font-display: 'Comfortaa', system-ui, sans-serif;           /* titles, wordmark, hero */
  --font-sans:    'Raleway', system-ui, -apple-system, sans-serif; /* UI + body + prose */
  --font-data:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;   /* numerals / measurements */

  /* Legacy aliases (kept so existing components resolve) */
  --font-serif: var(--font-display);
  --font-mono:  var(--font-data);

  /* Weights */
  --fw-light:   300; /* @kind font */
  --fw-regular: 400; /* @kind font */
  --fw-medium:  500; /* @kind font */
  --fw-semibold:600; /* @kind font */
  --fw-bold:    700; /* @kind font */
  --fw-black:   700; /* @kind font */

  /* Type scale (1.25-ish, friendly top end) */
  --text-display-xl: 3.25rem;  /* 52 — hero numerals / cover */
  --text-display:    2.5rem;   /* 40 — page titles (Comfortaa) */
  --text-h1:         1.875rem; /* 30 */
  --text-h2:         1.5rem;   /* 24 */
  --text-h3:         1.1875rem;/* 19 */
  --text-h4:         1.0625rem;/* 17 */
  --text-body-lg:    1.0625rem;/* 17 — reading prose */
  --text-body:       0.9375rem;/* 15 — UI default */
  --text-sm:         0.8125rem;/* 13 */
  --text-xs:         0.75rem;  /* 12 — labels, captions */
  --text-data-lg:    1.75rem;  /* 28 — big metric readout */
  --text-data:       0.875rem; /* 14 — inline data */

  /* Line heights */
  --lh-tight:   1.12;   /* @kind font */
  --lh-snug:    1.28;   /* @kind font */
  --lh-normal:  1.5;    /* @kind font */
  --lh-relaxed: 1.62;   /* @kind font */

  /* Letter spacing — Comfortaa likes a touch tighter; labels open */
  --ls-tight:   -0.01em;  /* @kind font */
  --ls-snug:    0;        /* @kind font */
  --ls-normal:  0;        /* @kind font */
  --ls-wide:    0.04em;   /* @kind font */
  --ls-label:   0.1em;    /* @kind font */

  /* ---- Semantic roles ---- */
  --type-display:  var(--fw-bold)     var(--text-display)/var(--lh-tight) var(--font-display);
  --type-h1:       var(--fw-semibold) var(--text-h1)/var(--lh-snug) var(--font-display);
  --type-h2:       var(--fw-semibold) var(--text-h2)/var(--lh-snug) var(--font-sans);
  --type-body:     var(--fw-regular)  var(--text-body)/var(--lh-normal) var(--font-sans);
  --type-prose:    var(--fw-regular)  var(--text-body-lg)/var(--lh-relaxed) var(--font-sans);
  --type-label:    var(--fw-semibold) var(--text-xs)/1 var(--font-sans);
  --type-data:     var(--fw-medium)   var(--text-data)/1.4 var(--font-data);

  /* legacy alias */
  --text-mono-lg: var(--text-data-lg);
  --text-mono:    var(--text-data);
}

/* ══════ tokens/spacing.css ══════ */
/* ============================================================
   FERMENTY — Spacing, radii, shadows, motion
   Subtle and editorial: soft low-contrast shadows, gentle radii,
   calm easing. Nothing bounces; everything settles.
   ============================================================ */

:root {
  /* Spacing — 4px base */
  --space-0: 0;
  --space-1: 0.25rem;  /* 4 */
  --space-2: 0.5rem;   /* 8 */
  --space-3: 0.75rem;  /* 12 */
  --space-4: 1rem;     /* 16 */
  --space-5: 1.25rem;  /* 20 */
  --space-6: 1.5rem;   /* 24 */
  --space-8: 2rem;     /* 32 */
  --space-10: 2.5rem;  /* 40 */
  --space-12: 3rem;    /* 48 */
  --space-16: 4rem;    /* 64 */
  --space-20: 5rem;    /* 80 */

  /* Radii — rounded, friendly */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* Borders */
  --border-hair: 1px; /* @kind spacing */
  --border-thick: 1.5px; /* @kind spacing */

  /* Shadows — minimal & flat. Borders do most of the work; shadows are
     faint and reserved for things that truly float (sheets, drawers, FAB). */
  --shadow-xs: 0 1px 1px rgba(27, 36, 29, 0.03);
  --shadow-sm: 0 1px 2px rgba(27, 36, 29, 0.04);
  --shadow-md: 0 2px 8px rgba(27, 36, 29, 0.05);
  --shadow-lg: 0 8px 20px rgba(27, 36, 29, 0.07);
  --shadow-xl: 0 16px 36px rgba(27, 36, 29, 0.10);
  --shadow-inset: inset 0 1px 2px rgba(27, 36, 29, 0.04);

  /* Rings (focus) */
  --ring-accent: 0 0 0 3px rgba(75, 122, 80, 0.22);
  --ring-danger: 0 0 0 3px rgba(181, 80, 58, 0.22);

  /* Motion — calm, no bounce */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --ease-in-out: cubic-bezier(0.45, 0.05, 0.55, 0.95); /* @kind other */
  --dur-fast: 120ms; /* @kind other */
  --dur-base: 200ms; /* @kind other */
  --dur-slow: 320ms; /* @kind other */

  /* Layout */
  --container-max: 1200px; /* @kind other */
  --container-prose: 680px; /* @kind other */
  --gutter: var(--space-6); /* @kind other */
}

/* ══════ site.css ══════ */
/* ============================================================
   FERMENTY — Marketing site styles
   Built on the design-system tokens (link ../styles.css first).
   Calm & artisanal: warm paper grounds, generous space,
   Comfortaa display over Raleway, mono eyebrows. Quiet motion.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body-lg);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  background: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-primary); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight); line-height: var(--lh-tight); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ---- Layout primitives ---- */
.wrap { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--space-6); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.eyebrow { font-family: var(--font-data); font-size: var(--text-xs); font-weight: var(--fw-medium);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-600); margin: 0 0 var(--space-4); }
.eyebrow--muted { color: var(--text-muted); }
.lede { font-size: clamp(1.0625rem, 2vw, 1.25rem); color: var(--text-secondary); max-width: 44ch; }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
.section-head p { margin-top: var(--space-4); font-size: 1.0625rem; color: var(--text-secondary); }
.center { text-align: center; margin-inline: auto; }
.center .lede { margin-inline: auto; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-sans); font-weight: var(--fw-semibold); font-size: 1rem; line-height: 1;
  padding: 0.95rem 1.5rem; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform var(--dur-fast) var(--ease-out), background var(--dur-base) var(--ease-out),
  border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green-500); color: var(--text-on-accent); }
.btn--primary:hover { background: var(--green-600); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold-500); color: var(--green-900); }
.btn--gold:hover { background: var(--gold-400); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--text-primary); border-color: var(--border-default); }
.btn--ghost:hover { background: var(--paper-2); border-color: var(--paper-4); }
.btn--lg { padding: 1.1rem 1.8rem; font-size: 1.0625rem; }
.btn--sm { padding: 0.6rem 1rem; font-size: 0.9rem; }
.btn svg { width: 1.15em; height: 1.15em; }

/* ---- Top nav ---- */
.nav { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg-canvas) 86%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color var(--dur-base) var(--ease-out); }
.nav.is-scrolled { border-bottom-color: var(--border-subtle); }
.nav__inner { display: flex; align-items: center; gap: var(--space-6); height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 0; flex-shrink: 0; }
.brand svg { height: 30px; width: auto; }
.nav__links { display: flex; gap: var(--space-6); margin-left: var(--space-4); }
.nav__links a { font-size: 0.95rem; font-weight: var(--fw-medium); color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease-out); }
.nav__links a:hover { color: var(--green-700); }
.nav__right { display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }

/* language toggle */
.lang { display: inline-flex; padding: 3px; background: var(--paper-2); border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle); }
.lang button { border: none; background: transparent; cursor: pointer; font-family: var(--font-data);
  font-size: 0.72rem; font-weight: var(--fw-semibold); letter-spacing: 0.06em; color: var(--text-muted);
  padding: 0.4rem 0.7rem; border-radius: var(--radius-pill); transition: all var(--dur-fast) var(--ease-out); }
.lang button[aria-pressed="true"] { background: var(--surface-card); color: var(--green-700); box-shadow: var(--shadow-xs); }

/* desktop: collapse is transparent to layout (links left, actions right) */
.nav__collapse { display: contents; }

/* hamburger button (mobile only) */
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm);
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--green-700);
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out); }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3rem, 7vw, 6rem); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.04; }
.hero h1 .spark { color: var(--green-500); }
.hero .lede { margin-top: var(--space-6); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.hero__note { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-5);
  font-family: var(--font-data); font-size: 0.78rem; letter-spacing: 0.02em; color: var(--text-muted); }
.hero__note svg { width: 15px; height: 15px; color: var(--green-500); }
.hero__bubbles { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.5; }
.hero__grid { position: relative; z-index: 1; }

/* phone frame */
.phone-frame { position: relative; width: min(300px, 78vw); margin-inline: auto;
  background: #1B241D; border-radius: 42px; padding: 9px; box-shadow: var(--shadow-xl), 0 0 0 1px rgba(27,36,29,0.5); }
.phone-frame::before { content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 22px; background: #1B241D; border-radius: 12px; z-index: 3; }
.phone-frame__screen { position: relative; border-radius: 34px; overflow: hidden; background: var(--bg-canvas);
  aspect-ratio: 300 / 430; }
.phone-frame__screen img { width: 100%; height: auto; }
.phone-frame__screen::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 90px;
  background: linear-gradient(to bottom, transparent, var(--bg-canvas)); }
.phone-frame--card .phone-frame__screen { background: var(--surface-card); }
.phone-tilt { transform: rotate(-2deg); transition: transform var(--dur-slow) var(--ease-out); }
.phone-tilt:hover { transform: rotate(0deg); }

/* ---- Category chips strip ---- */
.cats-strip { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }
.cat-chip { display: inline-flex; align-items: center; gap: var(--space-2); padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill); font-size: 0.9rem; font-weight: var(--fw-semibold);
  border: 1px solid var(--border-subtle); background: var(--surface-card); }
.cat-chip i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
a.cat-chip { color: inherit; text-decoration: none; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
a.cat-chip:hover { transform: translateY(-2px); border-color: var(--green-400); box-shadow: var(--shadow-md); }

/* ---- Steps (how it works) ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: step; }
.step { position: relative; }
.step__num { font-family: var(--font-data); font-size: 0.8rem; font-weight: var(--fw-bold); letter-spacing: 0.1em;
  color: var(--green-600); display: inline-flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-4); }
.step__num::before { content: ''; width: 34px; height: 34px; border-radius: 50%; background: var(--green-050);
  border: 1.5px solid var(--green-200); display: inline-flex; align-items: center; justify-content: center;
  counter-increment: step; content: counter(step, decimal-leading-zero); color: var(--green-700);
  font-size: 0.85rem; }
.step h3 { font-size: 1.3rem; margin-bottom: var(--space-3); }
.step p { font-size: 1rem; }

/* ---- Feature rows (alternating image/text) ---- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-block: clamp(2rem, 4vw, 3.5rem); }
.feature-row:nth-child(even) .feature-row__media { order: -1; }
.feature-row h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: var(--space-4); }
.feature-row p { font-size: 1.0625rem; }
.feature-row__list { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.feature-row__list li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 1rem; color: var(--text-secondary); }
.feature-row__list svg { width: 20px; height: 20px; color: var(--green-500); flex-shrink: 0; margin-top: 2px; }
.feature-row__media { display: flex; justify-content: center; }
.story-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: var(--space-4);
  font-weight: var(--fw-semibold); color: var(--green-700); text-decoration: none;
  transition: gap var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.story-link:hover { color: var(--green-600); gap: 0.65rem; }
.story-link svg { width: 18px; height: 18px; }

/* ---- Feature cards grid ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.card { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: var(--space-6); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out),
  border-color var(--dur-base) var(--ease-out); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-default); }
.card__ico { width: 46px; height: 46px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  background: var(--green-050); color: var(--green-600); margin-bottom: var(--space-4); }
.card__ico svg { width: 23px; height: 23px; }
.card h3 { font-size: 1.2rem; margin-bottom: var(--space-2); }
.card p { font-size: 0.98rem; color: var(--text-secondary); }

/* ---- Category showcase ---- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.cat-card { border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); overflow: hidden;
  background: var(--surface-card); transition: transform var(--dur-base) var(--ease-out); }
.cat-card:hover { transform: translateY(-3px); }
.cat-card__top { height: 6px; }
.cat-card__body { padding: var(--space-5); }
.cat-card__ring { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: var(--space-4); }
.cat-card__ring::after { content: ''; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-card); }
.cat-card h3 { font-size: 1.25rem; margin-bottom: var(--space-2); }
.cat-card p { font-size: 0.92rem; color: var(--text-muted); }
.cat-card__ex { margin-top: var(--space-3); font-family: var(--font-data); font-size: 0.78rem; color: var(--text-muted); }

/* ---- Premium teaser ---- */
.premium-teaser { background: var(--green-900); color: var(--text-on-dark); border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.premium-teaser h2 { color: #fff; font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.premium-teaser .lede { color: color-mix(in srgb, var(--text-on-dark) 88%, transparent); }
.premium-teaser__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 4vw, 3rem); align-items: center; position: relative; z-index: 1; }
.premium-teaser__list { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-3); }
.premium-teaser__list li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 1.0625rem; color: var(--text-on-dark); }
.premium-teaser__list svg { width: 20px; height: 20px; color: var(--lime-400); flex-shrink: 0; margin-top: 3px; }
.premium-teaser .btn--gold { margin-top: var(--space-8); }
.premium-teaser__bubbles { position: absolute; right: -40px; top: -40px; width: 320px; height: 320px; opacity: 0.18; }
.gold-tag { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-data);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400);
  border: 1px solid color-mix(in srgb, var(--gold-400) 40%, transparent); padding: 0.4rem 0.8rem; border-radius: var(--radius-pill); }

/* ---- Testimonials ---- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.quote { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: var(--space-6); }
.quote p { font-size: 1.05rem; color: var(--text-primary); line-height: var(--lh-normal); }
.quote__by { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-5); }
.quote__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green-100); color: var(--green-700);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 1rem; flex-shrink: 0; }
.quote__by div { font-size: 0.9rem; }
.quote__by strong { display: block; color: var(--text-primary); font-weight: var(--fw-semibold); }
.quote__by span { color: var(--text-muted); font-size: 0.82rem; }
.quote__stars { color: var(--gold-500); margin-bottom: var(--space-4); letter-spacing: 2px; font-size: 0.9rem; }

/* ---- FAQ ---- */
.faq { max-width: 760px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--border-subtle); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5) 0; cursor: pointer; list-style: none; font-family: var(--font-display);
  font-weight: var(--fw-semibold); font-size: 1.15rem; color: var(--text-primary); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 22px; height: 22px; color: var(--green-600); transition: transform var(--dur-base) var(--ease-out); flex-shrink: 0; }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq details p { padding: 0 0 var(--space-5); font-size: 1.0625rem; color: var(--text-secondary); max-width: 64ch; }

/* ---- Newsletter ---- */
.newsletter { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem); text-align: center; }
.newsletter h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.newsletter p { margin-top: var(--space-3); color: var(--text-secondary); }
.subscribe { display: flex; flex-direction: column; gap: var(--space-3); max-width: 480px; margin: var(--space-6) auto 0; }
.subscribe__row { display: flex; gap: var(--space-3); }
.subscribe input { flex: 1; min-width: 0; font-family: var(--font-sans); font-size: 1rem; padding: 0.9rem 1.1rem;
  border-radius: var(--radius-pill); border: 1.5px solid var(--border-default); background: var(--paper-1); color: var(--text-primary); }
.subscribe input:focus { outline: none; border-color: var(--green-500); box-shadow: var(--ring-accent); }
.subscribe__ok { margin-top: var(--space-4); font-size: 0.95rem; color: var(--green-700); font-weight: var(--fw-semibold);
  display: none; align-items: center; gap: var(--space-2); justify-content: center; }
.subscribe__ok.is-shown { display: flex; }
.subscribe-flash { animation: subscribe-flash 1.8s ease-out; border-radius: var(--radius-pill); }
@keyframes subscribe-flash {
  0%   { background: color-mix(in srgb, currentColor 15%, transparent); box-shadow: 0 0 0 6px color-mix(in srgb, currentColor 15%, transparent); }
  100% { background: transparent; box-shadow: 0 0 0 0 transparent; }
}

/* ---- Footer ---- */
.footer { background: var(--paper-2); border-top: 1px solid var(--border-subtle); padding-block: clamp(3rem, 5vw, 4rem) var(--space-8); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: clamp(1.6rem, 3vw, 2.6rem); }
.footer__brand svg { height: 28px; margin-bottom: var(--space-4); }
.footer__brand p { font-size: 0.95rem; color: var(--text-muted); max-width: 30ch; }
.footer__origen { margin-top: var(--space-3); font-size: 0.85rem; }
.footer__origen a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 2px; }
.footer__origen a:hover { color: var(--green-700); }
.footer__col h4 { font-family: var(--font-data); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); font-weight: var(--fw-semibold); margin-bottom: var(--space-4); }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.footer__col a { font-size: 0.95rem; color: var(--text-secondary); transition: color var(--dur-fast) var(--ease-out); }
.footer__col a:hover { color: var(--green-700); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: var(--space-6); border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem; color: var(--text-muted); flex-wrap: wrap; }
.footer__social { display: flex; gap: var(--space-3); }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-card);
  border: 1px solid var(--border-subtle); display: grid; place-items: center; color: var(--text-secondary); }
.footer__social a:hover { color: var(--green-700); border-color: var(--green-300); }
.footer__social svg { width: 18px; height: 18px; }

/* ---- Back-to-top button (shown by site.js after scrolling) ---- */
.to-top { position: fixed; right: clamp(16px, 4vw, 28px); bottom: clamp(16px, 4vw, 28px); z-index: 50;
  width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: none; cursor: pointer;
  border-radius: 50%; color: var(--text-on-accent); background: var(--green-500); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out),
              visibility var(--dur-base) var(--ease-out), background var(--dur-fast) var(--ease-out); }
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-600); }
.to-top:focus-visible { outline: 2px solid var(--green-700); outline-offset: 2px; }
.to-top svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) { .to-top { transform: none;
  transition: opacity var(--dur-base) var(--ease-out), visibility var(--dur-base) var(--ease-out); } }

/* ---- Placeholder marker (for premium content awaiting the doc) ---- */
.tbd { border: 1.5px dashed var(--border-default); border-radius: var(--radius-md); background: var(--paper-1);
  padding: var(--space-2) var(--space-4); }
.tbd-tag { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-data);
  font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-500);
  background: var(--amber-100); padding: 0.25rem 0.6rem; border-radius: var(--radius-pill); }

/* ---- Pricing (premium page) ---- */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: var(--space-5); justify-content: center; }
.price-card { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
  padding: var(--space-8); position: relative; }
.price-card--featured { border-color: var(--gold-400); box-shadow: var(--shadow-lg); }
.price-card__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold-500); color: var(--green-900); font-family: var(--font-data); font-size: 0.7rem;
  font-weight: var(--fw-bold); letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: var(--radius-pill); }
.price-card h3 { font-size: 1.4rem; }
.price-card__amt { font-family: var(--font-display); font-weight: var(--fw-bold); color: var(--text-primary);
  font-size: 2.6rem; margin: var(--space-4) 0 var(--space-1); letter-spacing: -0.02em; }
.price-card__amt span { font-family: var(--font-sans); font-size: 1rem; font-weight: var(--fw-medium); color: var(--text-muted); }
.price-card__list { list-style: none; padding: 0; margin: var(--space-6) 0; display: grid; gap: var(--space-3); }
.price-card__list li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 0.98rem; color: var(--text-secondary); }
.price-card__list svg { width: 19px; height: 19px; color: var(--green-500); flex-shrink: 0; margin-top: 2px; }

/* ---- Comparison table ---- */
.compare { width: 100%; border-collapse: collapse; background: var(--surface-card); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border-subtle); }
.compare th, .compare td { padding: var(--space-4) var(--space-5); text-align: left; border-bottom: 1px solid var(--border-subtle); }
.compare thead th { font-family: var(--font-display); font-size: 1.05rem; color: var(--text-primary); background: var(--paper-1); }
.compare thead th:not(:first-child), .compare td:not(:first-child) { text-align: center; }
.compare tbody td:first-child { font-weight: var(--fw-medium); color: var(--text-primary); }
.compare .yes { color: var(--green-600); }
.compare .no { color: var(--ink-300); }
.compare tr:last-child td { border-bottom: none; }
.compare th.is-premium { color: var(--gold-700); }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- Responsive ---- */
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero__cta, .hero__note { justify-content: center; }
  .hero__media { margin-top: var(--space-8); }
  .feature-row { grid-template-columns: 1fr; gap: var(--space-6); }
  .feature-row:nth-child(even) .feature-row__media { order: 0; }
  .feature-row__media { order: -1; }
  .premium-teaser__grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
/* ---- Mobile nav (hamburger) ---- */
@media (max-width: 860px) {
  .nav__burger { display: flex; }
  .nav__collapse {
    display: flex; flex-direction: column; align-items: stretch; gap: var(--space-4);
    position: absolute; left: 0; right: 0; top: 100%; z-index: 2;
    background: var(--surface-card); border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg); padding: var(--space-5) var(--space-5) var(--space-6);
    max-height: calc(100dvh - 72px); overflow-y: auto;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  }
  .nav.is-open .nav__collapse { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links { flex-direction: column; gap: 0; margin-left: 0; }
  .nav__links a { padding: var(--space-3) 0; font-size: 1.05rem; border-bottom: 1px solid var(--border-subtle); }
  .nav__right { flex-direction: column; align-items: stretch; gap: var(--space-3); margin-left: 0; margin-top: var(--space-2); }
  .nav__right .btn { width: 100%; text-align: center; }
  .nav__right .lang { align-self: flex-start; }
}

/* recipe rail: grid on desktop, horizontal swipe on mobile */
.lp-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 8px; }

/* ---- Mobile: horizontal swipe rails (How it works + Recipes) ---- */
@media (max-width: 680px) {
  .steps, .lp-rail {
    display: flex; gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--space-5)); padding: var(--space-1) var(--space-5) var(--space-4);
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .steps::-webkit-scrollbar, .lp-rail::-webkit-scrollbar { display: none; }
  .steps > .step { flex: 0 0 82%; scroll-snap-align: center; margin: 0; }
  .lp-rail > a { flex: 0 0 78%; scroll-snap-align: center; }
}

@media (max-width: 680px) {
  .cards { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  .pricing { grid-template-columns: 1fr; }
  .subscribe__row { flex-direction: column; }
  .subscribe .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .compare { font-size: 0.88rem; }
  .compare th, .compare td { padding: var(--space-3); }
}

/* ---- Small phones (≤480px) ---- */
@media (max-width: 480px) {
  .wrap { padding-inline: var(--space-4); }
  .section { padding-block: clamp(2.75rem, 11vw, 3.5rem); }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ══════ components.css ══════ */
/* ============================================================
   Fermenty · componentes compartidos del chrome público
   Mentor presence — MentorNote / MentorAlert
   Fuente de verdad del diseño: +++/MENTOR/Mentor presence without mascots/SPEC.md
   Reglas: tokens siempre (nada de hex sueltos), emblema = tarro,
   pulso en longhands (no shorthand `animation:`), reduced-motion respetado.
   ============================================================ */

/* ---------- compartido ---------- */
.mentor-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}
.mentor-seal {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mentor-seal svg {
  width: 15px;
  height: 15px;
  stroke: var(--gold-300);
  stroke-width: 1.9;
  fill: none;
}
.mentor-kicker {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700);
}

/* ---------- MentorNote · el apunte (silencioso, estándar) ---------- */
.mentor-note {
  position: relative;
  overflow: hidden;
  background: var(--green-050);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}
.mentor-note__watermark {
  position: absolute;
  right: -18px;
  top: -22px;
  width: 92px;
  height: 92px;
  stroke: var(--green-200);
  stroke-width: 1.1;
  fill: none;
  opacity: .55;
}
.mentor-note__advice {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.34;
  text-wrap: pretty;
  color: var(--green-800);
}

/* ---------- MentorAlert · la tarjeta sonora (rara) ---------- */
.mentor-alert {
  position: relative;
  overflow: hidden;
  background: var(--green-900);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
}
.mentor-alert__ghost {
  position: absolute;
  right: -22px;
  bottom: -30px;
  width: 150px;
  height: 150px;
  stroke: var(--green-700);
  stroke-width: .9;
  fill: none;
  opacity: .5;
}
.mentor-alert .mentor-kicker { letter-spacing: .16em; }
.mentor-alert__dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  /* longhands a propósito: mezclar el shorthand `animation:` con longhands lo descarta en silencio */
  animation-name: fmty-glow;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.mentor-alert__advice {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.34;
  text-wrap: pretty;
  color: var(--text-on-dark);
}
.mentor-alert__cta { margin-top: 16px; }

/* celebrar: oro, pulso lento y cálido */
.mentor-alert--celebrate .mentor-alert__dot {
  background: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(245, 195, 86, .2);
  animation-duration: 3.4s;
}
.mentor-alert--celebrate .mentor-kicker { color: var(--gold-400); }

/* urgir: ámbar (nunca óxido), pulso rápido */
.mentor-alert--urgent .mentor-alert__dot {
  background: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(216, 148, 59, .22);
  animation-duration: 1.8s;
}
.mentor-alert--urgent .mentor-kicker { color: var(--amber-500); }

@keyframes fmty-glow {
  0%, 100% { opacity: .35; }
  50%      { opacity: .85; }
}
@media (prefers-reduced-motion: reduce) {
  .mentor-alert__dot { animation: none; }
}

/* ---------- Cambio de superficie en el footer (móvil ↔ versión completa) ---------- */
.footer__superficie {
  font: 600 13px var(--font-sans);
  color: var(--green-200);
  background: none;
  border: 1px solid rgba(194, 220, 182, .3);
  border-radius: 999px;
  padding: 5px 14px;
  cursor: pointer;
}
.footer__superficie:hover { color: var(--gold-400); border-color: rgba(248, 211, 121, .45); }

/* Conmutador de idioma: enlaces reales, uno por idioma con traducción */
.lang a { font: 600 12.5px var(--font-data); letter-spacing: .06em; color: var(--text-muted); text-decoration: none; padding: 4px 7px; border-radius: 6px; }
.lang a:hover { color: var(--green-700); }
.lang a.is-on { color: var(--green-700); background: var(--green-050); }

/* Cambio de idioma en el pie: nombre completo, no siglas */
.footer__idiomas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 26px 0 0; padding-top: 18px; border-top: 1px solid rgba(194,220,182,.18); font-size: 13.5px; }
.footer__idiomas > span { font-family: var(--font-data); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-200); opacity: .7; }
.footer__idiomas a { color: var(--green-200); text-decoration: none; }
.footer__idiomas a:hover { color: var(--gold-400); }
.footer__idiomas a.is-on { color: var(--gold-400); font-weight: 600; }

/* Enlaces a contenido que solo existe en español: la marca de idioma */
.nav__links a small, .footer__col a small { font-size: .75em; opacity: .65; font-weight: 400; }

/* La marca de novedad del menú (caduca por config, no por olvido) */
.nav__nuevo { font: 700 9px var(--font-data); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--green-500); border-radius: 999px; padding: 2px 6px; margin-left: 6px; vertical-align: 2px; }
