/* ==========================================================================
   LexiFlow · Landing page
   Paleta oficial: #1E3A8A · #14B8A6 · #0F172A · #F8FAFC · #FFFFFF
   Los tonos derivados (--teal-ink, --slate-*) existen solo para cumplir
   contraste WCAG en texto pequeño y bordes; no reemplazan la paleta.
   ========================================================================== */

:root {
  --blue: #1E3A8A;
  --blue-hover: #1A3279;
  --teal: #14B8A6;
  --teal-ink: #0F766E;          /* texto teal accesible (5.4:1 sobre blanco) */
  --teal-soft: #E7F8F5;
  --blue-soft: #EEF2FB;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #475569;             /* 7.5:1 sobre #F8FAFC */
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --amber: #B45309;
  --amber-soft: #FEF3C7;
  --red: #B91C1C;
  --red-soft: #FEE2E2;

  --font-head: "Poppins", "Montserrat", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 24px 48px -24px rgba(30, 58, 138, .25);

  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.narrow { max-width: 800px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--blue); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* Icon strokes (estilo lineal coherente en todo el sitio) */
.icon-badge svg, .step-icon svg, .btn svg, .hero-facts svg, .menu-toggle svg, .file-chip svg, .acc-trigger svg {
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.2;
  border-radius: 10px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .18s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 1px 2px rgba(30, 58, 138, .25); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--blue); background: var(--white); }
.btn-outline { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-soft); }
.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { background: var(--teal-soft); }
.btn-light:focus-visible { outline-color: var(--white); }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 250, 252, .94);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { backdrop-filter: saturate(1.4) blur(8px); }
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; flex-shrink: 0; border-radius: 10px; }
.brand img { height: 46px; width: auto; }

.main-nav { display: none; }
.nav-list { display: flex; gap: 4px; }
.nav-list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-weight: 500; font-size: .95rem; color: var(--ink-2); text-decoration: none; border-radius: 8px;
  transition: color .15s, background-color .15s;
}
.nav-list a:hover { color: var(--blue); background: var(--blue-soft); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--white); border: 1px solid var(--border); color: var(--ink); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu { border-top: 1px solid var(--border); background: var(--bg); padding: 8px 0 20px; }
.mobile-menu ul { margin-bottom: 12px; }
.mobile-menu li a {
  display: flex; align-items: center; min-height: 48px; padding: 0 4px;
  font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 860px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Tipografía de secciones ---------- */
.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-ink); margin-bottom: 12px;
}
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); font-weight: 700; color: var(--ink); }
.section-head { max-width: 720px; margin: 0 auto 48px; }
.section-lead { margin-top: 16px; font-size: 1.075rem; color: var(--muted); }
.center .section-lead, .section-head.center .section-lead { margin-left: auto; margin-right: auto; max-width: 640px; }
.fine-print { margin-top: 28px; font-size: .875rem; color: var(--muted); }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--teal-soft); color: var(--teal-ink);
}
.icon-badge svg { width: 22px; height: 22px; }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 1.125rem; font-weight: 600; margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: .975rem; }


/* ---------- Hero ---------- */
.hero { padding: 40px 0 72px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) {
  .hero { padding: 72px 0 104px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}
.hero-copy { min-width: 0; }
.hero h1 { overflow-wrap: break-word; font-size: clamp(2.1rem, 1.4rem + 4.2vw, 3.9rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; }
.hero h1 .hl {
  color: var(--blue);
  background-image: linear-gradient(var(--teal), var(--teal));
  background-repeat: no-repeat; background-size: 100% .14em; background-position: 0 92%;
  padding-bottom: .04em;
}
.lead { margin-top: 20px; font-size: clamp(1.075rem, 1rem + .4vw, 1.25rem); color: var(--ink-2); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 479px) { .hero-actions .btn { width: 100%; } }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: .925rem; color: var(--muted); }
.hero-facts li { display: inline-flex; align-items: center; gap: 6px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--teal-ink); stroke-width: 2.2; }

/* Ventana de app (mockups) */
.hero-visual, .rec-visual { margin: 0; position: relative; }
.hero-visual::before, .rec-visual::before {
  content: ""; position: absolute; inset: 8% -6% -6% 10%; z-index: -1;
  background: var(--blue-soft); border-radius: 28px;
}
figcaption { margin-top: 14px; font-size: .8rem; color: var(--muted); text-align: center; }
.app-window {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.app-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--bg); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.app-bar-title { font-family: var(--font-head); font-size: .825rem; font-weight: 600; color: var(--ink-2); }
.app-body { padding: 20px; }
@media (min-width: 480px) { .app-body { padding: 24px; } }

.report-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.file-chip { display: flex; align-items: center; gap: 10px; min-width: 0; }
.file-chip svg { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); flex-shrink: 0; }
.file-chip strong { display: block; font-size: .9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-chip span { display: block; font-size: .78rem; color: var(--muted); }
.file-chip > div { min-width: 0; }

.score { position: relative; width: 76px; height: 76px; flex-shrink: 0; }
.score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score circle { fill: none; stroke-width: 4.5; }
.score .track { stroke: var(--border); }
.score .value { stroke: var(--teal); stroke-linecap: round; stroke-dasharray: var(--score) 100; }
.score-num { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 24px; }
.score-num b { font-family: var(--font-head); font-size: 1.4rem; color: var(--ink); }
.score-num small { font-size: .7rem; color: var(--muted); }
.score-label { text-align: right; font-size: .75rem; color: var(--muted); margin: 4px 0 16px; }

.report-block { border-radius: var(--radius); padding: 12px 14px; margin-top: 10px; border-left: 3px solid; }
.report-block h3 { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.report-block li { position: relative; padding-left: 14px; font-size: .875rem; color: var(--ink-2); line-height: 1.5; }
.report-block li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .5; }
.report-block.ok { background: var(--teal-soft); border-color: var(--teal); }
.report-block.ok h3 { color: var(--teal-ink); }
.report-block.warn { background: var(--amber-soft); border-color: #D97706; }
.report-block.warn h3 { color: var(--amber); }
.report-block.tip { background: var(--blue-soft); border-color: var(--blue); }
.report-block.tip h3 { color: var(--blue); }

/* ---------- Problema ---------- */
.problem { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.problem-list { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 860px) {
  .problem-list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .problem-list li { flex-direction: column; padding: 28px; }
}
.problem-list li { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--border); }
.problem-list .icon-badge { background: var(--blue-soft); color: var(--blue); }
.problem-list h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.problem-list p { color: var(--muted); font-size: .95rem; }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; position: relative; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .steps::before {
    content: ""; position: absolute; top: 58px; left: 16%; right: 16%;
    border-top: 2px dashed var(--border-strong); z-index: 0;
  }
}
.step {
  position: relative; z-index: 1; text-align: center;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 24px 28px;
}
.step-num {
  position: absolute; top: 16px; left: 20px;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--teal-ink); letter-spacing: .04em;
}
.step-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px; background: var(--blue); color: var(--white);
  box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--border);
}
.step-icon svg { width: 26px; height: 26px; }
.step h3 { font-size: 1.2rem; font-weight: 600; margin: 22px 0 8px; }
.step p { color: var(--muted); font-size: .975rem; max-width: 30ch; margin: 0 auto; }

/* ---------- Beneficios ---------- */
.benefits { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.benefit-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1080px) { .benefit-grid { grid-template-columns: repeat(4, 1fr); } }
.benefits .card { background: var(--bg); }

/* ---------- Planes ---------- */
.plan-grid { display: grid; gap: 20px; align-items: stretch; max-width: 420px; margin: 0 auto; }
@media (min-width: 900px) { .plan-grid { grid-template-columns: repeat(3, 1fr); max-width: none; gap: 24px; } }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px 28px;
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.plan:hover { box-shadow: var(--shadow); border-color: var(--border-strong); }
.plan h3 { font-size: 1.25rem; font-weight: 600; }
.plan-desc { margin-top: 6px; color: var(--muted); font-size: .925rem; min-height: 2.9em; }
.price { margin: 20px 0 24px; display: flex; align-items: baseline; gap: 4px; }
.price .amount { font-family: var(--font-head); font-size: 2.75rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.price .per { color: var(--muted); font-size: .95rem; }
.features { flex: 1; display: grid; align-content: start; gap: 12px; padding-top: 24px; margin-bottom: 28px; border-top: 1px solid var(--border); }
.features li { position: relative; padding-left: 28px; font-size: .95rem; color: var(--ink-2); }
.features li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.features strong { color: var(--ink); font-weight: 600; }

.plan-featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .plan-featured { transform: translateY(-12px); } }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 5px 14px; border-radius: 999px; background: var(--blue); color: var(--white);
  font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
}
.plan-featured h3 { color: var(--blue); }

/* ---------- Reclutadores ---------- */
.recruiters { overflow: hidden; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.rec-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .rec-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.rec-list { display: grid; gap: 20px; margin: 32px 0 24px; }
.rec-list li { display: flex; gap: 16px; }
.rec-list h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.rec-list p { color: var(--muted); font-size: .95rem; }
.note { font-size: .9rem; color: var(--muted); padding: 12px 16px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); margin-bottom: 28px; }

.kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 16px; background: var(--bg); }
.kcol { background: #EEF2F7; border-radius: var(--radius); padding: 10px; min-width: 0; }
.kcol-title { gap: 4px; white-space: nowrap; overflow: hidden; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); font-size: .72rem; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.kcol-title span { flex-shrink: 0; background: var(--white); border-radius: 999px; padding: 0 7px; color: var(--muted); }
.kcard { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 10px; margin-bottom: 8px; box-shadow: var(--shadow-sm); }
.kcard b { display: block; font-size: .78rem; font-weight: 600; padding-right: 30px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcard span { display: block; font-size: .7rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match { position: absolute; top: 9px; right: 9px; font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: .7rem; padding: 1px 6px; border-radius: 6px; }
.match.hi { background: var(--teal-soft); color: var(--teal-ink); }
.match.mid { background: var(--amber-soft); color: var(--amber); }
.lights { display: flex; gap: 4px; margin-top: 8px; }
.lights i { width: 100%; height: 5px; border-radius: 3px; }
.lights .g { background: var(--teal); } .lights .y { background: #F59E0B; } .lights .r { background: #EF4444; }
@media (max-width: 479px) {
  .kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px; }
  .kcol:nth-child(3) { display: none; }
}

/* ---------- Seguridad ---------- */
.sec-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .sec-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.security .icon-badge { background: var(--blue-soft); color: var(--blue); }

/* ---------- FAQ (acordeón) ---------- */
.faq { background: var(--white); border-top: 1px solid var(--border); }
.accordion { border-top: 1px solid var(--border); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-item h3 { font-size: inherit; }
.acc-trigger {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 18px 4px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-size: 1.075rem; font-weight: 600; color: var(--ink);
  transition: color .15s;
}
.acc-trigger:hover { color: var(--blue); }
.acc-trigger svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--blue); transition: transform .25s var(--ease); }
.acc-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s var(--ease); }
.acc-panel.is-open { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; }
.acc-inner p { padding: 0 4px 22px; color: var(--muted); max-width: 68ch; }
html:not(.js) .acc-panel { grid-template-rows: 1fr; }

/* ---------- CTA final ---------- */
.final { padding-bottom: 88px; }
.final-card {
  position: relative; overflow: hidden; text-align: center;
  background: var(--blue); color: var(--white); border-radius: 24px; padding: 56px 24px;
}
@media (min-width: 640px) { .final-card { padding: 72px 48px; } }
.final-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--teal);
}
.final-mark { width: 64px; height: 64px; margin: 0 auto 20px; background: var(--white); border-radius: 16px; padding: 6px; }
.final-card h2 { color: var(--white); font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.75rem); font-weight: 700; }
.final-card p { margin: 16px auto 32px; max-width: 46ch; color: #DCE4F5; font-size: 1.075rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: #DCE4F5; padding: 56px 0 0; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr; gap: 48px; } }
.footer-brand img { height: 60px; width: auto; margin-left: -10px; }
.footer-brand p { margin-top: 12px; font-size: .925rem; max-width: 36ch; }
.footer-title { font-family: var(--font-head); font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { display: inline-flex; min-height: 32px; align-items: center; text-decoration: none; color: #DCE4F5; transition: color .15s; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:focus-visible { outline-color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 20px; padding-bottom: 28px; font-size: .875rem; }

/* ---------- Modal ---------- */
.modal {
  width: min(440px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px -16px rgba(15, 23, 42, .35); color: var(--ink);
}
.modal::backdrop { background: rgba(15, 23, 42, .5); }
.modal-inner { padding: 32px 28px 28px; text-align: center; }
.modal-inner img { margin: 0 auto 16px; }
.modal h2 { font-size: 1.35rem; font-weight: 600; }
.modal p { margin: 12px 0 24px; color: var(--muted); }
.modal[open] { animation: modalIn .22s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Revelado al hacer scroll (solo con JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover { transform: none; }
}
