/* =====================================================
   Mitra Auditor — style.css
   Paleta: violeta #8B7CF8, azul #67C8F0, dark #0b1120
   Fuente: Inter (Google Fonts)
   ===================================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --accent: #8B7CF8;
    --accent-light: #67C8F0;
    --accent-glow: rgba(139, 124, 248, 0.4);
    --dark-bg: #0b1120;
    --dark-mid: #0f172a;
    --dark-card: #1e293b;
    --dark-border: rgba(255,255,255,0.08);
    --white: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-soft: #94a3b8;
    --text-card: #cbd5e1;
    --light-bg: #f8fafc;
    --border-light: #e2e8f0;

    --warning: #FF8A3D;
    --warning-soft: rgba(255, 138, 61, 0.12);
    --warning-border: rgba(255, 138, 61, 0.32);
    --warning-glow: rgba(255, 138, 61, 0.22);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 80px;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, height 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 68px;
    border-bottom: none;
}

/* Logo: dos imágenes superpuestas, sin deformación */
.logo {
    position: relative;
    height: 44px;
    width: 200px;
    flex-shrink: 0;
}

.logo a { display: block; height: 100%; }

.logo img {
    position: absolute;
    left: 0; top: 0;
    height: 44px;
    width: auto;
    max-width: none;
    transition: opacity 0.3s ease;
}

.logo-white { opacity: 1; }
.logo-color  { opacity: 0; }
.navbar.scrolled .logo-white { opacity: 0; }
.navbar.scrolled .logo-color  { opacity: 1; }

.nav-menu {
    display: flex;
    gap: 36px;
    align-items: center;
    list-style: none;
}

.nav-item a {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    transition: color 0.3s;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-item a:hover,
.nav-item.active a {
    color: var(--accent-light);
}

.navbar.scrolled .nav-item a {
    color: var(--text-dark);
}

.navbar.scrolled .nav-item a:hover,
.navbar.scrolled .nav-item.active a {
    color: var(--accent);
}

.btn-nav {
    background: #fff;
    color: #000;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    white-space: nowrap;
    text-transform: uppercase;
}

.btn-nav:hover {
    background: var(--accent-light);
    color: #0f172a;
    transform: translateY(-2px);
}

.navbar.scrolled .btn-nav {
    background: var(--accent);
    color: #fff;
}

.navbar.scrolled .btn-nav:hover {
    background: var(--accent-light);
    color: #0f172a;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}

.navbar.scrolled .mobile-menu-toggle span {
    background: var(--text-dark);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 76% center;
    filter: saturate(1.02) contrast(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(4, 8, 18, 0.97) 0%,
            rgba(5, 10, 20, 0.94) 16%,
            rgba(7, 13, 24, 0.88) 30%,
            rgba(8, 15, 28, 0.68) 44%,
            rgba(8, 15, 28, 0.38) 58%,
            rgba(8, 15, 28, 0.14) 72%,
            rgba(8, 15, 28, 0.03) 84%,
            rgba(8, 15, 28, 0.00) 100%
        ),
        linear-gradient(
            180deg,
            rgba(4, 10, 19, 0.20) 0%,
            rgba(4, 10, 19, 0.04) 38%,
            rgba(4, 10, 19, 0.18) 100%
        );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.text-wrapper {
    width: 100%;
    max-width: 560px;
    margin-left: 0;
}

.badge {
    display: inline-block;
    background: rgba(139, 124, 248, 0.18);
    border: 1px solid rgba(139, 124, 248, 0.4);
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 7px 16px;
    border-radius: 20px;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(38px, 5.5vw, 64px);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 18px;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 540px;
}

.buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 25px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-light);
    color: #0f172a;
    box-shadow: 0 0 35px rgba(103, 200, 240, 0.5);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.14);
    border-color: var(--accent-light);
    color: var(--accent-light);
    transform: translateY(-3px);
}

/* ---------- LOGOS STRIP ---------- */
.logos-section {
    padding: 50px 5%;
    background-color: var(--dark-mid);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.logos-title {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 36px 48px;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.55;
    transition: opacity 0.3s;
    cursor: default;
}

.partner-item:hover { opacity: 1; }

.partner-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.95);
    opacity: 0.82;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: translateY(-4px);
}

.partner-name {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

/* ---------- PROBLEMA ---------- */
.problem-section {
    padding: 120px 5%;
    background-color: #ffffff;
    color: var(--text-dark);
}

.container { max-width: 1200px; margin: 0 auto; }

.section-header { margin-bottom: 70px; }

.section-title {
    font-size: clamp(30px, 4.5vw, 46px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #0f172a;
    letter-spacing: -1px;
}

.section-text {
    font-size: 19px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 800px;
}

.text-accent { color: var(--accent); }

.problem-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: start;
}

.stat-card {
    background: var(--dark-mid);
    color: #fff;
    padding: 60px 40px;
    border-radius: 8px;
    width: 340px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 124, 248, 0.2);
}

.stat-card::before {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(139,124,248,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.stat-number {
    font-size: 80px;
    font-weight: 900;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.4;
}

.stat-desc {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.7;
}

.problem-list { display: flex; flex-direction: column; gap: 32px; }

.problem-item { display: flex; gap: 20px; align-items: flex-start; }

.icon-box {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: #f0edff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 900;
    font-size: 18px;
}

.item-content h4 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #0f172a;
}

.item-content p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

/* ---------- MÓDULOS ---------- */
.modules-section {
    padding: 120px 5%;
    background-color: var(--dark-bg);
    color: #fff;
    text-align: center;
}

.modules-header {
    max-width: 800px;
    margin: 0 auto 50px;
}

.solution-title {
    font-size: clamp(30px, 4.5vw, 46px);
    font-weight: 900;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: -1px;
}

.solution-subtitle {
    font-size: 18px;
    color: var(--text-soft);
    line-height: 1.6;
}

.modules-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 10px 28px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.module-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 36px 28px;
    text-align: left;
    transition: all 0.3s;
    position: relative;
}

.module-card:hover {
    border-color: rgba(139, 124, 248, 0.4);
    box-shadow: 0 8px 40px rgba(139, 124, 248, 0.15);
    transform: translateY(-4px);
}

.module-card-highlight {
    border-color: rgba(139, 124, 248, 0.5) !important;
}

.module-card-highlight:hover {
    box-shadow: 0 0 40px rgba(139, 124, 248, 0.3), 0 0 80px rgba(103, 200, 240, 0.1) !important;
}

.module-icon {
    width: 52px;
    height: 52px;
    background: rgba(139, 124, 248, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 20px;
}

.module-icon svg { width: 24px; height: 24px; stroke-width: 1.5; }

.module-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.module-card p {
    font-size: 14px;
    color: var(--text-card);
    line-height: 1.6;
    margin-bottom: 16px;
}

.module-tag {
    display: inline-block;
    background: rgba(139, 124, 248, 0.12);
    color: var(--accent-light);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
}

.tech-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 20px;
    position: absolute;
    top: 18px;
    right: 18px;
}

/* ---------- DIFERENCIADORES ---------- */
.diff-section {
    padding: 120px 5%;
    background: linear-gradient(180deg, var(--dark-mid) 0%, var(--dark-bg) 100%);
    color: #fff;
}

.badge-dark {
    display: inline-block;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-soft);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 20px;
}

.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.diff-card-main {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(139,124,248,0.12) 0%, rgba(103,200,240,0.06) 100%);
    border: 1px solid rgba(139,124,248,0.35);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.diff-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 40px 36px;
    position: relative;
    transition: all 0.3s;
}

.diff-card:hover {
    border-color: rgba(139, 124, 248, 0.4);
    box-shadow: 0 8px 40px rgba(139, 124, 248, 0.12);
    transform: translateY(-4px);
}

.diff-icon {
    width: 60px;
    height: 60px;
    background: rgba(139, 124, 248, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
}

.diff-icon svg { width: 28px; height: 28px; stroke-width: 1.5; }

.diff-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}

.diff-card p {
    font-size: 15px;
    color: var(--text-card);
    line-height: 1.7;
}

.diff-badge-coming {
    display: inline-block;
    background: rgba(255,200,50,0.12);
    border: 1px solid rgba(255,200,50,0.3);
    color: #fbbf24;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 16px;
}

/* ---------- SUITE ---------- */
.suite-section {
    padding: 120px 5%;
    background-color: #ffffff;
}

.badge-light {
    display: inline-block;
    background: #f0edff;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 20px;
}

.suite-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.suite-card {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 40px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.3s;
}

.suite-card:hover {
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.suite-card-auditor {
    background: linear-gradient(135deg, #f0edff 0%, #e8f4ff 100%);
    border-color: rgba(139,124,248,0.3);
    position: relative;
}

.suite-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.suite-category {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
}

.suite-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    flex-grow: 1;
}

.suite-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    transition: color 0.3s;
}

.suite-link:hover { color: var(--accent-light); }

.suite-badge-current {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
}

.suite-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    gap: 6px;
    min-width: 70px;
}

.connector-line {
    width: 1px;
    flex: 1;
    background: linear-gradient(180deg, transparent, rgba(139,124,248,0.4), transparent);
}

.connector-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.connector-label {
    font-size: 9px;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.suite-callout {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 18px 24px;
}

.suite-callout svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: var(--text-muted);
    stroke-width: 1.5;
    margin-top: 2px;
}

.suite-callout p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---------- AGENTLESS ---------- */
.agentless-section {
    padding: 120px 5%;
    background-color: var(--dark-mid);
    color: #fff;
}

.agentless-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.agentless-text .badge-dark { margin-bottom: 24px; }

.agentless-text h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.8px;
}

.agentless-text > p {
    font-size: 16px;
    color: var(--text-card);
    line-height: 1.7;
    margin-bottom: 36px;
}

.agentless-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.agentless-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-card);
    line-height: 1.5;
}

.agentless-list svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: var(--accent);
    stroke-width: 2.5;
    margin-top: 2px;
}

/* Architecture diagram */
.agentless-visual { display: flex; justify-content: center; }

.arch-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.arch-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.arch-logo-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(139,124,248,0.4);
    border-radius: 12px;
    padding: 16px 24px;
    box-shadow: 0 0 30px var(--accent-glow);
}

.arch-logo-box img { height: 36px; width: auto; }

.arch-center > span {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.arch-nodes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

.arch-node {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.arch-node:hover {
    border-color: rgba(139,124,248,0.3);
    background: rgba(139,124,248,0.06);
}

.arch-node svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
    stroke-width: 1.5;
}

.arch-node span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-soft);
    text-align: center;
    line-height: 1.3;
}

/* ---------- FAQ ---------- */
.faq-section {
    padding: 100px 5%;
    background-color: #ffffff;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-container { display: flex; flex-direction: column; }

.faq-item { border-bottom: 1px solid var(--border-light); }

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 24px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.3s;
}

.faq-question:hover { color: var(--accent); }

.faq-item.active .faq-question { color: var(--accent); }

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--accent);
    transition: transform 0.3s;
    flex-shrink: 0;
    line-height: 1;
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    padding: 0 10px;
}

/* ---------- CTA FOOTER ---------- */
.cta-footer-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #130f2e 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-footer-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(139,124,248,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(28px, 4.5vw, 46px);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.cta-title span {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 17px;
    color: #94a3b8;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.btn-glow {
    background: var(--accent);
    color: #fff;
    padding: 18px 48px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 30px var(--accent-glow);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.btn-glow:hover {
    box-shadow: 0 0 50px rgba(139,124,248,0.7);
    transform: translateY(-3px);
    background: var(--accent-light);
    color: #0f172a;
}

/* ---------- FOOTER ---------- */
.footer {
    background-color: var(--dark-mid);
    color: #fff;
    padding: 70px 5% 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo-img {
    height: 38px;
    width: auto;
    margin-bottom: 20px;
}

.footer-col > p {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-suite-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-suite-links span {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-suite-links a {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border-radius: 6px;
	border: 1px solid rgba(255,255,255,0.18);
    padding: 4px 8px;
    overflow: hidden;
}

.footer-suite-links img {
    height: 28px;
    width: auto;
    max-width: none;
    display: block;
    opacity: 1;
    filter: none;
    transition: transform 0.3s ease;
}

.footer-suite-links a:hover img {
    transform: translateY(-1px);
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-soft);
    margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
    font-size: 14px;
    color: #94a3b8;
    transition: color 0.3s;
}

.footer-col ul li a:hover { color: var(--accent-light); }

.footer-col:last-child p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-col:last-child a {
    display: block;
    font-size: 14px;
    color: #94a3b8;
    transition: color 0.3s;
    margin-bottom: 6px;
}

.footer-col:last-child a:hover { color: var(--accent-light); }

.footer-legal-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-legal-bar span {
    font-size: 13px;
    color: #64748b;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    font-size: 13px;
    color: #64748b;
    transition: color 0.3s;
}

.footer-legal-links a:hover { color: var(--accent-light); }

/* ---------- MODALES ---------- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-overlay.active { display: flex; }

.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 48px;
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-content.legal-box { max-width: 700px; }

.close-modal {
    position: absolute;
    top: 16px; right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-modal:hover { color: var(--text-dark); }

.modal-header { margin-bottom: 30px; }

.modal-header h3 {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 15px;
    color: var(--text-muted);
}

.legal-box h2 {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.legal-box h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 20px 0 8px;
}

.legal-box p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Form */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: span 2; }

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 14px;
    border: 1.5px solid var(--border-light);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    transition: border-color 0.3s;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
}

.privacy-box {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 10px;
}

.privacy-box label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1.5;
}

.privacy-box a { color: var(--accent); text-decoration: underline; }

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.submit-btn:hover {
    background: var(--accent-light);
    color: #0f172a;
    box-shadow: 0 4px 30px rgba(103,200,240,0.4);
    transform: translateY(-2px);
}

.honey-field { display: none !important; }

/* ---------- SCROLL TOP ---------- */
#scrollTopBtn {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 44px; height: 44px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 900;
    box-shadow: 0 4px 20px var(--accent-glow);
}

#scrollTopBtn.visible {
    opacity: 1;
    transform: translateY(0);
}

#scrollTopBtn svg {
    width: 20px; height: 20px;
    color: #fff;
    stroke-width: 2.5;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .problem-grid { grid-template-columns: 1fr; }
    .stat-card { width: 100%; max-width: 500px; }
    .agentless-grid { grid-template-columns: 1fr; }
    .agentless-visual { display: none; }
    .diff-card-main { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .suite-grid { flex-direction: column; }
    .suite-connector { flex-direction: row; min-width: auto; padding: 16px 0; }
    .connector-line { width: auto; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(139,124,248,0.4), transparent); }
    .connector-label { writing-mode: horizontal-tb; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(11,17,32,0.98);
        padding: 20px 5%;
        gap: 20px;
        border-top: 1px solid rgba(255,255,255,0.07);
    }
    .mobile-menu-toggle { display: flex; }
    .btn-nav { display: none; }
    .modules-grid { grid-template-columns: 1fr; }
    .diff-grid { grid-template-columns: 1fr; }
    .diff-card-main { grid-column: span 1; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .checkbox-group { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-legal-bar { flex-direction: column; text-align: center; }
    .footer-legal-links { flex-wrap: wrap; justify-content: center; }
    .modal-content { padding: 32px 24px; }
    .arch-nodes { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- ANSWERS SECTION ---------- */
.answers-section {
    padding: 120px 5%;
    background: #f8fafc;
}

.answers-header {
    text-align: center;
    margin-bottom: 70px;
}

.answers-header .section-text {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.answers-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.answer-card {
    grid-column: span 4;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 28px 24px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: all 0.3s;
}

.answer-card:hover {
    border-color: rgba(139,124,248,0.3);
    box-shadow: 0 8px 30px rgba(139,124,248,0.08);
    transform: translateY(-3px);
}

.answer-card-forense {
    grid-column: 3 / span 4;
    border-color: rgba(139,124,248,0.25);
    background: linear-gradient(135deg, #fdfcff 0%, #f8f4ff 100%);
}

.answer-card-copilot {
    grid-column: 7 / span 4;
    border-color: rgba(103,200,240,0.25);
    background: linear-gradient(135deg, #fafeff 0%, #f0faff 100%);
}

.answer-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.answer-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }

.answer-icon-ad    { background: #eef2ff; color: #6366f1; }
.answer-icon-fs    { background: #fff7ed; color: #ea580c; }
.answer-icon-logon { background: #f0fdf4; color: #16a34a; }
.answer-icon-o365  { background: #eff6ff; color: #2563eb; }
.answer-icon-sql   { background: #fdf4ff; color: #9333ea; }
.answer-icon-ws    { background: #fff1f2; color: #e11d48; }
.answer-icon-forense { background: rgba(139,124,248,0.12); color: var(--accent); }
.answer-icon-copilot { background: rgba(103,200,240,0.12); color: #0ea5e9; }

.answer-source {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-soft);
    margin-bottom: 8px;
}

.answer-body h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 10px;
}

.answer-body p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

.answer-coming {
    display: inline-block;
    margin-top: 10px;
    background: rgba(251,191,36,0.12);
    border: 1px solid rgba(251,191,36,0.3);
    color: #d97706;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 10px;
}

/* ---------- ROLES SECTION ---------- */
.roles-section {
    padding: 120px 5%;
    background: var(--dark-bg);
}

.roles-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.role-tab {
    padding: 10px 28px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.role-tab.active,
.role-tab:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}

.role-panel { display: none; max-width: 1100px; margin: 0 auto; }
.role-panel.active { display: block; }

.role-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.role-text h3 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.role-text p {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 24px;
}

.role-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.role-list li {
    font-size: 14px;
    color: #cbd5e1;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.role-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

.role-stat-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.role-stat {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 28px 32px;
}

.rs-number {
    display: block;
    font-size: 52px;
    font-weight: 900;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.rs-alert {
    font-size: 48px;
    letter-spacing: 0;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rs-label {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
}

.role-norm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.role-norm {
    background: rgba(139,124,248,0.1);
    border: 1px solid rgba(139,124,248,0.25);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 900;
    color: var(--accent-light);
    letter-spacing: 1px;
    transition: all 0.3s;
}

.role-norm:hover {
    background: rgba(139,124,248,0.2);
    border-color: rgba(139,124,248,0.5);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .role-grid { grid-template-columns: 1fr; gap: 40px; }
    .answers-grid { grid-template-columns: 1fr 1fr; }
    .answer-card,
    .answer-card-forense,
    .answer-card-copilot { grid-column: auto; }
}

@media (max-width: 768px) {
    .answers-grid { grid-template-columns: 1fr; }
    .answer-card,
    .answer-card-forense,
    .answer-card-copilot { grid-column: auto; }
    .roles-tabs { gap: 6px; }
    .role-tab { padding: 8px 16px; font-size: 12px; }
    .role-norm-grid { grid-template-columns: 1fr; }
}

/* ---------- PROBLEM ITEM HIGHLIGHT ---------- */
.problem-item-highlight {
    background: linear-gradient(135deg, rgba(139,124,248,0.06) 0%, rgba(103,200,240,0.04) 100%);
    border: 1px solid rgba(139,124,248,0.2);
    border-radius: 10px;
    padding: 20px 20px 20px 0;
    margin: 4px 0;
}

.problem-item-highlight .item-content h4 {
    color: var(--accent);
}

.problem-item-highlight .item-content p strong {
    color: var(--text-dark);
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.icon-box-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
    color: #fff !important;
}


/* =====================================================
   Rediseño visual v6 — patrón claro/oscuro y acento controlado
   ===================================================== */

/* ---------- Sistema global de alternancia ---------- */
.section-light {
    background: #ffffff !important;
    color: var(--text-dark);
}

.section-dark {
    background:
        radial-gradient(circle at 12% 0%, rgba(103, 200, 240, 0.08), transparent 34%),
        radial-gradient(circle at 92% 16%, rgba(139, 124, 248, 0.10), transparent 32%),
        var(--dark-bg) !important;
    color: #ffffff;
}

.section-dark-alt {
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 138, 61, 0.06), transparent 30%),
        linear-gradient(180deg, #0f172a 0%, #080d19 100%) !important;
    color: #ffffff;
}

.section-dark .section-title,
.section-dark-alt .section-title,
.section-dark .solution-title,
.section-dark-alt .solution-title,
.section-dark h2,
.section-dark-alt h2 {
    color: #ffffff !important;
}

.section-dark .section-text,
.section-dark-alt .section-text,
.section-dark .solution-subtitle,
.section-dark-alt .solution-subtitle {
    color: rgba(226, 232, 240, 0.78) !important;
}

/* ---------- Acento naranja: integrado, no jerárquico ---------- */
.hero .badge::before,
.badge-dark::before,
.badge-light::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 2px;
    margin-right: 9px;
    vertical-align: middle;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--warning), var(--accent-light));
    box-shadow: 0 0 12px var(--warning-glow);
}

/* ---------- Infraestructura strip: legibilidad ---------- */
.logos-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(103, 200, 240, 0.07), transparent 42%),
        var(--dark-mid) !important;
}

.logos-title {
    color: rgba(248, 250, 252, 0.84) !important;
}

.partner-item {
    opacity: 0.72;
}

.partner-name {
    color: rgba(248, 250, 252, 0.80) !important;
}

/* ---------- Bloque problema: blanco, con stat-card elegante ---------- */
.problem-section {
    background: #ffffff !important;
}

.stat-card {
    border: 1px solid transparent;
    background:
        linear-gradient(var(--dark-mid), var(--dark-mid)) padding-box,
        linear-gradient(135deg,
            rgba(255, 138, 61, 0.46),
            rgba(139, 124, 248, 0.34),
            rgba(103, 200, 240, 0.34)
        ) border-box;
    box-shadow:
        0 18px 48px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

.stat-card::after {
    display: none !important;
}

/* Todos los números del problema con la misma jerarquía */
.problem-item .icon-box,
.problem-item:nth-child(2) .icon-box,
.problem-item:nth-child(3) .icon-box {
    background: #f0edff !important;
    color: var(--accent) !important;
    border: 1px solid rgba(139, 124, 248, 0.10);
}

.problem-item:hover .icon-box {
    border-color: rgba(255, 138, 61, 0.30);
    background:
        linear-gradient(#f8f6ff, #f8f6ff) padding-box,
        linear-gradient(135deg, rgba(255,138,61,0.50), rgba(103,200,240,0.42)) border-box !important;
    transform: translateY(-2px);
}

/* ---------- Respuestas: sección oscura + cards con borde degradado ---------- */
.section-answers-dark .answers-header .section-text {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.section-answers-dark .answer-card {
    border: 1px solid transparent;
    background:
        linear-gradient(rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.94)) padding-box,
        linear-gradient(135deg,
            rgba(139, 124, 248, 0.36),
            rgba(103, 200, 240, 0.22),
            rgba(255, 138, 61, 0.20)
        ) border-box;
    box-shadow: 0 14px 36px rgba(0,0,0,0.18);
}

.section-answers-dark .answer-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 46px rgba(0,0,0,0.24),
        0 0 28px rgba(103, 200, 240, 0.08);
}

.section-answers-dark .answer-source {
    color: rgba(226, 232, 240, 0.62);
}

.section-answers-dark .answer-body h4 {
    color: #ffffff;
}

.section-answers-dark .answer-body p {
    color: rgba(203, 213, 225, 0.86);
}

.section-answers-dark .answer-card-forense,
.section-answers-dark .answer-card-copilot {
    background:
        linear-gradient(rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.94)) padding-box,
        linear-gradient(135deg,
            rgba(139, 124, 248, 0.42),
            rgba(103, 200, 240, 0.26),
            rgba(255, 138, 61, 0.22)
        ) border-box;
}

/* ---------- Roles: blanco, diseño anterior limpio, botones homogéneos ---------- */
.section-roles-light {
    background: #ffffff !important;
    color: var(--text-dark);
}

.section-roles-light .badge-dark {
    background: #f0edff;
    border-color: rgba(139,124,248,0.18);
    color: var(--accent);
}

.section-roles-light .section-title {
    color: var(--text-dark) !important;
}

.section-roles-light .role-tab {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #dbe3ee;
    box-shadow: none;
}

.section-roles-light .role-tab.active {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    color: #ffffff;
    border-color: transparent;
    box-shadow:
        0 12px 28px rgba(139,124,248,0.22),
        0 0 18px rgba(255,138,61,0.10);
}

/* Opción homogénea: todos los botones con mismo sistema azul/violeta, sin naranja selectivo */
.section-roles-light .role-tab:hover {
    border-color: rgba(139,124,248,0.42);
    color: var(--accent);
}

.section-roles-light .role-panel {
    color: var(--text-dark);
}

.section-roles-light .role-text h3 {
    color: var(--text-dark);
}

.section-roles-light .role-text p,
.section-roles-light .role-list li {
    color: #475569;
}

.section-roles-light .role-list li::before {
    background: linear-gradient(180deg, var(--accent), var(--accent-light));
}

.section-roles-light .role-stat {
    border: 1px solid transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg,
            rgba(139, 124, 248, 0.30),
            rgba(103, 200, 240, 0.20),
            rgba(255, 138, 61, 0.16)
        ) border-box;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.section-roles-light .rs-label {
    color: #475569;
}

.section-roles-light .role-norm {
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg,
            rgba(139, 124, 248, 0.30),
            rgba(103, 200, 240, 0.20),
            rgba(255, 138, 61, 0.16)
        ) border-box;
    border: 1px solid transparent;
    color: var(--text-dark);
}

/* ---------- Módulos: oscuro + boxes con patrón de cards ---------- */
.section-modules-dark .module-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid transparent;
    background:
        linear-gradient(rgba(30, 41, 59, 0.94), rgba(30, 41, 59, 0.94)) padding-box,
        linear-gradient(135deg,
            rgba(139, 124, 248, 0.34),
            rgba(103, 200, 240, 0.20),
            rgba(255, 138, 61, 0.16)
        ) border-box;
}

.section-modules-dark .module-card p {
    flex-grow: 1;
}

/* Tags siempre abajo y alineados dentro de cada card */
.section-modules-dark .module-tag {
    margin-top: auto;
    align-self: flex-start;
}

/* Tech badge no debe romper altura visual */
.section-modules-dark .tech-badge {
    top: 16px;
    right: 16px;
}

/* ---------- Diferenciadores: oscuro alternativo + mismo patrón ---------- */
.section-diff-dark-alt .diff-card,
.section-diff-dark-alt .diff-card-main {
    border: 1px solid transparent;
    background:
        linear-gradient(rgba(30, 41, 59, 0.94), rgba(30, 41, 59, 0.94)) padding-box,
        linear-gradient(135deg,
            rgba(139, 124, 248, 0.34),
            rgba(103, 200, 240, 0.20),
            rgba(255, 138, 61, 0.16)
        ) border-box;
}

/* ---------- Suite: blanco + cards coherentes ---------- */
.section-suite-light .suite-card,
.section-suite-light .suite-callout {
    border: 1px solid transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg,
            rgba(139, 124, 248, 0.22),
            rgba(103, 200, 240, 0.14),
            rgba(255, 138, 61, 0.12)
        ) border-box;
    box-shadow: 0 14px 34px rgba(15,23,42,0.06);
}

.section-suite-light .suite-card-auditor {
    background:
        linear-gradient(135deg, #f8f6ff 0%, #eef8ff 100%) padding-box,
        linear-gradient(135deg,
            rgba(139, 124, 248, 0.42),
            rgba(103, 200, 240, 0.24),
            rgba(255, 138, 61, 0.16)
        ) border-box;
}

/* ---------- Agentless: oscuro ---------- */
.section-agentless-dark .agentless-text h2 {
    color: #ffffff;
}

/* ---------- FAQ / preguntas: claro ---------- */
.section-faq-light {
    background: #ffffff !important;
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
    .section-modules-dark .module-card {
        min-height: auto;
    }
}


/* =====================================================
   Ajustes v7 — roles con animación + hover degradado naranja
   ===================================================== */

/* --- Roles: mantener diseño anterior, pero recuperar animación premium --- */
.section-roles-light .role-panel {
    display: none;
    opacity: 0;
    transform: translateY(12px);
}

.section-roles-light .role-panel.active {
    display: block;
    animation: rolePanelFadeUp 0.42s ease forwards;
}

@keyframes rolePanelFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-roles-light .role-grid {
    animation: roleGridReveal 0.46s ease both;
}

@keyframes roleGridReveal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-roles-light .role-list li {
    opacity: 0;
    transform: translateY(6px);
}

.section-roles-light .role-panel.active .role-list li {
    animation: roleBulletIn 0.36s ease forwards;
}

.section-roles-light .role-panel.active .role-list li:nth-child(1) { animation-delay: 0.04s; }
.section-roles-light .role-panel.active .role-list li:nth-child(2) { animation-delay: 0.08s; }
.section-roles-light .role-panel.active .role-list li:nth-child(3) { animation-delay: 0.12s; }
.section-roles-light .role-panel.active .role-list li:nth-child(4) { animation-delay: 0.16s; }

@keyframes roleBulletIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-roles-light .role-stat-group,
.section-roles-light .role-norm-grid {
    animation: roleVisualIn 0.48s ease both;
}

@keyframes roleVisualIn {
    from {
        opacity: 0;
        transform: translateX(12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Tabs: todo azul/violeta, sin destacar naranja como selección principal */
.section-roles-light .role-tab.active {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(139,124,248,0.24);
}

.section-roles-light .role-tab:hover:not(.active) {
    border-color: rgba(103, 200, 240, 0.45);
    color: var(--accent);
    transform: translateY(-2px);
}

/* --- Hover global de boxes: si se elevan, aparece borde degradado con naranja --- */

/* Cards claras */
.problem-item,
.answer-card,
.role-stat,
.role-norm,
.module-card,
.diff-card,
.suite-card,
.answer-card-forense,
.answer-card-copilot {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

/* Boxes/card con fondo claro */
.problem-item:hover,
.section-roles-light .role-stat:hover,
.section-roles-light .role-norm:hover,
.section-suite-light .suite-card:hover,
.section-suite-light .suite-callout:hover {
    border-color: transparent !important;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg,
            rgba(255, 138, 61, 0.58),
            rgba(139, 124, 248, 0.36),
            rgba(103, 200, 240, 0.34)
        ) border-box !important;
    box-shadow:
        0 18px 44px rgba(15, 23, 42, 0.10),
        0 0 28px rgba(255, 138, 61, 0.08) !important;
}

/* Cards oscuras */
.section-answers-dark .answer-card:hover,
.section-modules-dark .module-card:hover,
.section-diff-dark-alt .diff-card:hover,
.section-diff-dark-alt .diff-card-main:hover {
    border-color: transparent !important;
    background:
        linear-gradient(rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.96)) padding-box,
        linear-gradient(135deg,
            rgba(255, 138, 61, 0.58),
            rgba(139, 124, 248, 0.38),
            rgba(103, 200, 240, 0.34)
        ) border-box !important;
    box-shadow:
        0 20px 50px rgba(0,0,0,0.28),
        0 0 30px rgba(255, 138, 61, 0.10) !important;
    transform: translateY(-4px);
}

/* Module cards ya se elevaban: reforzamos coherencia sin carnaval */
.section-modules-dark .module-card:hover {
    color: inherit;
}

/* Stat principal 74%: también responde al hover con más borde, sin línea lateral */
.stat-card:hover {
    border-color: transparent !important;
    background:
        linear-gradient(var(--dark-mid), var(--dark-mid)) padding-box,
        linear-gradient(135deg,
            rgba(255, 138, 61, 0.68),
            rgba(139, 124, 248, 0.44),
            rgba(103, 200, 240, 0.40)
        ) border-box !important;
    box-shadow:
        0 20px 54px rgba(15, 23, 42, 0.18),
        0 0 30px rgba(255, 138, 61, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Role visual cards del diseño original */
.section-roles-light .role-stat {
    transform: translateY(0);
}

.section-roles-light .role-stat:hover {
    transform: translateY(-4px);
}

/* Mantener compatibilidad con usuarios que reducen movimiento */
@media (prefers-reduced-motion: reduce) {
    .section-roles-light .role-panel.active,
    .section-roles-light .role-grid,
    .section-roles-light .role-list li,
    .section-roles-light .role-panel.active .role-list li,
    .section-roles-light .role-stat-group,
    .section-roles-light .role-norm-grid {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}


/* =====================================================
   Ajustes v8 — responsive, UBA, roles animados y refinamiento visual
   ===================================================== */

/* Gradiente visible en fondos blancos */
.section-roles-light .role-stat,
.section-roles-light .role-norm,
.section-suite-light .suite-card,
.section-suite-light .suite-callout,
.problem-item {
    border-width: 1px;
}

.section-roles-light .role-stat:hover,
.section-roles-light .role-norm:hover,
.section-suite-light .suite-card:hover,
.section-suite-light .suite-callout:hover,
.problem-item:hover {
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg,
            rgba(255, 138, 61, 0.95),
            rgba(139, 124, 248, 0.58),
            rgba(103, 200, 240, 0.58)
        ) border-box !important;
    box-shadow:
        0 18px 44px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 138, 61, 0.18),
        0 0 28px rgba(255, 138, 61, 0.16) !important;
}

/* Centrado de textos de cabecera pedidos */
.section-diff-dark-alt .section-header .section-text,
.section-suite-light .section-header .section-text {
    max-width: 780px;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* Más allá del registro: main card no debe descuadrarse ni parecer vacía */
.section-diff-dark-alt .diff-grid {
    align-items: stretch;
}

.section-diff-dark-alt .diff-card-main {
    display: grid !important;
    grid-template-columns: auto 1fr;
    align-items: flex-start !important;
    gap: 28px;
}

.section-diff-dark-alt .diff-card-main .diff-icon {
    margin-bottom: 0;
}

.section-diff-dark-alt .diff-card-main h3 {
    margin-top: 0;
}

.diff-card-uba {
    grid-column: span 2;
}

/* Roles: sección blanca, con animaciones y panel visual de barras */
.roles-intro {
    text-align: center;
    margin-bottom: 54px;
}

.roles-intro .section-title {
    color: var(--text-dark) !important;
    margin-top: 20px;
}

.section-roles-light .role-grid-animated {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: clamp(36px, 6vw, 80px);
    align-items: flex-start;
}

.section-roles-light .role-panel {
    display: none;
    opacity: 0;
    transform: translateY(12px);
}

.section-roles-light .role-panel.active {
    display: block;
    animation: rolePanelFadeUp 0.42s ease forwards;
}

@keyframes rolePanelFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-roles-light .role-text {
    padding-top: 14px;
}

.section-roles-light .role-text h3 {
    color: var(--text-dark);
}

.section-roles-light .role-text p,
.section-roles-light .role-list li {
    color: #475569;
}

.section-roles-light .role-list li {
    opacity: 0;
    transform: translateY(6px);
}

.section-roles-light .role-panel.active .role-list li {
    animation: roleBulletIn 0.34s ease forwards;
}

.section-roles-light .role-panel.active .role-list li:nth-child(1) { animation-delay: 0.04s; }
.section-roles-light .role-panel.active .role-list li:nth-child(2) { animation-delay: 0.08s; }
.section-roles-light .role-panel.active .role-list li:nth-child(3) { animation-delay: 0.12s; }
.section-roles-light .role-panel.active .role-list li:nth-child(4) { animation-delay: 0.16s; }

@keyframes roleBulletIn {
    to { opacity: 1; transform: translateY(0); }
}

.role-motion-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 18px;
    background:
        linear-gradient(rgba(15,23,42,0.96), rgba(15,23,42,0.96)) padding-box,
        linear-gradient(135deg,
            rgba(139,124,248,0.52),
            rgba(103,200,240,0.38),
            rgba(255,138,61,0.42)
        ) border-box;
    padding: 28px;
    box-shadow: 0 22px 55px rgba(15,23,42,0.16);
}

.section-roles-light .role-panel.active .role-motion-panel {
    animation: roleVisualIn 0.46s ease both;
}

@keyframes roleVisualIn {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

.motion-header {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 24px;
}

.motion-header span {
    color: var(--accent-light);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.motion-header strong {
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
}

.motion-bars {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.motion-bar {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 14px;
    align-items: center;
}

.motion-bar span {
    color: rgba(226,232,240,0.82);
    font-size: 12px;
    font-weight: 800;
}

.motion-bar i {
    height: 8px;
    display: block;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}

.motion-bar i::before {
    content: "";
    display: block;
    height: 100%;
    width: var(--w);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), rgba(255,138,61,0.86));
    box-shadow: 0 0 18px rgba(103,200,240,0.28);
}

.section-roles-light .role-panel.active .motion-bar i::before {
    animation: motionGrow 0.7s ease both;
}

@keyframes motionGrow {
    from { width: 0; }
}

.motion-flow {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid rgba(103,200,240,0.14);
    border-radius: 14px;
    background: rgba(3,7,18,0.28);
}

.motion-flow-short {
    grid-template-columns: auto 1fr auto 1fr auto;
}

.motion-flow span {
    color: #f8fafc;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.motion-flow b {
    height: 1px;
    background: linear-gradient(90deg, rgba(139,124,248,0.40), rgba(103,200,240,0.68), rgba(255,138,61,0.42));
    position: relative;
    overflow: hidden;
}

.motion-flow b::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.95), transparent);
    transform: translateX(-100%);
    animation: motionLine 3s ease-in-out infinite;
    opacity: 0.65;
}

@keyframes motionLine {
    0% { transform: translateX(-100%); }
    55%, 100% { transform: translateX(100%); }
}

.motion-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.motion-metric {
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 14px;
    background: rgba(255,255,255,0.045);
    padding: 18px;
}

.motion-metric strong {
    display: block;
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.motion-metric span {
    display: block;
    color: rgba(203,213,225,0.86);
    font-size: 13px;
    line-height: 1.5;
}

/* Agentless: más módulos y responsive */
.arch-nodes {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.arch-node {
    min-height: 84px;
    justify-content: center;
}

/* FAQ en claro */
.section-faq-light {
    background: #ffffff !important;
}

.section-faq-light .faq-header {
    text-align: center;
}

/* Responsive global */
@media (max-width: 1180px) {
    .section-roles-light .role-grid-animated {
        grid-template-columns: 1fr;
    }

    .role-motion-panel {
        max-width: 760px;
        margin: 0 auto;
    }

    .arch-nodes {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .diff-card-uba,
    .section-diff-dark-alt .diff-card-main {
        grid-column: span 1;
    }

    .section-diff-dark-alt .diff-grid {
        grid-template-columns: 1fr;
    }

    .section-diff-dark-alt .diff-card-main {
        grid-template-columns: 1fr !important;
    }

    .arch-nodes {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .motion-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .roles-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .role-tab {
        width: 100%;
        padding: 10px 12px;
        font-size: 11px;
    }

    .role-motion-panel {
        padding: 20px;
    }

    .motion-bar {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .motion-flow,
    .motion-flow-short {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .motion-flow b {
        width: 1px;
        height: 16px;
        background: linear-gradient(180deg, rgba(139,124,248,0.40), rgba(103,200,240,0.68), rgba(255,138,61,0.42));
    }

    .arch-nodes {
        grid-template-columns: 1fr 1fr !important;
    }

    .answer-card,
    .module-card,
    .diff-card,
    .suite-card {
        padding-left: 22px;
        padding-right: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .section-roles-light .role-panel.active,
    .section-roles-light .role-panel.active .role-list li,
    .section-roles-light .role-panel.active .role-motion-panel,
    .section-roles-light .role-panel.active .motion-bar i::before,
    .motion-flow b::after {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}


/* =====================================================
   Ajustes v9 — restaurar alineación hero + UBA visual limpio
   ===================================================== */

/* Hero: texto de nuevo a la izquierda real, no centrado en el canvas */
.hero-bg img {
    object-position: 82% center !important;
    filter: saturate(1.02) contrast(1.02) brightness(0.92);
}

.hero-content {
    max-width: none !important;
    margin: 0 !important;
    padding-left: clamp(32px, 5vw, 96px) !important;
    padding-right: 5% !important;
    justify-content: flex-start !important;
}

.text-wrapper {
    max-width: 520px !important;
    margin-left: 0 !important;
}

.hero h1 {
    font-size: clamp(38px, 5.1vw, 62px);
}

/* UBA: la imagen externa puede romper; usamos mini visual integrado en CSS/HTML */
.diff-card-uba {
    grid-template-columns: auto minmax(0, 1fr) minmax(260px, 360px) !important;
    align-items: center !important;
}

.uba-copy {
    min-width: 0;
}

.uba-visual {
    position: relative;
    border: 1px solid transparent;
    border-radius: 18px;
    background:
        linear-gradient(rgba(15,23,42,0.96), rgba(15,23,42,0.96)) padding-box,
        linear-gradient(135deg,
            rgba(139,124,248,0.50),
            rgba(103,200,240,0.34),
            rgba(255,138,61,0.42)
        ) border-box;
    padding: 20px;
    box-shadow: 0 18px 46px rgba(0,0,0,0.20);
}

.uba-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.uba-avatar {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 35% 30%, rgba(103,200,240,0.95), transparent 34%),
        linear-gradient(135deg, rgba(139,124,248,0.50), rgba(255,138,61,0.26));
    box-shadow: 0 0 28px rgba(103,200,240,0.16);
}

.uba-profile strong {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.uba-profile small {
    display: block;
    color: rgba(203,213,225,0.78);
    font-size: 12px;
    margin-top: 2px;
}

.uba-signal {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.uba-signal span {
    color: rgba(226,232,240,0.82);
    font-size: 12px;
    font-weight: 800;
}

.uba-signal i {
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}

.uba-signal i::before {
    content: "";
    display: block;
    width: var(--w);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.uba-signal.uba-alert i::before {
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--warning));
    box-shadow: 0 0 18px rgba(255,138,61,0.22);
}

.uba-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 18px;
}

.uba-flow b {
    border: 1px solid rgba(103,200,240,0.16);
    border-radius: 999px;
    padding: 8px 6px;
    text-align: center;
    color: #dbeafe;
    font-size: 11px;
    font-weight: 900;
}

.uba-flow b:nth-child(2) {
    border-color: rgba(255,138,61,0.32);
    color: #ffe7d5;
}

@media (max-width: 1180px) {
    .diff-card-uba {
        grid-template-columns: auto 1fr !important;
    }

    .uba-visual {
        grid-column: 1 / -1;
        max-width: 520px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding-left: 28px !important;
        padding-right: 28px !important;
    }

    .text-wrapper {
        max-width: 560px !important;
    }

    .diff-card-uba {
        grid-template-columns: 1fr !important;
    }

    .uba-signal {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}


/* =====================================================
   Ajustes v12 — Datasheet, iconos reales, UBA limpio
   ===================================================== */

.nav-menu .nav-item a#btn-open-datasheet {
    color: #ffffff;
}

.navbar.scrolled .nav-menu .nav-item a#btn-open-datasheet {
    color: var(--text-dark);
}

/* Módulos: iconos reales */
.module-icon-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(103, 200, 240, 0.08));
}

.module-card:hover .module-icon-img {
    transform: scale(1.04);
    transition: transform 0.25s ease;
}

/* Panel arquitectura: iconos reales */
.arch-node-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 8px rgba(103, 200, 240, 0.08));
}

/* UBA limpio y alineado */
.diff-card-uba-clean {
    grid-column: span 2;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px) !important;
    gap: clamp(28px, 4vw, 56px) !important;
    align-items: start !important;
    padding: clamp(32px, 4vw, 48px) !important;
}

.diff-card-uba-clean .uba-copy {
    min-width: 0;
    padding-top: 4px;
}

.uba-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--accent-light);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.8px;
}

.uba-kicker::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--warning), var(--accent-light));
    box-shadow: 0 0 12px var(--warning-glow);
}

.diff-card-uba-clean .uba-copy h3 {
    margin: 0 0 18px !important;
    color: #ffffff;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.08;
    letter-spacing: -0.8px;
}

.diff-card-uba-clean .uba-copy p {
    max-width: 650px;
    margin: 0 0 14px !important;
    color: rgba(226, 232, 240, 0.82);
    font-size: 16px;
    line-height: 1.72;
}

.diff-card-uba-clean .uba-copy p:last-child {
    margin-bottom: 0 !important;
}

.diff-card-uba-clean .uba-visual {
    width: 100%;
    margin: 0 !important;
    align-self: start;
}

.uba-visual {
    position: relative;
    border: 1px solid transparent;
    border-radius: 18px;
    background:
        linear-gradient(rgba(15,23,42,0.96), rgba(15,23,42,0.96)) padding-box,
        linear-gradient(135deg,
            rgba(139,124,248,0.50),
            rgba(103,200,240,0.34),
            rgba(255,138,61,0.42)
        ) border-box;
    padding: 20px;
    box-shadow: 0 18px 46px rgba(0,0,0,0.20);
}

.uba-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.uba-person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.uba-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 35% 30%, rgba(103,200,240,0.95), transparent 34%),
        linear-gradient(135deg, rgba(139,124,248,0.50), rgba(255,138,61,0.26));
    box-shadow: 0 0 28px rgba(103,200,240,0.16);
}

.uba-person strong {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.uba-person small {
    display: block;
    color: rgba(203,213,225,0.78);
    font-size: 12px;
    margin-top: 2px;
}

.uba-score {
    text-align: right;
}

.uba-score em {
    display: block;
    color: rgba(203,213,225,0.72);
    font-size: 11px;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

.uba-score strong {
    display: block;
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    margin-top: 4px;
}

.uba-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.uba-mini-stat {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    padding: 10px 10px 11px;
}

.uba-mini-stat span {
    display: block;
    color: rgba(203,213,225,0.78);
    font-size: 11px;
    line-height: 1.35;
}

.uba-mini-stat b {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    margin-top: 8px;
}

.uba-signal {
    display: grid;
    grid-template-columns: 136px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.uba-signal span {
    color: rgba(226,232,240,0.82);
    font-size: 12px;
    font-weight: 800;
}

.uba-signal i {
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}

.uba-signal i::before {
    content: "";
    display: block;
    width: var(--w);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.uba-signal.uba-alert i::before {
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--warning));
    box-shadow: 0 0 18px rgba(255,138,61,0.22);
}

.uba-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 18px;
}

.uba-flow b {
    border: 1px solid rgba(103,200,240,0.16);
    border-radius: 999px;
    padding: 8px 6px;
    text-align: center;
    color: #dbeafe;
    font-size: 11px;
    font-weight: 900;
}

.uba-flow b:nth-child(2) {
    border-color: rgba(255,138,61,0.32);
    color: #ffe7d5;
}

.uba-note {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,138,61,0.10);
    border: 1px solid rgba(255,138,61,0.18);
    color: #ffe7d5;
    font-size: 12px;
    font-weight: 700;
}

/* Datasheet modal */
.datasheet-note p {
    margin: 0;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(103, 200, 240, 0.08);
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 1180px) {
    .diff-card-uba-clean {
        grid-template-columns: 1fr !important;
    }

    .diff-card-uba-clean .uba-visual {
        max-width: 640px;
    }
}

@media (max-width: 768px) {
    .diff-card-uba-clean {
        grid-column: span 1;
        padding: 28px 22px !important;
    }

    .diff-card-uba-clean .uba-copy h3 {
        font-size: 26px;
    }

    .diff-card-uba-clean .uba-copy p {
        font-size: 15px;
    }

    .uba-panel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .uba-mini-stats,
    .uba-flow {
        grid-template-columns: 1fr;
    }

    .uba-signal {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}


/* =====================================================
   TECNOLOGÍA — patrón visual Mitra
   ===================================================== */

.technology-page .navbar:not(.scrolled) { background: transparent; }

.tech-hero {
    min-height: 720px;
    padding: 160px 5% 105px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 78% 18%, rgba(103,200,240,.16), transparent 34%),
        radial-gradient(circle at 18% 0%, rgba(139,124,248,.17), transparent 32%),
        linear-gradient(180deg, #060b16 0%, #0b1120 100%);
    color: #fff;
    overflow: hidden;
}

.tech-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(420px, .78fr);
    gap: clamp(44px, 7vw, 90px);
    align-items: center;
}

.tech-hero-copy h1 {
    max-width: 820px;
    margin-bottom: 24px;
    font-size: clamp(46px, 5.6vw, 74px);
    line-height: 1.02;
    letter-spacing: -2px;
    font-weight: 900;
}

.tech-hero-copy p {
    max-width: 720px;
    margin-bottom: 38px;
    color: rgba(226,232,240,.82);
    font-size: 19px;
    line-height: 1.72;
}

.tech-console {
    border: 1px solid transparent;
    border-radius: 22px;
    padding: 28px;
    background:
        linear-gradient(rgba(15,23,42,.94), rgba(15,23,42,.94)) padding-box,
        linear-gradient(135deg, rgba(139,124,248,.52), rgba(103,200,240,.36), rgba(255,138,61,.34)) border-box;
    box-shadow: 0 34px 90px rgba(0,0,0,.28);
}

.tech-console-top { display:flex; gap:8px; margin-bottom:24px; }
.tech-console-top span { width:9px; height:9px; border-radius:99px; background:rgba(255,255,255,.22); }
.tech-console-title { margin-bottom:26px; }
.tech-console-title small { display:block; color:var(--accent-light); text-transform:uppercase; font-size:11px; font-weight:900; letter-spacing:2px; }
.tech-console-title strong { display:block; color:#fff; font-size:23px; font-weight:900; margin-top:4px; }

.tech-console-flow {
    display:grid;
    grid-template-columns:auto 1fr auto 1fr auto 1fr auto;
    gap:10px;
    align-items:center;
    margin-bottom:24px;
    padding:14px;
    border-radius:14px;
    background:rgba(3,7,18,.30);
    border:1px solid rgba(103,200,240,.14);
}

.tech-console-flow span { color:#fff; font-size:12px; font-weight:900; white-space:nowrap; }
.tech-console-flow .alert-node { color:#ffe7d5; }
.tech-console-flow .alert-node::before {
    content:""; display:inline-block; width:7px; height:7px; margin-right:7px; border-radius:99px;
    background:var(--warning); box-shadow:0 0 14px var(--warning-glow);
}
.tech-console-flow b {
    height:1px;
    background:linear-gradient(90deg, rgba(139,124,248,.4), rgba(103,200,240,.68), rgba(255,138,61,.38));
    position:relative;
    overflow:hidden;
}
.tech-console-flow b::after {
    content:""; position:absolute; inset:0;
    background:linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent);
    transform:translateX(-100%);
    animation: techLine 3.2s ease-in-out infinite;
    opacity:.65;
}
@keyframes techLine {
    0% { transform: translateX(-100%); }
    55%, 100% { transform: translateX(100%); }
}

.tech-console-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.tech-console-metrics div {
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.045);
    border-radius:14px;
    padding:16px;
}
.tech-console-metrics strong { display:block; color:#fff; font-size:17px; margin-bottom:5px; }
.tech-console-metrics span { color:rgba(203,213,225,.78); font-size:12px; line-height:1.45; }

/* ---------- Layout alterno ---------- */
.tech-section {
    padding: 120px 5%;
}

.tech-section-light {
    background: #ffffff;
    color: var(--text-dark);
}

.tech-section-dark {
    background:
        radial-gradient(circle at 10% 0%, rgba(103,200,240,.08), transparent 34%),
        radial-gradient(circle at 92% 16%, rgba(139,124,248,.10), transparent 32%),
        linear-gradient(180deg, #080d19 0%, #0f172a 100%);
    color: #ffffff;
}

.tech-two-col {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(360px, .85fr);
    gap: clamp(42px, 7vw, 90px);
    align-items: center;
}

.tech-copy h2 {
    font-size: clamp(32px, 4.8vw, 52px);
    line-height: 1.06;
    letter-spacing: -1.2px;
    font-weight: 900;
    margin: 22px 0;
}

.tech-copy p {
    color: #475569;
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 16px;
    max-width: 720px;
}

.tech-section-dark .tech-copy p,
.tech-section-dark .tech-list li {
    color: rgba(226,232,240,.80);
}

.tech-section-dark .tech-copy h2,
.tech-section-dark .section-title {
    color: #ffffff !important;
}

.tech-list {
    display: grid;
    gap: 13px;
    margin-top: 28px;
}

.tech-list li {
    position: relative;
    padding-left: 24px;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

.tech-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .65em;
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--warning), var(--accent-light));
}

/* Inspector visual */
.inspector-visual {
    min-height: 360px;
    border: 1px solid transparent;
    border-radius: 22px;
    padding: 34px;
    background:
        linear-gradient(#fff,#fff) padding-box,
        linear-gradient(135deg, rgba(139,124,248,.30), rgba(103,200,240,.20), rgba(255,138,61,.18)) border-box;
    box-shadow: 0 24px 60px rgba(15,23,42,.08);
    display: grid;
    grid-template-columns: 1fr 34px 1fr;
    gap: 16px;
    align-items: center;
}

.graph-node {
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    font-weight: 900;
    color: var(--text-dark);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.graph-main {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    color: #fff;
}

.graph-alert {
    border-color: rgba(255,138,61,.36);
    background: rgba(255,138,61,.08);
    color: #9a3412;
}

.inspector-visual i {
    height: 1px;
    background: linear-gradient(90deg, rgba(139,124,248,.45), rgba(103,200,240,.56), rgba(255,138,61,.28));
    position: relative;
    overflow: hidden;
}

.inspector-visual i::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    transform: translateX(-100%);
    animation: techLine 3s ease-in-out infinite;
}

/* UBA */
.uba-panel {
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 24px;
    background:
        linear-gradient(rgba(15,23,42,.96), rgba(15,23,42,.96)) padding-box,
        linear-gradient(135deg, rgba(139,124,248,.50), rgba(103,200,240,.34), rgba(255,138,61,.42)) border-box;
    box-shadow: 0 24px 60px rgba(0,0,0,.18);
}

.uba-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.uba-person { display:flex; align-items:center; gap:12px; }
.uba-avatar {
    width:44px; height:44px; border-radius:14px;
    background:
        radial-gradient(circle at 35% 30%, rgba(103,200,240,.95), transparent 34%),
        linear-gradient(135deg, rgba(139,124,248,.50), rgba(255,138,61,.26));
    box-shadow:0 0 28px rgba(103,200,240,.16);
}
.uba-person strong { display:block; color:#fff; font-size:14px; font-weight:900; }
.uba-person small { display:block; color:rgba(203,213,225,.78); font-size:12px; margin-top:2px; }
.uba-score { text-align:right; }
.uba-score em { display:block; color:rgba(203,213,225,.72); font-size:11px; font-style:normal; text-transform:uppercase; letter-spacing:1.3px; }
.uba-score strong { display:block; color:#fff; font-size:30px; font-weight:900; line-height:1; margin-top:4px; }
.uba-mini-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:16px; }
.uba-mini-stats div { border:1px solid rgba(255,255,255,.08); border-radius:12px; background:rgba(255,255,255,.04); padding:10px; }
.uba-mini-stats span { display:block; color:rgba(203,213,225,.78); font-size:11px; line-height:1.35; }
.uba-mini-stats b { display:block; color:#fff; font-size:18px; line-height:1; margin-top:8px; }
.uba-signal { display:grid; grid-template-columns:136px 1fr; gap:12px; align-items:center; margin-bottom:12px; }
.uba-signal span { color:rgba(226,232,240,.82); font-size:12px; font-weight:800; }
.uba-signal i { height:8px; border-radius:999px; background:rgba(255,255,255,.08); overflow:hidden; }
.uba-signal i::before { content:""; display:block; width:var(--w); height:100%; border-radius:inherit; background:linear-gradient(90deg, var(--accent), var(--accent-light)); }
.uba-signal.uba-alert i::before { background:linear-gradient(90deg, var(--accent), var(--accent-light), var(--warning)); box-shadow:0 0 18px rgba(255,138,61,.22); }
.uba-note { margin-top:14px; padding:10px 12px; border-radius:12px; background:rgba(255,138,61,.10); border:1px solid rgba(255,138,61,.18); color:#ffe7d5; font-size:12px; font-weight:700; }

/* Forense */
.tech-centered {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 58px;
}

.tech-centered .section-text {
    margin-left: auto;
    margin-right: auto;
}

.forensic-chain {
    display: grid;
    grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
    align-items: stretch;
}

.chain-item {
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 22px;
    min-height: 136px;
    background:
        linear-gradient(#fff,#fff) padding-box,
        linear-gradient(135deg, rgba(139,124,248,.26), rgba(103,200,240,.18), rgba(255,138,61,.12)) border-box;
    box-shadow: 0 16px 40px rgba(15,23,42,.06);
}

.chain-item span { color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: 1.4px; }
.chain-item strong { display: block; color: var(--text-dark); font-size: 16px; margin: 10px 0 6px; }
.chain-item small { color: #64748b; font-size: 12px; line-height: 1.4; }
.chain-alert {
    background:
        linear-gradient(#fff,#fff) padding-box,
        linear-gradient(135deg, rgba(255,138,61,.52), rgba(139,124,248,.30), rgba(103,200,240,.20)) border-box;
}
.forensic-chain i {
    align-self: center;
    height: 1px;
    background: linear-gradient(90deg, rgba(139,124,248,.42), rgba(103,200,240,.58), rgba(255,138,61,.32));
}

/* Alertas */
.alert-visual {
    display: grid;
    gap: 14px;
}

.alert-rule {
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.045);
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.alert-rule span {
    min-width: 48px;
    color: var(--accent-light);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.alert-rule strong {
    color: #fff;
    font-size: 16px;
}

.alert-rule-final {
    border-color: rgba(255,138,61,.36);
    background: rgba(255,138,61,.08);
}

/* Reporting */
.reporting-capabilities {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    max-width: 1180px;
    margin: 42px auto 36px;
}

.reporting-capabilities div {
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 22px 20px;
    background:
        linear-gradient(#fff,#fff) padding-box,
        linear-gradient(135deg, rgba(139,124,248,.26), rgba(103,200,240,.18), rgba(255,138,61,.14)) border-box;
    box-shadow: 0 14px 34px rgba(15,23,42,.05);
}

.reporting-capabilities strong {
    display: block;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 8px;
}

.reporting-capabilities span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

.reporting-preview {
    display: grid;
    grid-template-columns: 1.2fr .9fr .9fr;
    gap: 22px;
    max-width: 1180px;
    margin: 0 auto;
}

.report-card {
    border: 1px solid transparent;
    border-radius: 18px;
    padding: 28px;
    background:
        linear-gradient(#fff,#fff) padding-box,
        linear-gradient(135deg, rgba(139,124,248,.30), rgba(103,200,240,.20), rgba(255,138,61,.16)) border-box;
    box-shadow: 0 18px 44px rgba(15,23,42,.07);
}

.report-card small {
    display: block;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1.4px;
    margin-bottom: 10px;
}

.report-card strong {
    display: block;
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 14px;
}

.report-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.report-bars {
    display: grid;
    gap: 13px;
}

.report-bars span {
    position: relative;
    display: block;
    padding-top: 22px;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.report-bars span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: var(--w);
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--warning));
}

/* Arquitectura */
.architecture-diagram {
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 30px;
    background:
        linear-gradient(rgba(15,23,42,.96), rgba(15,23,42,.96)) padding-box,
        linear-gradient(135deg, rgba(139,124,248,.42), rgba(103,200,240,.26), rgba(255,138,61,.20)) border-box;
    box-shadow: 0 24px 60px rgba(0,0,0,.18);
}

.arch-layer {
    text-align: center;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    padding: 18px;
    font-weight: 900;
    color: #fff;
    background: rgba(255,255,255,.045);
}

.arch-layer-main {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.arch-layer-final {
    border-color: rgba(255,138,61,.30);
    background: rgba(255,138,61,.08);
}

.architecture-diagram > b {
    display: block;
    width: 1px;
    height: 24px;
    margin: 8px auto;
    background: linear-gradient(180deg, rgba(139,124,248,.48), rgba(103,200,240,.56), rgba(255,138,61,.30));
}

.arch-sources {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 10px;
}

.arch-sources span {
    text-align: center;
    padding: 12px 8px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    color: rgba(226,232,240,.82);
    background: rgba(255,255,255,.045);
}

/* Responsive */
@media (max-width: 1180px) {
    .tech-hero-grid,
    .tech-two-col {
        grid-template-columns: 1fr;
    }

    .tech-hero-visual,
    .uba-panel,
    .architecture-diagram {
        max-width: 720px;
    }

    .reporting-capabilities,
    .reporting-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .report-main {
        grid-column: span 2;
    }

    .forensic-chain {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .forensic-chain i {
        width: 1px;
        height: 18px;
        justify-self: center;
    }
}

@media (max-width: 760px) {
    .tech-hero {
        min-height: auto;
        padding: 132px 24px 82px;
    }

    .tech-hero-copy h1 {
        font-size: 42px;
    }

    .tech-hero-copy p {
        font-size: 16px;
    }

    .tech-console-flow {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .tech-console-flow b {
        width: 1px;
        height: 16px;
    }

    .tech-console-metrics,
    .uba-mini-stats,
    .reporting-capabilities,
    .reporting-preview,
    .arch-sources {
        grid-template-columns: 1fr;
    }

    .report-main {
        grid-column: span 1;
    }

    .tech-section {
        padding: 88px 24px;
    }

    .inspector-visual {
        grid-template-columns: 1fr;
    }

    .inspector-visual i {
        width: 1px;
        height: 18px;
        justify-self: center;
    }

    .uba-panel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .uba-score {
        text-align: left;
    }

    .uba-signal {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tech-console-flow b::after,
    .inspector-visual i::after {
        animation: none !important;
    }
}


/* =====================================================
   Tecnología v2 — Inspector avanzado, UBA enriquecido, CTA corregido
   ===================================================== */

/* ---------- Inspector avanzado ---------- */
.inspector-deep-grid {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
    gap: clamp(44px, 6vw, 86px);
    align-items: center;
}

.inspector-copy .tech-list strong {
    color: var(--text-dark);
}

.inspector-showcase {
    border: 1px solid transparent;
    border-radius: 22px;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(139,124,248,.30), rgba(103,200,240,.20), rgba(255,138,61,.18)) border-box;
    box-shadow: 0 26px 70px rgba(15,23,42,.09);
    overflow: hidden;
}

.inspector-tabs {
    display: flex;
    gap: 8px;
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.inspector-tab {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .4px;
}

.inspector-tab.active {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(139,124,248,.22);
}

.inspector-stage {
    padding: 24px;
    display: grid;
    gap: 24px;
}

.inspector-view {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    overflow: hidden;
}

/* mostramos las 3 vistas apiladas como demo real, no ocultas */
.timeline-head {
    display: grid;
    grid-template-columns: 150px repeat(6, 1fr);
    gap: 0;
    border-bottom: 1px solid #dbe3ee;
    background: #eef2f7;
}

.timeline-head span,
.timeline-head b {
    padding: 10px 12px;
    font-size: 11px;
    color: #334155;
    font-weight: 900;
}

.timeline-row {
    position: relative;
    display: grid;
    grid-template-columns: 150px 1fr;
    min-height: 46px;
    border-bottom: 1px solid #e2e8f0;
    background-image: linear-gradient(90deg, rgba(148,163,184,.16) 1px, transparent 1px);
    background-size: 34px 100%;
}

.timeline-row:last-child {
    border-bottom: none;
}

.timeline-row > span {
    padding: 9px 12px;
    background: rgba(241,245,249,.92);
    border-right: 1px solid #dbe3ee;
    color: #0f172a;
    font-size: 11px;
    font-weight: 900;
}

.timeline-row em {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
}

.timeline-row .bar {
    position: absolute;
    top: 17px;
    height: 7px;
    width: 48px;
    border-radius: 999px;
    background: linear-gradient(90deg, #8b7cf8, #67c8f0);
    box-shadow: 0 0 12px rgba(103,200,240,.18);
}

.timeline-row .bar.warn {
    background: linear-gradient(90deg, #ffd166, #ff8a3d);
}

.timeline-row .bar.hot {
    background: linear-gradient(90deg, #8b7cf8, #ff8a3d);
}

.b1 { left: 185px; width: 84px!important; }
.b2 { left: 310px; width: 68px!important; }
.b3 { left: 520px; width: 100px!important; }
.b4 { left: 190px; width: 34px!important; height: 28px!important; top: 9px!important; border-radius: 4px!important; }
.b5 { left: 442px; width: 54px!important; }
.b6 { left: 352px; width: 60px!important; }
.b7 { left: 464px; width: 82px!important; }
.b8 { left: 610px; width: 44px!important; }
.b9 { left: 394px; width: 70px!important; }
.b10 { left: 504px; width: 64px!important; }
.b11 { left: 628px; width: 40px!important; }
.b12 { left: 504px; width: 72px!important; }
.b13 { right: 58px; width: 74px!important; }
.b14 { right: 18px; width: 32px!important; }

.view-graph {
    display: grid;
    grid-template-columns: 1fr 260px;
    min-height: 360px;
    background: #050816;
}

.graph-canvas {
    position: relative;
    min-height: 360px;
    background:
        radial-gradient(circle at 50% 50%, rgba(139,124,248,.16), transparent 34%),
        #050816;
}

.graph-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 132px;
    height: 132px;
    margin-left: -66px;
    margin-top: -66px;
    border-radius: 999px;
    border: 1px solid rgba(255,138,61,.72);
    background: rgba(255,138,61,.08);
    color: #fff;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 0 34px rgba(255,138,61,.18);
    z-index: 3;
}

.graph-center small {
    display: block;
    margin-top: 5px;
    color: rgba(226,232,240,.70);
    font-size: 10px;
}

.g-node {
    position: absolute;
    min-width: 92px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(103,200,240,.45);
    background: rgba(103,200,240,.08);
    color: #dff7ff;
    font-size: 10px;
    font-weight: 900;
    text-align: center;
    z-index: 2;
}

.n1 { left: 7%; top: 18%; }
.n2 { left: 36%; top: 7%; }
.n3 { right: 8%; top: 18%; }
.n4 { right: 7%; bottom: 22%; }
.n5 { left: 9%; bottom: 18%; }
.n6 { left: 38%; bottom: 7%; }
.n7 { right: 32%; top: 42%; }
.n8 { left: 30%; top: 48%; }

.graph-canvas .line {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 1px;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(103,200,240,.5), rgba(255,138,61,.25));
    z-index: 1;
}

.l1 { width: 250px; transform: rotate(-150deg); }
.l2 { width: 190px; transform: rotate(-96deg); }
.l3 { width: 230px; transform: rotate(-35deg); }
.l4 { width: 240px; transform: rotate(35deg); }
.l5 { width: 260px; transform: rotate(150deg); }
.l6 { width: 190px; transform: rotate(96deg); }
.l7 { width: 160px; transform: rotate(0deg); }
.l8 { width: 140px; transform: rotate(180deg); }

.graph-side {
    background: #ffffff;
    border-left: 1px solid #dbe3ee;
    padding: 18px;
}

.graph-side strong {
    display: block;
    color: #0f172a;
    font-size: 14px;
    margin-bottom: 14px;
}

.graph-side dl {
    display: grid;
    gap: 0;
}

.graph-side dt,
.graph-side dd {
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 11px;
}

.graph-side dt {
    color: #64748b;
    font-weight: 900;
    text-transform: uppercase;
}

.graph-side dd {
    color: #0f172a;
    font-weight: 800;
}

.graph-side dd span {
    display: inline-block;
    color: #166534;
    background: #dcfce7;
    border: 1px solid #86efac;
    border-radius: 999px;
    padding: 2px 8px;
}

.view-sequence {
    padding: 24px;
    background: #eef2f7;
}

.sequence-card {
    max-width: 520px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dbe3ee;
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
}

.sequence-card b {
    display: block;
    padding: 9px 14px;
    color: #fff;
    background: #64748b;
    font-size: 12px;
}

.sequence-card strong {
    display: block;
    padding: 13px 14px 4px;
    color: #0f172a;
    font-size: 14px;
}

.sequence-card span {
    display: block;
    padding: 0 14px 13px;
    color: #475569;
    font-size: 12px;
}

.view-sequence > i {
    display: block;
    width: 1px;
    height: 24px;
    margin: 7px auto;
    background: #94a3b8;
}

.sequence-card.ok b { background: #22c55e; }
.sequence-card.warn b { background: #facc15; color: #422006; }
.sequence-card.danger b { background: #ff8a3d; }

/* ---------- UBA dashboard enriquecido ---------- */
.uba-deep-grid {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(620px, 1.22fr);
    gap: clamp(44px, 6vw, 86px);
    align-items: center;
}

.uba-dashboard {
    border: 1px solid transparent;
    border-radius: 22px;
    padding: 24px;
    background:
        linear-gradient(rgba(15,23,42,.96), rgba(15,23,42,.96)) padding-box,
        linear-gradient(135deg, rgba(139,124,248,.50), rgba(103,200,240,.34), rgba(255,138,61,.42)) border-box;
    box-shadow: 0 24px 70px rgba(0,0,0,.22);
}

.uba-dashboard-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.uba-dashboard-top div,
.uba-profile-card,
.uba-indicators,
.uba-killchain .kill-item {
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.045);
    border-radius: 14px;
}

.uba-dashboard-top div {
    padding: 14px;
}

.uba-dashboard-top small {
    display: block;
    color: rgba(203,213,225,.75);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 900;
}

.uba-dashboard-top strong {
    display: block;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    margin: 8px 0 4px;
}

.uba-dashboard-top span {
    color: rgba(203,213,225,.70);
    font-size: 11px;
}

.uba-dashboard-main {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
    gap: 16px;
    margin-bottom: 16px;
}

.uba-profile-card,
.uba-indicators {
    padding: 20px;
}

.uba-indicators h3 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 16px;
}

.uba-indicators div {
    display: grid;
    grid-template-columns: 1fr 160px 22px;
    gap: 10px;
    align-items: center;
    margin-bottom: 13px;
}

.uba-indicators span {
    color: rgba(226,232,240,.82);
    font-size: 12px;
    font-weight: 700;
}

.uba-indicators i {
    height: 7px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    overflow: hidden;
}

.uba-indicators i::before {
    content: "";
    display: block;
    height: 100%;
    width: var(--w);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--warning));
}

.uba-indicators b {
    color: #fff;
    font-size: 12px;
    text-align: right;
}

.uba-killchain {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.uba-killchain .kill-item {
    padding: 15px;
}

.uba-killchain strong {
    display: block;
    color: #fff;
    font-size: 13px;
    margin-bottom: 6px;
}

.uba-killchain span {
    display: block;
    color: rgba(203,213,225,.72);
    font-size: 12px;
}

.uba-killchain .kill-hot {
    border-color: rgba(255,138,61,.34);
    background: rgba(255,138,61,.08);
}

/* ---------- Arquitectura centrada y NAS ---------- */
.arch-layer,
.arch-sources span {
    text-align: center !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.architecture-diagram {
    text-align: center;
}

/* ---------- CTA final visible ---------- */
.cta-footer-section {
    position: relative;
    background:
        radial-gradient(circle at 50% 0%, rgba(139,124,248,.18), transparent 36%),
        linear-gradient(180deg, #080d19 0%, #10162b 100%) !important;
    color: #ffffff !important;
    overflow: hidden;
}

.cta-footer-section .cta-content {
    position: relative;
    z-index: 1;
}

.cta-footer-section h2 {
    color: #ffffff !important;
    opacity: 1 !important;
}

.cta-footer-section p {
    color: rgba(226,232,240,.82) !important;
    opacity: 1 !important;
}

.cta-footer-section .btn,
.cta-footer-section .btn-primary {
    background: linear-gradient(90deg, var(--accent), var(--accent-light)) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 16px 36px rgba(139,124,248,.26);
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
    .inspector-deep-grid,
    .uba-deep-grid {
        grid-template-columns: 1fr;
    }

    .inspector-showcase,
    .uba-dashboard {
        max-width: 980px;
    }
}

@media (max-width: 900px) {
    .view-graph {
        grid-template-columns: 1fr;
    }

    .graph-side {
        border-left: none;
        border-top: 1px solid #dbe3ee;
    }

    .uba-dashboard-top,
    .uba-dashboard-main,
    .uba-killchain {
        grid-template-columns: 1fr;
    }

    .uba-indicators div {
        grid-template-columns: 1fr;
    }

    .timeline-head {
        display: none;
    }

    .timeline-row {
        grid-template-columns: 120px 1fr;
    }

    .timeline-row .bar {
        transform: scaleX(.72);
        transform-origin: left center;
    }
}

@media (max-width: 680px) {
    .inspector-stage {
        padding: 14px;
    }

    .inspector-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }

    .graph-canvas {
        min-height: 430px;
    }

    .graph-center {
        width: 112px;
        height: 112px;
        margin-left: -56px;
        margin-top: -56px;
    }

    .g-node {
        min-width: 76px;
        font-size: 9px;
        padding: 8px;
    }

    .timeline-row {
        overflow: hidden;
    }

    .timeline-row .bar {
        left: 150px !important;
    }

    .timeline-row .bar:nth-of-type(2) {
        left: 230px !important;
    }

    .timeline-row .bar:nth-of-type(3) {
        left: 300px !important;
    }
}



/* =========================================================
   TECNOLOGÍA V3 — Inspector y UBA corregidos
   ========================================================= */

/* ----- Inspector v3 ----- */
.inspector-v3-grid {
    display: grid !important;
    grid-template-columns: minmax(320px, 0.92fr) minmax(540px, 1.08fr) !important;
    gap: clamp(36px, 4vw, 64px) !important;
    align-items: start !important;
}

.inspector-v3-copy {
    align-self: start !important;
    padding-top: 4px;
}

.inspector-v3-shell {
    border: 1px solid transparent;
    border-radius: 24px;
    overflow: hidden;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(139,124,248,.30), rgba(103,200,240,.22), rgba(255,138,61,.22)) border-box;
    box-shadow: 0 22px 64px rgba(15,23,42,.10);
}

.inspector-v3-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.inspector-v3-nav {
    display: flex;
    gap: 10px;
    padding: 16px;
    border-bottom: 1px solid #e5ebf3;
    background: #f8fafc;
}

.inspector-v3-nav label {
    border: 1px solid #dbe4ef;
    background: #ffffff;
    color: #475569;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .35px;
    cursor: pointer;
    transition: all .25s ease;
}

#inspector-tab-timeline:checked ~ .inspector-v3-nav label[for="inspector-tab-timeline"],
#inspector-tab-graph:checked ~ .inspector-v3-nav label[for="inspector-tab-graph"],
#inspector-tab-sequence:checked ~ .inspector-v3-nav label[for="inspector-tab-sequence"] {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(139,124,248,.22);
}

.inspector-v3-views {
    padding: 18px;
}

.inspector-v3-pane {
    display: none;
}

#inspector-tab-timeline:checked ~ .inspector-v3-views .inspector-v3-pane-timeline,
#inspector-tab-graph:checked ~ .inspector-v3-views .inspector-v3-pane-graph,
#inspector-tab-sequence:checked ~ .inspector-v3-views .inspector-v3-pane-sequence {
    display: block;
}

.timeline-v3-head {
    display: grid;
    grid-template-columns: 160px repeat(6, 1fr);
    background: #eef2f7;
    border: 1px solid #dbe4ef;
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.timeline-v3-head span,
.timeline-v3-head b {
    padding: 11px 12px;
    font-size: 11px;
    color: #334155;
    font-weight: 900;
}

.timeline-v3-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    border-left: 1px solid #dbe4ef;
    border-right: 1px solid #dbe4ef;
    border-bottom: 1px solid #dbe4ef;
    min-height: 56px;
    background: #ffffff;
}

.timeline-v3-row:last-child {
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

.timeline-v3-row > span {
    padding: 11px 12px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
    border-right: 1px solid #e5ebf3;
}

.timeline-v3-row > span em {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
}

.timeline-v3-bars {
    position: relative;
    min-height: 56px;
    background-image:
        linear-gradient(to right, rgba(148,163,184,.20) 1px, transparent 1px);
    background-size: calc(100% / 6) 100%;
}

.timeline-v3-bars .tl {
    position: absolute;
    top: 22px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #8b7cf8, #67c8f0);
}

.timeline-v3-bars .tl.warn {
    background: linear-gradient(90deg, #ffd166, #ff8a3d);
}

.timeline-v3-bars .tl.hot {
    background: linear-gradient(90deg, #8b7cf8, #67c8f0, #ff8a3d);
}

.timeline-v3-bars .a { left: 4%; width: 10%; }
.timeline-v3-bars .b { left: 16%; width: 14%; }
.timeline-v3-bars .c { left: 62%; width: 13%; }
.timeline-v3-bars .d { left: 8%; width: 6%; top: 12px; height: 30px; border-radius: 4px; }
.timeline-v3-bars .e { left: 34%; width: 10%; }
.timeline-v3-bars .f { left: 40%; width: 10%; }
.timeline-v3-bars .g { left: 60%; width: 14%; }
.timeline-v3-bars .h { left: 78%; width: 9%; }
.timeline-v3-bars .i { left: 49%; width: 12%; }
.timeline-v3-bars .j { left: 67%; width: 10%; }
.timeline-v3-bars .k { left: 75%; width: 8%; }
.timeline-v3-bars .l { left: 67%; width: 11%; }
.timeline-v3-bars .m { left: 62%; width: 12%; }
.timeline-v3-bars .n { left: 82%; width: 5%; }

.inspector-v3-pane-graph {
    display: none;
    grid-template-columns: minmax(320px, 1fr) 260px;
    border: 1px solid #dbe4ef;
    border-radius: 18px;
    overflow: hidden;
    background: #050816;
}

#inspector-tab-graph:checked ~ .inspector-v3-views .inspector-v3-pane-graph {
    display: grid;
}

.graph-v3-canvas {
    position: relative;
    min-height: 420px;
    background:
        radial-gradient(circle at 50% 50%, rgba(139,124,248,.16), transparent 38%),
        #050816;
    overflow: hidden;
}

.graph-v3-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 154px;
    height: 154px;
    border-radius: 999px;
    border: 1px solid rgba(255,138,61,.85);
    background: rgba(255,138,61,.08);
    box-shadow: 0 0 34px rgba(255,138,61,.18);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    text-align: center;
    z-index: 2;
    padding: 18px;
}

.graph-v3-center strong {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.1;
}

.graph-v3-center span {
    color: rgba(226,232,240,.80);
    font-size: 11px;
    line-height: 1.3;
}

.graph-v3-node {
    position: absolute;
    min-width: 108px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(103,200,240,.45);
    background: rgba(103,200,240,.08);
    color: #eafaff;
    font-size: 11px;
    font-weight: 900;
    text-align: center;
    z-index: 2;
}

.graph-v3-node.node-1 { left: 50%; top: 9%; transform: translateX(-50%); }
.graph-v3-node.node-2 { left: 9%; top: 28%; }
.graph-v3-node.node-3 { right: 9%; top: 28%; }
.graph-v3-node.node-4 { right: 11%; bottom: 18%; }
.graph-v3-node.node-5 { left: 9%; bottom: 18%; }
.graph-v3-node.node-6 { left: 50%; bottom: 7%; transform: translateX(-50%); }

.graph-v3-link {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 1px;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(103,200,240,.40), rgba(255,138,61,.28));
    z-index: 1;
}

.graph-v3-link.link-1 { width: 138px; transform: rotate(-90deg); }
.graph-v3-link.link-2 { width: 190px; transform: rotate(-151deg); }
.graph-v3-link.link-3 { width: 190px; transform: rotate(-29deg); }
.graph-v3-link.link-4 { width: 190px; transform: rotate(29deg); }
.graph-v3-link.link-5 { width: 190px; transform: rotate(151deg); }
.graph-v3-link.link-6 { width: 142px; transform: rotate(90deg); }

.graph-v3-side {
    background: #ffffff;
    border-left: 1px solid #dbe4ef;
    padding: 20px;
}

.graph-v3-side strong {
    display: block;
    margin-bottom: 14px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
}

.graph-v3-side dl {
    display: grid;
    gap: 0;
}

.graph-v3-side dt,
.graph-v3-side dd {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.graph-v3-side dt {
    color: #64748b;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 900;
}

.graph-v3-side dd {
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
}

.graph-v3-side dd span {
    display: inline-block;
    color: #166534;
    background: #dcfce7;
    border: 1px solid #86efac;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 11px;
}

.inspector-v3-pane-sequence {
    border: 1px solid #dbe4ef;
    border-radius: 18px;
    background: #eef2f7;
    padding: 24px;
}

.sequence-v3-list {
    max-width: 580px;
    margin: 0 auto;
}

.sequence-v3-card {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
}

.sequence-v3-card header {
    padding: 10px 14px;
    color: #ffffff;
    background: #7c8392;
    font-size: 12px;
    font-weight: 900;
}

.sequence-v3-card strong {
    display: block;
    padding: 14px 14px 4px;
    color: #0f172a;
    font-size: 15px;
}

.sequence-v3-card span {
    display: block;
    padding: 0 14px 14px;
    color: #475569;
    font-size: 12px;
}

.sequence-v3-list > i {
    display: block;
    width: 2px;
    height: 22px;
    margin: 6px auto;
    background: #94a3b8;
}

.sequence-v3-card.ok header { background: #22c55e; }
.sequence-v3-card.warn header { background: #facc15; color: #3d2a00; }
.sequence-v3-card.danger header { background: #ff8a3d; color: #ffffff; }

/* ----- UBA v3 ----- */
.uba-v3-grid {
    display: grid !important;
    grid-template-columns: minmax(320px, .9fr) minmax(560px, 1.1fr) !important;
    gap: clamp(36px, 4vw, 64px) !important;
    align-items: start !important;
}

.uba-v3-copy {
    align-self: start !important;
}

.uba-v3-shell {
    border: 1px solid transparent;
    border-radius: 24px;
    padding: 22px;
    background:
        linear-gradient(rgba(15,23,42,.96), rgba(15,23,42,.96)) padding-box,
        linear-gradient(135deg, rgba(139,124,248,.52), rgba(103,200,240,.34), rgba(255,138,61,.42)) border-box;
    box-shadow: 0 24px 70px rgba(0,0,0,.22);
}

.uba-v3-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.uba-v3-kpi,
.uba-v3-profile,
.uba-v3-side,
.uba-v3-chip-card {
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.045);
    border-radius: 16px;
}

.uba-v3-kpi {
    padding: 14px;
}

.uba-v3-kpi small {
    display: block;
    color: rgba(203,213,225,.75);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 900;
}

.uba-v3-kpi strong {
    display: block;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    margin: 8px 0 4px;
}

.uba-v3-kpi span {
    color: rgba(203,213,225,.72);
    font-size: 11px;
}

.uba-v3-main {
    display: grid;
    grid-template-columns: minmax(300px, 1.1fr) minmax(240px, .9fr);
    gap: 16px;
    margin-bottom: 14px;
}

.uba-v3-profile,
.uba-v3-side {
    padding: 20px;
}

.uba-v3-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.uba-v3-person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.uba-v3-avatar {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: radial-gradient(circle at 30% 30%, rgba(103,200,240,.9), rgba(139,124,248,.45) 28%, rgba(255,138,61,.18) 100%);
    box-shadow: inset 0 1px 10px rgba(255,255,255,.08);
}

.uba-v3-person strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 5px;
}

.uba-v3-person small {
    color: rgba(203,213,225,.78);
    font-size: 12px;
    line-height: 1.4;
}

.uba-v3-score {
    text-align: right;
    flex: 0 0 auto;
}

.uba-v3-score em {
    display: block;
    color: rgba(203,213,225,.74);
    font-size: 11px;
    text-transform: uppercase;
    font-style: normal;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.uba-v3-score strong {
    color: #ffffff;
    font-size: 48px;
    line-height: 1;
}

.uba-v3-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.uba-v3-mini div {
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    border-radius: 14px;
    padding: 14px;
}

.uba-v3-mini span {
    display: block;
    color: rgba(203,213,225,.82);
    font-size: 11px;
    line-height: 1.3;
}

.uba-v3-mini b {
    display: block;
    color: #ffffff;
    font-size: 16px;
    margin-top: 8px;
}

.uba-v3-meter {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.uba-v3-meter span {
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.uba-v3-meter i,
.uba-v3-indicator i {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    overflow: hidden;
}

.uba-v3-meter i::before,
.uba-v3-indicator i::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--warning));
}

.uba-v3-meter i.w88::before { width: 88%; }
.uba-v3-meter i.w72::before { width: 72%; }
.uba-v3-meter i.w94::before { width: 94%; }

.uba-v3-note {
    margin-top: 16px;
    padding: 15px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,138,61,.32);
    background: rgba(255,138,61,.08);
    color: #fff2e8;
    font-size: 14px;
    font-weight: 900;
}

.uba-v3-side h3 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 18px;
}

.uba-v3-indicator {
    display: grid;
    grid-template-columns: 1fr 150px 24px;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.uba-v3-indicator span {
    color: rgba(226,232,240,.86);
    font-size: 13px;
    font-weight: 700;
}

.uba-v3-indicator b {
    color: #ffffff;
    font-size: 13px;
    text-align: right;
}

.uba-v3-indicator i.w92::before { width: 92%; }
.uba-v3-indicator i.w42::before { width: 42%; }
.uba-v3-indicator i.w36::before { width: 36%; }
.uba-v3-indicator i.w28::before { width: 28%; }
.uba-v3-indicator i.w24::before { width: 24%; }

.uba-v3-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.uba-v3-chip-card {
    padding: 16px;
}

.uba-v3-chip-card strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 6px;
}

.uba-v3-chip-card span {
    color: rgba(203,213,225,.76);
    font-size: 12px;
}

.uba-v3-chip-card.hot {
    border-color: rgba(255,138,61,.32);
    background: rgba(255,138,61,.08);
}

/* Button contrast safety for final CTA */
.cta-footer-section h2,
.cta-footer-section p {
    opacity: 1 !important;
}

.cta-footer-section .btn,
.cta-footer-section .btn-primary {
    color: #ffffff !important;
}

/* ----- responsive ----- */
@media (max-width: 1180px) {
    .inspector-v3-grid,
    .uba-v3-grid {
        grid-template-columns: 1fr !important;
    }

    .inspector-v3-copy,
    .uba-v3-copy {
        max-width: 900px;
    }
}

@media (max-width: 960px) {
    .inspector-v3-pane-graph,
    #inspector-tab-graph:checked ~ .inspector-v3-views .inspector-v3-pane-graph {
        grid-template-columns: 1fr;
    }

    .graph-v3-side {
        border-left: none;
        border-top: 1px solid #dbe4ef;
    }

    .uba-v3-top,
    .uba-v3-main,
    .uba-v3-bottom {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .inspector-v3-nav {
        display: grid;
        grid-template-columns: 1fr;
    }

    .timeline-v3-head {
        display: none;
    }

    .timeline-v3-row {
        grid-template-columns: 132px 1fr;
    }

    .graph-v3-canvas {
        min-height: 500px;
    }

    .graph-v3-node {
        min-width: 92px;
        font-size: 10px;
    }

    .graph-v3-node.node-2 { left: 5%; top: 26%; }
    .graph-v3-node.node-3 { right: 5%; top: 26%; }
    .graph-v3-node.node-5 { left: 5%; bottom: 18%; }
    .graph-v3-node.node-4 { right: 5%; bottom: 18%; }

    .uba-v3-top,
    .uba-v3-main,
    .uba-v3-bottom,
    .uba-v3-mini {
        grid-template-columns: 1fr;
    }

    .uba-v3-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .uba-v3-score {
        text-align: left;
    }

    .uba-v3-meter {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .uba-v3-indicator {
        grid-template-columns: 1fr;
    }
}



/* =========================================================
   TECNOLOGÍA V4 — grafo e UBA refinados
   ========================================================= */

/* ---- Inspector graph v4 ---- */
.graph-v4-canvas {
    position: relative;
    min-height: 520px;
    background:
        radial-gradient(circle at 50% 50%, rgba(255,138,61,.10), transparent 34%),
        radial-gradient(circle at 50% 50%, rgba(139,124,248,.10), transparent 52%),
        linear-gradient(180deg, #030817 0%, #050b1d 100%);
    overflow: hidden;
}

.graph-v4-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 12% 10%, rgba(255,255,255,.35) 0 1px, transparent 1.5px),
        radial-gradient(circle at 76% 22%, rgba(255,255,255,.25) 0 1px, transparent 1.5px),
        radial-gradient(circle at 62% 84%, rgba(255,255,255,.25) 0 1px, transparent 1.5px),
        radial-gradient(circle at 28% 74%, rgba(255,255,255,.20) 0 1px, transparent 1.5px);
    opacity: .35;
    pointer-events: none;
}

.graph-v4-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 176px;
    height: 176px;
    border-radius: 999px;
    border: 1px solid rgba(255,138,61,.9);
    box-shadow: 0 0 0 1px rgba(255,138,61,.24) inset, 0 0 38px rgba(255,138,61,.18);
    background: radial-gradient(circle at 50% 40%, rgba(255,138,61,.12), rgba(139,124,248,.08) 64%, rgba(5,11,29,.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 18px;
    text-align: center;
    z-index: 3;
}
.graph-v4-core-icon {
    color: #ff8a3d;
    font-size: 16px;
    line-height: 1;
}
.graph-v4-center strong {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.1;
}
.graph-v4-center small {
    color: rgba(226,232,240,.82);
    font-size: 11px;
    line-height: 1.35;
}

.graph-v4-node {
    position: absolute;
    min-width: 112px;
    max-width: 132px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(6, 19, 40, .88);
    border: 1px solid rgba(103,200,240,.42);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 10px 22px rgba(0,0,0,.12);
    color: #eef7ff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    z-index: 3;
}
.graph-v4-node::before {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    right: 10px;
    top: 10px;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
    opacity: .9;
}
.graph-v4-node.c-cyan { color: #67c8f0; border-color: rgba(103,200,240,.55); }
.graph-v4-node.c-blue { color: #67a6ff; border-color: rgba(103,166,255,.55); }
.graph-v4-node.c-gold { color: #ffd166; border-color: rgba(255,209,102,.55); }
.graph-v4-node.c-green { color: #5be3a4; border-color: rgba(91,227,164,.55); }
.graph-v4-node.c-orange { color: #ff8a3d; border-color: rgba(255,138,61,.55); }
.graph-v4-node.c-purple { color: #a88bff; border-color: rgba(168,139,255,.55); }

.graph-v4-node.n-top { left: 50%; top: 8%; transform: translateX(-50%); }
.graph-v4-node.n-top-left { left: 18%; top: 10%; }
.graph-v4-node.n-top-right { right: 16%; top: 12%; }
.graph-v4-node.n-left-top { left: 6%; top: 28%; }
.graph-v4-node.n-right-top { right: 6%; top: 28%; }
.graph-v4-node.n-left-mid { left: 2%; top: 46%; }
.graph-v4-node.n-right-mid { right: 1%; top: 48%; }
.graph-v4-node.n-left-bottom { left: 8%; bottom: 20%; }
.graph-v4-node.n-right-bottom { right: 8%; bottom: 20%; }
.graph-v4-node.n-bottom-left { left: 22%; bottom: 8%; }
.graph-v4-node.n-bottom-right { right: 24%; bottom: 8%; }

.graph-v4-link {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 1px;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(103,200,240,.42), rgba(255,138,61,.26));
    z-index: 1;
    opacity: .72;
}
.graph-v4-link.l-top { width: 160px; transform: rotate(-90deg); }
.graph-v4-link.l-top-left { width: 176px; transform: rotate(-119deg); }
.graph-v4-link.l-top-right { width: 174px; transform: rotate(-61deg); }
.graph-v4-link.l-left-top { width: 165px; transform: rotate(-153deg); }
.graph-v4-link.l-right-top { width: 166px; transform: rotate(-27deg); }
.graph-v4-link.l-left-mid { width: 177px; transform: rotate(180deg); }
.graph-v4-link.l-right-mid { width: 184px; transform: rotate(0deg); }
.graph-v4-link.l-left-bottom { width: 167px; transform: rotate(151deg); }
.graph-v4-link.l-right-bottom { width: 170px; transform: rotate(29deg); }
.graph-v4-link.l-bottom-left { width: 164px; transform: rotate(123deg); }
.graph-v4-link.l-bottom-right { width: 160px; transform: rotate(59deg); }

/* ---- UBA v4 alignment ---- */
.uba-v3-shell,
.uba-v3-top,
.uba-v3-main,
.uba-v3-bottom,
.uba-v3-profile,
.uba-v3-side,
.uba-v3-chip-card,
.uba-v3-mini div {
    min-width: 0;
    box-sizing: border-box;
}

.uba-v3-top {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.uba-v3-kpi {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 124px;
}

.uba-v3-main {
    grid-template-columns: minmax(0, 1.03fr) minmax(260px, .97fr);
    align-items: start;
}

.uba-v3-profile,
.uba-v3-side {
    height: 100%;
}

.uba-v3-head {
    align-items: flex-start;
}

.uba-v3-person {
    min-width: 0;
    flex: 1 1 auto;
}

.uba-v3-person > div {
    min-width: 0;
}

.uba-v3-person strong,
.uba-v3-person small {
    word-break: break-word;
}

.uba-v3-score {
    flex: 0 0 76px;
}

.uba-v3-mini {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uba-v3-meter {
    grid-template-columns: 165px minmax(0, 1fr);
}

.uba-v3-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.uba-v3-side h3 {
    margin-bottom: 4px;
}

.uba-v3-indicator {
    grid-template-columns: minmax(0, 1fr) minmax(90px, 140px) 16px;
    align-items: center;
    column-gap: 12px;
    margin-bottom: 0;
}

.uba-v3-indicator span {
    min-width: 0;
    word-break: normal;
}

.uba-v3-indicator b {
    justify-self: end;
    width: 16px;
}

.uba-v3-bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uba-v3-chip-card {
    min-height: 104px;
}

@media (max-width: 1024px) {
    .graph-v4-canvas {
        min-height: 560px;
    }

    .graph-v4-node.n-left-mid { left: 3%; top: 45%; }
    .graph-v4-node.n-right-mid { right: 3%; top: 45%; }

    .uba-v3-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .uba-v3-main { grid-template-columns: 1fr; }
    .uba-v3-bottom { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .graph-v4-canvas {
        min-height: 640px;
    }
    .graph-v4-center {
        width: 148px;
        height: 148px;
    }
    .graph-v4-node {
        min-width: 92px;
        max-width: 110px;
        font-size: 10px;
        padding: 9px 10px;
    }
    .graph-v4-node.n-top { top: 6%; }
    .graph-v4-node.n-top-left { left: 14%; top: 17%; }
    .graph-v4-node.n-top-right { right: 14%; top: 17%; }
    .graph-v4-node.n-left-top { left: 3%; top: 32%; }
    .graph-v4-node.n-right-top { right: 3%; top: 32%; }
    .graph-v4-node.n-left-mid { left: 3%; top: 49%; }
    .graph-v4-node.n-right-mid { right: 3%; top: 49%; }
    .graph-v4-node.n-left-bottom { left: 6%; bottom: 18%; }
    .graph-v4-node.n-right-bottom { right: 6%; bottom: 18%; }
    .graph-v4-node.n-bottom-left { left: 16%; bottom: 6%; }
    .graph-v4-node.n-bottom-right { right: 16%; bottom: 6%; }

    .uba-v3-top,
    .uba-v3-mini,
    .uba-v3-bottom {
        grid-template-columns: 1fr;
    }

    .uba-v3-head {
        flex-direction: column;
        gap: 12px;
    }
    .uba-v3-score {
        flex: 0 0 auto;
        text-align: left;
    }
    .uba-v3-meter {
        grid-template-columns: 1fr;
    }
    .uba-v3-indicator {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }
    .uba-v3-indicator b {
        width: auto;
        justify-self: start;
    }
}


/* =========================================================
   V5 refinement — Inspector graph + UBA alignment
   ========================================================= */

.inspector-v3-pane-graph {
    grid-template-columns: minmax(460px, 1.32fr) minmax(250px, .68fr);
}

.graph-v5-canvas {
    position: relative;
    min-height: 560px;
    background:
        radial-gradient(circle at 50% 50%, rgba(255,138,61,.12), transparent 26%),
        radial-gradient(circle at 50% 50%, rgba(139,124,248,.08), transparent 48%),
        linear-gradient(180deg, #030817 0%, #050b1d 100%);
    overflow: hidden;
}
.graph-v5-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 12% 12%, rgba(255,255,255,.30) 0 1px, transparent 1.5px),
        radial-gradient(circle at 28% 72%, rgba(255,255,255,.20) 0 1px, transparent 1.5px),
        radial-gradient(circle at 76% 22%, rgba(255,255,255,.22) 0 1px, transparent 1.5px),
        radial-gradient(circle at 84% 84%, rgba(255,255,255,.18) 0 1px, transparent 1.5px);
    opacity: .4;
}
.graph-v5-center {
    position: absolute;
    left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 168px; height: 168px; border-radius: 999px;
    border: 1px solid rgba(255,138,61,.95);
    box-shadow: 0 0 0 1px rgba(255,138,61,.18) inset, 0 0 36px rgba(255,138,61,.18);
    background: radial-gradient(circle at 50% 40%, rgba(255,138,61,.11), rgba(139,124,248,.08) 62%, rgba(5,11,29,.86) 100%);
    z-index: 3; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; gap:4px; padding:18px;
}
.graph-v5-core-ring {
    width: 14px; height: 14px; border-radius: 50%; border: 2px solid #ff8a3d; box-shadow: 0 0 0 3px rgba(255,138,61,.12); margin-bottom: 2px;
}
.graph-v5-center strong { color:#fff; font-size:18px; line-height:1.1; }
.graph-v5-center small { color:rgba(226,232,240,.82); font-size:11px; line-height:1.25; }

.graph-v5-node {
    position: absolute;
    width: 124px;
    min-height: 60px;
    padding: 10px 10px 9px;
    border-radius: 14px;
    background: rgba(6,19,40,.90);
    border: 1px solid rgba(103,200,240,.46);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 10px 22px rgba(0,0,0,.12);
    color: #eef7ff;
    z-index: 3;
    text-align: center;
}
.graph-v5-node b,
.graph-v5-node small { display:block; }
.graph-v5-node b { font-size: 12px; line-height: 1.15; font-weight: 900; color: currentColor; }
.graph-v5-node small { font-size: 10px; line-height: 1.15; color: rgba(226,232,240,.78); margin-top: 4px; }
.graph-v5-ico {
    display:inline-flex; align-items:center; justify-content:center;
    width: 18px; height:18px; border-radius: 6px; font-size:11px; font-weight:900;
    background: rgba(255,255,255,.06); color: currentColor; margin-bottom:6px;
}
.graph-v5-node::after {
    content: ''; position: absolute; right: 10px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor;
}
.graph-v5-node.c-cyan { color: #67c8f0; border-color: rgba(103,200,240,.52); }
.graph-v5-node.c-blue { color: #67a6ff; border-color: rgba(103,166,255,.52); }
.graph-v5-node.c-gold { color: #ffd166; border-color: rgba(255,209,102,.52); }
.graph-v5-node.c-green { color: #5be3a4; border-color: rgba(91,227,164,.52); }
.graph-v5-node.c-orange { color: #ff8a3d; border-color: rgba(255,138,61,.52); }
.graph-v5-node.c-purple { color: #a88bff; border-color: rgba(168,139,255,.52); }

.graph-v5-node.pos-top { left: 50%; top: 8%; transform: translateX(-50%); }
.graph-v5-node.pos-top-left { left: 14%; top: 12%; }
.graph-v5-node.pos-top-right { right: 14%; top: 12%; }
.graph-v5-node.pos-left-top { left: 6%; top: 30%; }
.graph-v5-node.pos-right-top { right: 6%; top: 30%; }
.graph-v5-node.pos-left-mid { left: 3%; top: 48%; }
.graph-v5-node.pos-right-mid { right: 3%; top: 48%; }
.graph-v5-node.pos-left-bottom { left: 8%; bottom: 18%; }
.graph-v5-node.pos-right-bottom { right: 8%; bottom: 18%; }
.graph-v5-node.pos-bottom-left { left: 24%; bottom: 7%; }
.graph-v5-node.pos-bottom-right { right: 24%; bottom: 7%; }

.graph-v5-link {
    position:absolute; left:50%; top:50%; height:1px; transform-origin:left center;
    background: linear-gradient(90deg, rgba(103,200,240,.28), rgba(255,138,61,.22)); z-index:1; opacity:.72;
}
.graph-v5-link.l-top { width: 185px; transform: rotate(-90deg); }
.graph-v5-link.l-top-left { width: 180px; transform: rotate(-126deg); }
.graph-v5-link.l-top-right { width: 180px; transform: rotate(-54deg); }
.graph-v5-link.l-left-top { width: 195px; transform: rotate(-160deg); }
.graph-v5-link.l-right-top { width: 195px; transform: rotate(-20deg); }
.graph-v5-link.l-left-mid { width: 205px; transform: rotate(180deg); }
.graph-v5-link.l-right-mid { width: 205px; transform: rotate(0deg); }
.graph-v5-link.l-left-bottom { width: 188px; transform: rotate(153deg); }
.graph-v5-link.l-right-bottom { width: 188px; transform: rotate(27deg); }
.graph-v5-link.l-bottom-left { width: 180px; transform: rotate(120deg); }
.graph-v5-link.l-bottom-right { width: 180px; transform: rotate(60deg); }

/* UBA top cards and mini cards alignment */
.uba-v3-kpi {
    display: grid;
    grid-template-rows: 38px 38px auto;
    align-content: start;
}
.uba-v3-kpi small {
    min-height: 38px;
    margin: 0;
}
.uba-v3-kpi strong {
    margin: 0;
    align-self: end;
}
.uba-v3-kpi span {
    margin-top: 4px;
}

.uba-v3-mini {
    align-items: stretch;
}
.uba-v3-mini div {
    display: grid;
    grid-template-rows: 40px auto;
    align-content: start;
}
.uba-v3-mini span {
    min-height: 40px;
}
.uba-v3-mini b {
    margin-top: 0;
    align-self: end;
}

.uba-v3-side {
    overflow: hidden;
}
.uba-v3-indicator {
    grid-template-columns: minmax(0, 1fr) minmax(94px, 150px) 20px;
}
.uba-v3-indicator span {
    align-self: center;
}

@media (max-width: 1180px) {
    .inspector-v3-pane-graph {
        grid-template-columns: 1fr;
    }
    .graph-v3-side {
        border-left: 0;
        border-top: 1px solid #dbe4ef;
    }
}

@media (max-width: 1024px) {
    .graph-v5-canvas { min-height: 620px; }
    .graph-v5-node { width: 114px; }
    .graph-v5-node.pos-left-mid { left: 4%; }
    .graph-v5-node.pos-right-mid { right: 4%; }
}

@media (max-width: 768px) {
    .graph-v5-canvas { min-height: 700px; }
    .graph-v5-center { width: 146px; height:146px; }
    .graph-v5-node { width: 102px; min-height: 56px; padding: 8px; }
    .graph-v5-node b { font-size: 11px; }
    .graph-v5-node small { font-size: 9px; }
    .graph-v5-node.pos-top { top: 4%; }
    .graph-v5-node.pos-top-left { left: 10%; top: 12%; }
    .graph-v5-node.pos-top-right { right: 10%; top: 12%; }
    .graph-v5-node.pos-left-top { left: 2%; top: 30%; }
    .graph-v5-node.pos-right-top { right: 2%; top: 30%; }
    .graph-v5-node.pos-left-mid { left: 1%; top: 48%; }
    .graph-v5-node.pos-right-mid { right: 1%; top: 48%; }
    .graph-v5-node.pos-left-bottom { left: 4%; bottom: 18%; }
    .graph-v5-node.pos-right-bottom { right: 4%; bottom: 18%; }
    .graph-v5-node.pos-bottom-left { left: 18%; bottom: 7%; }
    .graph-v5-node.pos-bottom-right { right: 18%; bottom: 7%; }

    .uba-v3-kpi { grid-template-rows: auto auto auto; }
    .uba-v3-kpi small,
    .uba-v3-mini span { min-height: 0; }
    .uba-v3-mini div { grid-template-rows: auto auto; }
}


/* =========================================================
   V6 refinement — uniform UBA, cleaner graph, tighter sequence
   ========================================================= */

/* ----- UBA: more uniform cards ----- */
.uba-v3-top {
    gap: 14px;
}

.uba-v3-kpi {
    min-height: 112px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.uba-v3-kpi small {
    display: block;
    min-height: 2.8em;
    margin: 0;
    line-height: 1.35;
}

.uba-v3-kpi strong {
    display: block;
    margin: 6px 0 4px;
    line-height: 1;
}

.uba-v3-kpi span {
    display: block;
    margin-top: 0;
}

.uba-v3-mini {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.uba-v3-mini div {
    min-height: 92px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.uba-v3-mini span {
    min-height: 36px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.25;
}

.uba-v3-mini b {
    display: block;
    margin: 8px 0 0;
    text-align: center;
    font-size: 16px;
    line-height: 1;
}

.uba-v3-profile,
.uba-v3-side {
    padding: 18px;
}

.uba-v3-indicator {
    grid-template-columns: minmax(0, 1fr) minmax(120px, 150px) 24px;
    gap: 12px;
    align-items: center;
}

.uba-v3-indicator b {
    text-align: right;
}

.uba-v3-chip-card {
    min-height: 94px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ----- Inspector graph: wider, cleaner, fewer nodes ----- */
.inspector-v3-pane-graph {
    grid-template-columns: minmax(720px, 1.75fr) minmax(250px, .55fr);
    align-items: stretch;
}

.graph-v6-canvas {
    position: relative;
    min-height: 640px;
    background:
        radial-gradient(circle at 50% 50%, rgba(255,138,61,.06), transparent 32%),
        radial-gradient(circle at 50% 50%, rgba(139,124,248,.06), transparent 52%),
        linear-gradient(180deg, #020716 0%, #040b1c 100%);
    overflow: hidden;
}

.graph-v6-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 12% 12%, rgba(255,255,255,.18) 0 1px, transparent 1.5px),
        radial-gradient(circle at 78% 16%, rgba(255,255,255,.16) 0 1px, transparent 1.5px),
        radial-gradient(circle at 16% 74%, rgba(255,255,255,.13) 0 1px, transparent 1.5px),
        radial-gradient(circle at 84% 82%, rgba(255,255,255,.13) 0 1px, transparent 1.5px);
    opacity: .38;
}

.graph-v6-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 182px;
    height: 182px;
    padding: 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,138,61,.95);
    background: radial-gradient(circle at 50% 40%, rgba(255,138,61,.12), rgba(16,24,42,.96) 68%);
    box-shadow: 0 0 0 1px rgba(255,138,61,.16) inset, 0 0 34px rgba(255,138,61,.14);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
    z-index: 4;
}

.graph-v6-center::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 999px;
    border: 1px solid rgba(255,138,61,.16);
}

.graph-v6-center strong {
    position: relative;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.1;
    z-index: 2;
}

.graph-v6-center small {
    position: relative;
    color: rgba(226,232,240,.88);
    font-size: 11px;
    line-height: 1.25;
    z-index: 2;
}

.graph-v6-node {
    position: absolute;
    width: 138px;
    min-height: 74px;
    padding: 12px 10px 10px;
    border-radius: 16px;
    background: rgba(5,18,39,.92);
    border: 1px solid rgba(103,200,240,.46);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 12px 26px rgba(0,0,0,.12);
    z-index: 3;
    text-align: center;
}

.graph-v6-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .4px;
    background: rgba(255,255,255,.08);
    color: currentColor;
    margin-bottom: 7px;
}

.graph-v6-node b,
.graph-v6-node small {
    display: block;
}

.graph-v6-node b {
    font-size: 12px;
    line-height: 1.15;
    font-weight: 900;
    color: currentColor;
}

.graph-v6-node small {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.2;
    color: rgba(226,232,240,.80);
}

.graph-v6-node::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
}

.tone-cyan { color: #67c8f0; border-color: rgba(103,200,240,.52); }
.tone-blue { color: #61a9ff; border-color: rgba(97,169,255,.52); }
.tone-green { color: #5be3a4; border-color: rgba(91,227,164,.52); }
.tone-gold { color: #ffd166; border-color: rgba(255,209,102,.52); }
.tone-orange { color: #ff8a3d; border-color: rgba(255,138,61,.52); }
.tone-purple { color: #a88bff; border-color: rgba(168,139,255,.52); }

.graph-v6-node.pos-top { left: 50%; top: 8%; transform: translateX(-50%); }
.graph-v6-node.pos-upper-left { left: 8%; top: 15%; }
.graph-v6-node.pos-left { left: 4%; top: 37%; }
.graph-v6-node.pos-lower-left { left: 14%; bottom: 9%; }
.graph-v6-node.pos-upper-right { right: 8%; top: 15%; }
.graph-v6-node.pos-right { right: 4%; top: 37%; }
.graph-v6-node.pos-lower-right { right: 8%; bottom: 16%; }
.graph-v6-node.pos-bottom { left: 50%; bottom: 6%; transform: translateX(-50%); }

.graph-v6-link {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, rgba(103,200,240,.22), rgba(255,138,61,.22));
    transform-origin: left center;
    z-index: 1;
    opacity: .7;
}

.graph-v6-link.link-top { width: 126px; transform: translateX(0) translateY(-102px) rotate(-90deg); }
.graph-v6-link.link-upper-left { width: 150px; transform: translateX(-6px) translateY(-74px) rotate(-129deg); }
.graph-v6-link.link-left { width: 154px; transform: translateX(-18px) translateY(0) rotate(180deg); }
.graph-v6-link.link-lower-left { width: 148px; transform: translateX(-8px) translateY(78px) rotate(130deg); }
.graph-v6-link.link-upper-right { width: 150px; transform: translateX(6px) translateY(-74px) rotate(-51deg); }
.graph-v6-link.link-right { width: 154px; transform: translateX(18px) translateY(0) rotate(0deg); }
.graph-v6-link.link-lower-right { width: 148px; transform: translateX(8px) translateY(78px) rotate(50deg); }
.graph-v6-link.link-bottom { width: 124px; transform: translateX(0) translateY(102px) rotate(90deg); }

/* ----- Sequence: tighter and more uniform ----- */
.inspector-v3-pane-sequence {
    padding: 20px;
}

.sequence-v3-list {
    max-width: 500px;
}

.sequence-v3-card {
    border-radius: 16px;
}

.sequence-v3-card header {
    padding: 9px 14px;
    font-size: 12px;
}

.sequence-v3-card strong {
    padding: 12px 14px 4px;
    font-size: 14px;
}

.sequence-v3-card span {
    padding: 0 14px 12px;
    font-size: 12px;
}

.sequence-v3-list > i {
    height: 18px;
    margin: 5px auto;
}

@media (max-width: 1280px) {
    .inspector-v3-pane-graph {
        grid-template-columns: minmax(620px, 1.55fr) minmax(240px, .6fr);
    }

    .graph-v6-canvas {
        min-height: 610px;
    }

    .graph-v6-node {
        width: 128px;
    }
}

@media (max-width: 1180px) {
    .inspector-v3-pane-graph {
        grid-template-columns: 1fr;
    }

    .graph-v6-canvas {
        min-height: 620px;
    }
}

@media (max-width: 900px) {
    .uba-v3-top,
    .uba-v3-main,
    .uba-v3-bottom {
        grid-template-columns: 1fr !important;
    }

    .uba-v3-mini {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .graph-v6-canvas {
        min-height: 700px;
    }

    .graph-v6-center {
        width: 156px;
        height: 156px;
    }

    .graph-v6-node {
        width: 114px;
        min-height: 68px;
        padding: 10px 8px 9px;
    }

    .graph-v6-node b {
        font-size: 11px;
    }

    .graph-v6-node small {
        font-size: 9px;
    }

    .graph-v6-node.pos-upper-left { left: 4%; top: 16%; }
    .graph-v6-node.pos-upper-right { right: 4%; top: 16%; }
    .graph-v6-node.pos-left { left: 1%; top: 38%; }
    .graph-v6-node.pos-right { right: 1%; top: 38%; }
    .graph-v6-node.pos-lower-left { left: 8%; bottom: 10%; }
    .graph-v6-node.pos-lower-right { right: 8%; bottom: 17%; }
    .graph-v6-node.pos-bottom { bottom: 6%; }

    .uba-v3-mini {
        grid-template-columns: 1fr;
    }

    .sequence-v3-list {
        max-width: 100%;
    }
}


/* =========================================================
   V7 fixes after review: exact alignment + cleaner graph/sequence
   ========================================================= */

/* UBA top KPIs: centered and identical vertical rhythm */
.uba-v3-kpi {
    min-height: 132px;
    padding: 16px 16px 14px;
    display: grid !important;
    grid-template-rows: 34px 42px 18px;
    align-content: center;
    justify-items: center;
    text-align: center;
}

.uba-v3-kpi small {
    height: 34px;
    min-height: 34px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    line-height: 1.35;
}

.uba-v3-kpi strong {
    align-self: end;
    justify-self: center;
    line-height: 1;
    margin: 0;
}

.uba-v3-kpi span {
    display: block;
    text-align: center;
    line-height: 1.2;
    margin: 0;
}

/* UBA mini cards: real centering and uniform box height */
.uba-v3-mini {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.uba-v3-mini div {
    min-height: 92px;
    padding: 12px 10px;
    display: grid !important;
    grid-template-rows: 34px 26px;
    align-content: center;
    justify-items: center;
    text-align: center;
}

.uba-v3-mini span {
    min-height: 34px !important;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    margin: 0;
    word-break: keep-all;
}

.uba-v3-mini b {
    width: 100%;
    text-align: center;
    align-self: end;
    margin: 0;
    line-height: 1;
}

/* Widen graph panel and side details */
.inspector-v3-pane-graph {
    grid-template-columns: minmax(800px, 1.9fr) minmax(280px, .65fr);
    align-items: stretch;
}

.graph-v7-canvas {
    position: relative;
    min-height: 690px;
    background:
        radial-gradient(circle at 50% 50%, rgba(255,138,61,.05), transparent 34%),
        radial-gradient(circle at 50% 50%, rgba(139,124,248,.05), transparent 58%),
        linear-gradient(180deg, #020716 0%, #040b1c 100%);
    overflow: hidden;
}

.graph-v7-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 12%, rgba(255,255,255,.16) 0 1px, transparent 1.5px),
        radial-gradient(circle at 84% 14%, rgba(255,255,255,.14) 0 1px, transparent 1.5px),
        radial-gradient(circle at 16% 82%, rgba(255,255,255,.12) 0 1px, transparent 1.5px),
        radial-gradient(circle at 78% 80%, rgba(255,255,255,.12) 0 1px, transparent 1.5px);
    opacity: .30;
}

.graph-v7-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 182px;
    height: 182px;
    border-radius: 999px;
    border: 1px solid rgba(255,138,61,.92);
    background: radial-gradient(circle at 50% 38%, rgba(255,138,61,.14), rgba(7,11,24,.98) 58%, rgba(7,11,24,1) 100%);
    box-shadow: 0 0 0 1px rgba(255,138,61,.16) inset, 0 0 28px rgba(255,138,61,.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    z-index: 5;
}

.graph-v7-center::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(6,10,22,.60);
    z-index: 0;
}

.graph-v7-center strong,
.graph-v7-center small {
    position: relative;
    z-index: 1;
}

.graph-v7-center strong {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.1;
}

.graph-v7-center small {
    color: rgba(226,232,240,.88);
    font-size: 11px;
    line-height: 1.22;
}

.graph-v7-node {
    position: absolute;
    width: 146px;
    min-height: 74px;
    padding: 12px 10px 10px;
    border-radius: 16px;
    background: rgba(4,17,38,.95);
    border: 1px solid rgba(103,200,240,.46);
    text-align: center;
    z-index: 3;
}

.graph-v7-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .35px;
    background: rgba(255,255,255,.08);
    color: currentColor;
    margin-bottom: 7px;
}

.graph-v7-node b,
.graph-v7-node small {
    display: block;
}

.graph-v7-node b {
    font-size: 12px;
    line-height: 1.15;
    font-weight: 900;
    color: currentColor;
}

.graph-v7-node small {
    margin-top: 4px;
    color: rgba(226,232,240,.78);
    font-size: 10px;
    line-height: 1.15;
}

.graph-v7-node::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 9px currentColor;
}

.graph-v7-node.pos-top { left: 50%; top: 8%; transform: translateX(-50%); }
.graph-v7-node.pos-upper-left { left: 8%; top: 16%; }
.graph-v7-node.pos-left { left: 4%; top: 38%; }
.graph-v7-node.pos-lower-left { left: 10%; bottom: 10%; }
.graph-v7-node.pos-upper-right { right: 8%; top: 16%; }
.graph-v7-node.pos-right { right: 4%; top: 38%; }
.graph-v7-node.pos-lower-right { right: 10%; bottom: 10%; }

.graph-v7-link {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, rgba(103,200,240,.20), rgba(255,138,61,.20));
    transform-origin: left center;
    z-index: 1;
}

.graph-v7-link.link-top { width: 132px; transform: translateX(0) translateY(-124px) rotate(-90deg); }
.graph-v7-link.link-upper-left { width: 154px; transform: translateX(-6px) translateY(-86px) rotate(-139deg); }
.graph-v7-link.link-left { width: 162px; transform: translateX(-24px) translateY(0) rotate(180deg); }
.graph-v7-link.link-lower-left { width: 156px; transform: translateX(-8px) translateY(86px) rotate(139deg); }
.graph-v7-link.link-upper-right { width: 154px; transform: translateX(6px) translateY(-86px) rotate(-41deg); }
.graph-v7-link.link-right { width: 162px; transform: translateX(24px) translateY(0) rotate(0deg); }
.graph-v7-link.link-lower-right { width: 156px; transform: translateX(8px) translateY(86px) rotate(41deg); }

.graph-v7-side strong {
    font-size: 15px;
}

.graph-v7-side dt,
.graph-v7-side dd {
    word-break: break-word;
}

/* Sequence more compact */
.inspector-v3-pane-sequence {
    padding: 18px 18px 20px;
}

.sequence-v3-list {
    max-width: 430px;
    margin: 0 auto;
}

.sequence-v3-card {
    border-radius: 14px;
}

.sequence-v3-card header {
    padding: 8px 13px;
}

.sequence-v3-card strong {
    padding: 12px 13px 4px;
    font-size: 14px;
}

.sequence-v3-card span {
    padding: 0 13px 12px;
}

.sequence-v3-list > i {
    height: 16px;
    margin: 5px auto;
}

@media (max-width: 1360px) {
    .inspector-v3-pane-graph {
        grid-template-columns: minmax(700px, 1.7fr) minmax(260px, .7fr);
    }

    .graph-v7-canvas {
        min-height: 650px;
    }
}

@media (max-width: 1180px) {
    .inspector-v3-pane-graph {
        grid-template-columns: 1fr;
    }

    .graph-v7-canvas {
        min-height: 640px;
    }
}

@media (max-width: 900px) {
    .uba-v3-top,
    .uba-v3-main,
    .uba-v3-bottom {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .uba-v3-mini {
        grid-template-columns: 1fr;
    }

    .graph-v7-canvas {
        min-height: 720px;
    }

    .graph-v7-center {
        width: 156px;
        height: 156px;
    }

    .graph-v7-node {
        width: 122px;
        min-height: 68px;
        padding: 10px 8px 9px;
    }

    .graph-v7-node b { font-size: 11px; }
    .graph-v7-node small { font-size: 9px; }

    .graph-v7-node.pos-upper-left { left: 3%; top: 18%; }
    .graph-v7-node.pos-left { left: 1%; top: 39%; }
    .graph-v7-node.pos-lower-left { left: 6%; bottom: 10%; }
    .graph-v7-node.pos-upper-right { right: 3%; top: 18%; }
    .graph-v7-node.pos-right { right: 1%; top: 39%; }
    .graph-v7-node.pos-lower-right { right: 6%; bottom: 10%; }
}


/* ===== v8 tweaks ===== */
.uba-v3-kpi strong {
    margin: 0 0 8px;
}
.uba-v3-kpi span {
    margin-top: 2px;
}

/* Graph simplified: graph on top, detail below */
.inspector-v3-pane-graph.graph-v8-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
}

.graph-v8-canvas {
    position: relative;
    min-height: 540px;
    border-radius: 22px;
    overflow: hidden;
    background:
      radial-gradient(circle at 50% 48%, rgba(255,138,61,.06), transparent 30%),
      radial-gradient(circle at 50% 48%, rgba(120,100,255,.06), transparent 50%),
      linear-gradient(180deg, #030917 0%, #040b1d 100%);
}

.graph-v8-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(circle at 12% 14%, rgba(255,255,255,.14) 0 1px, transparent 1.5px),
      radial-gradient(circle at 84% 18%, rgba(255,255,255,.12) 0 1px, transparent 1.5px),
      radial-gradient(circle at 20% 82%, rgba(255,255,255,.10) 0 1px, transparent 1.5px),
      radial-gradient(circle at 74% 76%, rgba(255,255,255,.10) 0 1px, transparent 1.5px);
    opacity: .28;
}

.graph-v8-center {
    position: absolute;
    left: 50%;
    top: 53%;
    transform: translate(-50%, -50%);
    width: 190px;
    height: 190px;
    border-radius: 999px;
    border: 1px solid rgba(255,138,61,.92);
    background: radial-gradient(circle at 50% 36%, rgba(255,138,61,.10), rgba(5,11,25,.96) 58%, rgba(5,11,25,1) 100%);
    box-shadow: 0 0 0 1px rgba(255,138,61,.14) inset, 0 0 34px rgba(255,138,61,.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    z-index: 5;
}
.graph-v8-center strong { color:#fff; font-size: 19px; line-height:1.08; }
.graph-v8-center small { color: rgba(226,232,240,.88); font-size: 11px; line-height:1.2; }

.graph-v8-node {
    position: absolute;
    width: 156px;
    min-height: 84px;
    padding: 12px 12px 10px;
    border-radius: 18px;
    background: rgba(4,18,40,.94);
    border: 1px solid rgba(103,200,240,.46);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
    text-align: center;
    z-index: 3;
}
.graph-v8-ico {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width: 28px;
    height: 20px;
    border-radius:999px;
    padding:0 6px;
    margin-bottom:7px;
    font-size:9px;
    font-weight:900;
    letter-spacing:.35px;
    background: rgba(255,255,255,.08);
    color: currentColor;
}
.graph-v8-node b, .graph-v8-node small { display:block; }
.graph-v8-node b { color: currentColor; font-size: 13px; line-height:1.15; font-weight:900; }
.graph-v8-node small { color: rgba(226,232,240,.82); font-size: 10px; line-height:1.2; margin-top:4px; }
.graph-v8-node::after {
    content:''; position:absolute; right:10px; top:10px; width:8px; height:8px; border-radius:50%; background: currentColor; box-shadow: 0 0 10px currentColor;
}
.graph-v8-node.pos-top { left: 50%; top: 7%; transform: translateX(-50%); }
.graph-v8-node.pos-left { left: 7%; top: 34%; }
.graph-v8-node.pos-right-top { right: 8%; top: 30%; }
.graph-v8-node.pos-right-bottom { right: 10%; top: 59%; }
.graph-v8-node.pos-bottom { left: 50%; bottom: 8%; transform: translateX(-50%); }

.graph-v8-link {
    position:absolute; left:50%; top:53%; height:1px; z-index:1; transform-origin:left center;
    background: linear-gradient(90deg, rgba(103,200,240,.20), rgba(255,138,61,.20));
}
.graph-v8-link.link-top { width: 132px; transform: translateX(0) translateY(-114px) rotate(-90deg); }
.graph-v8-link.link-left { width: 170px; transform: translateX(-12px) translateY(-6px) rotate(197deg); }
.graph-v8-link.link-right-top { width: 168px; transform: translateX(10px) translateY(-42px) rotate(-31deg); }
.graph-v8-link.link-right-bottom { width: 170px; transform: translateX(10px) translateY(34px) rotate(29deg); }
.graph-v8-link.link-bottom { width: 132px; transform: translateX(0) translateY(114px) rotate(90deg); }

.graph-v8-detail {
    border: 1px solid rgba(148,163,184,.18);
    border-radius: 18px;
    background: rgba(15,23,42,.72);
    padding: 18px;
}
.graph-v8-detail-head {
    display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom: 16px;
}
.graph-v8-detail-head strong { color:#fff; font-size:16px; }
.graph-v8-status {
    display:inline-flex; align-items:center; justify-content:center; padding: 6px 10px; border-radius:999px; font-size:12px; font-weight:800; color:#c5f7d2; background: rgba(34,197,94,.16); border:1px solid rgba(34,197,94,.4);
}
.graph-v8-detail-grid {
    display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px;
}
.graph-v8-detail-grid div {
    border-top: 1px solid rgba(148,163,184,.18); padding-top: 10px;
}
.graph-v8-detail-grid span { display:block; font-size:11px; line-height:1.2; color:#94a3b8; text-transform:uppercase; letter-spacing:.08em; margin-bottom:6px; }
.graph-v8-detail-grid b { color:#fff; font-size:14px; line-height:1.35; word-break: break-word; }

@media (max-width: 1024px) {
  .graph-v8-canvas { min-height: 500px; }
  .graph-v8-node { width: 142px; }
  .graph-v8-detail-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 768px) {
  .graph-v8-canvas { min-height: 620px; }
  .graph-v8-center { width: 164px; height: 164px; top: 52%; }
  .graph-v8-center strong { font-size: 17px; }
  .graph-v8-node { width: 126px; min-height: 74px; padding: 10px 8px; }
  .graph-v8-node b { font-size: 11px; }
  .graph-v8-node small { font-size: 9px; }
  .graph-v8-node.pos-top { top: 8%; }
  .graph-v8-node.pos-left { left: 3%; top: 33%; }
  .graph-v8-node.pos-right-top { right: 4%; top: 28%; }
  .graph-v8-node.pos-right-bottom { right: 5%; top: 59%; }
  .graph-v8-node.pos-bottom { bottom: 7%; }
  .graph-v8-link.link-left { width: 138px; transform: translateX(-12px) translateY(-6px) rotate(199deg); }
  .graph-v8-link.link-right-top { width: 140px; }
  .graph-v8-link.link-right-bottom { width: 142px; }
  .graph-v8-detail-grid { grid-template-columns: 1fr; }
}


/* ===== Inspector static version ===== */
.uba-v3-kpi strong { margin-bottom: 10px; }
.uba-v3-kpi span { margin-top: 6px; }

.inspector-static-shell {
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,.86) 0%, rgba(250,250,252,.98) 100%);
    box-shadow: 0 20px 60px rgba(15,23,42,.08);
    overflow: hidden;
}

.inspector-static-head {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
    padding: 22px;
    border-bottom: 1px solid rgba(203,213,225,.8);
    background: linear-gradient(180deg, rgba(247,248,252,.98), rgba(241,245,249,.92));
}

.inspector-static-pill {
    padding: 14px 16px;
    border: 1px solid rgba(203,213,225,.9);
    border-radius: 18px;
    background: rgba(255,255,255,.82);
}
.inspector-static-pill span,
.inspector-static-detail-grid span,
.inspector-static-detail-head span,
.inspector-static-core small,
.inspector-static-node em {
    display: block;
    font-size: 11px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-style: normal;
}
.inspector-static-pill span { color: #64748b; margin-bottom: 7px; }
.inspector-static-pill strong { color:#0f172a; font-size:15px; line-height:1.3; }

.inspector-static-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .9fr);
    gap: 22px;
    padding: 22px;
}

.inspector-static-map {
    position: relative;
    min-height: 460px;
    border-radius: 24px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(255,138,61,.06), transparent 28%), linear-gradient(180deg, #020716 0%, #040a1b 100%);
}
.inspector-static-map::before {
    content:'';
    position:absolute;
    inset:0;
    background-image:
      radial-gradient(circle at 12% 12%, rgba(255,255,255,.16) 0 1px, transparent 1.5px),
      radial-gradient(circle at 82% 16%, rgba(255,255,255,.12) 0 1px, transparent 1.5px),
      radial-gradient(circle at 18% 82%, rgba(255,255,255,.12) 0 1px, transparent 1.5px),
      radial-gradient(circle at 80% 76%, rgba(255,255,255,.12) 0 1px, transparent 1.5px);
    opacity:.28;
}

.inspector-static-core {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 999px;
    border: 1px solid rgba(255,138,61,.9);
    background: radial-gradient(circle at 50% 36%, rgba(255,138,61,.12), rgba(5,11,25,.98) 58%, rgba(5,11,25,1) 100%);
    box-shadow: 0 0 0 1px rgba(255,138,61,.14) inset, 0 0 34px rgba(255,138,61,.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    z-index: 3;
    padding: 20px;
}
.inspector-static-core small { color:#94a3b8; }
.inspector-static-core strong { color:#fff; font-size: 28px; line-height:1.05; }
.inspector-static-core span { color: rgba(226,232,240,.88); font-size: 13px; line-height:1.35; }

.inspector-static-node {
    position:absolute;
    width: 164px;
    min-height: 82px;
    padding: 14px 14px 12px;
    border-radius: 18px;
    background: rgba(4,18,40,.94);
    border: 1px solid rgba(103,200,240,.45);
    z-index: 2;
    text-align: center;
}
.inspector-static-node em { color:#94a3b8; margin-bottom: 8px; }
.inspector-static-node strong { color:#fff; font-size: 15px; line-height:1.2; }
.inspector-static-node.node-top { left:50%; top:8%; transform:translateX(-50%); }
.inspector-static-node.node-left-top { left:6%; top:27%; }
.inspector-static-node.node-left-bottom { left:10%; bottom:12%; }
.inspector-static-node.node-right-top { right:8%; top:27%; }
.inspector-static-node.node-right-bottom { right:12%; bottom:12%; }

.inspector-static-link {
    position:absolute;
    left:50%;
    top:52%;
    height:1px;
    background: linear-gradient(90deg, rgba(103,200,240,.18), rgba(255,138,61,.18));
    transform-origin:left center;
    z-index:1;
}
.inspector-static-link.link-top { width: 118px; transform: translateX(0) translateY(-126px) rotate(-90deg); }
.inspector-static-link.link-left-top { width: 160px; transform: translateX(-8px) translateY(-42px) rotate(-156deg); }
.inspector-static-link.link-left-bottom { width: 160px; transform: translateX(-8px) translateY(38px) rotate(156deg); }
.inspector-static-link.link-right-top { width: 160px; transform: translateX(8px) translateY(-42px) rotate(-24deg); }
.inspector-static-link.link-right-bottom { width: 160px; transform: translateX(8px) translateY(38px) rotate(24deg); }

.inspector-static-detail {
    border: 1px solid rgba(203,213,225,.9);
    border-radius: 24px;
    background: rgba(255,255,255,.82);
    padding: 20px;
}
.inspector-static-detail-head {
    display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px;
}
.inspector-static-detail-head strong { color:#0f172a; font-size: 18px; }
.inspector-static-detail-head .state-ok {
    display:inline-flex; align-items:center; justify-content:center;
    padding: 6px 10px; border-radius: 999px; border:1px solid rgba(34,197,94,.4);
    background: rgba(34,197,94,.12); color:#15803d; font-weight:800; font-size:12px; letter-spacing:0;
}
.inspector-static-detail-grid {
    display:grid; grid-template-columns: 1fr; gap: 12px;
}
.inspector-static-detail-grid div {
    border-top: 1px solid rgba(226,232,240,.9);
    padding-top: 10px;
}
.inspector-static-detail-grid span { color:#64748b; margin-bottom:6px; }
.inspector-static-detail-grid b { color:#0f172a; font-size:15px; line-height:1.35; }

.inspector-static-sequence {
    display:grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
    padding: 0 22px 22px;
}
.inspector-static-sequence article {
    position: relative;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(203,213,225,.9);
    background: rgba(255,255,255,.82);
}
.inspector-static-sequence article:not(:last-child)::after {
    content:'';
    position:absolute;
    top: 50%;
    right: -13px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #94a3b8;
    border-right: 2px solid #94a3b8;
    transform: translateY(-50%) rotate(45deg);
}
.inspector-static-sequence time {
    display:block; color:#64748b; font-size:12px; font-weight:800; letter-spacing:.04em; margin-bottom: 12px;
}
.inspector-static-sequence strong { display:block; color:#0f172a; font-size:16px; line-height:1.25; margin-bottom:8px; }
.inspector-static-sequence span { display:block; color:#475569; font-size:14px; line-height:1.4; }

@media (max-width: 1200px) {
    .inspector-static-head { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .inspector-static-stage { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .inspector-static-sequence { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 768px) {
    .inspector-static-head,
    .inspector-static-sequence { grid-template-columns: 1fr; }
    .inspector-static-stage { padding: 16px; gap: 16px; }
    .inspector-static-head { padding: 16px; }
    .inspector-static-sequence { padding: 0 16px 16px; }
    .inspector-static-map { min-height: 560px; }
    .inspector-static-core { width: 170px; height: 170px; }
    .inspector-static-core strong { font-size: 22px; }
    .inspector-static-node { width: 132px; min-height: 74px; padding: 12px 10px; }
    .inspector-static-node strong { font-size: 13px; }
    .inspector-static-node.node-top { top: 6%; }
    .inspector-static-node.node-left-top { left: 2%; top: 24%; }
    .inspector-static-node.node-left-bottom { left: 4%; bottom: 12%; }
    .inspector-static-node.node-right-top { right: 3%; top: 24%; }
    .inspector-static-node.node-right-bottom { right: 5%; bottom: 12%; }
    .inspector-static-link.link-left-top { width: 126px; }
    .inspector-static-link.link-left-bottom { width: 128px; }
    .inspector-static-link.link-right-top { width: 126px; }
    .inspector-static-link.link-right-bottom { width: 128px; }
    .inspector-static-sequence article:not(:last-child)::after { display:none; }
}


/* =========================================================
   Inspector v10 — sin grafo, visual de evidencias con color
   ========================================================= */

.inspector-static-shell,
.inspector-static-map,
.inspector-static-stage,
.inspector-static-sequence,
.inspector-static-head {
    display: none !important;
}

.inspector-color-shell {
    border: 1px solid transparent;
    border-radius: 28px;
    padding: 24px;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(139,124,248,.34), rgba(103,200,240,.24), rgba(255,138,61,.22)) border-box;
    box-shadow: 0 22px 70px rgba(15,23,42,.10);
}

.inspector-color-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.color-card {
    position: relative;
    min-height: 178px;
    padding: 22px;
    border-radius: 22px;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 18px 44px rgba(15,23,42,.12);
}

.color-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .96;
    z-index: 0;
}

.color-card::after {
    content: "";
    position: absolute;
    right: -28px;
    top: -28px;
    width: 96px;
    height: 96px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    z-index: 1;
}

.color-card > * {
    position: relative;
    z-index: 2;
}

.color-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 30px;
    margin-bottom: 24px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.color-card strong {
    display: block;
    margin-bottom: 12px;
    font-size: 19px;
    line-height: 1.12;
    font-weight: 900;
}

.color-card p {
    margin: 0;
    color: rgba(255,255,255,.92);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}

.color-card small {
    color: rgba(255,255,255,.70);
    font-size: 12px;
    font-weight: 600;
}

.color-card-blue::before {
    background: linear-gradient(135deg, #2563eb 0%, #67c8f0 100%);
}

.color-card-purple::before {
    background: linear-gradient(135deg, #6d5dfc 0%, #a78bfa 100%);
}

.color-card-cyan::before {
    background: linear-gradient(135deg, #0891b2 0%, #67c8f0 100%);
}

.color-card-orange::before {
    background: linear-gradient(135deg, #f97316 0%, #ffb86b 100%);
}

.color-card-green::before {
    background: linear-gradient(135deg, #059669 0%, #5be3a4 100%);
}

.color-card-red::before {
    background: linear-gradient(135deg, #e11d48 0%, #ff8a3d 100%);
}

.inspector-color-flow {
    display: grid;
    grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
    align-items: stretch;
    padding: 22px;
    border-radius: 24px;
    background: #0f172a;
    border: 1px solid rgba(15,23,42,.08);
}

.inspector-color-flow div {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.10);
}

.inspector-color-flow span {
    display: block;
    margin-bottom: 12px;
    color: #67c8f0;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.inspector-color-flow strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.25;
}

.inspector-color-flow p {
    margin: 0;
    color: rgba(226,232,240,.78);
    font-size: 13px;
    line-height: 1.5;
}

.inspector-color-flow i {
    align-self: center;
    height: 1px;
    background: linear-gradient(90deg, rgba(139,124,248,.45), rgba(103,200,240,.55), rgba(255,138,61,.38));
}

@media (max-width: 1180px) {
    .inspector-color-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .inspector-color-flow {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .inspector-color-flow i {
        width: 1px;
        height: 18px;
        justify-self: center;
    }
}

@media (max-width: 680px) {
    .inspector-color-shell {
        padding: 16px;
        border-radius: 22px;
    }

    .inspector-color-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .color-card {
        min-height: 150px;
        padding: 20px;
    }

    .inspector-color-flow {
        padding: 16px;
        border-radius: 20px;
    }
}


/* =========================================================
   Inspector v11 — sobrio, corporativo, sin carnaval
   ========================================================= */

.inspector-color-shell,
.inspector-color-grid,
.inspector-color-flow,
.color-card {
    display: none !important;
}

.inspector-evidence-shell {
    border: 1px solid rgba(203, 213, 225, 0.85);
    border-radius: 28px;
    padding: 24px;
    background:
        radial-gradient(circle at 92% 8%, rgba(103, 200, 240, 0.10), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.09);
}

.evidence-main-card,
.evidence-sequence-card {
    border: 1px solid rgba(203, 213, 225, 0.85);
    border-radius: 24px;
    background: rgba(255,255,255,0.82);
    overflow: hidden;
}

.evidence-main-card {
    margin-bottom: 20px;
}

.evidence-card-header,
.evidence-sequence-title {
    padding: 20px 22px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.evidence-card-header span,
.evidence-sequence-title span {
    display: block;
    margin-bottom: 7px;
    color: #67c8f0;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.evidence-card-header strong,
.evidence-sequence-title strong {
    display: block;
    color: #0f172a;
    font-size: 21px;
    line-height: 1.18;
    font-weight: 900;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: rgba(226, 232, 240, 0.95);
}

.evidence-item {
    position: relative;
    min-height: 158px;
    padding: 22px;
    background: #ffffff;
}

.evidence-item::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(139,124,248,.72), rgba(103,200,240,.72));
}

.evidence-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 28px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(139,124,248,.10);
    color: #6d5dfc;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
}

.evidence-item small {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-weight: 900;
}

.evidence-item strong {
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 17px;
    line-height: 1.22;
    font-weight: 900;
}

.evidence-item p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.45;
}

.evidence-highlight::before {
    background: linear-gradient(180deg, #67c8f0, #8b7cf8);
}

.evidence-highlight span {
    background: rgba(103,200,240,.12);
    color: #0284c7;
}

.evidence-success::before {
    background: linear-gradient(180deg, #22c55e, #67c8f0);
}

.evidence-success span {
    background: rgba(34,197,94,.12);
    color: #15803d;
}

.evidence-risk::before {
    background: linear-gradient(180deg, #ff8a3d, #8b7cf8);
}

.evidence-risk span {
    background: rgba(255,138,61,.12);
    color: #c2410c;
}

.evidence-sequence-card {
    background: #0f172a;
    border-color: rgba(15, 23, 42, 0.12);
}

.evidence-sequence-title {
    background: rgba(15,23,42,0.92);
    border-bottom-color: rgba(255,255,255,.10);
}

.evidence-sequence-title strong {
    color: #ffffff;
}

.evidence-sequence {
    display: grid;
    grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
    align-items: stretch;
    padding: 22px;
}

.evidence-sequence article {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.10);
}

.evidence-sequence time {
    display: block;
    margin-bottom: 12px;
    color: #67c8f0;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.evidence-sequence strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.25;
}

.evidence-sequence p {
    margin: 0;
    color: rgba(226,232,240,.78);
    font-size: 13px;
    line-height: 1.5;
}

.evidence-sequence i {
    align-self: center;
    height: 1px;
    background: linear-gradient(90deg, rgba(139,124,248,.45), rgba(103,200,240,.55), rgba(255,138,61,.26));
}

@media (max-width: 1180px) {
    .evidence-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .evidence-sequence {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .evidence-sequence i {
        width: 1px;
        height: 18px;
        justify-self: center;
    }
}

@media (max-width: 680px) {
    .inspector-evidence-shell {
        padding: 16px;
        border-radius: 22px;
    }

    .evidence-grid {
        grid-template-columns: 1fr;
    }

    .evidence-item {
        min-height: 132px;
        padding: 20px;
    }

    .evidence-card-header,
    .evidence-sequence-title {
        padding: 18px;
    }

    .evidence-sequence {
        padding: 16px;
    }
}



/* =========================================================
   FIX FINAL TECNOLOGÍA — navbar/logo igual que Inicio/Partners
   Pegar al FINAL de tecnologia.css
   ========================================================= */

/* Evita que Tecnología herede/imponga un fondo distinto en el logo */
.technology-page .navbar .logo,
.technology-page .navbar .logo a,
.technology-page .navbar .logo img {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Desktop: mismas medidas base que el navbar común */
.technology-page .navbar {
    height: 80px !important;
    background: transparent !important;
}

.technology-page .navbar.scrolled {
    height: 68px !important;
    background: #ffffff !important;
}

.technology-page .logo {
    width: 200px !important;
    height: 44px !important;
    flex: 0 0 200px !important;
    overflow: visible !important;
}

.technology-page .logo img {
    height: 44px !important;
    width: auto !important;
    max-width: none !important;
}

/* Móvil: mismo comportamiento corregido que Inicio */
@media (max-width: 768px) {
    .technology-page .navbar {
        height: 72px !important;
        padding: 0 22px !important;
        background: rgba(3, 7, 18, 0.72) !important;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    }

    .technology-page .navbar.scrolled {
        height: 64px !important;
        background: rgba(255,255,255,0.96) !important;
    }

    .technology-page .logo {
        width: 205px !important;
        height: 36px !important;
        flex: 0 0 205px !important;
        overflow: visible !important;
        z-index: 1003 !important;
    }

    .technology-page .logo img {
        height: 36px !important;
        width: auto !important;
        max-width: none !important;
    }

    .technology-page .btn-nav {
        display: none !important;
    }

    .technology-page .mobile-menu-toggle {
        display: flex !important;
        position: relative;
        z-index: 1004 !important;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
    }

    .technology-page .mobile-menu-toggle span {
        width: 28px !important;
        height: 2px !important;
        background: #ffffff !important;
    }

    .technology-page .navbar.scrolled .mobile-menu-toggle span {
        background: var(--text-dark) !important;
    }

    .technology-page .nav-menu {
        display: none !important;
    }

    .technology-page .nav-menu.open {
        display: flex !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 18px !important;
        padding: 22px 28px 26px !important;
        background: rgba(3, 7, 18, 0.98) !important;
        border-top: 1px solid rgba(255,255,255,0.10) !important;
        box-shadow: 0 24px 60px rgba(0,0,0,0.38) !important;
        z-index: 1001 !important;
    }

    .technology-page .nav-menu.open .nav-item a {
        color: #ffffff !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        letter-spacing: 0.7px !important;
    }

    .technology-page .nav-menu.open .nav-item.active a,
    .technology-page .nav-menu.open .nav-item a:hover {
        color: var(--accent-light) !important;
    }

    .technology-page .navbar.scrolled .nav-menu.open {
        background: rgba(255,255,255,0.98) !important;
        border-top: 1px solid rgba(15,23,42,0.08) !important;
    }

    .technology-page .navbar.scrolled .nav-menu.open .nav-item a {
        color: var(--text-dark) !important;
    }

    .technology-page .navbar.scrolled .nav-menu.open .nav-item.active a,
    .technology-page .navbar.scrolled .nav-menu.open .nav-item a:hover {
        color: var(--accent) !important;
    }
}

@media (max-width: 390px) {
    .technology-page .navbar {
        padding: 0 18px !important;
    }

    .technology-page .logo {
        width: 182px !important;
        height: 32px !important;
        flex: 0 0 182px !important;
        overflow: visible !important;
    }

    .technology-page .logo img {
        height: 32px !important;
    }
}
