/* ============================================================
   A&R eFact · Landing page
   Sistema de diseño, componentes y estados responsivos.
   ============================================================ */

:root {
  --ink: #0b1220;
  --ink-2: #111d31;
  --ink-3: #0d1728;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #7da8ff;
  --muted: #64748b;
  --muted-dark: #94a3b8;
  --line: #e2e8f0;
  --paper: #f6f8fc;
  --white: #ffffff;
  --green: #16a34a;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .05);
  --shadow: 0 18px 45px rgba(15, 23, 42, .09);
  --shadow-lg: 0 30px 80px rgba(11, 18, 32, .14);
  --radius: 18px;
  --header-h: 80px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.15; }
:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; border-radius: 6px; }
::selection { background: #bfdbfe; color: #0b1220; }

/* ---------- Utilidades ---------- */
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding: 104px 0; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000;
  padding: 12px 18px; border-radius: 12px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 13px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 18px; color: #a5b4fc;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow-blue { color: var(--blue); }
.eyebrow-light { color: #93c5fd; }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .14);
}

.section-heading { max-width: 640px; margin-bottom: 46px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h2, .ecf-copy h2, .security h2, .product-copy h2 {
  margin: 0 0 18px; font-size: clamp(32px, 3.8vw, 46px); font-weight: 800;
}
.section-heading h2 span, .security h2 span, .product-copy h2 span { color: #5c83c9; }
.section-heading > p:last-child, .product-copy > p:not(.eyebrow) {
  margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8;
}

.fine-print { margin: 16px 0 0; color: #8292a8; font-size: 10px; line-height: 1.7; }

/* Botones */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  min-height: 52px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 13px;
  font-size: 14px; font-weight: 750; white-space: nowrap;
  transition: transform .22s var(--ease), background .22s, border-color .22s, box-shadow .22s;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button span { transition: transform .22s var(--ease); }
.button:hover span { transform: translate(3px, -1px); }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 235, .22); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 16px 30px rgba(37, 99, 235, .3); }
.button-small { min-height: 42px; padding-inline: 17px; font-size: 12px; border-radius: 11px; }
.button-quiet { border-color: rgba(148, 163, 184, .38); background: rgba(255, 255, 255, .035); color: #e2e8f0; }
.button-quiet:hover { background: rgba(255, 255, 255, .1); border-color: rgba(148, 163, 184, .6); }
.button-white { background: #fff; color: var(--ink); box-shadow: 0 12px 28px rgba(0, 0, 0, .18); }
.button-white:hover { background: #f1f5f9; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; color: var(--blue); font-size: 12px; font-weight: 750;
}
.text-link span { transition: transform .22s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* Reveal (solo con JS disponible) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(226, 232, 240, .8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow .25s, background .25s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(15, 23, 42, .07); background: rgba(255, 255, 255, .96); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; flex: none; }
.brand-mark img { display: block; width: 48px; height: 48px; object-fit: contain; }
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-size: 19px; font-weight: 850; letter-spacing: -.04em; color: var(--ink); }
.brand-text small { margin-top: 3px; color: var(--blue); font-size: 9px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 26px; color: #475569; font-size: 13px; font-weight: 650; }
.main-nav > a:not(.button) { position: relative; padding: 6px 0; transition: color .2s; }
.main-nav > a:not(.button)::after {
  position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  content: ""; background: var(--blue); border-radius: 2px; transition: width .25s var(--ease);
}
.main-nav > a:not(.button):hover, .main-nav > a.is-active { color: var(--blue); }
.main-nav > a:not(.button):hover::after, .main-nav > a.is-active::after { width: 100%; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 96px 0 0; }
.hero-grid-lines {
  position: absolute; inset: 0; content: "";
  background-image:
    linear-gradient(rgba(148, 163, 184, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .045) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 88%);
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.hero-glow { position: absolute; border-radius: 999px; pointer-events: none; }
.hero-glow-one { width: 560px; height: 560px; right: 6%; top: -170px; background: radial-gradient(circle, rgba(37, 99, 235, .26), transparent 69%); }
.hero-glow-two { width: 440px; height: 440px; left: -260px; bottom: -220px; background: radial-gradient(circle, rgba(14, 165, 233, .16), transparent 70%); }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: 46px; align-items: center; }
.hero-copy { padding: 8px 0 48px; }
.hero h1 { max-width: 660px; margin: 0 0 24px; font-size: clamp(44px, 4.2vw, 60px); font-weight: 800; letter-spacing: -.055em; }
.hero h1 span, .ecf-copy h2 span { color: var(--blue-light); }
.hero-lead { max-width: 580px; margin-bottom: 30px; color: #b6c2d2; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: #aab6c7; font-size: 12px; }
.note-icon {
  display: grid; place-items: center; width: 21px; height: 21px; flex: none;
  border: 1px solid rgba(34, 197, 94, .35); border-radius: 50%; color: #4ade80; font-size: 11px; font-weight: 800;
}

/* Tarjeta de flujo */
.workflow-card {
  position: relative; overflow: hidden; padding: 26px;
  border: 1px solid rgba(148, 163, 184, .2); border-radius: 22px;
  background: linear-gradient(145deg, rgba(22, 34, 56, .97), rgba(13, 22, 38, .98));
  box-shadow: 0 35px 90px rgba(0, 0, 0, .35);
}
.workflow-card::after {
  position: absolute; right: -90px; top: -160px; width: 280px; height: 280px;
  content: ""; border-radius: 50%; background: rgba(37, 99, 235, .17); filter: blur(45px);
}
.workflow-top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid rgba(148, 163, 184, .16); }
.mini-label { color: #8292a8; font-size: 10px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.workflow-top h2 { margin: 7px 0 0; font-size: 19px; letter-spacing: -.03em; }
.live-pill {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  padding: 7px 10px; border: 1px solid rgba(59, 130, 246, .26); border-radius: 8px;
  background: rgba(37, 99, 235, .1); color: #a8c5ff; font-size: 10px; font-weight: 800; letter-spacing: .08em;
}
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: #60a5fa; box-shadow: 0 0 0 3px rgba(96, 165, 250, .18); }
.workflow-steps { position: relative; z-index: 1; padding-top: 12px; }
.workflow-step { display: flex; align-items: center; gap: 12px; min-height: 66px; }
.step-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; }
.step-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step-blue { color: #7db1ff; background: rgba(37, 99, 235, .16); }
.step-violet { color: #c4a6ff; background: rgba(139, 92, 246, .15); }
.step-cyan { color: #73dcf4; background: rgba(6, 182, 212, .14); }
.workflow-step > span:nth-child(2) { display: grid; gap: 3px; flex: 1; }
.workflow-step b { font-size: 12px; font-weight: 700; }
.workflow-step small { color: #8392a7; font-size: 10px; }
.step-check { color: #4ade80; font-size: 14px; font-weight: 700; }
.step-connector { width: 1px; height: 10px; margin-left: 18px; background: linear-gradient(#49627f, transparent); }
.workflow-status {
  display: flex; align-items: center; gap: 12px; margin-top: 13px; padding: 13px;
  border: 1px solid rgba(59, 130, 246, .24); border-radius: 13px; background: rgba(37, 99, 235, .08);
}
.status-ring { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 9px; background: rgba(59, 130, 246, .2); color: #93c5fd; font-size: 17px; }
.workflow-status > span:nth-child(2) { display: grid; gap: 3px; flex: 1; }
.workflow-status b { font-size: 11px; }
.workflow-status small { color: #8292a8; font-size: 9px; }
.status-arrow { color: #93c5fd; }
.workflow-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 17px; color: #718198; font-size: 9px; }

.hero-bottom {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 0 24px; border-top: 1px solid rgba(148, 163, 184, .14); color: #9aa8ba; font-size: 11px;
}
.hero-bottom-brand { display: flex; align-items: center; gap: 10px; }
.hero-bottom-brand picture { display: block; width: 46px; height: 46px; flex: none; }
.hero-bottom-brand img { display: block; width: 46px; height: 46px; object-fit: contain; }
.hero-bottom-brand strong { color: #cbd5e1; font-weight: 700; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags span { padding: 7px 11px; border: 1px solid rgba(148, 163, 184, .18); border-radius: 999px; color: #c4cfdd; font-size: 10px; }

/* ---------- Cifras ---------- */
.stats { border-bottom: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 22px; border-right: 1px solid var(--line); text-align: center; }
.stat:last-child { border-right: 0; }
.stat b { display: block; margin-bottom: 4px; color: var(--blue); font-size: 30px; font-weight: 850; letter-spacing: -.05em; line-height: 1; }
.stat span { color: var(--muted); font-size: 11px; font-weight: 600; }

/* ---------- Beneficios ---------- */
.benefits { background: #fff; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit-card {
  padding: 24px 22px 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.benefit-card:hover, .module-card:hover { transform: translateY(-5px); border-color: #c6d7f5; box-shadow: var(--shadow); }
.icon-box { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px; border-radius: 13px; font-size: 21px; font-weight: 800; }
.icon-box.blue { background: #eff6ff; color: #2563eb; }
.icon-box.violet { background: #f5f3ff; color: #7c3aed; }
.icon-box.cyan { background: #ecfeff; color: #0891b2; }
.icon-box.green { background: #f0fdf4; color: #16a34a; }
.benefit-card h3, .module-card h3 { margin: 0 0 9px; font-size: 16px; }
.benefit-card p, .module-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

/* ---------- Módulos ---------- */
.modules { background: var(--paper); }
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.module-card {
  display: flex; flex-direction: column; min-height: 246px; padding: 22px;
  border: 1px solid #e5ebf2; border-radius: var(--radius); background: #fff;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.module-feature { border-color: #cfe0ff; background: linear-gradient(145deg, #fff, #f4f8ff); box-shadow: var(--shadow-sm); }
.module-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; border-radius: 12px; background: #eff6ff; color: var(--blue); }
.module-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.module-kicker { display: block; margin-bottom: 7px; color: #8292a8; font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.module-card h3 { font-size: 15px; }
.module-card p { font-size: 12px; }
.module-card .text-link { margin-top: auto; padding-top: 12px; }

/* ---------- e-CF ---------- */
.ecf-section { position: relative; overflow: hidden; background: var(--ink-3); color: #fff; }
.ecf-section::before {
  position: absolute; right: -180px; top: -260px; width: 620px; height: 620px;
  content: ""; border-radius: 50%; background: radial-gradient(circle, rgba(37, 99, 235, .2), transparent 67%);
}
.ecf-grid { position: relative; display: grid; grid-template-columns: 1fr .88fr; gap: 72px; align-items: center; }
.ecf-copy h2 { font-size: clamp(34px, 4vw, 48px); }
.ecf-copy > p:not(.eyebrow) { max-width: 570px; color: #aab7c9; font-size: 14px; line-height: 1.8; }
.check-list { display: grid; gap: 15px; margin: 28px 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; color: #dce5f0; font-size: 13px; line-height: 1.6; }
.check-list li span { display: grid; place-items: center; width: 19px; height: 19px; flex: none; border-radius: 50%; background: rgba(34, 197, 94, .15); color: #4ade80; font-size: 11px; }
.ecf-panel {
  padding: 23px; border: 1px solid rgba(148, 163, 184, .19); border-radius: 19px;
  background: rgba(20, 33, 54, .82); box-shadow: 0 25px 70px rgba(0, 0, 0, .22);
}
.ecf-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 17px; border-bottom: 1px solid rgba(148, 163, 184, .16); font-size: 11px; font-weight: 700; }
.panel-badge { padding: 6px 9px; border-radius: 7px; background: rgba(37, 99, 235, .17); color: #a9c6ff; font-size: 8px; letter-spacing: .07em; text-transform: uppercase; }
.ecf-type-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.ecf-type-list div { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(148, 163, 184, .1); }
.ecf-type-list b { display: grid; place-items: center; width: 29px; height: 27px; flex: none; border: 1px solid rgba(96, 165, 250, .22); border-radius: 8px; background: rgba(37, 99, 235, .12); color: #9bc0ff; font-size: 10px; }
.ecf-type-list span { color: #c8d3e0; font-size: 10px; }

/* ---------- Seguridad ---------- */
.security { background: #fff; }
.security-grid { display: grid; grid-template-columns: .84fr 1fr; gap: 92px; align-items: start; }
.security-grid > div:first-child > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.85; }
.security-list { display: grid; }
.security-list article { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.security-mark { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.security-list b { display: block; margin-bottom: 6px; font-size: 13px; }
.security-list p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.security-list .fine-print { padding-top: 8px; }

/* ---------- Producto ---------- */
.product { background: #f3f6fb; }
.product-grid { display: grid; grid-template-columns: 1.05fr .8fr; gap: 80px; align-items: center; }
.product-art { min-width: 0; }
.art-window {
  overflow: hidden; border: 1px solid #dbe4f0; border-radius: 19px; background: #fff;
  box-shadow: 0 26px 65px rgba(15, 23, 42, .13);
  transform: perspective(1100px) rotateY(3deg) rotateX(1deg);
}
.art-window-bar { display: flex; align-items: center; gap: 6px; height: 48px; padding: 0 14px; border-bottom: 1px solid #e8edf4; background: #fbfcfe; }
.art-window-bar > span { width: 7px; height: 7px; border-radius: 50%; background: #cbd5e1; }
.art-window-bar > span:first-child { background: #fda4af; }
.art-window-bar > span:nth-child(2) { background: #fcd34d; }
.art-window-bar > span:nth-child(3) { background: #86efac; }
.art-window-bar b { margin-left: 12px; color: #748198; font-size: 9px; font-weight: 700; }
.art-body { display: grid; grid-template-columns: 55px 1fr; min-height: 300px; }
.art-sidebar { display: flex; flex-direction: column; align-items: center; gap: 19px; padding: 20px 0; border-right: 1px solid #edf0f5; background: #fbfcfe; }
.art-sidebar i { width: 17px; height: 17px; border-radius: 5px; background: #e5eaf2; }
.art-sidebar i:first-child { background: var(--blue); }
.art-content { padding: 24px 22px; }
.art-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; color: #172235; font-size: 13px; font-weight: 700; }
.art-title small { color: #95a2b4; font-size: 7px; letter-spacing: .1em; }
.art-track { display: flex; align-items: center; margin: 30px 0 27px; }
.art-node { display: grid; justify-items: center; gap: 7px; color: #7e8ca0; font-size: 8px; }
.art-node i { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #dbe3ed; border-radius: 50%; background: #fff; font-size: 12px; font-style: normal; }
.art-node.done i { border-color: #b9edce; background: #f0fdf4; color: var(--green); }
.art-node.active i { border-color: #bfdbfe; background: #eff6ff; color: var(--blue); }
.art-line { height: 1px; flex: 1; margin: -16px 5px 0; background: #dbe3ed; }
.art-document { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #e7edf5; border-radius: 11px; background: #fbfcfe; }
.doc-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: #eff6ff; color: var(--blue); font-size: 9px; font-weight: 800; }
.art-document > span:nth-child(2) { display: grid; gap: 4px; flex: 1; }
.art-document b { font-size: 9px; }
.art-document small { color: #8292a8; font-size: 8px; }
.art-document em { color: var(--blue); font-size: 7px; font-style: normal; font-weight: 800; }
.art-bottom { display: flex; justify-content: space-between; gap: 6px; margin-top: 19px; color: #7c8ba0; font-size: 7px; }
.art-caption { margin: 10px 3px 0; color: #7f8da1; font-size: 9px; }
.product-copy h2 { font-size: clamp(32px, 3.7vw, 43px); }
.product-points { display: grid; gap: 14px; margin: 28px 0; }
.product-points div { display: grid; grid-template-columns: 32px 1fr; gap: 1px 10px; align-items: center; }
.product-points > div > span { grid-row: span 2; color: var(--blue); font-size: 9px; font-weight: 800; }
.product-points b { font-size: 12px; }
.product-points small { color: #7b8797; font-size: 10px; }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .7fr 1fr; gap: 88px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative; padding: 19px 38px 19px 0; cursor: pointer;
  list-style: none; color: #19253a; font-size: 13px; font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span::before, .faq-list summary span::after {
  position: absolute; right: 5px; top: 26px; width: 13px; height: 1.5px;
  content: ""; background: var(--muted); transition: transform .25s var(--ease);
}
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { max-width: 650px; margin: 0; padding: 0 36px 18px 0; color: var(--muted); font-size: 12px; line-height: 1.75; }

/* ---------- Contacto ---------- */
.contact { padding: 32px 0 96px; background: #fff; }
.contact-card {
  position: relative; overflow: hidden;
  display: flex; justify-content: space-between; align-items: center; gap: 28px;
  padding: 50px 56px; border-radius: 23px;
  background: linear-gradient(115deg, #111d31, #162b4a); color: #fff;
}
.contact-card::after {
  position: absolute; right: -100px; top: -210px; width: 420px; height: 420px;
  content: ""; border-radius: 50%; background: radial-gradient(circle, rgba(59, 130, 246, .32), transparent 70%);
}
.contact-card > div { position: relative; z-index: 1; }
.contact-card h2 { margin: 0 0 12px; font-size: clamp(27px, 3vw, 38px); line-height: 1.15; }
.contact-card p:not(.eyebrow) { margin: 0; color: #aab8ca; font-size: 13px; }
.contact-actions { display: grid; justify-items: start; gap: 12px; flex: none; }
.contact-link, .contact-pending { color: #b8c9e0; font-size: 11px; }
.contact-link:hover { color: #fff; text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { padding: 58px 0 0; border-top: 1px solid var(--line); background: #fff; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 42px; }
.footer-brand p { margin: 18px 0 8px; max-width: 340px; color: var(--muted); font-size: 12px; }
.footer-brand > span { color: #8995a6; font-size: 10px; }
.footer-links { display: grid; align-content: start; gap: 12px; color: var(--muted); font-size: 11px; }
.footer-links b { margin-bottom: 5px; color: #19253a; font-size: 11px; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 58px; border-top: 1px solid var(--line); color: #8792a1; font-size: 10px; }
.footer-bottom a:hover { color: var(--blue); }

/* ---------- Volver arriba ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid #dbe4f0; border-radius: 13px;
  background: #fff; color: var(--ink); font-size: 18px; font-weight: 700;
  box-shadow: var(--shadow); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s, background .2s, color .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--blue); color: #fff; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .main-nav { gap: 16px; }
  .main-nav > a:not(.button) { font-size: 11px; }
  .hero-grid { gap: 32px; }
  .benefit-grid, .module-grid { grid-template-columns: repeat(2, 1fr); }
  .ecf-grid, .security-grid, .product-grid, .faq-grid { gap: 48px; }
}

@media (max-width: 820px) {
  :root { --header-h: 70px; }
  .container { width: min(calc(100% - 36px), 680px); }
  .section-pad { padding: 78px 0; }

  .nav-toggle {
    display: grid; align-content: center; justify-items: center; gap: 5px;
    width: 44px; height: 44px; flex: none;
    border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  }
  .nav-toggle span { width: 18px; height: 2px; border-radius: 2px; background: #23314a; transition: transform .22s var(--ease), opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    display: none; align-items: stretch; gap: 0;
    padding: 10px 18px 20px; border-bottom: 1px solid var(--line);
    background: #fff; box-shadow: 0 18px 30px rgba(15, 23, 42, .09);
  }
  .main-nav.is-open { display: grid; }
  .main-nav > a:not(.button) { padding: 13px 4px; border-bottom: 1px solid #f1f5f9; font-size: 13px; }
  .main-nav > a:not(.button)::after { display: none; }
  .main-nav .nav-cta { margin-top: 14px; }

  .hero { padding-top: 66px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { padding-bottom: 8px; }
  .hero h1 { font-size: clamp(40px, 9vw, 54px); }
  .hero-lead { font-size: 15px; }
  .hero-bottom { align-items: flex-start; flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .ecf-grid, .security-grid, .product-grid, .faq-grid { grid-template-columns: 1fr; gap: 38px; }
  .art-window { transform: none; }
  .contact { padding: 20px 0 70px; }
  .contact-card { align-items: flex-start; flex-direction: column; padding: 36px 28px; }
  .contact-actions { width: 100%; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 30px); }
  .brand-text strong { font-size: 17px; }
  .brand-text small { font-size: 8px; }
  .brand-mark, .brand-mark img { width: 42px; height: 42px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .workflow-card { padding: 20px; }
  .workflow-foot { font-size: 8px; }
  .section-heading h2, .ecf-copy h2, .security h2, .product-copy h2 { font-size: 32px; }
  .benefit-grid, .module-grid { grid-template-columns: 1fr; gap: 11px; }
  .benefit-card, .module-card { min-height: 0; }
  .stat b { font-size: 24px; }
  .ecf-type-list { gap: 0 10px; }
  .ecf-type-list span { font-size: 9px; }
  .art-body { grid-template-columns: 39px 1fr; }
  .art-content { padding: 20px 13px; }
  .art-title { display: grid; }
  .art-title small { order: -1; }
  .art-track { margin: 24px 0; }
  .art-node { font-size: 7px; }
  .art-node i { width: 25px; height: 25px; }
  .art-document { padding: 10px; }
  .art-document em { display: none; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .back-to-top { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
