/* portada.css: generado desde las páginas de landing (fase 2). Ver DESIGN.md. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #12233E;
  --graphite: #2C3340;
  --cyan: #009ACE;
  --sky: #A7DCEE;
  --paper: #FAFAF7;
  --mist: #E8EAEC;
  --slate: #5F6673;
  --bg-base: var(--paper);
  --bg-subtle: #F4F4F0;
  --bg-elevated: #FFFFFF;
  --bg-inverse: var(--ink);
  --bg-brand-soft: #E6F4F9;
  --text-primary: var(--ink);
  --text-secondary: var(--graphite);
  --text-tertiary: var(--slate);
  --text-brand: var(--cyan);
  --border-subtle: var(--mist);
  --border-default: #D1D5DA;
  --border-brand: var(--cyan);
  --rule: rgba(18, 35, 62, 0.10);
  --rule-strong: rgba(18, 35, 62, 0.18);
  --bg: var(--bg-base);
  --bg-panel: var(--bg-elevated);
  --bg-soft: var(--bg-subtle);
  --bg-ink: var(--ink);
  --text: var(--text-primary);
  --text-soft: var(--text-tertiary);
  --t-fast: 120ms;
  --t-base: 180ms;
  --t-slow: 280ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --w-page: 1180px;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: var(--font-data); font-feature-settings: "calt", "ss01"; }
.display { font-family: var(--font-display); font-stretch: 90%; letter-spacing: -0.01em; }
nav { position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 247, 0.92); border-bottom: 1px solid var(--rule); }
.nav-inner {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}
.nav-brand { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.nav-brand-logo, .nav-brand-certs { display: flex; align-items: center; text-decoration: none; color: var(--ink); }
.nav-cert-badges { display: block; height: 72px; width: auto; object-fit: contain; opacity: 0.92; flex-shrink: 0; margin-left: -0.75rem; }
.nav-brand-certs:hover .nav-cert-badges { opacity: 1; }
.logo-mask {
  display: inline-block;
  background-color: var(--ink);
  -webkit-mask: url('/logo_white.png') no-repeat left center / contain;
  mask: url('/logo_white.png') no-repeat left center / contain;
}
.nav-logo { width: 160px; height: 72px; flex-shrink: 0; }
.footer-logo { width: 140px; height: 40px; background-color: var(--paper); }
.nav-links { display: flex; justify-content: center; gap: 2.25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--slate);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.15s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 2.5rem;
  padding: 0 1.1rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.nav-cta-portal { background: var(--ink); color: var(--paper); }
.nav-cta-portal:hover { background: var(--cyan-ink); border-color: var(--cyan); }
.nav-actions { display: flex; flex-direction: column; gap: 0.45rem; flex-shrink: 0; }
.nav-actions .nav-cta { width: 100%; min-width: 9.75rem; padding: 0 0.85rem; }
.page { max-width: var(--w-page); margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--cyan-ink);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
h1.display, h2.display, h3.display { color: var(--ink); line-height: 1.06; }
h1.display { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; margin-bottom: 1.5rem; }
h2.display { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 600; margin-bottom: 1rem; }
h3.display { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.6rem; }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.005em; color: var(--ink); }
.lead { font-size: 1.08rem; color: var(--slate); max-width: 640px; line-height: 1.7; }
.accent { color: var(--cyan); }
a.link { color: var(--cyan-ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: opacity 0.15s; }
a.link:hover { opacity: 0.75; }
.hrv-bg { position: absolute; pointer-events: none; user-select: none; overflow: hidden; }
.hrv-bg svg { width: 100%; height: 100%; display: block; }
.hrv-bg path { fill: none; stroke-width: 0.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pulseRing {
      0%   { transform: scale(1);   opacity: 0.9; }
      80%  { transform: scale(2.6); opacity: 0; }
      100% { transform: scale(2.6); opacity: 0; }
    }
.hero { padding: 7rem 0 6rem; position: relative; overflow: hidden; }
.hero .hrv-bg { bottom: 0; left: 0; right: 0; height: 200px; opacity: 0.07; }
.hero .hrv-bg path { stroke: var(--cyan); }
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: end; }
.hero-meta { display: flex; flex-direction: column; gap: 0.4rem; font-family: var(--font-body); font-size: 0.8125rem; color: var(--slate); }
.hero-meta-row { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px dashed var(--rule); }
.hero-meta-row:last-child { border-bottom: none; }
.hero-meta-row .v { color: var(--ink); font-weight: 500; }
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2.5rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.5rem;
  border-radius: 2px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--cyan-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.promise { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.promise .hrv-bg { bottom: 0; left: 0; right: 0; height: 140px; opacity: 0.08; }
.promise .hrv-bg path { stroke: var(--sky); }
.promise-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 4rem; align-items: start; }
.promise .eyebrow { color: var(--sky); }
.promise h2 { color: var(--paper); }
.promise-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(250, 250, 247, 0.92);
  letter-spacing: -0.005em;
}
strong { font-weight: 700; color: var(--cyan-ink); }
.promise strong, .hero-meta strong, .bg-ink strong { color: var(--sky); font-weight: 600; }
.promise-text strong { color: var(--sky); font-weight: 600; }
.promise-note {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: rgba(167, 220, 238, 0.7);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(167, 220, 238, 0.2);
}
.values { background: var(--paper); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 3rem;
  background: var(--rule-strong);
  border: 1px solid var(--rule-strong);
}
.value { padding: 2rem 1.5rem; background: var(--bg-base); }
.value-num { font-family: var(--font-data); font-size: 0.75rem; color: var(--cyan-ink); letter-spacing: 0.15em; margin-bottom: 1rem; }
.value-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin-bottom: 0.6rem; }
.value-text { font-size: 0.92rem; color: var(--slate); line-height: 1.6; }
.method {
  background: var(--bg-panel);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.method .hrv-bg { top: 0; left: 0; right: 0; height: 120px; opacity: 0.04; }
.method .hrv-bg path { stroke: var(--ink); }
.method-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.method-list { list-style: none; border-top: 1px solid var(--rule); }
.method-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
}
.method-num { font-family: var(--font-data); font-size: 0.78rem; color: var(--cyan-ink); font-weight: 500; letter-spacing: 0.08em; }
.method-name { font-family: var(--font-display); font-size: 1rem; font-weight: 500; color: var(--ink); }
.method-tag { font-family: var(--font-body); font-size: 0.8125rem; color: var(--slate); font-weight: 600; }
.method-footnote {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.65;
  max-width: 36rem;
}
.methodology-disclosure {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--slate) 60%, transparent);
  line-height: 1.55;
  max-width: 48rem;
}
.methodology-disclosure strong { color: var(--slate); font-weight: 500; }
.context-note { background: var(--bg-subtle); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 2rem 0; }
.context-note-text { font-size: 0.875rem; color: var(--slate); line-height: 1.7; max-width: 42rem; }
.context-note-text strong { color: var(--graphite); font-weight: 600; }
.context-note-text .context-emphasis { display: block; margin-top: 0.75rem; color: var(--ink); font-weight: 600; }
.certs { background: var(--paper); }
.certs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.cert-card { background: var(--bg-panel); border: 1px solid var(--rule); padding: 2rem; border-radius: 2px; transition: border-color 0.2s; }
a.cert-card { display: block; text-decoration: none; color: inherit; }
.cert-card:hover { border-color: var(--cyan); }
.cert-card.is-pending { background: var(--bg-subtle); border-style: dashed; }
.cert-status {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  margin-bottom: 1rem;
  font-weight: 600;
}
.cert-status.active { background: var(--bg-brand-soft); color: var(--cyan-ink); }
.cert-status.pending { background: var(--mist); color: var(--graphite); }
.cert-badges-strip {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: 2px;
}
.cert-badges-strip img { height: 84px; width: auto; display: block; }
.cert-badges-strip .strip-text { flex: 1; font-family: var(--font-body); font-size: 0.8125rem; color: var(--slate); line-height: 1.7; }
.cert-badges-strip .strip-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-transform: none;
  margin-bottom: 0.35rem;
}
.cert-badges-strip .strip-text a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--cyan);
  transition: color 0.15s, border-color 0.15s;
}
.cert-badges-strip .strip-text a:hover { color: var(--cyan-ink); }
@media (max-width: 720px) {
  .cert-badges-strip { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.25rem; }
  .cert-badges-strip img { height: 64px; width: 100%; object-fit: contain; object-position: left; }
}
.ip { background: var(--bg-subtle); }
.ip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.ip-block { background: var(--bg-elevated); border: 1px solid var(--rule); padding: 2rem; }
.ip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.ip-jur { font-family: var(--font-body); font-size: 0.8125rem; color: var(--slate); }
.ip-jur strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-transform: none;
  margin-top: 0.2rem;
}
.ip-logo { height: 44px; width: auto; max-width: 120px; object-fit: contain; object-position: right; flex-shrink: 0; }
.ip-logo-placeholder {
  height: 44px;
  width: 110px;
  border: 1px dashed var(--rule-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--slate);
}
.ip-list { list-style: none; padding: 0; margin: 0; }
.ip-item { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.25rem; padding: 1rem 0; border-bottom: 1px dashed var(--rule); }
.ip-item:last-child { border-bottom: none; }
.ip-num { font-family: var(--font-data); font-size: 0.92rem; font-weight: 500; color: var(--ink); letter-spacing: 0.02em; white-space: nowrap; }
.ip-meta { font-family: var(--font-body); font-size: 0.875rem; color: var(--slate); line-height: 1.5; }
.ip-meta .ip-type {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}
@media (max-width: 880px) {
  .ip-grid { grid-template-columns: 1fr; }
}
.cert-code { font-family: var(--font-data); font-size: 0.95rem; font-weight: 500; color: var(--ink); letter-spacing: 0.02em; margin-bottom: 0.4rem; }
.cert-title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
.cert-body { font-size: 0.875rem; color: var(--slate); line-height: 1.6; }
.cert-number { font-family: var(--font-data); font-size: 0.75rem; color: var(--cyan-ink); letter-spacing: 0.06em; margin-top: 1rem; }
.cert-issuer {
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--rule);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--slate);
  font-weight: 600;
}
.product { background: var(--bg-panel); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.product-head { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 3rem; }
.product-head .lead { max-width: none; }
.product-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.pillar { padding: 2rem 1.5rem; border-right: 1px solid var(--rule); }
.pillar:last-child { border-right: none; }
.pillar-num { font-family: var(--font-data); font-size: 0.75rem; color: var(--slate); letter-spacing: 0.12em; margin-bottom: 1rem; }
.pillar-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
  letter-spacing: -0.005em;
}
.pillar-body { font-size: 0.875rem; line-height: 1.55; color: var(--graphite); }
.platform { background: var(--paper); }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 2.5rem;
}
.platform-card { background: var(--bg-panel); padding: 2.25rem; transition: background 0.15s; }
.platform-card:hover { background: var(--paper); }
.platform-num { font-family: var(--font-data); font-size: 0.75rem; color: var(--cyan-ink); letter-spacing: 0.15em; margin-bottom: 0.75rem; }
.platform-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 0.6rem; }
.platform-body { font-size: 0.92rem; color: var(--slate); line-height: 1.65; }
.contact { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.contact .hrv-bg { top: 0; left: 0; right: 0; height: 140px; opacity: 0.08; }
.contact .hrv-bg path { stroke: var(--sky); }
.contact .eyebrow { color: var(--sky); }
.contact h2 { color: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 5rem; align-items: start; }
.contact-lead { font-size: 1.15rem; color: rgba(250, 250, 247, 0.78); line-height: 1.65; max-width: 520px; margin-bottom: 2.5rem; }
.contact-block { font-family: var(--font-body); font-size: 0.875rem; color: rgba(167, 220, 238, 0.85); }
.contact-block-row { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(167, 220, 238, 0.18); }
.contact-block-row:last-child { border-bottom: none; }
.contact-block-row .l { color: rgba(167, 220, 238, 0.74); }
.contact-block-row .v { color: var(--paper); text-transform: none; letter-spacing: 0; }
.contact-block-row .v a { color: var(--paper); text-decoration: none; border-bottom: 1px solid rgba(167, 220, 238, 0.4); }
footer { background: var(--ink); color: rgba(250, 250, 247, 0.6); padding: 2.25rem 0; border-top: 1px solid rgba(167, 220, 238, 0.15); }
.footer-inner {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 0.875rem;
}
.policies { background: var(--bg-subtle); border-top: 1px solid var(--rule); }
.policies-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 2.5rem;
}
.policy-link {
  background: var(--bg-elevated);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.policy-link:hover { background: var(--bg-brand-soft); }
.policy-link .policy-icon { color: var(--cyan-ink); flex-shrink: 0; }
.policy-link .policy-icon svg { width: 20px; height: 20px; }
.policy-link .policy-name { font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; line-height: 1.3; color: var(--ink); }
.policy-link .policy-code {
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
@media (max-width: 880px) {
  .policies-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .policies-grid { grid-template-columns: 1fr; }
}
.wa-fab {
  position: fixed;
  right: 1.5rem;
  bottom: var(--fab-bottom, 1.5rem);
  z-index: 250;
  transition: bottom var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.wa-menu {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.wa-fab.is-open .wa-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.wa-option {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--bg-elevated);
  color: var(--ink);
  text-decoration: none;
  padding: 0.7rem 1rem 0.7rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(18, 35, 62, 0.12);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  min-width: 252px;
}
.wa-option:hover { border-color: var(--cyan); transform: translateX(-2px); }
.wa-option .wa-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--slate);
  margin-bottom: 0.15rem;
  font-weight: 600;
}
.wa-option .wa-label { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--ink); line-height: 1.2; }
.wa-option .wa-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #25D366;
  border-radius: 2px;
  display: grid;
  place-items: center;
  color: #fff;
}
.wa-option .wa-icon svg { width: 18px; height: 18px; }
.wa-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  transition: background var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  position: relative;
}
.wa-toggle:hover { background: #1FAE54; transform: scale(1.05); }
.wa-toggle svg { width: 30px; height: 30px; }
.wa-toggle .icon-close { display: none; }
.wa-fab.is-open .wa-toggle .icon-chat { display: none; }
.wa-fab.is-open .wa-toggle .icon-close { display: block; }
.wa-toggle::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid #25D366;
  opacity: 0;
  animation: waRing 2.4s var(--ease) 3;
}
@keyframes waRing {
      0%   { transform: scale(1);    opacity: 0.6; }
      80%  { transform: scale(1.35); opacity: 0; }
      100% { transform: scale(1.35); opacity: 0; }
    }
.wa-fab.is-open .wa-toggle::after { animation: none; opacity: 0; }
@keyframes fadeUp {
      from { opacity: 0; transform: translateY(32px); }
      to   { opacity: 1; transform: translateY(0); }
    }
@keyframes fadeIn {
      from { opacity: 0; }
      to   { opacity: 1; }
    }
@keyframes scaleIn {
      from { opacity: 0; transform: scale(0.92); }
      to   { opacity: 1; transform: scale(1); }
    }
@keyframes slideRight {
      from { opacity: 0; transform: translateX(-24px); }
      to   { opacity: 1; transform: translateX(0); }
    }
nav { transition: background var(--t-base), box-shadow var(--t-base); }
nav.is-scrolled { background: rgba(250, 250, 247, 0.85); box-shadow: 0 1px 0 var(--rule); }
.value, .cert-card, .pillar { transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.accent { position: relative; }
.accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.05em;
  width: 0;
  height: 3px;
  background: var(--cyan);
  transition: width 0.8s var(--ease);
}
.hero .accent::after { width: 100%; }
.parallax-section { position: relative; overflow: hidden; }
.grid-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--mist) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.parallax-section .grid-dots { opacity: 0.5; }
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
@keyframes scanMove {
      0%   { top: 0;    opacity: 0; }
      10%  { opacity: 0.25; }
      90%  { opacity: 0.25; }
      100% { top: 100%; opacity: 0; }
    }
.hero-meta-row .v { position: relative; overflow: hidden; }
.hero-meta-row .v::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 154, 206, 0.08), transparent);
}
@keyframes shimmer {
      0%   { left: -100%; }
      100% { left: 200%; }
    }
@media (max-width: 880px) {
  #side-particles { display: none; }
}
.attractor-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  pointer-events: auto;
  cursor: crosshair;
  justify-self: end;
  align-self: center;
}
.attractor-wrap canvas { width: 100%; height: 100%; }
.attractor-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  background: linear-gradient(0deg, rgba(18,35,62,0.95) 0%, rgba(18,35,62,0.85) 40%, rgba(18,35,62,0.5) 70%, transparent 100%);
}
.attractor-wrap:hover .attractor-overlay { opacity: 1; }
.attractor-overlay-title { font-family: var(--font-body); font-size: 0.8125rem; color: var(--cyan-ink); margin-bottom: 0.5rem; font-weight: 600; }
.attractor-overlay p { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.7; color: var(--paper); }
@media (max-width: 880px) {
  .attractor-wrap { max-width: 280px; justify-self: center; margin-top: 1rem; }
}
@media (max-width: 1100px) {
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav-inner { padding: 0.75rem 1.2rem; }
  .nav-logo { width: 160px; height: 48px; }
  .nav-cert-badges { display: none; }
  .nav-cta { font-size: 0.75rem; height: 2.25rem; padding: 0 0.8rem; }
  .nav-cta-portal { display: none; }
  section { padding: 3.5rem 0; }
  .page { padding: 0 1.2rem; }
  .hero { padding: 4rem 0 3.5rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  h1.display { font-size: 2.2rem; margin-bottom: 1rem; }
  .lead { font-size: 0.95rem; }
  .hero-ctas { margin-top: 1.5rem; }
  .btn { padding: 0.75rem 1.2rem; font-size: 0.82rem; }
  .promise-grid { grid-template-columns: 1fr; gap: 2rem; }
  .promise-text { font-size: 1.2rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value { padding: 1.25rem 1rem; }
  .value h3 { font-size: 0.88rem; }
  .value p { font-size: 0.875rem; }
  .method-grid, .product-head, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .certs-grid { grid-template-columns: 1fr !important; gap: 0.75rem; }
  .cert-card { padding: 1.25rem; }
  .platform-grid { grid-template-columns: 1fr; background: transparent; border: none; gap: 1px; }
  .product-pillars { grid-template-columns: 1fr; }
  #producto [style*="repeat(4"], #aio-dims { grid-template-columns: repeat(2, 1fr) !important; }
  #producto [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
  .pillar { border-right: none; border-bottom: 1px solid var(--rule); }
  .pillar:last-child { border-bottom: none; }
  .wa-fab { right: 0.75rem; bottom: 0.75rem; }
  .wa-option { min-width: 220px; }
  h2.display { font-size: 1.6rem; }
  .eyebrow { font-size: 0.8125rem; font-weight: 600; }
}
@media (max-width: 520px) {
  .nav-logo { width: 130px; height: 40px; }
  .nav-inner { gap: 0.5rem; }
  .nav-cta { font-size: 0.75rem; height: 2.1rem; padding: 0 0.6rem; }
  h1.display { font-size: 1.85rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .page { padding: 0 1rem; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .promise-text { font-size: 1.05rem; }
  .contact-grid { gap: 1.5rem; }
}
/* ── Accesibilidad y movimiento (piso de calidad del sistema de diseño) ── */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.attractor-wrap { max-width: 520px; }
.attractor-wrap:focus-visible .attractor-overlay { opacity: 1; }
.hero-inner { align-items: center; }
/* notas al pie: mismo tamaño discreto, contraste AA */
.methodology-disclosure { font-size: 0.875rem; color: var(--graphite); }
.methodology-disclosure strong { color: var(--ink); font-weight: 600; }
.promise .methodology-disclosure { color: rgba(250, 250, 247, 0.78); }
.promise .methodology-disclosure strong { color: var(--sky); }
.method-footnote, .context-note-text { color: var(--graphite); }
.promise-note { color: rgba(167, 220, 238, 0.92); }
/* sección activa en el menú */
.nav-links a { position: relative; }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--cyan); }
@media (max-width: 960px) {
  .nav-links a.is-active::after { display: none; }
}
@media (max-width: 880px) {
  .attractor-wrap { max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ── línea de contexto sobre el título: texto de apoyo, sin mayúsculas espaciadas ni monoespaciada ── */
.eyebrow { display: block; font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; line-height: 1.4;
  color: var(--slate-ink); letter-spacing: 0; text-transform: none; margin-bottom: 0.6rem; }
.dark .eyebrow, .promise .eyebrow, .contact .eyebrow, .cta-section .eyebrow { color: var(--sky); }

/* ── aviso de privacidad: una franja discreta al pie, sin tapar el contenido ── */
.privacy-notice { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; display: flex; align-items: center; gap: 0.75rem 1.5rem;
  padding: 0.7rem max(1.25rem, calc((100% - 1180px) / 2)); background: var(--ink); color: var(--paper);
  border-top: 1px solid rgba(167, 220, 238, 0.22); transition: transform 200ms var(--ease), visibility 200ms; }
.privacy-notice.is-hidden { transform: translateY(100%); visibility: hidden; }
.privacy-logo { display: none; }
.privacy-text { flex: 1; font-family: var(--font-body); font-size: 0.875rem; line-height: 1.5; color: rgba(250, 250, 247, 0.86); }
.privacy-text strong:first-child { display: inline; margin-right: 0.35rem; font-family: var(--font-body); font-size: inherit; font-weight: 700; color: var(--paper); }
.privacy-btn { flex-shrink: 0; padding: 0.45rem 1rem; background: transparent; color: var(--paper); border: 1px solid rgba(250, 250, 247, 0.55);
  border-radius: 2px; font: 600 0.8125rem var(--font-body); cursor: pointer; transition: background-color 120ms, color 120ms; }
.privacy-btn:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 880px) {
  .privacy-notice { padding: 0.7rem 1rem; gap: 0.75rem; }
  .privacy-text { font-size: 0.8125rem; }
}

/* ── barra superior sólida (sin vidrio esmerilado) ── */
nav, nav.is-scrolled { background: var(--paper); }

/* ── en las superficies Ink el cian de marca ya contrasta (4,9:1): ahí es el color de texto ── */
.dark, .stat, .promise, .contact, .cta-section, footer, .attractor-overlay,
.line:hover, .line:focus-visible, .choice:hover, .choice:focus-visible { --cyan-ink: var(--cyan); }
