/* ═══════════════════════════════════════════════════════════════
   CONFIRMER360 · SISTEMA VISUAL V2 (oct 2026)
   Capa global que se carga desde components/menu.php después de
   styles.css y de los <style> del <head> de cada página.
   Inspiración: CLM enterprise (tipografía Albert Sans, navy + azul +
   menta, bandas alternadas, títulos con peso medio, CTA menta).
   Mantiene los colores de marca Confirmer360.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Tokens v2 */
  --v2-navy: #06122E;
  --v2-navy-2: #0B1F4D;
  --v2-indigo: #13307E;
  --v2-blue: #1B65E3;
  --v2-blue-2: #3B7BFF;
  --v2-violet: #7C8CFF;
  --v2-mint: #00C9A7;
  --v2-mint-2: #3EDCB0;
  --v2-mint-deep: #00A88A;
  --v2-lav: #E3EAFF;
  --v2-lav-2: #EEF2FF;
  --v2-surface: #F6F8FF;
  --v2-head: #0B1F4D;
  --v2-text: #52617A;
  --v2-line: #E1E7F5;
  --v2-font: 'Albert Sans', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Remapeo de las variables del sitio para que todo herede la paleta */
  --ink: #0B1F4D;
  --ink-light: #2A3B66;
  --surface: #F6F8FF;
  --surface-warm: #EEF2FF;
  --border: #E1E7F5;
  --primary-wash: #EEF2FF;
  --accent-wash: #E0FBF5;
  --radius-sm: 6px;
  --shadow-md: 0 8px 24px rgba(11, 31, 77, .08);
  --shadow-lg: 0 18px 44px rgba(11, 31, 77, .10);
  --shadow-xl: 0 30px 70px rgba(11, 31, 77, .14);
}

/* ─── Tipografía base ─── */
body { font-family: var(--v2-font); color: var(--v2-head); }
h1, h2, h3, h4, h5, h6 { font-family: var(--v2-font); }
p { color: inherit; }
input, select, textarea, button { font-family: inherit; }

/* Tipografías antiguas forzadas con style="" → Albert Sans */
[style*="font-family: 'Outfit'"], [style*="font-family:'Outfit'"], [style*="font-family: Outfit"],
[style*="font-family:Outfit"] { font-family: var(--v2-font) !important; }

/* ─── Botones ─── */
.btn { font-family: var(--v2-font); font-weight: 700; border-radius: 6px; letter-spacing: .005em; }
.btn--lg { border-radius: 6px; padding: 16px 30px; }
.btn--primary, .btn--accent {
  background: var(--v2-mint); color: var(--v2-navy); border: 2px solid var(--v2-mint); box-shadow: none;
}
.btn--primary:hover, .btn--accent:hover {
  background: var(--v2-mint-2); border-color: var(--v2-mint-2); color: var(--v2-navy);
  box-shadow: 0 10px 26px rgba(0, 201, 167, .32);
}
.btn--outline { background: transparent; color: var(--v2-indigo); border: 2px solid var(--v2-indigo); }
.btn--outline:hover { background: var(--v2-indigo); border-color: var(--v2-indigo); color: #fff; }

.btn--ghost { border-radius: 6px; }

/* Botones en fondos oscuros */
.sec-dark .btn--outline, .sec-cta-pro .btn--outline, .leadmagnet .btn--outline, .cta-final .btn--outline,
.iso2026 .btn--outline, .ai-section .btn--outline, footer .btn--outline, .v2-dark .btn--outline {
  background: transparent !important; color: #fff !important; border-color: rgba(255, 255, 255, .85) !important;
}
.sec-dark .btn--outline:hover, .sec-cta-pro .btn--outline:hover, .leadmagnet .btn--outline:hover,
.cta-final .btn--outline:hover, .iso2026 .btn--outline:hover, .v2-dark .btn--outline:hover {
  background: rgba(255, 255, 255, .1); border-color: #fff;
}
.guia-content .btn--primary { color: var(--v2-navy) !important; }

/* ─── Barra superior y navegación ─── */
#ley-countdown-bar { background: var(--v2-navy) !important; font-family: var(--v2-font); }
#ley-countdown-bar:hover { background: var(--v2-indigo) !important; }
#ley-countdown-bar .ley-cd-cta { background: var(--v2-mint) !important; color: var(--v2-navy) !important; }

nav { background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--v2-line); }
nav.scrolled { box-shadow: 0 3px 14px rgba(11, 31, 77, .08); }
.nav-links a, .dropdown-trigger { font-family: var(--v2-font); font-size: 15px; font-weight: 600; color: var(--v2-head); }
.nav-links a:hover, .dropdown-trigger:hover { color: var(--v2-blue); }
nav .btn--outline { background: transparent; color: var(--v2-head); border: 1.5px solid var(--v2-head); }
nav .btn--outline:hover { background: var(--v2-head); color: #fff; }
nav .btn--primary { color: var(--v2-navy); }
.mega-menu { font-family: var(--v2-font); border-radius: 14px; }
.mega-item strong { color: var(--v2-head); }
.split-tab.active { color: var(--v2-blue); }
.nav-toggle span { background: var(--v2-head); }

/* Home: navegación transparente sobre el hero oscuro (solo escritorio) */
@media (min-width: 1101px) {
  body.v2-home nav:not(.scrolled) { background: transparent; border-bottom-color: rgba(255, 255, 255, .08); backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.v2-home nav:not(.scrolled) .nav-logo img { filter: brightness(0) invert(1); }
  body.v2-home nav:not(.scrolled) .nav-links > a,
  body.v2-home nav:not(.scrolled) .nav-links > .nav-dropdown > .dropdown-trigger { color: rgba(255, 255, 255, .92); }
  body.v2-home nav:not(.scrolled) .nav-links > a:hover,
  body.v2-home nav:not(.scrolled) .nav-links > .nav-dropdown > .dropdown-trigger:hover { color: #fff; }
  body.v2-home nav:not(.scrolled) .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .75); background: transparent; }
}

/* ─── Etiquetas / eyebrows ─── */
.tag:not([style*="background"]), .sec-eyebrow:not([style*="background"]), .df-eyebrow {
  background: none !important; border: 0 !important; padding: 0 !important; border-radius: 0 !important;
}
.tag, .sec-eyebrow, .df-eyebrow {
  font-family: var(--v2-font); font-size: 13px !important; font-weight: 700 !important;
  letter-spacing: .14em !important; text-transform: uppercase; color: var(--v2-blue); box-shadow: none !important;
}
.tag--accent { color: var(--v2-mint-deep); }
.sec-dark .tag, .sec-dark .sec-eyebrow, .leadmagnet .tag, .iso2026 .tag, .v2-dark .tag, .v2-dark .df-eyebrow,
.v2-demo .df-eyebrow, .ai-section .tag, .cta-final .tag, .cta-final .sec-eyebrow { color: var(--v2-mint-2) !important; }
.sec-cta-pro .tag, .sec-cta-pro .sec-eyebrow { color: #fff !important; }
.sec-eyebrow > span:first-child[style*="border-radius"], .tag > span:first-child[style*="border-radius"] { display: none; }

/* ─── HERO de páginas internas: claro, lavanda, títulos navy ─── */
.hero {
  background:
    radial-gradient(ellipse 55% 60% at 50% -10%, rgba(124, 140, 255, .22) 0%, rgba(124, 140, 255, 0) 70%),
    radial-gradient(ellipse 40% 40% at 95% 30%, rgba(0, 201, 167, .10) 0%, rgba(0, 201, 167, 0) 70%),
    linear-gradient(180deg, var(--v2-lav-2) 0%, var(--v2-surface) 55%, #fff 100%) !important;
}
.hero::after { background: linear-gradient(90deg, transparent, var(--v2-line), transparent); }
.hero h1 {
  font-family: var(--v2-font); font-weight: 700; letter-spacing: -.005em; color: var(--v2-head);
  font-size: clamp(30px, 3.8vw, 48px); line-height: 1.14;
}
.hero-sub { color: var(--v2-text) !important; font-size: 18px; }
.hero-badge {
  background: rgba(27, 101, 227, .08) !important; border: 1px solid rgba(27, 101, 227, .14) !important;
  color: var(--v2-blue) !important; font-family: var(--v2-font); font-size: 12.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; border-radius: 999px;
}
.hero-badge .dot { background: var(--v2-mint) !important; }
.hero-mockup { border-radius: 14px; box-shadow: 0 30px 70px rgba(11, 31, 77, .18), 0 0 0 1px var(--v2-line); }

.hero .txt-rotate { color: var(--v2-blue) !important; }

/* ─── Encabezados de sección ─── */
.section-header h2, .paingain h2, .modules h2, .faq h2, .pricing h2, .resources h2, .normas h2 {
  font-family: var(--v2-font); font-weight: 600; letter-spacing: 0; color: var(--v2-head);
  font-size: clamp(28px, 3.1vw, 40px); line-height: 1.18;
}
.section-header p { color: var(--v2-text); }
.section-header { max-width: 760px; }

/* ─── Bandas de color ─── */
.modules, .faq, .sec-slate, .pricing { background: var(--v2-surface); }
.sec-gradient-blue { background: linear-gradient(180deg, var(--v2-lav-2) 0%, #fff 100%); }
.sec-grid-bg { background-color: #fff; }

.sec-dark, .leadmagnet, .iso2026 {
  background:
    radial-gradient(ellipse 50% 60% at 85% 0%, rgba(59, 123, 255, .28) 0%, rgba(59, 123, 255, 0) 70%),
    linear-gradient(180deg, var(--v2-navy) 0%, var(--v2-indigo) 100%) !important;
}
.sec-cta-pro {
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(142, 155, 255, .45) 0%, rgba(142, 155, 255, 0) 70%),
    linear-gradient(135deg, var(--v2-indigo) 0%, #1B4FD0 60%, #2F5FE6 100%) !important;
}

/* CTA final: banda navy como cierre */
.cta-final {
  background:
    radial-gradient(ellipse 45% 70% at 15% 100%, rgba(0, 201, 167, .16) 0%, rgba(0, 201, 167, 0) 70%),
    linear-gradient(180deg, var(--v2-indigo) 0%, var(--v2-navy) 100%) !important;
  color: rgba(255, 255, 255, .8);
}
.cta-final h2 { font-family: var(--v2-font); font-weight: 400; color: #fff; letter-spacing: 0; font-size: clamp(30px, 3.4vw, 44px); }
.cta-final p, .cta-final .cta-note { color: rgba(255, 255, 255, .76) !important; }
.cta-final p a { color: var(--v2-mint-2) !important; }
.cta-final.sec-cta-pro { background: radial-gradient(ellipse 50% 80% at 100% 0%, rgba(142, 155, 255, .45) 0%, rgba(142, 155, 255, 0) 70%), linear-gradient(135deg, var(--v2-indigo) 0%, #1B4FD0 60%, #2F5FE6 100%) !important; }

/* ─── Tarjetas ─── */
.module-card, .pain-card, .gain-card, .benefits-pro-card, .price-card, .resource-card, .pb-card,
.testimonial, .partner-stats .ps-item {
  border: 1px solid var(--v2-line); border-radius: 14px; box-shadow: none;
}
.module-card:hover, .pain-card:hover, .gain-card:hover, .benefits-pro-card:hover, .resource-card:hover, .pb-card:hover {
  box-shadow: 0 18px 40px rgba(11, 31, 77, .08); border-color: rgba(27, 101, 227, .25);
}
.module-card h3, .pain-card h3, .gain-card h3, .benefits-pro-card h3, .price-card h3, .resource-card h3, .ai-card h3 {
  font-family: var(--v2-font); font-weight: 700;
}
.module-icon, .pg-icon, .benefits-pro-icon, .pb-icon { border-radius: 12px; }
.glass-card { border-radius: 14px; }
.sec-dark .module-card, .sec-dark .gain-card, .sec-dark .pain-card { border-color: rgba(255, 255, 255, .1); }
.price-card.popular, .price-card.featured { border-color: var(--v2-blue); box-shadow: 0 24px 60px rgba(27, 101, 227, .14); }
.popular-badge { background: var(--v2-mint) !important; color: var(--v2-navy) !important; }
.price-amount, .price-value { font-family: var(--v2-font); color: var(--v2-head); }

/* ─── FAQ numerada estilo lista ─── */
.faq-list { counter-reset: v2q; max-width: 960px; margin-left: auto; margin-right: auto; border-top: 1px solid var(--v2-line); gap: 0 !important; }
.faq-item, .faq-item.glass-card {
  counter-increment: v2q; background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--v2-line) !important;
  border-radius: 0 !important; box-shadow: none !important; backdrop-filter: none !important; margin: 0 !important;
}
.faq-question { padding: 22px 6px; gap: 14px; justify-content: flex-start; font-family: var(--v2-font); font-size: 17px; font-weight: 600; color: var(--v2-head); }
.faq-question::before { content: counter(v2q) "."; color: var(--v2-blue); font-weight: 700; min-width: 26px; flex-shrink: 0; }
.faq-question > span { flex: 1; }
.faq-icon {
  font-size: 0 !important; width: 10px !important; height: 10px !important; background: none !important; border-radius: 0 !important;
  border-right: 2px solid var(--v2-blue); border-bottom: 2px solid var(--v2-blue); transform: rotate(-45deg) !important;
  flex-shrink: 0; margin-right: 6px; color: transparent !important;
}
details[open] .faq-icon { transform: rotate(45deg) !important; }
.faq-answer { padding: 0 36px 24px 46px; font-size: 16px; color: var(--v2-text); line-height: 1.7; }
.faq-answer a { color: var(--v2-blue); font-weight: 600; }
.sec-dark .faq-question, .sec-dark .faq-answer { color: #fff; }

/* Acordeones genéricos */
.accordion-item { border-radius: 0; border: 0; border-bottom: 1px solid var(--v2-line); }
.accordion-header { font-family: var(--v2-font); color: var(--v2-head); }

/* ─── Lead magnet / formularios ─── */
.lm-field, .lm-select { border-radius: 6px; }
.lm-submit { background: var(--v2-mint) !important; color: var(--v2-navy) !important; border-radius: 6px; }

/* Formulario de demo (components/demo-form.php) sobre fondo claro */
.df-card { border-radius: 16px; background: linear-gradient(180deg, var(--v2-indigo) 0%, var(--v2-navy) 100%); border: 0; }
.df-card .btn--accent { width: 100%; }
.df-left h2 { font-family: var(--v2-font); font-weight: 600; color: var(--v2-head); }
.df-bullets li .ok { color: var(--v2-mint-deep); }

/* ─── Logos / normas ─── */
.cli-title { font-family: var(--v2-font); color: var(--v2-head) !important; }
.norma-badge { border-radius: 12px; border-color: var(--v2-line); }

/* ─── Breadcrumbs ─── */
.bc-datos, .bc-iso, .bc-guias, .bc-simple, [class^="bc-"] { font-family: var(--v2-font); }

/* ─── Footer navy ─── */
footer { background: var(--v2-navy) !important; color: rgba(255, 255, 255, .62); font-family: var(--v2-font); }
footer .nav-logo { font-family: var(--v2-font); color: #fff; }
footer .nav-logo span { color: var(--v2-mint-2); }
.footer-col h4 { color: #fff; letter-spacing: .12em; }
.footer-col a { color: rgba(255, 255, 255, .66); }
.footer-col a:hover { color: var(--v2-mint-2); }
.footer-info { color: rgba(255, 255, 255, .55) !important; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .08); }

/* ═══ GUÍAS / BLOG (components/guia-styles.php) ═══ */
main:has(> .guia-wrap), main:has(> article.guia-wrap) {
  background: linear-gradient(180deg, var(--v2-lav-2) 0, var(--v2-surface) 260px, #fff 560px);
}
.guia-title { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; }
.guia-meta { font-family: var(--v2-font); color: var(--v2-text); }
.guia-meta .badge-cat, .guia-related-card .badge-cat {
  background: none !important; padding: 0 !important; border-radius: 0 !important; color: var(--v2-blue) !important;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.guia-title { font-family: var(--v2-font); font-weight: 700; color: var(--v2-head); letter-spacing: -.01em; }
.guia-lead { color: var(--v2-text); }
.guia-toc { background: var(--v2-surface); border: 1px solid var(--v2-line); border-left: 3px solid var(--v2-blue); border-radius: 12px; }
.guia-toc__title { color: var(--v2-blue); letter-spacing: .14em; }
.guia-content { font-family: var(--v2-font); color: #3A4A66; }
.guia-content h2, .guia-content h3 { font-family: var(--v2-font); color: var(--v2-head); }
.guia-content h2 { font-weight: 700; }
.guia-content a:not(.btn):not(.guia-related-card) { color: var(--v2-blue); }
.guia-content blockquote { border-left-color: var(--v2-blue); background: var(--v2-surface); }
.guia-content table th { background: var(--v2-lav-2); color: var(--v2-head); }
.callout { border-radius: 12px; }
.callout--info { background: var(--v2-lav-2); border-color: #C9D5FF; color: var(--v2-indigo); }
.guia-figure { border-radius: 14px; background: var(--v2-surface); border-color: var(--v2-line); }
.guia-cta-inline { background: var(--v2-lav-2); border: 1px solid #C9D5FF; border-radius: 14px; }
.guia-cta-final {
  border-radius: 16px;
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(59, 123, 255, .35) 0%, rgba(59, 123, 255, 0) 70%),
    linear-gradient(135deg, var(--v2-indigo) 0%, var(--v2-navy) 100%) !important;
}
.guia-cta-final h3 { font-family: var(--v2-font); color: #fff; }
.guia-related h3 { font-family: var(--v2-font); color: var(--v2-head); }
.guia-related-card { border: 1px solid var(--v2-line); border-radius: 14px; }
.guia-related-card:hover { box-shadow: 0 18px 40px rgba(11, 31, 77, .08); border-color: rgba(27, 101, 227, .25); }
.guia-related-card h4 { font-family: var(--v2-font); color: var(--v2-head); }

/* Índices de guías / webinars / herramientas */
.guia-card, .webinar-card, .tool-card {
  border: 1px solid var(--v2-line) !important; border-radius: 14px !important; box-shadow: none !important; font-family: var(--v2-font);
}
.guia-card:hover, .webinar-card:hover, .tool-card:hover { box-shadow: 0 18px 40px rgba(11, 31, 77, .08) !important; border-color: rgba(27, 101, 227, .25) !important; }
.guia-card h3, .webinar-card h3, .tool-card h3 { font-family: var(--v2-font); color: var(--v2-head); }
.guias-filter-btn { border-radius: 999px; font-family: var(--v2-font); }
.guias-filter-btn.active { background: var(--v2-head) !important; border-color: var(--v2-head) !important; color: #fff !important; }

/* ═══ Índices (guías, webinars, herramientas, tutoriales) y páginas de webinar/tutorial ═══ */
/* Héroe oscuro, coherente con los héroes de módulos (.v2-hero) */
.guias-hero, .web-hero, .tut-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 55% 45% at 50% 8%, rgba(59, 123, 255, .5) 0%, rgba(59, 123, 255, 0) 70%),
    radial-gradient(ellipse 35% 40% at 88% 75%, rgba(0, 201, 167, .16) 0%, rgba(0, 201, 167, 0) 70%),
    radial-gradient(ellipse 35% 40% at 10% 70%, rgba(124, 140, 255, .2) 0%, rgba(124, 140, 255, 0) 70%),
    linear-gradient(180deg, var(--v2-navy) 0%, var(--v2-navy-2) 100%) !important;
}
.guias-hero::before, .web-hero::before, .tut-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 0%, transparent 75%);
}
.guias-hero > *, .web-hero > *, .tut-hero > * { position: relative; z-index: 1; }
.guias-hero { padding: 160px 0 72px !important; }
.web-hero, .tut-hero { padding-bottom: 60px !important; }
.guias-hero h1, .web-hero h1, .tut-hero h1 { font-family: var(--v2-font); font-weight: 400 !important; color: #fff !important; letter-spacing: -.01em; }
.guias-hero p, .web-hero .subtitle, .tut-hero p { color: rgba(255, 255, 255, .78) !important; }
.guias-hero p strong, .web-hero p strong, .tut-hero p strong { color: #fff; }
.guias-hero .badge, .web-hero .badge, .tut-hero .badge {
  background: rgba(255, 255, 255, .08) !important; border: 1px solid rgba(124, 140, 255, .45) !important; color: rgba(255, 255, 255, .92) !important;
  font-family: var(--v2-font); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.guias-hero .badge > span, .web-hero .badge > span, .tut-hero .badge > span { background: var(--v2-mint-2) !important; }
/* Enlaces-botón con color inline oscuro ("¿Aún no conoces…?") */
:is(.guias-hero, .web-hero, .tut-hero) button[style*="background:none"],
:is(.guias-hero, .web-hero, .tut-hero) a[style*="color"] { color: rgba(255, 255, 255, .8) !important; }
:is(.guias-hero, .web-hero, .tut-hero) button[style*="background:none"] span { color: var(--v2-mint-2) !important; }
.guias-hero .container > div[style*="display:flex"] { justify-content: center; }
/* Filtros sobre fondo oscuro */
.guias-hero .guias-filter-btn { background: rgba(255, 255, 255, .06) !important; border: 1px solid rgba(255, 255, 255, .2) !important; color: rgba(255, 255, 255, .86) !important; }
.guias-hero .guias-filter-btn:hover { border-color: var(--v2-mint-2) !important; color: #fff !important; }
.guias-hero .guias-filter-btn.active { background: var(--v2-mint) !important; border-color: var(--v2-mint) !important; color: var(--v2-navy) !important; }

/* Menú transparente sobre estos héroes (igual que body.v2-darkhero) */
@media (min-width: 1101px) {
  body:has(:is(.guias-hero, .web-hero, .tut-hero)) nav#nav:not(.scrolled) { background: transparent; border-bottom-color: rgba(255, 255, 255, .08); backdrop-filter: none; -webkit-backdrop-filter: none; }
  body:has(:is(.guias-hero, .web-hero, .tut-hero)) nav#nav:not(.scrolled) .nav-logo img { filter: brightness(0) invert(1); }
  body:has(:is(.guias-hero, .web-hero, .tut-hero)) nav#nav:not(.scrolled) .nav-links > a,
  body:has(:is(.guias-hero, .web-hero, .tut-hero)) nav#nav:not(.scrolled) .nav-links > .nav-dropdown > .dropdown-trigger { color: rgba(255, 255, 255, .92); }
  body:has(:is(.guias-hero, .web-hero, .tut-hero)) nav#nav:not(.scrolled) .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .75); background: transparent; }
}

/* Migas de webinars y tutoriales flotando sobre el héroe oscuro (mismo patrón que body.v2-crumbhero) */
body:has(:is(.web-hero, .tut-hero)) { --v2-bc-pt: 128px; }
body:has(:is(.web-hero, .tut-hero)) nav.bc-tutos { position: absolute !important; left: 0 !important; right: 0 !important; z-index: 2 !important; margin-top: 0 !important; padding: var(--v2-bc-pt) 0 0 !important; background: transparent !important; border: 0 !important; }
body:has(:is(.web-hero, .tut-hero)) :is(.bc-tutos__list, .bc-tutos__list a) { color: rgba(255, 255, 255, .62) !important; }
body:has(:is(.web-hero, .tut-hero)) .bc-tutos__list a:hover { color: var(--v2-mint-2) !important; }
body:has(:is(.web-hero, .tut-hero)) .bc-tutos__sep { color: rgba(255, 255, 255, .35) !important; }
body:has(:is(.web-hero, .tut-hero)) .bc-tutos__current { color: #fff !important; }
body:has(nav.bc-tutos) :is(.web-hero, .tut-hero) { padding-top: calc(var(--v2-bc-pt) + 62px) !important; }
@media (max-width: 1100px) { body:has(:is(.web-hero, .tut-hero)) { --v2-bc-pt: 138px; } .guias-hero { padding-top: 150px !important; } }
@media (max-width: 600px) { body:has(nav.bc-tutos) :is(.web-hero, .tut-hero) { padding-top: calc(var(--v2-bc-pt) + 76px) !important; } }
.guias-cta, .web-cta, .tut-cta { background: linear-gradient(180deg, var(--v2-surface) 0%, var(--v2-lav-2) 100%) !important; }
.guias-cta h2, .web-cta h2, .tut-cta h2 { font-family: var(--v2-font); font-weight: 600; color: var(--v2-head); }
.web-poster-design { background: linear-gradient(155deg, var(--v2-navy) 0%, var(--v2-indigo) 50%, var(--v2-blue) 100%) !important; }
.web-card, .web-video { border-radius: 14px; }
.web-content h2, .web-content h3 { font-family: var(--v2-font); color: var(--v2-head); }

/* ─── Aviso de vigencia Ley 21.719 (components/aviso-vigencia-21719.php) ─── */
.aviso-vigencia { display: flex; gap: 14px; align-items: flex-start; max-width: 780px; margin: 20px auto; padding: 16px 20px; text-align: left;
  background: var(--v2-lav-2); border: 1px solid #C9D5FF; border-radius: 12px; color: var(--v2-indigo); font-family: var(--v2-font); font-size: 14.5px; line-height: 1.6; }
.aviso-vigencia .callout__icon { font-size: 20px; line-height: 1.3; flex-shrink: 0; }
.aviso-vigencia .callout__body strong { display: block; margin-bottom: 3px; color: var(--v2-head); }
.aviso-vigencia .callout__body b { color: var(--v2-head); }

/* ─── Utilidad: forzar oscuro en cualquier contenedor ─── */
.v2-dark { background: linear-gradient(180deg, var(--v2-navy) 0%, var(--v2-indigo) 100%); color: rgba(255, 255, 255, .82); }
.v2-dark h2, .v2-dark h3 { color: #fff; }

/* ─── Responsive ─── */
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(28px, 7.4vw, 36px); }
  .hero-badge { font-size: 11px; letter-spacing: .06em; }
  /* Grillas con columnas inline y tablas anchas: no desbordar en móvil */
  .modules-grid[style*="grid-template-columns"], .paingain-grid[style*="grid-template-columns"],
  .ai-grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .guia-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
  .faq-question { font-size: 16px; padding: 18px 4px; }
  .faq-answer { padding: 0 6px 20px 40px; }
}


/* ═══════════════════════════════════════════════════════════
   HOME V2 · componentes reutilizables (.v2-*) — movido desde index.php
   ═══════════════════════════════════════════════════════════ */

    /* ═══════════════════════════════════════════════════════════
       HOME V2 — sistema visual inspirado en CLM enterprise:
       hero navy con brillo, tipografía Albert Sans ligera con
       acentos en degradé, bandas de color alternadas, CTA menta.
       Todo está acotado con el prefijo .v2 para no afectar el sitio.
       ═══════════════════════════════════════════════════════════ */
    :root {
      --v2-navy: #06122E;
      --v2-navy-2: #0B1F4D;
      --v2-indigo: #13307E;
      --v2-blue: #1B65E3;
      --v2-blue-2: #3B7BFF;
      --v2-violet: #7C8CFF;
      --v2-mint: #00C9A7;
      --v2-mint-2: #3EDCB0;
      --v2-lav: #E3EAFF;
      --v2-surface: #F6F8FF;
      --v2-head: #0B1F4D;
      --v2-text: #52617A;
      --v2-line: #E1E7F5;
      --v2-font: 'Albert Sans', 'Plus Jakarta Sans', system-ui, sans-serif;
    }

    body.v2 { font-family: var(--v2-font); color: var(--v2-text); background: #fff; }
    .v2 h1, .v2 h2, .v2 h3, .v2 h4 { font-family: var(--v2-font); }
    .v2-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
    .v2-center { text-align: center; }

    /* Botones */
    .v2-btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      font-family: var(--v2-font); font-weight: 700; font-size: 16px; line-height: 1;
      padding: 15px 26px; border-radius: 6px; border: 2px solid transparent;
      text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
    }
    .v2-btn:hover { transform: translateY(-1px); }
    .v2-btn--mint { background: var(--v2-mint); border-color: var(--v2-mint); color: var(--v2-navy); }
    .v2-btn--mint:hover { background: var(--v2-mint-2); border-color: var(--v2-mint-2); box-shadow: 0 8px 24px rgba(0, 201, 167, .35); }
    .v2-btn--ghost { background: transparent; border-color: #fff; color: #fff; }
    .v2-btn--ghost:hover { background: rgba(255, 255, 255, .1); }
    .v2-btn--navy { background: var(--v2-navy); border-color: var(--v2-navy); color: #fff; }
    .v2-btn--navy:hover { background: var(--v2-indigo); border-color: var(--v2-indigo); }
    .v2-btn--line { background: transparent; border-color: var(--v2-blue); color: var(--v2-blue); }
    .v2-btn--line:hover { background: var(--v2-blue); color: #fff; }
    .v2-live { display: inline-flex; align-items: center; gap: 5px; margin-left: 2px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
    .v2-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--v2-mint-2); animation: v2pulse 1.6s infinite; }
    @keyframes v2pulse { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }

    /* Títulos */
    .v2-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--v2-blue); margin-bottom: 14px; }
    .v2-h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; font-weight: 400; letter-spacing: .01em; color: var(--v2-head); margin: 0 0 16px; }
    .v2-h2 b { font-weight: 800; color: var(--v2-blue); }
    .v2-lead { font-size: 18px; line-height: 1.6; color: var(--v2-text); max-width: 720px; margin: 0 auto; }
    .v2-grad { background: linear-gradient(90deg, #A9C1FF 0%, #DFFFF5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }


    /* ═══ 1. HERO ═══ */
    .v2-hero {
      position: relative; overflow: hidden; color: #fff; text-align: center;
      padding: 190px 0 0;
      background:
        radial-gradient(ellipse 55% 45% at 50% 8%, rgba(59, 123, 255, .55) 0%, rgba(59, 123, 255, 0) 70%),
        radial-gradient(ellipse 35% 35% at 88% 70%, rgba(0, 201, 167, .18) 0%, rgba(0, 201, 167, 0) 70%),
        radial-gradient(ellipse 35% 35% at 10% 65%, rgba(124, 140, 255, .22) 0%, rgba(124, 140, 255, 0) 70%),
        linear-gradient(180deg, var(--v2-navy) 0%, var(--v2-navy-2) 100%);
    }
    .v2-hero::before {
      content: ""; position: absolute; inset: 0; pointer-events: none;
      background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
      background-size: 56px 56px;
      -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
      mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
    }
    .v2-hero .v2-wrap { position: relative; z-index: 1; }
    .v2-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: rgba(255, 255, 255, .88); margin-bottom: 26px; }
    .v2-pill .av { display: flex; }
    .v2-pill .av span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--v2-navy); display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; margin-left: -8px; }
    .v2-pill .av span:first-child { margin-left: 0; }
    .v2-pill strong { color: #fff; }
    .v2-pill .sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .25); }
    .v2-hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.12; font-weight: 300; letter-spacing: .01em; color: #fff; max-width: 980px; margin: 0 auto 22px; }
    .v2-hero-sub { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, .78); max-width: 820px; margin: 0 auto 34px; }
    .v2-hero-sub strong { color: #fff; font-weight: 700; }
    .v2-hero-sub a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
    .v2-hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
    .v2-hero-note { font-size: 14px; color: rgba(255, 255, 255, .6); margin-bottom: 56px; }
    .v2-hero-note a { color: var(--v2-mint-2); font-weight: 700; text-decoration: none; }

    .v2-stage { position: relative; max-width: 1020px; margin: 0 auto -150px; z-index: 2; }
    .v2-frame { background: #fff; border-radius: 14px 14px 10px 10px; padding: 0; box-shadow: 0 40px 90px rgba(3, 10, 30, .55), 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; }
    .v2-frame-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #EEF2FA; border-bottom: 1px solid #E1E7F5; }
    .v2-frame-bar span { width: 11px; height: 11px; border-radius: 50%; }
    .v2-frame-bar em { margin-left: 14px; flex: 1; max-width: 360px; height: 22px; border-radius: 6px; background: #fff; border: 1px solid #E1E7F5; font-style: normal; font-size: 11.5px; color: #8492AE; display: flex; align-items: center; padding: 0 10px; }
    .v2-frame img { display: block; width: 100%; height: auto; }
    .v2-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 12px 16px; background: #fff; border-radius: 12px; box-shadow: 0 18px 40px rgba(3, 10, 30, .28); text-align: left; animation: v2float 6s ease-in-out infinite; }
    .v2-float .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 17px; flex-shrink: 0; }
    .v2-float strong { display: block; font-size: 13px; color: var(--v2-head); line-height: 1.25; }
    .v2-float small { display: block; font-size: 11.5px; color: #7A88A3; margin-top: 2px; }
    .v2-float--1 { top: 70px; left: -70px; }
    .v2-float--2 { top: 210px; right: -80px; animation-delay: -2s; }
    .v2-float--3 { bottom: 190px; left: -90px; animation-delay: -4s; }
    .v2-float--4 { bottom: 60px; right: -60px; animation-delay: -1s; }
    @keyframes v2float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }


    /* ═══ 1b. CONFIRMER360 OS (núcleo + módulos) ═══ */
    .v2-hero.v2-hero--os { padding-bottom: 110px; }
    .v2-os-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 16px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(124, 140, 255, .45); font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .9); }
    .v2-os-tag b { display: inline-grid; place-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: linear-gradient(90deg, #2F6BEA, #00957A); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
    .v2-os { display: grid; grid-template-columns: 1fr 330px 1fr; gap: 56px; align-items: center; max-width: 1120px; margin: 8px auto 0; text-align: left; }
    .v2-os-col { display: flex; flex-direction: column; gap: 16px; }
    .v2-os-mod { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
    .v2-os-mod:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .11); border-color: rgba(62, 220, 176, .55); }
    .v2-os-mod .n { position: absolute; top: -9px; font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; background: var(--v2-navy); border: 1px solid rgba(124, 140, 255, .5); color: #C9D4FF; }
    .v2-os-col--l .v2-os-mod .n { left: 14px; }
    .v2-os-col--r .v2-os-mod .n { left: 14px; }
    .v2-os-mod .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; background: rgba(62, 220, 176, .14); color: var(--v2-mint-2); }
    .v2-os-mod strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.25; }
    .v2-os-mod small { display: block; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .64); margin-top: 3px; }
    .v2-os-mod .go { margin-left: auto; color: rgba(255, 255, 255, .35); font-size: 18px; transition: color .2s ease, transform .2s ease; }
    .v2-os-mod:hover .go { color: var(--v2-mint-2); transform: translateX(3px); }
    .v2-os-mod.is-top { border-color: rgba(62, 220, 176, .45); background: linear-gradient(135deg, rgba(62, 220, 176, .13), rgba(255, 255, 255, .05)); }
    /* conectores hacia el núcleo */
    .v2-os-col--l .v2-os-mod::after, .v2-os-col--r .v2-os-mod::before {
      content: ""; position: absolute; top: 50%; width: 56px; height: 2px; pointer-events: none;
      background: linear-gradient(90deg, rgba(62, 220, 176, .55), rgba(124, 140, 255, .55));
    }
    .v2-os-col--l .v2-os-mod::after { right: -57px; }
    .v2-os-col--r .v2-os-mod::before { left: -57px; background: linear-gradient(90deg, rgba(124, 140, 255, .55), rgba(62, 220, 176, .55)); }
    .v2-os-core {
      position: relative; text-align: center; padding: 34px 26px 28px; border-radius: 22px; color: #fff;
      background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 123, 255, .45) 0%, rgba(59, 123, 255, 0) 70%), linear-gradient(180deg, rgba(19, 48, 126, .95) 0%, rgba(6, 18, 46, .95) 100%);
      border: 1px solid rgba(124, 140, 255, .55);
      box-shadow: 0 0 0 10px rgba(59, 123, 255, .07), 0 0 0 22px rgba(59, 123, 255, .04), 0 40px 90px rgba(0, 0, 0, .45);
    }
    .v2-os-core .lbl { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--v2-mint-2); }
    .v2-os-core .logo { font-size: 30px; white-space: nowrap; font-weight: 300; letter-spacing: .01em; margin: 8px 0 2px; line-height: 1.1; }
    .v2-os-core .logo b { font-weight: 800; background: linear-gradient(90deg, #A9C1FF, #DFFFF5); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .v2-os-core p { font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .74); margin: 10px 0 18px; }
    .v2-os-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
    .v2-os-chips span { font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .9); }
    .v2-os-core .pulse { position: absolute; inset: -1px; border-radius: 22px; pointer-events: none; box-shadow: 0 0 0 0 rgba(62, 220, 176, .35); animation: v2core 3.2s ease-out infinite; }
    @keyframes v2core { 0% { box-shadow: 0 0 0 0 rgba(62, 220, 176, .35) } 70% { box-shadow: 0 0 0 26px rgba(62, 220, 176, 0) } 100% { box-shadow: 0 0 0 0 rgba(62, 220, 176, 0) } }
    .v2-os-foot { margin-top: 30px; font-size: 14px; color: rgba(255, 255, 255, .6); text-align: center; }
    .v2-os-foot a { color: var(--v2-mint-2); font-weight: 700; text-decoration: none; }
    @media (max-width: 1000px) {
      .v2-os { grid-template-columns: 1fr 1fr; gap: 16px; }
      .v2-os-core { grid-column: 1 / -1; order: -1; margin-bottom: 18px; }
      .v2-os-col--l .v2-os-mod::after, .v2-os-col--r .v2-os-mod::before { display: none; }
    }
    @media (max-width: 600px) {
      .v2-os { grid-template-columns: 1fr; }
      .v2-os-core .logo { font-size: 28px; }
    }

    /* ═══ 2. PILARES ═══ */
    .v2-pillars { padding: 70px 0 60px; background: linear-gradient(180deg, var(--v2-lav) 0%, #fff 100%); }
    .v2-pillars .v2-eyebrow { display: block; text-align: center; margin-bottom: 26px; }
    .v2-pillars-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
    .v2-pillar { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; text-decoration: none; padding: 10px 8px; border-radius: 12px; transition: background .2s ease; }
    .v2-pillar:hover { background: rgba(255, 255, 255, .7); }
    .v2-pillar .tile { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; background: #fff; box-shadow: 0 10px 26px rgba(27, 101, 227, .14); color: var(--v2-blue); }
    .v2-pillar span { font-size: 15px; line-height: 1.35; font-weight: 600; color: var(--v2-blue); }

    /* ═══ 3. CLIENTES ═══ */
    .v2-clients { padding: 40px 0 10px; background: #fff; }
    .v2-clients .v2-h2 { font-size: clamp(24px, 2.6vw, 32px); max-width: 820px; margin: 0 auto 6px; }
    .v2-clients .cli-section { padding-top: 18px !important; }

    /* ═══ 4. PROBLEMA ═══ */
    .v2-pain { padding: 90px 0; background: #fff; }
    .v2-pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
    .v2-pain-card { border: 1px solid var(--v2-line); border-radius: 14px; padding: 28px 26px; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
    .v2-pain-card:hover { box-shadow: 0 18px 40px rgba(11, 31, 77, .08); transform: translateY(-2px); }
    .v2-pain-card .k { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--v2-blue); margin-bottom: 10px; }
    .v2-pain-card h3 { font-size: 21px; line-height: 1.3; font-weight: 700; color: var(--v2-head); margin: 0 0 16px; }
    .v2-pain-card ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
    .v2-pain-card li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; }
    .v2-pain-card li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #F26B5B; flex-shrink: 0; margin-top: 8px; }
    .v2-pain-card a { margin-top: auto; font-weight: 700; font-size: 15px; color: var(--v2-blue); text-decoration: none; }
    .v2-pain-card a:hover { text-decoration: underline; }

    /* ═══ 5. IA ═══ */
    .v2-ai { padding: 100px 0 110px; color: #fff; background: linear-gradient(to left bottom, #7080F5 0%, #3B6CF2 45%, #1B4FD0 100%); position: relative; overflow: hidden; }
    .v2-ai::after { content: ""; position: absolute; width: 620px; height: 620px; right: -200px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 65%); pointer-events: none; }
    .v2-ai .v2-h2 { color: #fff; font-size: clamp(36px, 4.6vw, 56px); margin-bottom: 8px; }
    .v2-ai .v2-h2 b { color: #fff; }
    .v2-ai-sub { font-size: clamp(18px, 2vw, 24px); color: rgba(255, 255, 255, .9); margin: 0 0 46px; }
    .v2-tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .25); margin-bottom: 46px; }
    .v2-tab { background: none; border: 0; border-bottom: 3px solid transparent; color: rgba(255, 255, 255, .72); font-family: var(--v2-font); font-size: 16px; font-weight: 600; padding: 14px 20px 16px; cursor: pointer; margin-bottom: -1px; }
    .v2-tab:hover { color: #fff; }
    .v2-tab[aria-selected="true"] { color: #fff; border-bottom-color: var(--v2-mint-2); }
    .v2-ai-panel { display: none; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
    .v2-ai-panel.is-active { display: grid; }
    .v2-chat { background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 30px 70px rgba(6, 18, 46, .35); color: var(--v2-head); text-align: left; }
    .v2-chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--v2-line); margin-bottom: 16px; font-size: 13px; font-weight: 700; }
    .v2-chat-head .dot { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--v2-blue-2), var(--v2-mint)); font-size: 14px; }
    .v2-chat-head small { margin-left: auto; font-weight: 600; color: #8492AE; }
    .v2-msg { max-width: 88%; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; margin-bottom: 12px; }
    .v2-msg--user { margin-left: auto; background: var(--v2-blue); color: #fff; border-bottom-right-radius: 4px; }
    .v2-msg--ai { background: var(--v2-surface); border: 1px solid var(--v2-line); border-bottom-left-radius: 4px; color: var(--v2-head); }
    .v2-msg--ai ol, .v2-msg--ai ul { margin: 6px 0 0 18px; padding: 0; }
    .v2-msg--ai .src { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--v2-blue); }
    .v2-chat-input { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--v2-line); border-radius: 10px; font-size: 13px; color: #9AA6BF; }
    .v2-chat-input b { margin-left: auto; width: 28px; height: 28px; border-radius: 8px; background: var(--v2-mint); color: var(--v2-navy); display: grid; place-items: center; }
    .v2-ai-copy { text-align: left; }
    .v2-ai-copy h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 700; color: #fff; margin: 0 0 16px; }
    .v2-ai-copy p { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .88); margin: 0 0 18px; }
    .v2-ai-copy ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
    .v2-ai-copy li { display: flex; gap: 12px; font-size: 16px; color: #fff; }
    .v2-ai-copy li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }

    /* ═══ 6. PLATAFORMA ═══ */
    .v2-platform { padding: 100px 0; color: #fff; background: linear-gradient(180deg, var(--v2-navy) 0%, var(--v2-indigo) 100%); }
    .v2-platform .v2-h2 { color: #fff; }
    .v2-platform .v2-h2 b { color: var(--v2-mint-2); }
    .v2-platform .v2-lead { color: rgba(255, 255, 255, .75); }
    .v2-seg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); margin: 38px auto 44px; }
    .v2-seg button { border: 0; background: transparent; color: rgba(255, 255, 255, .75); font-family: var(--v2-font); font-weight: 700; font-size: 15px; padding: 11px 20px; border-radius: 999px; cursor: pointer; }
    .v2-seg button[aria-selected="true"] { background: #fff; color: var(--v2-head); }
    .v2-plat-panel { display: none; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; text-align: left; }
    .v2-plat-panel.is-active { display: grid; }
    .v2-mods { display: flex; flex-direction: column; gap: 10px; }
    .v2-mod { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
    .v2-mod:hover { background: rgba(255, 255, 255, .1); border-color: rgba(62, 220, 176, .45); }
    .v2-mod .ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(62, 220, 176, .14); color: var(--v2-mint-2); display: grid; place-items: center; flex-shrink: 0; font-size: 17px; }
    .v2-mod strong { display: block; font-size: 15.5px; font-weight: 700; }
    .v2-mod small { display: block; font-size: 13px; color: rgba(255, 255, 255, .62); margin-top: 2px; }
    .v2-mod .arr { margin-left: auto; color: rgba(255, 255, 255, .4); }
    .v2-plat-cta { margin-top: 18px; }
    .v2-plat-shot { border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .1); background: #fff; }
    .v2-plat-shot img { display: block; width: 100%; height: auto; }

    /* ═══ 7. NORMAS ═══ */
    .v2-norms { padding: 80px 0 90px; background: var(--v2-indigo); color: #fff; border-top: 1px solid rgba(255, 255, 255, .08); }
    .v2-norms .v2-h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
    .v2-norms .v2-h2 b { color: #fff; }
    .v2-norms .v2-lead { color: rgba(255, 255, 255, .78); font-size: 16px; }
    .v2-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 44px 0 30px; }
    .v2-badge { width: 120px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
    .v2-badge .sh { width: 92px; height: 104px; display: grid; place-items: center; text-align: center; background: linear-gradient(160deg, #F2F5FF 0%, #C9D4F2 100%); color: var(--v2-head); font-weight: 800; font-size: 15px; line-height: 1.1; clip-path: polygon(50% 0, 100% 14%, 100% 64%, 50% 100%, 0 64%, 0 14%); padding: 0 10px 10px; transition: transform .2s ease; }
    .v2-badge:hover .sh { transform: translateY(-3px); }
    .v2-badge .sh small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--v2-blue); margin-bottom: 4px; }
    .v2-badge > span:not(.sh) { font-size: 12.5px; color: rgba(255, 255, 255, .72); text-align: center; line-height: 1.3; }
    .v2-norms-note { font-size: 13px; color: rgba(255, 255, 255, .55); }
    .v2-norms-link { display: inline-block; margin-top: 10px; color: var(--v2-mint-2); font-weight: 700; text-decoration: none; }

    /* ═══ 8. CIFRAS + PLANES ═══ */
    .v2-stats { padding: 90px 0 30px; background: #fff; }
    .v2-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
    .v2-stat b { display: block; font-size: clamp(42px, 5vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -.01em; background: linear-gradient(90deg, var(--v2-blue) 0%, #6E7BFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
    .v2-stat span { font-size: 15.5px; color: var(--v2-text); }
    .v2-stat span strong { color: var(--v2-head); }
    .v2-plans { padding: 60px 0 100px; background: #fff; }
    .v2-plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
    .v2-plan { border-radius: 16px; padding: 34px 32px; border: 1px solid var(--v2-line); background: linear-gradient(180deg, var(--v2-surface) 0%, #fff 60%); display: flex; flex-direction: column; }
    .v2-plan .k { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--v2-blue); }
    .v2-plan h3 { font-size: 24px; font-weight: 700; color: var(--v2-head); margin: 8px 0 10px; }
    .v2-plan .price { font-size: 15px; color: var(--v2-text); margin-bottom: 18px; }
    .v2-plan .price strong { font-size: 38px; font-weight: 800; color: var(--v2-head); letter-spacing: -.01em; }
    .v2-plan p { font-size: 15px; line-height: 1.6; margin: 0 0 18px; }
    .v2-plan .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
    .v2-plan .pills span { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--v2-line); color: var(--v2-head); }
    .v2-plan .pills b { color: var(--v2-blue); }
    .v2-plan .acts { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }
    .v2-plan small { margin-top: 14px; font-size: 12.5px; color: #8492AE; }

    /* ═══ 9. DEMO (formulario) ═══ */
    .v2-demo { padding: 100px 0; background: linear-gradient(180deg, var(--v2-indigo) 0%, var(--v2-navy) 100%); position: relative; overflow: hidden; }
    .v2-demo::before { content: ""; position: absolute; left: -180px; bottom: -220px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 201, 167, .18), transparent 65%); }
    .v2-demo .df-wrap { position: relative; z-index: 1; align-items: center; }
    .v2-demo .df-left h2 { color: #fff; font-weight: 400; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.15; }
    .v2-demo .df-left > p { color: rgba(255, 255, 255, .75); }
    .v2-demo .df-bullets li { color: #fff; }
    .v2-demo .df-bullets li .ok { color: var(--v2-mint-2); }
    .v2-demo .df-left .df-eyebrow { background: rgba(62, 220, 176, .14); color: var(--v2-mint-2); }
    .v2-demo .df-left .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .7); background: transparent; }
    .v2-demo .df-card { background: #fff; border: 0; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
    .v2-demo .df-card h3 { color: var(--v2-head); }
    .v2-demo .df-card .df-sub { color: var(--v2-text); }
    .v2-demo .df-field { background: #fff; border-color: #D5DDF0; color: var(--v2-head); border-radius: 6px; }
    .v2-demo .df-field::placeholder { color: #8492AE; }
    .v2-demo .df-field:focus { border-color: var(--v2-blue); }
    .v2-demo .df-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230B1F4D' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); }
    .v2-demo .df-card .btn--accent { background: var(--v2-mint); color: var(--v2-navy); border-radius: 6px; font-family: var(--v2-font); }
    .v2-demo .df-note { color: #8492AE; }
    .v2-demo .df-note a { color: var(--v2-text); }
    .v2-demo .df-alert h4 { color: var(--v2-head) !important; }
    .v2-demo .df-alert p { color: var(--v2-text) !important; }

    /* ═══ 10. FAQ ═══ */
    .v2-faq { padding: 100px 0; background: var(--v2-surface); }
    .v2-faq .v2-h2 { font-weight: 700; color: var(--v2-head); }
    .v2-faq-list { max-width: 960px; margin: 40px auto 0; counter-reset: q; border-top: 1px solid var(--v2-line); }
    .v2-faq details { border-bottom: 1px solid var(--v2-line); counter-increment: q; }
    .v2-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 24px 6px; font-size: 18px; font-weight: 600; color: var(--v2-head); }
    .v2-faq summary::-webkit-details-marker { display: none; }
    .v2-faq summary::before { content: counter(q) "."; color: var(--v2-blue); font-weight: 700; min-width: 26px; }
    .v2-faq summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--v2-blue); border-bottom: 2px solid var(--v2-blue); transform: rotate(-45deg); transition: transform .2s ease; flex-shrink: 0; }
    .v2-faq details[open] summary::after { transform: rotate(45deg); }
    .v2-faq .ans { padding: 0 40px 26px 48px; font-size: 16px; line-height: 1.7; color: var(--v2-text); }
    .v2-faq .ans a { color: var(--v2-blue); font-weight: 600; }

    /* ═══ 11. RECURSOS ═══ */
    .v2-res { padding: 90px 0 100px; background: linear-gradient(180deg, #fff 0%, var(--v2-surface) 100%); }
    .v2-res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
    .v2-res-card { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--v2-line); text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
    .v2-res-card:hover { box-shadow: 0 20px 44px rgba(11, 31, 77, .1); transform: translateY(-3px); }
    .v2-res-art { height: 170px; position: relative; overflow: hidden; }
    .v2-res-art::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .12) 0 2px, transparent 2px 14px); }
    .v2-res-art span { position: absolute; left: 20px; bottom: 18px; z-index: 1; font-size: 40px; }
    .v2-res-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
    .v2-res-body .k { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--v2-blue); margin-bottom: 10px; }
    .v2-res-body h3 { font-size: 19px; line-height: 1.35; font-weight: 700; color: var(--v2-head); margin: 0 0 18px; }
    .v2-res-body em { margin-top: auto; font-style: normal; font-weight: 700; font-size: 14.5px; color: var(--v2-blue); }

    /* ═══ Responsive ═══ */
    @media (max-width: 1100px) {
      .v2-float { display: none; }
      .v2-pillars-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 900px) {
      .v2-hero { padding-top: 150px; }
      .v2-stage { margin-bottom: -90px; }
      .v2-pain-grid, .v2-res-grid { grid-template-columns: 1fr; }
      .v2-ai-panel, .v2-plat-panel { grid-template-columns: 1fr; gap: 32px; }
      .v2-plans-grid { grid-template-columns: 1fr; }
      .v2-stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    }
    @media (max-width: 600px) {
      .v2-wrap { padding: 0 16px; }
      .v2-pillars-grid { grid-template-columns: repeat(2, 1fr); }
      .v2-hero-ctas .v2-btn { width: 100%; }
      .v2-tab { padding: 12px 12px 14px; font-size: 14.5px; }
      .v2-seg button { padding: 9px 14px; font-size: 13.5px; }
      .v2-faq .ans { padding: 0 6px 22px 48px; }
      .v2-faq summary { font-size: 16.5px; }
      .v2-badge { width: 96px; }
      .v2-pill .sep, .v2-pill > span:last-child { display: none; }
    }


/* ═══ Maquetas HTML para módulos sin captura (Campus, Inocuidad) ═══ */
.v2-mock { background: #fff; border-radius: 14px; padding: 22px; color: var(--v2-head); text-align: left; box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .1); }
.v2-mock-head { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; padding-bottom: 14px; border-bottom: 1px solid var(--v2-line); margin-bottom: 6px; }
.v2-mock-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--v2-mint); box-shadow: 0 0 0 4px rgba(0, 201, 167, .15); }
.v2-mock-head small { margin-left: auto; color: #8492AE; font-weight: 600; }
.v2-mock-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; margin-top: 14px; }
.v2-mock-row b { font-size: 12.5px; color: var(--v2-blue); white-space: nowrap; }
.v2-mock-row b.ok { color: var(--v2-mint-deep); }
.v2-mock-bar { height: 8px; border-radius: 99px; background: var(--v2-lav-2); margin-top: 8px; overflow: hidden; }
.v2-mock-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #2F6BEA, #00957A); }
.v2-mock-bar.warn i { background: linear-gradient(90deg, #F5A623, #F26B5B); }
.v2-mock-cert { display: flex; gap: 12px; align-items: center; margin-top: 20px; padding: 14px; border-radius: 12px; background: var(--v2-surface); border: 1px dashed #C9D5FF; }
.v2-mock-cert > span { font-size: 26px; }
.v2-mock-cert strong { display: block; font-size: 14px; }
.v2-mock-cert small { display: block; font-size: 12.5px; color: #7A88A3; }
.v2-mock-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.v2-mock-chips span { font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: var(--v2-lav-2); color: var(--v2-head); }

/* ═══ Banda Confirmer360 OS sobre el footer (components/footer.php) ═══ */
.v2-osband { padding: 56px 0 60px; background: linear-gradient(180deg, #fff 0%, var(--v2-lav-2) 100%); border-top: 1px solid var(--v2-line); font-family: var(--v2-font); }
.v2-osband-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.v2-osband-head > div { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.v2-osband-tag { display: inline-grid; place-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: linear-gradient(90deg, #2F6BEA, #00957A); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.v2-osband-head strong { font-size: 22px; font-weight: 800; color: var(--v2-head); }
.v2-osband-sub { font-size: 15px; color: var(--v2-text); }
.v2-osband-all { font-weight: 700; font-size: 15px; color: var(--v2-blue); text-decoration: none; white-space: nowrap; }
.v2-osband-all:hover { text-decoration: underline; }
.v2-osband-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.v2-osband-mod { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--v2-line); text-decoration: none; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.v2-osband-mod:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(11, 31, 77, .09); border-color: rgba(27, 101, 227, .3); }
.v2-osband-mod .n { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--v2-blue); }
.v2-osband-mod strong { font-size: 15.5px; font-weight: 700; color: var(--v2-head); line-height: 1.25; }
.v2-osband-mod small { font-size: 13px; color: var(--v2-text); }
.v2-osband-mod.is-current { background: linear-gradient(160deg, var(--v2-indigo), var(--v2-navy)); border-color: transparent; }
.v2-osband-mod.is-current .n, .v2-osband-mod.is-current small { color: var(--v2-mint-2); }
.v2-osband-mod.is-current strong { color: #fff; }
@media (max-width: 1000px) { .v2-osband-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .v2-osband-grid { grid-template-columns: repeat(2, 1fr); } .v2-osband-head strong { font-size: 19px; } }

/* ═══ Página Confirmer360 OS (software/) ═══ */
.v2-why { padding: 100px 0; background: #fff; }
.v2-why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.v2-why .v2-eyebrow { display: block; }
.v2-why-p { font-size: 17px; line-height: 1.7; color: var(--v2-text); margin: 0; }
.v2-compare { border: 1px solid var(--v2-line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 20px 50px rgba(11, 31, 77, .07); }
.v2-compare .row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; padding: 15px 20px; border-top: 1px solid var(--v2-line); font-size: 14.5px; align-items: center; }
.v2-compare .row:first-child { border-top: 0; }
.v2-compare .row.head { background: var(--v2-surface); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--v2-text); }
.v2-compare .row > span:first-child { font-weight: 700; color: var(--v2-head); }
.v2-compare .bad { color: #B4413A; }
.v2-compare .good { color: var(--v2-mint-deep); font-weight: 700; }
.v2-core { padding: 90px 0; background: linear-gradient(180deg, var(--v2-lav-2) 0%, #fff 100%); }
.v2-core-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; text-align: left; }
.v2-core-item { background: #fff; border: 1px solid var(--v2-line); border-radius: 14px; padding: 22px 20px; }
.v2-core-item .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--v2-lav-2); color: var(--v2-blue); font-size: 18px; margin-bottom: 14px; }
.v2-core-item h3 { font-size: 16.5px; font-weight: 700; color: var(--v2-head); margin: 0 0 6px; }
.v2-core-item p { font-size: 14px; line-height: 1.55; color: var(--v2-text); margin: 0; }
.v2-modgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; text-align: left; }
.v2-modcard { position: relative; display: flex; flex-direction: column; padding: 28px 26px 24px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.v2-modcard:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .09); border-color: rgba(62, 220, 176, .5); }
.v2-modcard .n { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--v2-mint-2); }
.v2-modcard h3 { font-size: 22px; font-weight: 700; color: #fff; margin: 8px 0 2px; }
.v2-modcard .k { font-size: 14px; color: rgba(255, 255, 255, .6); margin-bottom: 16px; }
.v2-modcard ul { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 9px; }
.v2-modcard li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .86); }
.v2-modcard li::before { content: "✓"; color: var(--v2-mint-2); font-weight: 800; }
.v2-modcard .note { font-size: 13px; color: var(--v2-mint-2); margin: -6px 0 16px; font-weight: 600; }
.v2-modcard .go { margin-top: auto; font-weight: 700; color: var(--v2-mint-2); font-size: 15px; }
.v2-steps-sec { padding: 100px 0; background: #fff; }
.v2-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; text-align: left; }
.v2-step { border: 1px solid var(--v2-line); border-radius: 16px; padding: 28px 26px; background: linear-gradient(180deg, var(--v2-surface), #fff); }
.v2-step .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--v2-head); color: #fff; font-weight: 800; margin-bottom: 16px; }
.v2-step h3 { font-size: 19px; font-weight: 700; color: var(--v2-head); margin: 0 0 8px; }
.v2-step p { font-size: 15px; line-height: 1.6; color: var(--v2-text); margin: 0; }
.v2-combos-sec { padding: 90px 0 100px; background: linear-gradient(180deg, #fff 0%, var(--v2-lav-2) 100%); }
.v2-combos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; text-align: left; }
.v2-combo { background: #fff; border: 1px solid var(--v2-line); border-radius: 16px; padding: 24px 26px; }
.v2-combo .pair { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.v2-combo .pair span { font-size: 13.5px; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: var(--v2-lav-2); color: var(--v2-head); }
.v2-combo .pair i { font-style: normal; font-weight: 800; color: var(--v2-mint-deep); }
.v2-combo p { font-size: 15.5px; line-height: 1.6; color: var(--v2-text); margin: 0; }
@media (max-width: 1000px) {
  .v2-why-grid { grid-template-columns: 1fr; gap: 32px; }
  .v2-core-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-modgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .v2-core-grid, .v2-modgrid, .v2-steps, .v2-combos { grid-template-columns: 1fr; }
  .v2-compare .row { grid-template-columns: 1fr; gap: 4px; }
  .v2-compare .row.head { display: none; }
  .v2-compare .bad::before { content: "Separadas: "; color: var(--v2-text); font-weight: 400; }
  .v2-compare .good::before { content: "Con el OS: "; color: var(--v2-text); font-weight: 400; }
}

/* ═══ Planes: otros módulos del OS ═══ */
.os-others { margin-top: 44px; text-align: center; }
.os-others-title { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--v2-blue); margin: 0 0 18px; }
.os-others-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left; }
.os-others-grid a { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 14px; border: 1px solid var(--v2-line); background: #fff; text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.os-others-grid a:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(11, 31, 77, .09); }
.os-others-grid .n { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--v2-blue); }
.os-others-grid strong { font-size: 16px; color: var(--v2-head); }
.os-others-grid small { font-size: 13.5px; color: var(--v2-text); }
.os-others-grid em { font-style: normal; margin-top: 8px; font-weight: 700; font-size: 14px; color: var(--v2-blue); }
.os-others-note { margin: 18px 0 0; font-size: 14.5px; color: var(--v2-text); }
.os-others-note a { color: var(--v2-blue); font-weight: 700; }
@media (max-width: 900px) { .os-others-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .os-others-grid { grid-template-columns: 1fr; } }

/* ═══ Menú Módulos: alinear al botón para que no se salga por la izquierda ═══ */
@media (min-width: 1025px) {
  .nav-dropdown .split-mega-menu { left: -24px !important; transform: none !important; max-width: calc(100vw - 48px); }
}


/* ═══════════════════════════════════════════════════════════
   PLANTILLA INTERNA V2 (.v2i-*) — páginas de módulo rediseñadas
   Primera página: datos-personales-chile/
   ═══════════════════════════════════════════════════════════ */

/* Navegación transparente también sobre héroes oscuros internos */
@media (min-width: 1101px) {
  body.v2-darkhero nav:not(.scrolled) { background: transparent; border-bottom-color: rgba(255, 255, 255, .08); backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.v2-darkhero nav:not(.scrolled) .nav-logo img { filter: brightness(0) invert(1); }
  body.v2-darkhero nav:not(.scrolled) .nav-links > a,
  body.v2-darkhero nav:not(.scrolled) .nav-links > .nav-dropdown > .dropdown-trigger { color: rgba(255, 255, 255, .92); }
  body.v2-darkhero nav:not(.scrolled) .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .75); background: transparent; }
}

/* Hero interno: dos columnas sobre navy */
.v2i-hero { padding: 170px 0 90px; text-align: left; }
.v2i-hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.v2i-hero h1 { font-size: clamp(32px, 4vw, 50px); line-height: 1.12; font-weight: 300; color: #fff; margin: 0 0 16px; max-width: none; }
.v2i-hero .v2i-impact { font-size: 19px; font-weight: 700; color: var(--v2-mint-2); margin: 0 0 14px; }
.v2i-hero .v2-hero-sub { margin: 0 0 30px; max-width: 600px; text-align: left; }
.v2i-hero .v2-hero-ctas { justify-content: flex-start; }
.v2i-hero .v2-hero-note { text-align: left; margin-bottom: 0; }
.v2i-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(124, 140, 255, .45); font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .9); text-decoration: none; }
.v2i-tag b { display: inline-grid; place-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: linear-gradient(90deg, #2F6BEA, #00957A); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; }
.v2i-visual { position: relative; }
.v2i-visual .v2-frame img { aspect-ratio: auto; }
.v2i-visual .v2-float--a { top: 22px; left: -46px; }
.v2i-visual .v2-float--b { bottom: 92px; left: -54px; animation-delay: -3s; }
.v2i-visual .v2-float--c { bottom: -22px; right: -26px; animation-delay: -1.5s; }
.v2i-deploy { margin-top: 30px; }
.v2i-deploy > span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 10px; }
.v2i-deploy-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.v2i-cloud { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; color: var(--v2-head); }
.v2i-cloud svg { width: 16px; height: 16px; }
.v2i-deploy-row a { font-size: 13.5px; font-weight: 700; color: var(--v2-mint-2); text-decoration: none; margin-left: 6px; }

/* Franja de respaldo */
.v2i-trust { padding: 56px 0 26px; background: #fff; }
.v2i-trust-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px; align-items: center; }
.v2i-trust-intro .v2-eyebrow { margin-bottom: 8px; }
.v2i-trust-intro p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--v2-text); }
.v2i-trust-intro strong { color: var(--v2-head); }
.v2i-stat b { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.05; background: linear-gradient(90deg, var(--v2-blue) 0%, #6E7BFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.v2i-stat span { font-size: 14px; color: var(--v2-text); line-height: 1.4; display: block; }

/* Secciones genéricas */
.v2i-sec { padding: 100px 0; background: #fff; }
.v2i-sec--lav { background: linear-gradient(180deg, var(--v2-lav-2) 0%, #fff 100%); }
.v2i-sec--surface { background: var(--v2-surface); }
.v2i-sec .v2-lead { margin-bottom: 0; }
.v2i-grid { display: grid; gap: 18px; margin-top: 44px; text-align: left; }
.v2i-grid--3 { grid-template-columns: repeat(3, 1fr); }
.v2i-grid--4 { grid-template-columns: repeat(4, 1fr); }
.v2i-grid--5 { grid-template-columns: repeat(5, 1fr); }
.v2i-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--v2-line); border-radius: 16px; padding: 26px 24px; text-decoration: none; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
a.v2i-card:hover, .v2i-card:hover { box-shadow: 0 18px 40px rgba(11, 31, 77, .08); border-color: rgba(27, 101, 227, .25); }
a.v2i-card:hover { transform: translateY(-2px); }
.v2i-card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--v2-lav-2); margin-bottom: 16px; }
.v2i-card h3 { font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--v2-head); margin: 0 0 8px; }
.v2i-card p { font-size: 15px; line-height: 1.6; color: var(--v2-text); margin: 0; }
.v2i-card .go { margin-top: auto; padding-top: 16px; font-size: 14.5px; font-weight: 700; color: var(--v2-blue); }
.v2i-card--pain .ic { background: #FFF1EF; }
.v2i-note { margin: 34px auto 0; max-width: 720px; text-align: center; font-size: 17px; font-weight: 600; color: var(--v2-head); }
.v2i-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* Abogado + IA + Software */
.v2i-formula { display: flex; align-items: stretch; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 0 auto 64px; max-width: 900px; }
.v2i-formula-item { flex: 1 1 220px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--v2-line); box-shadow: 0 14px 34px rgba(11, 31, 77, .06); text-align: center; }
.v2i-formula-item .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--v2-lav-2); color: var(--v2-blue); margin-bottom: 6px; }
.v2i-formula-item.is-ai .ic { background: linear-gradient(135deg, var(--v2-blue-2), var(--v2-mint)); color: #fff; }
.v2i-formula-item strong { font-size: 17px; color: var(--v2-head); }
.v2i-formula-item small { font-size: 14px; color: var(--v2-text); }
.v2i-formula-plus { align-self: center; font-size: 30px; font-weight: 300; color: var(--v2-blue); }

/* Tarjeta de pack / CTA oscura */
.v2i-pack { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-top: 40px; padding: 32px 34px; border-radius: 18px; text-align: left; color: #fff;
  background: radial-gradient(ellipse 50% 80% at 100% 0%, rgba(59, 123, 255, .4) 0%, rgba(59, 123, 255, 0) 70%), linear-gradient(135deg, var(--v2-indigo) 0%, var(--v2-navy) 100%); }
.v2i-pack .k { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--v2-mint-2); }
.v2i-pack h3 { font-size: 24px; font-weight: 700; color: #fff; margin: 8px 0 8px; }
.v2i-pack p { margin: 0; max-width: 640px; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .78); }

/* Consultoría legal (persona + texto) */
.v2i-consult { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 28px 32px; border-radius: 18px; background: linear-gradient(135deg, var(--v2-lav-2), #fff); border: 1px solid #D6DEFA; text-align: left; }
.v2i-consult-host { text-align: center; }
.v2i-consult-host img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 8px 20px rgba(11, 31, 77, .15); }
.v2i-consult-host strong { display: block; font-size: 14px; color: var(--v2-head); margin-top: 8px; }
.v2i-consult-host small { display: block; font-size: 12.5px; color: var(--v2-text); line-height: 1.35; }
.v2i-consult .k { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--v2-blue); }
.v2i-consult p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.65; color: var(--v2-text); }
.v2i-consult p strong { color: var(--v2-head); }

/* Tarjetas enlazadas sobre fondo oscuro */
.v2i-linkgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; text-align: left; }
.v2i-link { display: flex; flex-direction: column; gap: 8px; padding: 24px 22px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.v2i-link:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .09); border-color: rgba(62, 220, 176, .5); }
.v2i-link .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(62, 220, 176, .14); font-size: 19px; }
.v2i-link h3 { font-size: 17.5px; font-weight: 700; color: #fff; margin: 4px 0 0; }
.v2i-link p { font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .72); margin: 0; }
.v2i-link .go { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--v2-mint-2); }

/* Prompts de IA sobre el degradé azul */
.v2i-prompts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; text-align: left; position: relative; z-index: 1; }
.v2i-prompt { background: #fff; border-radius: 16px; padding: 22px 24px; box-shadow: 0 20px 50px rgba(6, 18, 46, .25); }
.v2i-prompt .q { display: inline-block; padding: 10px 14px; border-radius: 12px 12px 12px 4px; background: var(--v2-blue); color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.v2i-prompt p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--v2-text); }
.v2i-prompt p::before { content: "✦ "; color: var(--v2-mint-deep); font-weight: 800; }
.v2-ai .v2i-actions .v2-btn--ghost { border-color: #fff; }

/* Barra fija móvil */
.v2i-sticky { display: none; }
@media (max-width: 760px) {
  .v2i-sticky { display: flex; align-items: center; justify-content: space-between; gap: 14px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: var(--v2-navy); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .4); }
  .v2i-sticky strong { display: block; color: #fff; font-size: 14px; }
  .v2i-sticky span { display: block; color: rgba(255, 255, 255, .65); font-size: 12px; }
  .v2i-sticky .v2-btn { padding: 11px 16px; font-size: 14px; }
}

/* Responsive plantilla interna */
@media (max-width: 1100px) {
  .v2i-visual .v2-float { display: none; }
  .v2i-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .v2i-trust-intro { grid-column: 1 / -1; }
  .v2i-grid--5 { grid-template-columns: repeat(3, 1fr); }
  .v2i-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .v2i-hero { padding-top: 140px; }
  .v2i-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .v2i-grid--3, .v2i-linkgrid { grid-template-columns: repeat(2, 1fr); }
  .v2i-prompts { grid-template-columns: 1fr; }
  .v2i-consult { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 600px) {
  .v2i-grid--3, .v2i-grid--4, .v2i-grid--5, .v2i-linkgrid { grid-template-columns: 1fr; }
  .v2i-formula-plus { width: 100%; text-align: center; }
  .v2i-hero .v2-hero-ctas .v2-btn { width: 100%; }
  .v2i-pack { padding: 26px 22px; }
}
@media (max-width: 760px) {
  body:has(.v2i-sticky) #wa-float { bottom: 84px !important; }
  body:has(.v2i-sticky) footer { padding-bottom: 90px; }
}
.v2i-tag { border-radius: 14px; line-height: 1.4; max-width: 100%; }
.v2i-tag b { white-space: nowrap; flex-shrink: 0; }

/* ═══ Migas de pan integradas al hero oscuro (body.v2-crumbhero) ═══ */
/* Las migas flotan sobre el hero (sin fondo propio) para que el degradado y la grilla empiecen bajo el menú */
body.v2-crumbhero { --v2-bc-pt: 128px; }
body.v2-crumbhero :is(.bc-datos, .bc-iso) { position: absolute !important; left: 0; right: 0; z-index: 2 !important; margin-top: 0 !important; padding: var(--v2-bc-pt) 0 0 !important; background: transparent !important; border: 0 !important; }
body.v2-crumbhero :is(.bc-datos__list, .bc-iso__list), body.v2-crumbhero :is(.bc-datos__list a, .bc-iso__list a) { color: rgba(255, 255, 255, .62) !important; }
body.v2-crumbhero :is(.bc-datos__list a, .bc-iso__list a):hover { color: var(--v2-mint-2) !important; }
body.v2-crumbhero :is(.bc-datos__sep, .bc-iso__sep) { color: rgba(255, 255, 255, .35) !important; }
body.v2-crumbhero :is(.bc-datos__current, .bc-iso__current) { color: #fff !important; }
body.v2-crumbhero .v2i-hero { padding-top: calc(var(--v2-bc-pt) + 66px); }
@media (max-width: 1100px) { body.v2-crumbhero { --v2-bc-pt: 138px; } }
@media (max-width: 600px) { body.v2-crumbhero .v2i-hero { padding-top: calc(var(--v2-bc-pt) + 58px); } }
