/* ====================================================================
 * pymeos.com · CLEAN v1 · 2026-05-07
 * Direction CLARA · founder feedback: cero mezcla de colores · cero
 * paper-warm · cero serif italic editorial · cero dark drama.
 *
 * UNA paleta. UN acento. Tipografía moderna. 3D al frente.
 * Premium = restraint + scale + white space.
 * ==================================================================== */

:root {
  /* ── Single palette · enterprise authority via restraint ──
   * Reference: Oracle/SAP/Workday/Salesforce homepages · linear scroll · no tabs.
   * Premium = white space + scale + 1 acento sutil EN HOVER (no permanent fill). */
  --bg: #F9F9F9;          /* blanco hueso · NO pure white frío */
  --bg-pure: #ffffff;
  --ink: #1C1C1E;          /* gris tinta · NO #000 · NO bright SaaS blue */
  --ink-2: #2C2C2E;
  --ink-3: #48484A;
  --ink-4: #8E8E93;
  --ink-5: #C7C7CC;
  --hairline: #E5E5E7;
  --hairline-soft: #F2F2F5;

  /* Único acento · cyan oficial brand kit miPyMEOS · APARECE EN HOVER · NO permanent fill */
  --cyan: #00B4D8;
  --cyan-deep: #0096b8;
  --cyan-soft: rgba(0, 180, 216, 0.08);

  /* Tipografía · moderna · sans · cero serif italic display */
  --font-display: 'Inter Display', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  /* Logo lockup conserva Fraunces · ÚNICA aparición serif en toda la página */
  --font-lockup-display: 'Fraunces', Georgia, serif;
  --font-lockup-prefix: 'DM Sans', sans-serif;

  /* Type scale · clean · cero italic display */
  --type-h1: clamp(48px, 7vw, 96px);
  --type-h2: clamp(32px, 4.5vw, 56px);
  --type-h3: clamp(20px, 2vw, 28px);
  --type-lead: clamp(18px, 1.6vw, 22px);
  --type-body: 16px;
  --type-mono: 12px;

  --track-tight: -0.02em;
  --track-display: -0.04em;
  --leading-tight: 1.05;
  --leading-display: 1.0;
  --leading-body: 1.6;

  /* Spacing 8pt */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px;  --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px;  --s-8: 64px;
  --s-9: 96px; --s-10: 128px; --s-11: 160px; --s-12: 200px;

  /* Padding generoso · "el aire es autoridad" · enterprise B2B */
  --pad-section: clamp(140px, 16vw, 220px);
  --measure: 1200px;
  --measure-prose: 720px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur-base: 320ms;
  --dur-slow: 600ms;

  --radius-card: 16px;
  --radius-pill: 999px;
}

/* ── Reset minimal ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

/* Skip link a11y */
.skip-link {
  position: absolute; left: -9999px;
  padding: var(--s-3) var(--s-5);
  background: var(--ink); color: var(--bg);
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500;
}
.skip-link:focus { left: var(--s-5); top: var(--s-5); z-index: 1000; }

/* ──────────────────────────────────────────────────────────────────
 * HEADER · sticky minimal · blanco hueso · 1 hairline bottom
 * ────────────────────────────────────────────────────────────────── */
.cln-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-5) clamp(20px, 4vw, 48px);
  background: rgba(249, 249, 249, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.cln-brand {
  display: inline-flex; align-items: center;
  height: 28px;
}
.cln-brand-lockup { height: 28px; width: auto; }

.cln-nav {
  display: flex; align-items: center; gap: var(--s-6);
}
.cln-nav-link {
  font-size: 14px; font-weight: 500;
  color: var(--ink-3);
  transition: color var(--dur-fast) var(--ease);
}
.cln-nav-link:hover { color: var(--ink); }
.cln-nav-cta {
  padding: var(--s-2) var(--s-4);
  border-radius: var(--radius-pill);
  background: var(--ink); color: var(--bg);
  font-size: 13px; font-weight: 500;
  border: 1px solid var(--ink);
  transition: all var(--dur-fast) var(--ease);
}
.cln-nav-cta:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan);
}

@media (max-width: 720px) {
  .cln-nav-link { display: none; }
}

/* ──────────────────────────────────────────────────────────────────
 * HERO · text-dominant · 3D ambient al fondo · opacity baja
 * Reference: Linear/Vercel/Anthropic/Raycast feel
 * Premium = restraint + scale + white space + 1 acento sutil
 * ────────────────────────────────────────────────────────────────── */
.cln-hero {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(120px, 16vw, 220px) clamp(20px, 4vw, 48px) clamp(120px, 16vw, 220px);
  text-align: left;
  isolation: isolate;
}
.cln-hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}
.cln-hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-4);
  margin-bottom: var(--s-7);
}
.cln-hero-eyebrow::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
}
.cln-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 128px);
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: var(--ink);
  margin-bottom: var(--s-7);
  max-width: 18ch;
}
/* Typography play · mix de pesos + italic · editorial-engineering */
.cln-hero h1 .h1-light  { font-weight: 300; color: var(--ink-3); letter-spacing: -0.04em; }
.cln-hero h1 .h1-bold   { font-weight: 800; color: var(--ink); letter-spacing: -0.05em; }
.cln-hero h1 .h1-thin   { font-weight: 200; color: var(--ink-3); letter-spacing: -0.03em; }
.cln-hero h1 .h1-italic { font-weight: 500; font-style: italic; color: var(--ink); letter-spacing: -0.04em; }

.cln-hero-lead strong {
  font-weight: 600;
  color: var(--ink);
}
.cln-hero-lead {
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink-3);
  max-width: 440px;
  margin-bottom: var(--s-8);
}
.cln-hero-actions {
  display: inline-flex; align-items: center; gap: var(--s-5);
  flex-wrap: wrap;
}
.cln-btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
}
/* Primary CTA · gris tinta · cyan ÚNICAMENTE en hover · cero bright blue SaaS B2B
   Reference: Linear/Apple "no grita color" · acento solo en interacción */
.cln-btn-primary {
  background: var(--ink); color: var(--bg);
  border-color: var(--ink);
}
.cln-btn-primary:hover {
  background: var(--ink);
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan);
}
/* Secondary · text-only · solo arrow microanim */
.cln-btn-text {
  background: transparent; color: var(--ink);
  padding: 14px 0;
}
.cln-btn-text:hover { color: var(--cyan-deep); }
.cln-btn-text::after {
  content: '→'; font-size: 14px; line-height: 1;
  transition: transform var(--dur-fast) var(--ease);
  margin-left: 2px;
}
.cln-btn-text:hover::after { transform: translateX(3px); }

/* 3D scene · BACKGROUND ambient · opacity baja · NO compite con texto */
.cln-hero-scene-wrap {
  position: absolute;
  top: 0; right: -10%;
  width: 70%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  /* fade out hacia el lado izquierdo · texto domina */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%, black 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 35%, black 100%);
}
.cln-hero-scene {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.55;
}

@media (max-width: 900px) {
  .cln-hero { padding-top: 96px; padding-bottom: 96px; }
  .cln-hero-scene-wrap { width: 100%; right: 0; opacity: 0.6; }
  .cln-hero-scene { opacity: 0.12; }
}

/* ──────────────────────────────────────────────────────────────────
 * PRODUCTOS · 3 cards equal weight · IGNITE protagonista middle
 * ────────────────────────────────────────────────────────────────── */
.cln-section {
  max-width: var(--measure);
  margin: 0 auto;
  padding: var(--pad-section) clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--hairline);
}
.cln-section-head {
  display: flex; flex-direction: column; gap: var(--s-4);
  margin-bottom: var(--s-9);
  max-width: var(--measure-prose);
}
.cln-section h2,
.cln-diag h2 {
  font-family: var(--font-display);
  font-size: var(--type-h2);
  font-weight: 400;
  letter-spacing: var(--track-display);
  line-height: var(--leading-tight);
  color: var(--ink);
}
/* H2 typography play · same family · diferentes pesos/italics */
.cln-section h2 .h2-bold,
.cln-diag h2 .h2-bold     { font-weight: 700; color: var(--ink); }
.cln-section h2 .h2-italic,
.cln-diag h2 .h2-italic   { font-weight: 400; font-style: italic; color: var(--ink-3); }
.cln-section h2 .h2-light,
.cln-diag h2 .h2-light    { font-weight: 300; color: var(--ink-3); }
.cln-section-sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 580px;
  margin: 0;
}

/* ──────────────────────────────────────────────────────────────────
 * MÓDULOS · grid 4 col desktop · showroom de qué resuelve PyMEOS
 * Cero iconos genéricos · solo título + descripción humana
 * ────────────────────────────────────────────────────────────────── */
.cln-modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
}
.cln-module {
  background: var(--bg-pure);
  padding: var(--s-7);
  display: flex; flex-direction: column;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  transition: transform var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease);
  position: relative;
  /* Apple liquid glass shadow · subtle elevation by default */
  box-shadow: 0 1px 2px rgba(28, 28, 30, 0.04),
              0 0 0 1px rgba(28, 28, 30, 0.02);
}
.cln-module:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 24px 48px -12px rgba(0, 180, 216, 0.18),
    0 8px 16px -4px rgba(28, 28, 30, 0.08),
    0 0 0 1px rgba(0, 180, 216, 0.4);
}

/* Icon · default ink-4 · hover cyan + scale + draw-stroke vibe */
.cln-module-icon {
  width: 32px; height: 32px;
  margin-bottom: var(--s-5);
  color: var(--ink-4);
  transition: color var(--dur-base) var(--ease),
              transform var(--dur-slow) var(--ease);
}
.cln-module-icon svg {
  width: 100%; height: 100%;
}
.cln-module-icon svg path,
.cln-module-icon svg line,
.cln-module-icon svg polyline,
.cln-module-icon svg ellipse,
.cln-module-icon svg circle {
  stroke-dasharray: 200;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset var(--dur-slow) var(--ease);
}
.cln-module:hover .cln-module-icon {
  color: var(--cyan);
  transform: rotate(-4deg) scale(1.08);
}
.cln-module:hover .cln-module-icon svg path,
.cln-module:hover .cln-module-icon svg line,
.cln-module:hover .cln-module-icon svg polyline,
.cln-module:hover .cln-module-icon svg ellipse,
.cln-module:hover .cln-module-icon svg circle {
  animation: cln-stroke-redraw 900ms var(--ease);
}
@keyframes cln-stroke-redraw {
  0%   { stroke-dashoffset: 200; }
  100% { stroke-dashoffset: 0; }
}

.cln-module h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--s-3);
  color: var(--ink);
}
.cln-module p {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0;
}

/* Stagger reveal · cada módulo entra con delay incremental */
.cln-module {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease), background var(--dur-base) var(--ease);
}
.is-visible .cln-module {
  opacity: 1;
  transform: translateY(0);
}
.is-visible .cln-module:nth-child(1) { transition-delay: 0ms; }
.is-visible .cln-module:nth-child(2) { transition-delay: 70ms; }
.is-visible .cln-module:nth-child(3) { transition-delay: 140ms; }
.is-visible .cln-module:nth-child(4) { transition-delay: 210ms; }
.is-visible .cln-module:nth-child(5) { transition-delay: 280ms; }
.is-visible .cln-module:nth-child(6) { transition-delay: 350ms; }
.is-visible .cln-module:nth-child(7) { transition-delay: 420ms; }
.is-visible .cln-module:nth-child(8) { transition-delay: 490ms; }

@media (max-width: 1100px) {
  .cln-modules { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cln-modules { grid-template-columns: 1fr; }
  .cln-module { padding: var(--s-6); }
}

.cln-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.cln-product {
  display: flex; flex-direction: column;
  padding: var(--s-7);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--bg-pure);
  transition: all var(--dur-base) var(--ease);
  position: relative;
  text-decoration: none;
  color: inherit;
  min-height: 380px;
  /* Apple liquid glass · subtle elevation by default */
  box-shadow:
    0 1px 2px rgba(28, 28, 30, 0.04),
    0 0 0 1px rgba(28, 28, 30, 0.02);
}
.cln-product:hover {
  border-color: var(--cyan);
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 32px 64px -16px rgba(0, 180, 216, 0.22),
    0 12px 24px -8px rgba(28, 28, 30, 0.10),
    0 0 0 1px rgba(0, 180, 216, 0.45);
}
.cln-product h3 {
  font-weight: 700;
  letter-spacing: -0.025em;
}
.cln-product-tag {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-4);
  margin-bottom: var(--s-5);
}
.cln-product-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
}
.cln-product-tag.dot-amber .dot { background: #fbbf24; }
.cln-product-tag.dot-soft .dot { background: var(--ink-5); }
.cln-product h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: var(--track-tight);
  line-height: 1.1;
  margin-bottom: var(--s-3);
  color: var(--ink);
}
.cln-product p {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.55;
  margin-bottom: var(--s-7);
  flex: 1;
}
.cln-product-cta {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: 14px; font-weight: 500;
  color: var(--ink);
}
.cln-product-cta::after {
  content: '→'; transition: transform var(--dur-fast) var(--ease);
}
.cln-product:hover .cln-product-cta::after { transform: translateX(3px); }
.cln-product-cta-soft { color: var(--ink-4); }

@media (max-width: 900px) {
  .cln-products { grid-template-columns: 1fr; }
  .cln-product { min-height: auto; }
}

/* ──────────────────────────────────────────────────────────────────
 * DIAGNÓSTICO CTA · light · centered · single accent
 * ────────────────────────────────────────────────────────────────── */
.cln-diag {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: var(--pad-section) clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--hairline);
}
.cln-diag h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 600;
  letter-spacing: var(--track-display);
  line-height: 1.05;
  margin-bottom: var(--s-5);
}
.cln-diag h2 em {
  font-style: normal;
  color: var(--cyan);
}
.cln-diag-lead {
  font-size: var(--type-lead);
  color: var(--ink-3);
  margin-bottom: var(--s-7);
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}
.cln-diag-fineprint {
  margin-top: var(--s-5);
  font-size: 13px;
  color: var(--ink-4);
}

/* ──────────────────────────────────────────────────────────────────
 * FAQ · liquid glass · apple-like material en hover
 * Cards individuales · cero display:contents para que IO funcione
 * ────────────────────────────────────────────────────────────────── */
.cln-faq {
  display: flex; flex-direction: column;
  gap: var(--s-3);
}
.cln-faq-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--s-5);
  align-items: start;
  padding: var(--s-6) var(--s-6);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  transition: all var(--dur-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.cln-faq-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
}
.cln-faq-item:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 180, 216, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 16px 40px -16px rgba(0, 180, 216, 0.15),
    0 4px 12px -2px rgba(28, 28, 30, 0.06);
  transform: translateY(-1px);
}
.cln-faq-item:hover::before {
  opacity: 1;
}
.cln-faq-num {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-4);
  padding-top: 8px;
}
.cln-faq-content {
  display: flex; flex-direction: column;
}
.cln-faq-q {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 var(--s-3);
  color: var(--ink);
}
.cln-faq-a {
  font-size: 15.5px;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 640px;
  margin: 0;
  /* Hidden until typewriter reveals */
}
.cln-faq-a[data-typewriter]:not(.is-typed) {
  min-height: 1em;
}
/* Cursor blinking after typewriter finishes */
.cln-faq-a.is-typing::after {
  content: '|';
  display: inline-block;
  margin-left: 2px;
  color: var(--cyan);
  animation: cln-cursor-blink 800ms steps(2) infinite;
}
@keyframes cln-cursor-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@media (max-width: 720px) {
  .cln-faq-item { grid-template-columns: 1fr; gap: var(--s-2); padding: var(--s-5); }
  .cln-faq-num { padding-top: 0; padding-bottom: var(--s-2); }
}

@media (max-width: 720px) {
  .cln-faq { grid-template-columns: 1fr; gap: var(--s-2); }
  .cln-faq-num { padding-top: 0; padding-bottom: var(--s-2); }
}

/* ──────────────────────────────────────────────────────────────────
 * FOOTER · minimal · 3 col · single hairline top
 * ────────────────────────────────────────────────────────────────── */
.cln-footer {
  border-top: 1px solid var(--hairline);
  padding: var(--s-9) clamp(20px, 4vw, 48px) var(--s-7);
  max-width: var(--measure);
  margin: 0 auto;
}
.cln-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-9);
}
.cln-footer-tagline {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-3);
  margin-top: var(--s-4);
  max-width: 320px;
  line-height: 1.4;
}
.cln-footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-4);
  margin-bottom: var(--s-4);
}
.cln-footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: var(--s-3);
}
.cln-footer-col a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color var(--dur-fast) var(--ease);
}
.cln-footer-col a:hover { color: var(--cyan); }
.cln-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--s-5);
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--ink-4);
  flex-wrap: wrap; gap: var(--s-3);
}

@media (max-width: 720px) {
  .cln-footer-grid { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* ──────────────────────────────────────────────────────────────────
 * MICROANIMATIONS · scroll-triggered fade-up + stagger product cards
 * Reference: Linear/Vercel · subtle motion · cero bouncy
 * ────────────────────────────────────────────────────────────────── */

/* Section reveal · más pronunciado · 700ms easeOutExpo */
.cln-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.cln-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Product cards · stagger reveal */
.cln-product {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease), border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.is-visible .cln-product {
  opacity: 1;
  transform: translateY(0);
}
.is-visible .cln-product:nth-child(1) { transition-delay: 50ms; }
.is-visible .cln-product:nth-child(2) { transition-delay: 130ms; }
.is-visible .cln-product:nth-child(3) { transition-delay: 210ms; }

/* FAQ items · NO observer-dependent microanim · display:contents
 * en .cln-faq-item rompe IntersectionObserver. La sección padre
 * .cln-section ya hace fade-up completo · suficiente. */

/* Diagnóstico · scroll-triggered scale subtle */
.cln-diag h2 {
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.cln-diag:not(.is-visible) h2 {
  opacity: 0;
  transform: translateY(24px);
}
.cln-diag.is-visible h2 {
  opacity: 1;
  transform: translateY(0);
}

/* Hero h1 · letter-rise sutil al cargar · NO stagger por letra · solo fade-up del block */
@keyframes cln-hero-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.cln-hero h1 {
  animation: cln-hero-rise 900ms var(--ease) 100ms both;
}
.cln-hero-lead {
  animation: cln-hero-rise 900ms var(--ease) 280ms both;
}
.cln-hero-actions {
  animation: cln-hero-rise 900ms var(--ease) 460ms both;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .cln-reveal { opacity: 1; transform: none; }
}
