/* JustIA Comunidad — sitio estático (rediseño "ecosistema").
   Paleta tomada del Instagram de JustIA: azul #1B4B7A, azul marino #123C6C, blanco y gris claro.
   Código visual de los dos negocios (se usa en todo el sitio):
     Cómplices en Copropiedad → azul JustIA + círculo  (personas, red, cercanía)
     Plataforma JustIA        → azul marino + celeste + cuadrado (software, datos)
   Formularios, WhatsApp y botón flotante = widgets VentaPlay (fase 2). */

:root {
  --ink: #0E2740;          /* texto principal y fondos oscuros */
  --ink-2: #344558;        /* texto de párrafos */
  --muted: #5B6A7B;        /* texto secundario */
  --paper: #F4F7FA;        /* fondo general */
  --white: #FFFFFF;
  --line: #D9E1E9;
  --line-strong: #AFC0D1;
  --steel: #1B4B7A;        /* azul JustIA (Instagram): marca */
  --steel-dark: #123C6C;   /* azul marino JustIA (Instagram) */
  --sky: #1F6FB2;          /* Plataforma (celeste de acento, contraste AA) */
  --sky-tint: #E8F1F9;
  --sky-on-dark: #9ACCF0;
  --brand: #1B4B7A;        /* Cómplices (texto y botones) */
  --brand-mid: #5B8DBE;    /* Cómplices (marcas y líneas) */
  --brand-tint: #EEF3F8;
  --brand-line: #D5E1EC;
  --on-dark: #C5D3E0;
  --radius: 14px;
  --wrap: 1180px;
  --font: 'Montserrat', system-ui, sans-serif;
  --font-quote: 'Playfair Display', Georgia, serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); font-weight: 400; font-size: 17px; line-height: 1.65; color: var(--ink-2); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); }
h1, h2, h3 { font-family: var(--font); color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.35rem + 3.1vw, 3.55rem); line-height: 1.08; font-weight: 700; letter-spacing: -.028em; }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.5vw, 2.35rem); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; color: var(--ink); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* ---------- Botones y enlaces ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 .98rem/1.2 var(--font); text-decoration: none; color: var(--white); background: var(--steel); padding: 14px 24px; border-radius: 8px; border: 0; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.btn:hover { background: var(--steel-dark); }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { background: transparent; box-shadow: inset 0 0 0 1.5px var(--steel); }
.btn--brand { background: var(--brand); }
.btn--brand:hover { background: #123C6C; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--sky-tint); }
.btn--ghost-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: transparent; box-shadow: inset 0 0 0 1.5px var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

/* ---------- Código visual de los negocios ---------- */
.kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px; font-weight: 600; font-size: .92rem; line-height: 1.2; }
.kicker .mark { width: 11px; height: 11px; flex: none; }
.kicker--c { color: var(--brand); }
.kicker--c .mark { background: var(--brand-mid); border-radius: 50%; }
.kicker--p { color: var(--sky); }
.kicker--p .mark { background: var(--sky); border-radius: 2px; }
.kicker-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.kicker-row .kicker { margin: 0; }
.tag { display: inline-flex; align-items: center; font-size: .74rem; font-weight: 600; line-height: 1; padding: 6px 10px; border-radius: 999px; white-space: nowrap; vertical-align: middle; }
.tag--dev { color: var(--sky); background: var(--sky-tint); }
.tag--ok { color: #1F6446; background: #E3F1EA; }
.tag--soon { color: var(--muted); background: #EBEFF3; }
/* sobre fondos oscuros */
.eco-pan--p .kicker--p, .solution--p .kicker--p, .hero--plataforma .kicker--p { color: var(--sky-on-dark); }
.eco-pan--p .kicker--p .mark, .solution--p .kicker--p .mark, .hero--plataforma .kicker--p .mark { background: var(--sky-on-dark); }
.eco-pan--p .tag--dev, .solution--p .tag--dev, .hero--plataforma .tag--dev { color: var(--sky-on-dark); background: rgba(140,203,238,.14); }

.checklist { list-style: none; margin: 0 0 24px; padding: 0; }
.checklist li { position: relative; padding: 5px 0 5px 28px; }
.checklist li::before { content: ''; position: absolute; left: 6px; top: .62em; width: 6px; height: 11px; border: solid var(--steel); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { padding: 11px 0; border-top: 1px solid var(--line); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { white-space: nowrap; font-size: 1.02rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.brand-text span { font-size: .74rem; color: var(--muted); }
.menu { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.menu a { display: block; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .96rem; color: var(--ink-2); text-decoration: none; }
.menu a:hover { color: var(--ink); background: var(--paper); }
.menu a[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--steel); border-radius: 0; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle .ico { width: 24px; height: 24px; }
.menu-toggle .ico-close, .menu-toggle[aria-expanded="true"] .ico-menu { display: none; }
.menu-toggle[aria-expanded="true"] .ico-close { display: block; }
.dropdown { display: none; border-top: 1px solid var(--line); background: var(--white); }
.dropdown.is-open { display: block; }
.dropdown ul { list-style: none; margin: 0; padding: 8px 24px 20px; }
.dropdown a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.dropdown a[aria-current="page"] { font-weight: 700; }

/* ---------- Heros ---------- */
.hero { padding: 96px 0 104px; }
.hero--home, .hero--page {
  background-color: var(--paper);
  background-image: linear-gradient(to right, rgba(35,89,138,.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(35,89,138,.07) 1px, transparent 1px);
  background-size: 40px 40px; background-position: center top;
}
.hero--page { padding: 80px 0 72px; border-bottom: 1px solid var(--line); }
.hero--complices { background: var(--brand-tint); background-image: none; }
.hero--complices.hero--page { border-bottom-color: var(--brand-line); }
.hero--plataforma {
  background-color: var(--ink); color: var(--on-dark); padding: 120px 0 128px;
  background-image: linear-gradient(to right, rgba(140,203,238,.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(140,203,238,.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero--plataforma h1 { color: var(--white); }
.hero--plataforma .lead { color: var(--on-dark); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero-copy h1 { max-width: 19ch; }
.hero--home h1 { font-size: clamp(2.2rem, 1.35rem + 2.7vw, 3.3rem); }
.hero-copy--wide { max-width: 860px; }
.hero-copy--wide h1 { max-width: 22ch; }
.hero-photo { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; margin-bottom: 18px; color: var(--muted); }
.crumbs a { color: var(--brand); font-weight: 600; }

/* ---------- Diagrama del ecosistema (balanza del logo) ---------- */
.eco { position: relative; }
.eco-top { position: relative; width: max-content; margin: 0 auto; text-align: center; background: var(--white); border: 1.5px solid var(--steel); border-radius: 10px; padding: 12px 22px; }
.eco-top strong { display: block; font-size: 1.05rem; color: var(--ink); }
.eco-top span { font-size: .8rem; color: var(--muted); }
.eco-top::after { content: ''; position: absolute; left: 50%; top: 100%; width: 2px; height: 30px; margin-left: -1px; background: var(--steel); }
.eco-pans { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 60px; }
.eco-pans::before { content: ''; position: absolute; top: -30px; left: 25%; right: 25%; height: 2px; background: var(--steel); }
.eco-pans::after { content: ''; position: absolute; top: -35px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--steel); }
.eco-pan { position: relative; display: block; padding: 24px 22px; border-radius: var(--radius); text-decoration: none; color: var(--ink-2); border: 1.5px solid transparent; transition: border-color .2s; }
.eco-pan::before { content: ''; position: absolute; left: 50%; top: -31px; width: 2px; height: 31px; margin-left: -1px; background: var(--steel); }
.eco-pan--c { background: var(--white); border-color: var(--brand-line); }
.eco-pan--c:hover { border-color: var(--brand-mid); }
.eco-pan--p { background: var(--ink); color: var(--on-dark); }
.eco-pan--p:hover { border-color: var(--sky-on-dark); }
.eco-pan .kicker { margin-bottom: 6px; min-height: 2.4em; align-items: flex-start; }
.eco-pan .kicker .mark { margin-top: .2em; }
.eco-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .86rem; margin-bottom: 14px; opacity: .85; }
.eco-list { list-style: none; margin: 0; padding: 0; font-size: .94rem; font-weight: 500; }
.eco-list li { padding: 7px 0; border-top: 1px solid var(--brand-line); }
.eco-pan--p .eco-list li { border-top-color: rgba(140,203,238,.18); color: var(--white); }
.eco-pan--c .eco-list li { color: var(--ink); }
.solution-pair--compact .eco-pan::before { display: none; }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section--white { background: var(--white); }
.section--tint-c { background: var(--brand-tint); }
.section--tint-p { background: var(--sky-tint); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
h2.section-head { margin-bottom: 40px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.split--wide { grid-template-columns: .9fr 1.1fr; align-items: start; }
.prose p { color: var(--ink-2); }
.prose .lead { margin-bottom: 1.2em; color: var(--ink); }

/* Problemas */
.problems { background: var(--white); }
.problem-list { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; margin: 0; }
.problem-list > div { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.problem-list dt { font-weight: 600; font-size: 1.1rem; color: var(--ink); margin-bottom: 6px; }
.problem-list dd { margin: 0; color: var(--muted); }
.problems-close { margin-top: 40px; max-width: 760px; font-size: 1.18rem; line-height: 1.55; color: var(--ink-2); }

/* Dos soluciones */
.solution-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.solution { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; }
.solution > img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.solution-body { display: flex; flex-direction: column; flex: 1; padding: 32px 32px 36px; }
.solution-body h3 { font-size: 1.45rem; line-height: 1.25; letter-spacing: -.015em; }
.solution-body .btn { align-self: flex-start; margin-top: auto; }
.solution--c { background: var(--white); border: 1.5px solid var(--brand-line); }
.solution--c .checklist li::before { border-color: var(--brand-mid); }
.solution--p { background: var(--ink); color: var(--on-dark); }
.solution--p > img { filter: saturate(.85); }
.solution--p h3 { color: var(--white); }
.solution--p .checklist li { color: var(--white); }
.solution--p .checklist li::before { border-color: var(--sky-on-dark); }
.solution-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: auto; }
.solution-foot .btn { margin-top: 0; }

/* Dos motores + ciclo */
.engines { background: var(--white); }
.engines-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.engine { margin-top: 26px; padding-left: 18px; border-left: 3px solid; }
.engine--c { border-color: var(--brand-mid); }
.engine--p { border-color: var(--sky); }
.engine .kicker { margin-bottom: 4px; }
.engine p:not(.kicker) { color: var(--muted); }
.cycle { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin: 0 auto; }
.cycle.anim { opacity: 1; }
.cycle::before { content: ''; position: absolute; inset: 12%; border: 2px solid var(--line); border-radius: 50%; }
.cycle-steps { list-style: none; margin: 0; padding: 0; }
.step { position: absolute; left: calc(12% + var(--x) * .76); top: calc(12% + var(--y) * .76); display: flex; align-items: center; gap: 8px; opacity: 0; transition: opacity .5s ease; }
.cycle.in .step { opacity: 1; transition-delay: calc(var(--i) * 120ms); }
.step--r { transform: translate(-17px, -50%); }
.step--l { flex-direction: row-reverse; transform: translate(calc(-100% + 17px), -50%); }
.step--t { flex-direction: column-reverse; gap: 6px; transform: translate(-50%, calc(-100% + 17px)); }
.step--b { flex-direction: column; gap: 6px; transform: translate(-50%, -17px); }
.step .num { display: grid; place-items: center; width: 34px; height: 34px; flex: none; color: var(--white); font-weight: 600; font-size: .85rem; box-shadow: 0 0 0 5px var(--white); }
.step--c .num { background: var(--brand-mid); border-radius: 50%; }
.step--p .num { background: var(--sky); border-radius: 7px; }
.step .txt { font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1.25; width: max-content; max-width: 8.5em; }
.step--l .txt { text-align: right; }
.step--t .txt, .step--b .txt { text-align: center; max-width: 12em; }
.cycle-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 30%; }
.cycle-center strong { font-size: 1.1rem; }
.cycle-center span { font-size: .85rem; color: var(--muted); }

/* Públicos */
.audience-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 36px; }
.audience h3 { font-size: 1.45rem; }
.audience-who { color: var(--muted); margin-bottom: 20px; }
.audience .checklist { margin: 0; }

/* Fundador */
.founder { background: var(--white); }
.founder-grid { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 64px; align-items: center; }
.founder-grid--hero { grid-template-columns: 1fr minmax(240px, 380px); }
.founder-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 18px; }
.founder-copy { max-width: 600px; }
.founder-copy .link { display: inline-block; margin-top: 12px; }

/* Contacto */
.contact { background: var(--ink); color: var(--on-dark); }
.contact h2 { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-copy > p { font-size: 1.1rem; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact-list span { font-size: .88rem; color: var(--sky-on-dark); }
.contact-list a { color: var(--white); text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.contact-form { background: var(--white); color: var(--ink-2); border-radius: 18px; padding: 36px; min-height: 220px; }
.vp-fallback { display: none; font-size: 1.15rem; line-height: 1.6; color: var(--ink); margin: 0; }
#vp-widget-root:empty + .vp-fallback { display: block; }
.vp-fallback a { font-weight: 600; }

/* Mapa de la oficina (bajo el contacto) */
.map-band { position: relative; background: var(--ink); }
.map-band .map { display: block; width: 100%; height: 360px; border: 0; filter: saturate(.85); }
.map-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 18px; padding-bottom: 22px; color: var(--on-dark); }
.map-note p { display: flex; align-items: center; gap: 12px; margin: 0; }
.map-note .ico { width: 20px; height: 20px; color: var(--sky-on-dark); }
.map-note strong { display: block; color: var(--white); }
.map-note span { line-height: 1.4; }
.contact-list span.contact-two { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; color: inherit; font-size: inherit; }
.contact-list .contact-two a.contact-wa { color: var(--sky-on-dark); font-size: .92rem; }

/* Redes */
.socials { display: flex; gap: 10px; }
.social { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; text-decoration: none; transition: background-color .2s; }
.social .ico { width: 18px; height: 18px; }
.socials--contact .social { background: rgba(255,255,255,.1); color: var(--white); }
.socials--contact .social:hover { background: rgba(255,255,255,.2); }
.socials--footer { margin-top: 18px; }
.socials--footer .social { background: var(--paper); color: var(--steel); border: 1px solid var(--line); }
.socials--footer .social:hover { border-color: var(--steel); }

/* ---------- Cómplices ---------- */
.statement { padding: 88px 0; }
.statement--c { background: var(--brand); }
.statement p { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 3rem); line-height: 1.15; font-weight: 700; letter-spacing: -.025em; color: var(--white); max-width: 22ch; margin: 0; }
.specialties { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
.specialties li { padding: 26px 0 30px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.specialties h3 { font-size: 1.1rem; margin-bottom: 6px; }
.specialties h3 a { color: var(--brand); text-underline-offset: 4px; }
.specialties p { color: var(--muted); font-size: .96rem; margin-bottom: 14px; }
.specialties .tag { margin-top: auto; }
.reg-list { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.reg-list a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px 20px; background: var(--white); border: 1.5px solid var(--brand-line); border-radius: 12px; text-decoration: none; transition: border-color .2s; }
.reg-list a:hover { border-color: var(--brand-mid); }
.reg-list strong { font-size: 1.15rem; color: var(--brand); }
.reg-list span { font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
.testimonials figure { margin: 0; background: var(--white); border-radius: 18px; padding: 32px; border: 1px solid var(--line); }
.testimonials blockquote, .signed blockquote { margin: 0 0 18px; font-family: var(--font-quote); font-style: italic; font-weight: 500; font-size: 1.22rem; line-height: 1.5; color: var(--ink); }
.testimonials figcaption { font-size: .9rem; color: var(--muted); }
.invite { border-top: 3px solid var(--brand-mid); padding-top: 28px; }
.invite p { color: var(--muted); margin-bottom: 24px; }

/* ---------- Inicio: diagnóstico, riesgos y diferencias ---------- */
.tag--alert { color: var(--white); background: #B4362A; }
.rx { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px 24px 0; box-shadow: 0 1px 0 var(--line); }
.rx-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--steel); }
.rx-head strong { color: var(--ink); font-size: 1.05rem; }
.rx-head span { font-size: .8rem; color: var(--muted); }
.rx-list { list-style: none; margin: 0; padding: 0; }
.rx-row { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rx-row:last-child { border-bottom: 0; }
.rx-dot { width: 12px; height: 12px; border-radius: 50%; }
.rx-area { min-width: 0; }
.rx-area strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.rx-inst { display: block; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.rx-risk { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .84rem; font-weight: 600; line-height: 1.3; }
.rx-risk .ico { width: 11px; height: 11px; }
.rx-row--bad .rx-risk { color: #9B2C20; }
.rx-row--warn .rx-risk { color: #8A5A00; }
.rx-row--ok .rx-risk { color: #1F6446; }
.rx-summary { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 2px; padding: 0; }
.rx-count { font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 8px; }
.rx-count strong { color: inherit; font-weight: 800; }
.rx-count--bad { color: #9B2C20; background: #FBE9E6; }
.rx-count--warn { color: #8A5A00; background: #FCF1DC; }
.rx-count--ok { color: #1F6446; background: #E3F1EA; }
.rx-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 -24px; padding: 14px 24px 16px; border-top: 2px solid var(--steel); background: var(--paper); border-radius: 0 0 18px 18px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.rx-foot span { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white); background: var(--steel); padding: 4px 8px; border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rx-state { font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.rx-row--bad .rx-dot { background: #C0392B; }
.rx-row--bad .rx-state { color: #9B2C20; background: #FBE9E6; }
.rx-row--warn .rx-dot { background: #D68A1A; }
.rx-row--warn .rx-state { color: #8A5A00; background: #FCF1DC; }
.rx-row--ok .rx-dot { background: #2E8B57; }
.rx-row--ok .rx-state { color: #1F6446; background: #E3F1EA; }
.risks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.risk { display: flex; flex-direction: column; background: var(--paper); border-radius: 18px; padding: 28px; border-top: 4px solid var(--steel); }
.risk-tag { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.risk-tag span { display: grid; place-items: center; min-width: 46px; height: 30px; padding: 0 8px; border-radius: 8px; background: var(--steel); color: var(--white); font-weight: 700; font-size: .85rem; }
.risk h3 { font-size: 1.3rem; }
.risk p { font-size: .98rem; }
.risk-help { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); }
.risk-help strong { color: var(--steel); }
.also { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px; }
.also-title { margin: 0; font-weight: 700; color: var(--ink); }
.also ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 0; padding: 0; }
.also a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--brand-tint); color: var(--steel-dark); font-size: .9rem; font-weight: 500; text-decoration: none; }
.also a:hover { background: var(--sky-tint); text-decoration: underline; }
.more-risks ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.more-risks li a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-left: 3px solid #D68A1A; border-radius: 10px; background: var(--white); color: var(--ink-2); text-decoration: none; transition: border-color .2s; }
.more-risks li a:hover { border-color: var(--steel); border-left-color: #D68A1A; }
.more-risks strong { color: var(--ink); font-size: 1rem; }
.more-risks span { font-size: .9rem; line-height: 1.45; }
.founder--compact .founder-grid { grid-template-columns: 200px 1fr; gap: 40px; }
.founder--compact .founder-photo { border-radius: 50%; aspect-ratio: 1; max-width: 200px; }

/* Sello diferenciador (Inicio) */
.eyebrow { margin: 0 0 12px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky-on-dark); }
.diff-band { background: var(--ink); color: var(--on-dark); }
.diff-head { max-width: 780px; margin-bottom: 44px; }
.diff-head h2 { color: var(--white); font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.9rem); }
.diff-head h2 span { color: var(--sky-on-dark); }
.diff-head p { font-size: 1.1rem; }
.vs { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.vs th, .vs td { text-align: left; vertical-align: top; padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.12); line-height: 1.45; }
.vs thead th, .vs thead td { border-top: 0; font-size: .95rem; font-weight: 700; color: var(--white); padding-bottom: 14px; }
.vs thead th:not(.vs-us) { color: var(--on-dark); }
.vs tbody th { width: 21%; font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--sky-on-dark); }
.vs td { color: var(--on-dark); }
.vs td + td { color: var(--white); font-weight: 600; background: rgba(154,204,240,.1); border-top-color: rgba(154,204,240,.2); }
.vs thead .vs-us { background: var(--sky); border-radius: 12px 12px 0 0; padding-top: 14px; }
.vs tbody tr:last-child td + td { border-radius: 0 0 12px 12px; }
.diff-note { margin: 32px 0 0; max-width: 70ch; font-size: 1.05rem; }
.diff-note strong { color: var(--white); }
.proof { list-style: none; margin: 48px 0 0; padding: 32px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.proof strong { display: block; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.1; font-weight: 800; color: var(--white); letter-spacing: -.02em; margin-bottom: 6px; }
.proof span { font-size: .92rem; line-height: 1.4; }

/* Ecosistema: detectar, resolver, mantener */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.flow-step { position: relative; display: flex; flex-direction: column; padding: 26px 22px; border-radius: 18px; background: var(--white); border: 1.5px solid var(--brand-line); }
.flow-step:not(:last-child)::after { content: ''; position: absolute; right: -23px; top: 44px; width: 12px; height: 12px; border: solid var(--brand-mid); border-width: 2.5px 2.5px 0 0; transform: rotate(45deg); }
.flow-step--p { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.flow-verb { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 1.3rem; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.flow-step--p .flow-verb { color: var(--white); }
.flow-num { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--brand); color: var(--white); font-size: .9rem; font-weight: 700; }
.flow-step--p .flow-num { border-radius: 8px; background: var(--sky); }
.flow-step .kicker-row { margin-bottom: 10px; gap: 8px 10px; }
.flow-step--p .kicker--p { color: var(--sky-on-dark); }
.flow-step--p .kicker--p .mark { background: var(--sky-on-dark); }
.flow-step--p .tag--dev { color: var(--sky-on-dark); background: rgba(140,203,238,.14); }
.flow-txt { color: var(--ink); font-weight: 500; }
.flow-step--p .flow-txt { color: var(--white); }
.flow-list { list-style: none; margin: 4px 0 20px; padding: 0; font-size: .93rem; }
.flow-list li { position: relative; padding: 7px 0 7px 22px; border-top: 1px solid var(--brand-line); }
.flow-list li::before { content: ''; position: absolute; left: 3px; top: .85em; width: 5px; height: 9px; border: solid var(--brand-mid); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.flow-step--p .flow-list li { border-top-color: rgba(140,203,238,.18); }
.flow-step--p .flow-list li::before { border-color: var(--sky-on-dark); }
.flow-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); text-decoration: none; }
.flow-link:hover { text-decoration: underline; }
.flow-link .ico { width: 13px; height: 13px; }
.flow-step--p .flow-link { color: var(--white); }
.flow-loop { margin: 28px 0 0; font-size: .98rem; color: var(--muted); }

/* Objetivos (Compliance) y Cómo funcionará (Plataforma) */
.goals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.goals li { padding: 28px; border-radius: 18px; background: var(--brand-tint); }
.goals .num { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 50%; background: var(--brand); color: var(--white); font-weight: 700; }
.goals h3 { font-size: 1.25rem; }
.goals p { color: var(--ink-2); }
.goals--p li { background: var(--sky-tint); }
.goals--p .num { border-radius: 9px; background: var(--sky); }

/* Matriz riesgo → solución (Compliance) */
.mx { width: 100%; border-collapse: collapse; table-layout: fixed; background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.mx thead th { text-align: left; padding: 16px 22px; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white); background: var(--steel); }
.mx thead th:first-child { width: 36%; }
.mx tbody th, .mx td { text-align: left; vertical-align: top; padding: 18px 22px; border-top: 1px solid var(--line); line-height: 1.45; font-size: .96rem; }
.mx tbody th { font-weight: 400; }
.mx tbody th strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.mx tbody th span { color: var(--muted); font-size: .9rem; }
.mx-risk { color: #9B2C20; font-weight: 600; }
.mx-sol { color: var(--ink); background: var(--brand-tint); }
.mx-sol a { display: block; margin-top: 6px; font-size: .86rem; font-weight: 600; color: var(--steel); }

/* Panel conceptual y estado del ecosistema (Plataforma) */
.pm { margin: 0; border-radius: 16px; background: var(--white); color: var(--ink-2); box-shadow: 0 24px 60px rgba(0,0,0,.35); overflow: hidden; }
.pm-bar { display: flex; gap: 6px; padding: 12px 16px; background: #E6EDF4; }
.pm-bar i { width: 10px; height: 10px; border-radius: 50%; background: #B8C6D4; }
.pm-body { padding: 22px 24px 18px; }
.pm-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.pm-title strong { font-size: 1.05rem; }
.pm-title span { font-size: .8rem; color: var(--muted); }
.pm-meter { padding: 14px 16px; border-radius: 10px; background: var(--sky-tint); margin-bottom: 10px; }
.pm-meter p { margin: 0 0 8px; font-size: .9rem; }
.pm-meter strong { color: var(--sky); }
.pm-meter span { display: block; height: 8px; border-radius: 99px; background: #CFE0EF; position: relative; overflow: hidden; }
.pm-meter span::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--sky); border-radius: 99px; }
.pm-list { list-style: none; margin: 0; padding: 0; }
.pm-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--ink); font-weight: 500; }
.pm-row:last-child { border-bottom: 0; }
.pm-row em { font-style: normal; font-size: .76rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.pm-row--bad em { color: #9B2C20; background: #FBE9E6; }
.pm-row--warn em { color: #8A5A00; background: #FCF1DC; }
.pm-row--ok em { color: #1F6446; background: #E3F1EA; }
.pm-row--doc em { color: var(--sky); background: var(--sky-tint); }
.pm figcaption { padding: 10px 24px 12px; font-size: .78rem; color: var(--muted); background: var(--paper); border-top: 1px solid var(--line); }
.status { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.status li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px; border-radius: 16px; border: 1.5px solid var(--brand-line); background: var(--white); }
.status h3 { margin: 4px 0 0; font-size: 1.15rem; }
.status h3 a { color: var(--ink); text-underline-offset: 4px; }
.status p { color: var(--muted); font-size: .96rem; }
.status--dev { background: var(--ink) !important; border-color: var(--ink) !important; }
.status--dev h3 { color: var(--white); }
.status--dev p { color: var(--on-dark); }
.status--dev .tag--dev { color: var(--sky-on-dark); background: rgba(140,203,238,.14); }

/* ---------- Compliance Comunitario ---------- */
.audit { background: var(--white); border: 1.5px solid var(--brand-line); border-radius: 18px; padding: 30px 30px 26px; }
.audit-title { font-weight: 700; color: var(--ink); font-size: 1.08rem; line-height: 1.35; margin-bottom: 14px; }
.audit-list { list-style: none; margin: 0 0 16px; padding: 0; }
.audit-list li { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--brand-line); color: var(--ink); font-weight: 500; font-size: .98rem; line-height: 1.4; }
.audit-list .box { width: 18px; height: 18px; flex: none; margin-top: 1px; border: 2px solid var(--brand-mid); border-radius: 4px; }
.audit-foot { font-size: .92rem; color: var(--brand); font-weight: 600; }
.triggers { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 8px; }
.triggers li { padding: 12px 16px; background: var(--brand-tint); border-left: 3px solid var(--brand-mid); color: var(--ink); font-weight: 500; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps::before { content: ''; position: absolute; top: 21px; left: 22px; right: 22px; height: 2px; background: var(--brand-line); }
.steps li { position: relative; display: flex; flex-direction: column; gap: 18px; }
.steps .num { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--white); font-weight: 700; box-shadow: 0 0 0 6px var(--white); }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); font-size: .97rem; }
.steps .step-out { margin-top: 12px; color: var(--brand); font-weight: 600; }
.steps--compact { grid-template-columns: 1fr; gap: 0; }
.steps--compact::before { top: 22px; bottom: 22px; left: 17px; right: auto; width: 2px; height: auto; }
.steps--compact li { flex-direction: row; gap: 18px; padding: 10px 0; }
.steps--compact .num { width: 36px; height: 36px; font-size: .9rem; box-shadow: 0 0 0 5px var(--brand-tint); }
.steps--compact h3 { font-size: 1.05rem; margin-bottom: 2px; }
.steps--compact p { font-size: .95rem; }
.chain { list-style: none; margin: 0; padding: 0 0 34px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; position: relative; counter-reset: c; }
.chain li { position: relative; text-align: center; padding: 18px 10px; border-radius: 12px; background: var(--brand-tint); border: 1.5px solid var(--brand-line); color: var(--ink); font-weight: 700; font-size: 1.05rem; }
.chain li:not(:last-child)::after { content: ''; position: absolute; right: -20px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border: solid var(--brand-mid); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.chain::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: 0; height: 22px; border: 2px solid var(--brand-mid); border-top: 0; border-radius: 0 0 16px 16px; }
.chain::before { content: ''; position: absolute; left: calc(10% - 5px); bottom: 15px; width: 10px; height: 10px; border: solid var(--brand-mid); border-width: 2px 0 0 2px; transform: rotate(45deg); z-index: 1; }
.chain-note { margin-top: 28px; max-width: 640px; font-size: 1.12rem; color: var(--ink-2); }
.attrs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.attrs > div { padding: 20px 0; border-top: 1px solid var(--brand-line); }
.attrs dt { font-weight: 700; color: var(--brand); font-size: 1.15rem; margin-bottom: 4px; }
.attrs dd { margin: 0; color: var(--ink-2); }
.statement-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.statement-side p { font-size: 1.1rem; font-weight: 400; color: #E4EEF7; max-width: none; letter-spacing: 0; line-height: 1.6; margin-bottom: 24px; }
.statement-side .statement-note { font-size: .92rem; margin: 22px 0 0; }
.statement-side a:not(.btn) { color: var(--white); }
.compliance-teaser .split--wide { align-items: center; }
.compliance-teaser .btn { margin-top: 12px; }

/* ---------- Aviso, redes y normativa ---------- */
.notice { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-size: .9rem; font-weight: 500; text-decoration: none; transition: border-color .2s; }
.notice:hover { border-color: var(--steel); }
.tag--new { color: var(--white); background: var(--steel); }
.social-bar { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.social-bar a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s; }
.social-bar a:hover { border-color: var(--steel); color: var(--steel); }
.social-bar .ico { width: 16px; height: 16px; color: var(--steel); }
.social-bar .ico-whatsapp { color: #1A8D4A; }
.callout { margin-top: 24px; max-width: 62ch; padding: 16px 18px; border-left: 3px solid var(--brand-mid); background: var(--white); border-radius: 0 10px 10px 0; font-size: .98rem; }
.callout a { font-weight: 600; color: var(--brand); }
.norm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.norm { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 30px 32px; }
.norm header { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.norm-id { font-weight: 700; color: var(--steel); font-size: .95rem; margin-bottom: 4px; }
.norm h3 { margin-bottom: 4px; }
.norm-date { font-size: .9rem; color: var(--muted); }
.norm-points { list-style: none; margin: 0 0 18px; padding: 0; }
.norm-points li { position: relative; padding: 5px 0 5px 20px; font-size: .97rem; }
.norm-points li::before { content: ''; position: absolute; left: 2px; top: .9em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-mid); }
.norm-do { margin-top: auto; padding: 14px 16px; background: var(--brand-tint); border-radius: 10px; font-size: .95rem; color: var(--ink-2); }
.norm-do strong { color: var(--brand); }

.tag--upcoming { color: #8A5A00; background: #FCF1DC; }
.norm-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; margin-bottom: 40px; }
.norm-col h3 { font-size: 1rem; margin-bottom: 10px; }
.norm-col h3 a { color: var(--ink); text-decoration: none; }
.norm-col h3 a:hover { color: var(--steel); text-decoration: underline; }
.norm-list { list-style: none; margin: 0; padding: 0; }
.norm-list a { position: relative; display: flex; flex-direction: column; padding: 10px 26px 10px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink-2); }
.norm-list a:hover strong { text-decoration: underline; }
.norm-list strong { color: var(--steel); font-size: .95rem; }
.norm-list span { font-size: .88rem; line-height: 1.4; }
.norm-list .ico { position: absolute; right: 2px; top: 14px; width: 13px; height: 13px; color: var(--steel); }
.area-link { display: inline-block; margin-top: 4px; font-size: .9rem; font-weight: 600; color: var(--steel); }
.lib-meta { margin-top: 18px; max-width: 62ch; font-size: .95rem; color: var(--muted); }
.lib-nav { position: sticky; top: 77px; z-index: 10; margin: -16px 0 40px; padding: 12px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.lib-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.lib-nav a { display: block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.lib-nav a:hover { border-color: var(--steel); color: var(--steel); }
.lib-group { padding: 8px 0 48px; scroll-margin-top: 150px; }
.lib-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin-bottom: 20px; }
.lib-group-head h2 { margin: 0; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.lib-group-head p { margin: 0; color: var(--muted); }
.lib-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lib-item { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; }
.lib-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 8px; }
.lib-head .norm-id { margin: 0; }
.lib-item h3 { font-size: 1.08rem; line-height: 1.35; margin-bottom: 4px; }
.lib-why { margin: 12px 0 16px; font-size: .96rem; color: var(--ink-2); }
.lib-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-weight: 600; font-size: .95rem; color: var(--steel); }
.lib-link .ico { width: 13px; height: 13px; }
.lib-src { margin: 6px 0 0; font-size: .8rem; color: var(--muted); }
.lib-disclaimer { max-width: 70ch; font-size: .92rem; color: var(--muted); margin-top: 8px; }
.cta-band--c { background: var(--brand); color: #E4EEF7; }

/* ---------- Plataforma ---------- */
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
.pillars li { position: relative; padding: 28px 0 32px 0; border-top: 1px solid #BFD6E7; }
.pillars li::before { content: ''; position: absolute; top: -1px; left: 0; width: 36px; height: 3px; background: var(--sky); }
.pillars h3 { font-size: 1.12rem; }
.pillars p { color: var(--ink-2); font-size: .98rem; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-col { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 32px 36px; }
.compare-col h3 { margin-bottom: 16px; }
.compare-col--p { background: var(--ink); border-color: var(--ink); color: var(--white); }
.compare-col--p h3 { color: var(--white); }
.compare-col--p .plain-list li { border-top-color: rgba(140,203,238,.2); }
.cta-band { padding: 72px 0; }
.cta-band--p { background: var(--steel-dark); color: var(--on-dark); }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band-inner p { max-width: 56ch; }
.cta-band-inner .btn { flex: none; }

/* ---------- Conversión: WhatsApp flotante, fuentes, oferta, públicos ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #1A8D4A; color: var(--white); font-weight: 700; font-size: .95rem; text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,.25); transition: transform .2s, background-color .2s; }
.wa-float:hover { background: #157A3F; transform: translateY(-2px); }
.wa-float .ico { width: 24px; height: 24px; }
.sources { margin-top: 20px; font-size: .86rem; color: var(--muted); }
.sources p { margin: 0 0 6px; font-weight: 700; color: var(--ink); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.sources ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sources a { color: var(--muted); text-underline-offset: 3px; }
.sources a:hover { color: var(--steel); }
.risk-guide { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: .94rem; color: var(--steel); text-decoration: none; }
.risk-guide:hover { text-decoration: underline; }
.risk-guide .ico, .flow-link .ico { width: 13px; height: 13px; }
.hero-note { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.flow-price { margin: 0 0 10px; font-size: 1.15rem; font-weight: 800; color: var(--steel); letter-spacing: -.01em; }
.flow-step--p .flow-price { color: var(--sky-on-dark); }
.audiences { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.audiences li { display: flex; flex-direction: column; padding: 26px; border-radius: 16px; border: 1.5px solid var(--brand-line); background: var(--paper); }
.audiences p { color: var(--ink-2); margin-bottom: 16px; }
.form-privacy { margin: 18px 0 0; font-size: .85rem; color: var(--muted); }
.offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 28px; padding: 28px 30px; border-radius: 18px; background: var(--ink); color: var(--on-dark); }
.offer > div:first-child { max-width: 560px; }
.offer-price { margin: 0 0 6px; font-size: 1.5rem; font-weight: 800; color: var(--white); letter-spacing: -.015em; }
.offer-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.offer .btn--ghost { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.eyebrow--dark { color: var(--steel); }
.audit-list--plain li { display: block; padding: 12px 0; }
.audit-foot a { color: var(--brand); }
.goals--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Autoevaluación ---------- */
.quiz-wrap { max-width: 820px; }
.quiz { display: grid; gap: 16px; }
.q { margin: 0; padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.q legend { float: left; width: 100%; padding: 0; margin-bottom: 16px; font-weight: 600; color: var(--ink); font-size: 1.05rem; line-height: 1.4; }
.q legend + * { clear: both; }
.q-num { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; background: var(--steel); color: var(--white); font-size: .82rem; font-weight: 700; vertical-align: 1px; }
.q-area { display: block; margin-bottom: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: inline-block; padding: 10px 16px; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--white); color: var(--ink); font-size: .95rem; font-weight: 500; line-height: 1.3; transition: border-color .15s, background-color .15s; }
.opt:hover span { border-color: var(--steel); }
.opt input:checked + span { border-color: var(--steel); background: var(--steel); color: var(--white); }
.opt input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.quiz-foot { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; background: var(--paper); border-top: 1px solid var(--line); }
.quiz-progress { margin: 0; font-weight: 600; color: var(--ink); }
.quiz-error { margin: 0; color: #9B2C20; font-weight: 600; }
.quiz-result { display: grid; gap: 28px; }
.quiz-result:focus { outline: none; }
.rx--result { padding-bottom: 12px; }
.result-title { margin: 16px 0 0; font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.rx-fix { color: var(--ink-2) !important; font-weight: 500 !important; }
.result-cta { padding: 30px; border-radius: 18px; background: var(--ink); color: var(--on-dark); }
.result-cta h2 { color: var(--white); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.result-cta strong { color: var(--white); }
.result-cta .actions { margin-top: 20px; }
.result-cta .btn--ghost { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }

/* ---------- Guías ---------- */
.guides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.guides a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%; padding: 28px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); transition: border-color .2s; }
.guides a:hover { border-color: var(--steel); }
.guides h2 { font-size: 1.3rem; margin: 0; }
.guides p { font-size: .96rem; }
.guides .flow-link { margin-top: auto; }
.answer { margin: 20px 0 0; max-width: 70ch; padding: 18px 20px; border-left: 4px solid var(--steel); background: var(--white); border-radius: 0 12px 12px 0; font-size: 1.08rem; line-height: 1.55; color: var(--ink); }
.guide { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.guide-sec { margin-bottom: 36px; }
.guide-sec h2 { font-size: 1.45rem; }
.guide-aside { position: sticky; top: 100px; padding: 26px; border-radius: 18px; background: var(--brand-tint); border: 1.5px solid var(--brand-line); }
.guide-aside-title { font-weight: 700; color: var(--ink); font-size: 1.15rem; margin-bottom: 6px; }
.guide-aside .btn { width: 100%; margin: 8px 0 14px; }
.guide-aside-or { font-size: .92rem; color: var(--muted); margin-bottom: 4px; }
.guide-disclaimer { padding-top: 24px; padding-bottom: 40px; font-size: .88rem; color: var(--muted); }

/* ---------- Texto legal (privacidad) ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 36px; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.fill { background: #FCF1DC; color: #8A5A00; padding: 1px 4px; border-radius: 4px; font-weight: 600; }
.table-wrap { overflow-x: auto; margin-bottom: 1em; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--line); }
.legal-table thead th { background: var(--paper); color: var(--ink); font-size: .85rem; }

/* ---------- Reglamentos (servicios) ---------- */
.serv-list { display: grid; gap: 56px; }
.serv { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; scroll-margin-top: 110px; }
.serv img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.serv h3 { font-size: 1.35rem; line-height: 1.3; max-width: 34ch; }
.serv p { color: var(--muted); max-width: 64ch; }
.signed { margin: 0; align-self: center; }
.signed figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.signed figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; }
.section--tint-c .checklist li::before { border-color: var(--brand-mid); }

/* ---------- Perfil ---------- */
.wide-figure { margin: 0 0 56px; }
.wide-figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 18px; }
.wide-figure figcaption { margin-top: 12px; color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.25fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand img { width: 72px; height: 72px; margin-bottom: 14px; }
.footer-brand p { font-size: .95rem; color: var(--muted); max-width: 30ch; }
.footer-title { font-size: .95rem; margin-bottom: 14px; letter-spacing: 0; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.footer-links li, .footer-contact li { margin-bottom: 9px; }
.footer-links a, .footer-contact a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--steel); text-decoration: underline; }
.footer-contact li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact .ico { width: 15px; height: 15px; color: var(--steel); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; }

/* ---------- Animación (un solo momento: el ciclo) ---------- */
.anim { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim, .step { opacity: 1 !important; transition: none !important; }
}

/* ---------- Escritorio angosto (≤1180px) ---------- */
@media (max-width: 1180px) {
  .header-inner { gap: 20px; }
  .menu { gap: 0; }
  .menu a { padding: 8px 9px; font-size: .92rem; }
  .engines-grid { grid-template-columns: 1fr; }
  .engines-copy { max-width: 640px; }
}

/* ---------- Tablet (≤1024px) ---------- */
@media (max-width: 1024px) {
  .header-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .header-inner { gap: 16px; }
  .hero { padding: 72px 0 80px; }
  .hero--plataforma { padding: 96px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy h1 { max-width: 20ch; }
  .eco { max-width: 620px; width: 100%; margin: 0 auto; }
  .hero--complices .hero-photo { max-width: 620px; }
  .section { padding: 80px 0; }
  .problem-list, .specialties, .pillars { grid-template-columns: 1fr 1fr; }
  .solution-body { padding: 28px 24px 30px; }
  .engines-grid { grid-template-columns: 1fr; }
  .engines-copy { max-width: 640px; }
  .reg-list { grid-template-columns: repeat(3, 1fr); }
  .norm-cols { grid-template-columns: 1fr 1fr; }
  .lib-nav { top: 77px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .risks { grid-template-columns: 1fr; }
  .audiences, .guides { grid-template-columns: 1fr; max-width: 640px; }
  .goals--4 { grid-template-columns: 1fr 1fr; }
  .guide { grid-template-columns: 1fr; gap: 32px; }
  .guide-aside { position: static; max-width: 560px; }
  .status { grid-template-columns: 1fr; gap: 28px; max-width: 640px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .flow-step:not(:last-child)::after { display: none; }
  .goals { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
  .goals li { padding: 22px; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero--plataforma .pm { max-width: 560px; }
  .more-risks ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps:not(.steps--compact)::before { display: none; }
  .chain { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .chain li { font-size: .92rem; padding: 16px 4px; }
  .chain li:not(:last-child)::after { right: -15px; }
  .statement-split { grid-template-columns: 1fr; gap: 28px; }
  .founder-grid { grid-template-columns: 280px 1fr; gap: 40px; }
  .founder-grid--hero { grid-template-columns: 1fr 280px; }
  .serv { grid-template-columns: 220px 1fr; gap: 32px; }
  .split { gap: 40px; }
  .contact-grid { gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ---------- Móvil (≤767px) ---------- */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .brand img { width: 44px; height: 44px; }
  .brand-text span { display: none; }
  .header-inner { min-height: 64px; }
  .hero { padding: 56px 0 64px; }
  .hero--plataforma { padding: 72px 0 80px; }
  .hero--page { padding: 56px 0 48px; }
  .actions .btn { flex: 1 1 auto; }
  .eco-pans { grid-template-columns: 1fr; margin-top: 36px; }
  .eco-pans::before, .eco-pans::after, .eco-pan::before { display: none; }
  .eco-top::after { height: 36px; }
  .eco-pan .kicker { min-height: 0; }
  .eco-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; font-size: .9rem; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .problem-list, .specialties, .pillars, .solution-pair, .audience-pair, .split, .split--wide, .compare, .testimonials, .contact-grid, .reg-list { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .audience, .compare-col, .contact-form, .testimonials figure { padding: 26px 22px; }
  .founder-grid, .founder-grid--hero { grid-template-columns: 1fr; gap: 32px; }
  .founder-grid--hero .founder-photo { order: -1; max-width: 300px; }
  .founder-photo { max-width: 340px; }
  .serv { grid-template-columns: 1fr; gap: 20px; }
  .serv img { aspect-ratio: 16 / 9; }
  .statement { padding: 64px 0; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .wide-figure img { aspect-ratio: 16 / 10; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .map-band .map { height: 260px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .more-risks ul { grid-template-columns: minmax(0, 1fr); }
  .rx-foot { margin: 0 -16px; padding: 12px 16px 14px; }
  .goals { grid-template-columns: 1fr; }
  .goals--4 { grid-template-columns: 1fr; }
  .wa-float { right: 14px; bottom: 14px; padding: 13px; }
  .wa-float span { display: none; }
  .q { padding: 20px 18px; }
  .opts { flex-direction: column; }
  .opt span { display: block; }
  .offer { padding: 24px 20px; }
  .result-cta { padding: 24px 20px; }
  .guides a { padding: 22px; }
  .vs, .vs tbody, .vs tr, .vs th, .vs td { display: block; width: auto !important; }
  .vs thead { display: none; }
  .vs tbody tr { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); }
  .vs tbody th, .vs td { padding: 0; border: 0; }
  .vs tbody th { margin-bottom: 10px; }
  .vs td { padding: 10px 14px; border-radius: 10px; }
  .vs td::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 2px; color: var(--sky-on-dark); }
  .vs td + td { margin-top: 6px; border-radius: 10px !important; }
  .proof { grid-template-columns: 1fr 1fr; gap: 20px; }
  .flow-step { padding: 24px 20px; }
  .mx, .mx tbody, .mx tr, .mx th, .mx td { display: block; width: auto !important; }
  .mx { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
  .mx thead { display: none; }
  .mx tbody tr { margin-bottom: 14px; border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
  .mx tbody th, .mx td { padding: 14px 18px; }
  .mx tbody th { border-top: 0; }
  .mx td::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 2px; color: var(--muted); }
  .pm-body { padding: 18px 16px 14px; }
  .pm figcaption { padding: 10px 16px 12px; }
  .risk { padding: 22px; }
  .rx { padding: 18px 16px 6px; }
  .rx-row { gap: 10px; }
  .founder--compact .founder-grid { grid-template-columns: 1fr; gap: 20px; }
  .founder--compact .founder-photo { max-width: 140px; }
  .steps li { flex-direction: row; }
  .chain { grid-template-columns: 1fr; gap: 22px; padding: 0 0 0 34px; }
  .chain li { text-align: left; padding: 14px 18px; }
  .chain li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -16px; margin: 0 0 0 -5px; transform: rotate(135deg); }
  .chain::after { left: 0; right: auto; top: 26px; bottom: 26px; width: 22px; height: auto; border: 2px solid var(--brand-mid); border-right: 0; border-radius: 16px 0 0 16px; }
  .chain::before { left: 14px; bottom: auto; top: 21px; transform: rotate(135deg); }
  .attrs, .norm-grid,   .norm { padding: 24px 22px; }
  .social-bar a { padding: 8px 12px; }
  .notice { border-radius: 14px; padding: 8px 12px; gap: 6px 10px; }
  .audit { padding: 24px 20px; }
  .attrs, .norm-grid, .norm-cols, .lib-grid { grid-template-columns: minmax(0, 1fr); }
  .norm, .lib-item { min-width: 0; overflow-wrap: anywhere; }
  .lib-nav { top: 65px; margin-bottom: 28px; }
  .lib-nav ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .lib-nav a { white-space: nowrap; }
  .lib-item, .norm { padding: 20px; }
  /* El ciclo pasa a ser una lista vertical */
  .cycle { aspect-ratio: auto; max-width: none; }
  .cycle::before { inset: 17px auto 17px 16px; width: 2px; border: 0; border-radius: 0; background: var(--line); }
  .cycle-steps { position: relative; display: grid; gap: 14px; }
  .step, .step--l, .step--r, .step--t, .step--b { position: relative; left: auto; top: auto; transform: none; flex-direction: row; gap: 14px; }
  .step .txt { max-width: none; text-align: left !important; }
  .cycle-center { position: static; padding: 18px 0 0 48px; align-items: flex-start; text-align: left; }
}

.header-cta { white-space: nowrap; }
.brand-text span { white-space: nowrap; }
[hidden] { display: none !important; }
.flow-step:first-child { border-color: var(--steel); box-shadow: 0 0 0 1px var(--steel); }
.flow-step:first-child .flow-price { color: #1F6446; }
.offer-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; flex: 1 1 520px; }
.offer-tiers p:not(.offer-price) { margin: 0; }
.offer-price { font-size: 1.2rem !important; }
@media (max-width: 767px) { .flow { grid-template-columns: 1fr; } .offer-tiers { grid-template-columns: 1fr; } }
/* Oferta: diagnóstico gratuito vs informe en derecho */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 920px; }
.plan { display: flex; flex-direction: column; padding: 30px 30px 32px; border-radius: 18px; background: var(--white); border: 1.5px solid var(--line); }
.plan--hl { border-color: var(--steel); box-shadow: 0 0 0 1px var(--steel), 0 18px 40px rgba(14,39,64,.08); }
.plan h3 { font-size: 1.3rem; margin-bottom: 6px; }
.plan-price { margin: 0 0 6px; font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--steel); }
.plan:first-child .plan-price { color: #1F6446; }
.plan-for { color: var(--muted); margin-bottom: 18px; }
.plan-list { list-style: none; margin: 0 0 26px; padding: 0; }
.plan-list li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid var(--line); line-height: 1.4; }
.plan-list li::before { position: absolute; left: 2px; top: 10px; font-weight: 800; }
.plan-list li.yes { color: var(--ink); font-weight: 500; }
.plan-list li.yes::before { content: '✓'; color: #1F6446; }
.plan-list li.no { color: #9AA6B2; }
.plan-list li.no::before { content: '—'; color: #B8C2CC; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.after { margin-top: 36px; max-width: 920px; }
.after-title { font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.after-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.after-list li { padding-top: 16px; border-top: 3px solid var(--brand-line); }
.next-step { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 6px; }
.next-step strong { font-size: 1.1rem; }
.next-step span { font-size: .88rem; font-weight: 700; color: var(--steel); }
.after-list p:not(.next-step) { color: var(--ink-2); font-size: .96rem; margin-bottom: 10px; }
@media (max-width: 767px) { .plans, .after-list { grid-template-columns: 1fr; } .plan { padding: 24px 20px 26px; } .plan .btn { align-self: stretch; } }
.privacy-note { display: flex; gap: 12px; align-items: flex-start; max-width: 860px; margin: -24px 0 36px; padding: 16px 20px; border-radius: 12px; background: var(--brand-tint); border-left: 4px solid var(--steel); font-size: .95rem; line-height: 1.55; color: var(--ink-2); }
.privacy-note strong { color: var(--ink); }
.testimonials { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.commit-title { margin: 48px 0 18px; font-size: 1.35rem; }
.commits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.commits li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 20px 48px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.commits li::before { content: '✓'; position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--steel); color: var(--white); font-size: .72rem; font-weight: 800; }
.commits strong { color: var(--ink); font-size: 1rem; line-height: 1.3; }
.commits span { font-size: .92rem; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 1024px) { .commits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .commits { grid-template-columns: 1fr; } }
.team-areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.team-areas li { padding: 20px 18px; border-radius: 14px; background: var(--brand-tint); border-top: 3px solid var(--steel); color: var(--ink); font-weight: 700; line-height: 1.3; }
@media (max-width: 1024px) { .team-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .team-areas { grid-template-columns: 1fr 1fr; } }
/* Otros riesgos: cuadro desplegable */
details.more-risks { margin-top: 40px; border: 1.5px solid var(--line-strong); border-left: 4px solid #D68A1A; border-radius: 14px; background: var(--white); }
details.more-risks[open] { border-color: var(--steel); border-left-color: #D68A1A; }
.more-risks summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 20px 60px 20px 24px; position: relative; cursor: pointer; list-style: none; }
.more-risks summary::-webkit-details-marker { display: none; }
.more-risks summary:hover .more-risks-title { color: var(--steel); }
.more-risks-title { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.more-risks-hint { font-size: .88rem; font-weight: 600; color: var(--steel); }
details[open] .more-risks-hint { visibility: hidden; }
.more-risks-icon { position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border: solid var(--steel); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform .2s; }
details[open] .more-risks-icon { transform: rotate(-135deg); margin-top: -2px; }
.more-risks-body { padding: 4px 24px 24px; }
.more-risks-body ul { margin-top: 0; }
@media (max-width: 767px) { .more-risks summary { padding: 18px 48px 18px 18px; } .more-risks-body { padding: 4px 16px 18px; } .more-risks-icon { right: 18px; } }
/* Tres riesgos: tarjetas desplegables */
.risks { align-items: start; }
details.risk { display: block; padding: 0; }
.risk summary { display: block; padding: 26px 28px 22px; cursor: pointer; list-style: none; }
.risk summary::-webkit-details-marker { display: none; }
.risk summary h3 { margin-bottom: 14px; }
.risk-more { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; color: var(--steel); }
.risk-more .more-risks-icon { position: static; width: 9px; height: 9px; margin: -4px 0 0; border-width: 0 2px 2px 0; }
details.risk[open] .risk-more .more-risks-icon { margin-top: 3px; }
.risk summary:hover h3 { color: var(--steel); }
.risk-body { padding: 0 28px 26px; }
.risk-body .risk-help { margin-top: 0; }
details.risk[open] .risk-more { color: var(--muted); }
@media (max-width: 767px) { .risk summary { padding: 22px 22px 18px; } .risk-body { padding: 0 22px 22px; } }
.risk summary h3 { min-height: 2.6em; }
details.fold--blue { margin-top: 32px; border-left-color: var(--steel) !important; }
.founder details.fold--blue { margin-top: 0; }
.founder .more-risks-body.founder-grid { padding-top: 12px; }
.commits-wrap, .more-risks-body .commits { margin: 0; }
.risk summary .risk-tag { min-height: 3.2em; align-items: flex-start; } @media (max-width: 1024px) { .risk summary .risk-tag, .risk summary h3 { min-height: 0; } }
/* Alcance: certificaciones, seguros y planes de emergencia */
.scope { margin: 28px 0; padding: 22px 24px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.scope-title { margin: 0 0 12px; font-weight: 700; color: var(--ink); }
.scope ul { list-style: none; margin: 0 !important; padding: 0; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
.scope li { display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 3px solid var(--steel); }
.scope strong { color: var(--ink); font-size: .98rem; }
.scope span { font-size: .9rem; line-height: 1.45; color: var(--ink-2); }
#alcance { scroll-margin-top: 100px; }
@media (max-width: 1024px) { .scope ul { grid-template-columns: 1fr; } }

/* Inicio breve y página Cómo trabajamos (12 oct. 2026) */
.section-more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }
.privacy-note--flow { margin: 32px 0 0; }
.risks { align-items: stretch; }
.risks--short .risk-guide { margin-top: auto; padding-top: 14px; }
.stat-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 20px; }
.stat-cards li { padding: 22px 24px; border-radius: 16px; background: var(--brand-tint); border: 1.5px solid var(--brand-line); }
.stat-cards strong { display: block; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); line-height: 1.1; font-weight: 800; color: var(--brand); letter-spacing: -.02em; margin-bottom: 4px; }
.stat-cards span { color: var(--ink-2); font-weight: 600; }
/* Sin formulario conectado, el recuadro no se muestra: los datos de contacto ya están a la izquierda */
.contact-form:has(#vp-widget-root:empty) { display: none; }
/* Biblioteca normativa: circulares de la Secretaría Ejecutiva de Condominios (12 oct. 2026) */
.tag--off { color: var(--muted); background: var(--paper); }
.circulares { margin-top: 28px; }
.circ-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.circ-list a { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; }
.circ-list strong { color: var(--steel); }
.circ-list .tag { margin-top: auto; }
.goals + .wide-figure { margin-top: 32px; }
.audiences--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 767px) { .audiences--2 { grid-template-columns: 1fr; } }
/* VentaPlay (21 oct. 2026): el formulario trae su propia tarjeta; el contenedor no suma fondo ni relleno */
.contact-form:has(#vp-formulario) { padding: 0; background: transparent; min-height: 480px; }
.contact-form:has(#vp-formulario) .form-privacy { padding: 12px 8px 0; color: var(--on-dark); }
.contact-form:has(#vp-formulario) .form-privacy a { color: var(--sky-on-dark); }
