:root {
    --navy: #062b5c;
    --navy2: #073d78;
    --blue: #087ff5;
    --cyan: #18b9ea;
    --ink: #10233f;
    --muted: #617289;
    --line: #dbe4ee;
    --soft: #f3f7fb;
    --surface: #fff;
    --surface2: #f7f9fc;
    --header-h: 78px;
}

html[data-theme="dark"] {
    --ink: #f0f6fc;
    --muted: #9ab4d0;
    --line: #1c3654;
    --soft: #0b1f38;
    --surface: #0a1c33;
    --surface2: #0e2442;
    --navy: #ffffff;
    --navy2: #58bdff;
    --blue: #2f94ff;
    --card-bg: linear-gradient(180deg,#0e2544 0%,#0a1c33 100%);
    --card-border: rgba(56,183,255,.22);
    --card-glow: 0 12px 30px rgba(0,0,0,.5),0 0 18px rgba(8,127,245,.08)
}

html[data-theme="dark"] body {
    background: #050f1e
}

html[data-theme="dark"] header {
    background: rgba(5,15,30,.9);
    border-bottom: 1px solid rgba(56,183,255,.16)
}

html[data-theme="dark"] .page-hero {
    background: #07172b;
    border-bottom: 1px solid var(--line)
}

html[data-theme="dark"] .card,html[data-theme="dark"] .service-card,html[data-theme="dark"] .mod-card,html[data-theme="dark"] .module,html[data-theme="dark"] .step {
    background: var(--card-bg);
    border-color: var(--card-border);
    box-shadow: var(--card-glow)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    width: 100%;
}

body {
    margin: 0;
    font-family: Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.5;
    overflow-x: clip;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit
}

.wrap {
    width: min(1220px,calc(100% - 44px));
    margin: auto
}

header {
    height: var(--header-h);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: color-mix(in srgb,var(--surface) 94%,transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line)
}

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none
}

.logo {
    height: 52px;
    max-height: 54px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform .2s
}

.logo:hover {
    transform: scale(1.02)
}

.logo-dark {
    display: none
}

html[data-theme="dark"] .logo-light {
    display: none
}

html[data-theme="dark"] .logo-dark {
    display: block
}

.navlinks {
    display: flex;
    gap: 24px;
    align-items: center;
    font-size: 16px;
    font-weight: 750
}

.navlinks a:hover {
    color: var(--blue)
}

.portal {
    border: 1px solid var(--blue);
    border-radius: 999px;
    padding: 9px 16px;
    color: var(--blue)
}

.theme {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    padding: 0
}

.theme:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: scale(1.06)
}

.theme .sun {
    display: none
}

.theme .moon {
    display: block
}

html[data-theme="dark"] .theme .sun {
    display: block;
    color: #58bdff
}

html[data-theme="dark"] .theme .moon {
    display: none
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    transition: all .2s ease;
    z-index: 101;
}

.nav-toggle:hover {
    border-color: var(--blue);
}

.nav-toggle .bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}

.nav-toggle.is-active {
    border-color: var(--blue);
}

.nav-toggle.is-active .bar-1 {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .bar-2 {
    opacity: 0;
}

.nav-toggle.is-active .bar-3 {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    min-height: 480px;
    max-height: 580px;
    position: relative;
    overflow: hidden;
    background: #062c55;
    color: #fff
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: #062c55;
    transform: scale(1.01)
}

.hero-bg .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% center;
    opacity: 0;
    transition: opacity 1.4s ease
}

.hero-bg .hero-slide.is-active {
    opacity: 1
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(2,25,53,.94) 0%,rgba(2,35,69,.80) 30%,rgba(2,35,69,.25) 55%,transparent 80%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 44px 0 46px;
    max-width: 580px
}

.kicker,.eyebrow {
    font-size: 13px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 850;
    color: var(--blue)
}

.hero .kicker {
    color: #58bdff
}

.hero h1 {
    font-size: clamp(28px,3.4vw,44px);
    line-height: 1.08;
    letter-spacing: -.04em;
    margin: 10px 0 14px
}

.hero h1 span {
    color: #18a9ff
}

.hero p {
    font-size: 15.5px;
    line-height: 1.5;
    color: #e2edf8;
    max-width: 520px
}

.hero .sub {
    font-size: 14px;
    color: #bfd2e7;
    max-width: 670px
}

.meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin: 22px 0;
    color: #9fc0df;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 850
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    transition: .2s
}

.btn:hover {
    transform: translateY(-2px)
}

.primary {
    background: #0b8fff;
    border-color: #0b8fff;
    color: #fff
}

.secondary {
    border-color: #38b7ff;
    color: #fff;
    background: transparent
}

.trust {
    background: var(--surface2);
    border-bottom: 1px solid var(--line)
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr)
}

.trust-item {
    padding: 20px 24px;
    border-right: 1px solid var(--line);
    font-size: 14px;
    font-weight: 800
}

.trust-item:last-child {
    border: 0
}

.trust-item b {
    color: var(--blue);
    margin-right: 8px
}

section {
    padding: 78px 0;
    scroll-margin-top: 80px
}

.eyebrow {
    margin-bottom: 10px
}

h2 {
    font-size: clamp(34px,4vw,52px);
    line-height: 1.04;
    letter-spacing: -.05em;
    color: var(--navy);
    margin: 0 0 16px
}

.lead {
    color: var(--muted);
    font-size: 16px;
    max-width: 760px
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-top: 36px
}

.card {
    border: 1px solid #d4e4f7;
    background: linear-gradient(180deg,#eff6ff 0%,#ffffff 65%);
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(7,43,92,.04);
    transition: .25s
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(8,127,245,.1);
    border-color: #087ff5
}

.card h3 {
    font-size: 18px;
    color: var(--navy);
    margin: 12px 0 8px
}

.card p,.card li {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55
}

.icon {
    font-size: 25px;
    color: var(--blue)
}

.band {
    background: linear-gradient(115deg,#031e3f,#062f61);
    color: #fff
}

.band h2 {
    color: #fff
}

.band .eyebrow {
    color: #4cb9ff
}

.band .lead {
    color: #c4d5e8
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: start
}

.list {
    display: grid;
    gap: 12px
}

.list-item {
    padding: 18px 0;
    border-top: 1px solid var(--line)
}

.list-item strong {
    display: block;
    color: var(--navy);
    font-size: 14px
}

.list-item span {
    display: block;
    color: var(--muted);
    font-size: 14px;
    margin-top: 5px
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px
}

.table th,.table td {
    border: 1px solid var(--line);
    padding: 15px;
    text-align: left;
    vertical-align: top
}

.table th {
    background: var(--soft);
    color: var(--navy);
    font-size: 14px
}

.table td {
    font-size: 14px;
    color: var(--muted)
}

.page-hero {
    padding: 68px 0 55px;
    background: var(--soft);
    border-bottom: 1px solid var(--line)
}

.page-hero h1 {
    font-size: clamp(40px,5vw,62px);
    line-height: 1;
    letter-spacing: -.05em;
    color: var(--navy);
    margin: 8px 0 15px
}

.page-hero p {
    max-width: 800px;
    color: var(--muted);
    font-size: 16px
}

.module {
    border: 1px solid var(--line);
    padding: 28px;
    background: var(--surface);
    margin-top: 16px
}

.module h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 21px
}

.module .definition {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 15px
}

.module ul {
    margin: 8px 0 0;
    padding-left: 19px
}

.service {
    border: 1px solid var(--line);
    padding: 24px;
    background: var(--surface);
    margin: 14px 0
}

.service h3 {
    color: var(--navy);
    margin: 0 0 10px
}

.service p {
    font-size: 14px;
    color: var(--muted);
    margin: 6px 0
}

.service b {
    color: var(--navy)
}

.steps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
    margin-top: 35px;
    border: none
}

.step {
    padding: 26px 22px;
    border: 1px solid #d4e4f7;
    border-radius: 14px;
    background: linear-gradient(180deg,#eff6ff 0%,#ffffff 65%);
    box-shadow: 0 8px 24px rgba(7,43,92,.04);
    transition: all .25s ease;
    display: flex;
    flex-direction: column
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(8,127,245,.12);
    border-color: #087ff5
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px
}

.step b {
    color: var(--blue);
    font-size: 14px;
    font-weight: 850;
    letter-spacing: .08em;
    background: rgba(8,127,245,.08);
    padding: 4px 10px;
    border-radius: 999px
}

html[data-theme="dark"] .step b {
    background: rgba(34,184,255,.12);
    color: #58bdff
}

.step h3 {
    color: var(--navy);
    font-size: 18px;
    margin: 10px 0 8px
}

.step p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0
}

.cta {
    background: #032344;
    color: #fff;
    padding: 38px 0
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px
}

.cta h3 {
    margin: 0 0 5px;
    font-size: 20px
}

.cta p {
    margin: 0;
    color: #bfd2e7;
    font-size: 12px
}

.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 800px
}

.field {
    display: grid;
    gap: 6px
}

.field.full {
    grid-column: 1/-1
}

.field label {
    font-size: 14px;
    font-weight: 800;
    color: var(--navy)
}

.field input,.field textarea {
    font: inherit;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    padding: 12px;
    border-radius: 5px
}

.field textarea {
    min-height: 140px
}

footer {
    border-top: 1px solid var(--line);
    padding: 42px 0 25px;
    background: var(--surface2)
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 35px
}

.footer-grid h4 {
    color: var(--navy);
    margin: 0 0 12px
}

.footer-grid a {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin: 7px 0
}

.footer-brand {
    font-size: 14px;
    color: var(--muted)
}

.copyright {
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding-top: 18px;
    font-size: 13.5px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.site-version {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    color: var(--muted);
    background: var(--soft);
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    letter-spacing: .02em;
    user-select: none;
}

.version-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, .6);
    display: inline-block;
}

html[data-theme="dark"] .site-version {
    background: rgba(15, 34, 58, .75);
    border-color: rgba(56, 183, 255, .2);
    color: #94a3b8;
}

@media(max-width: 900px) {
    header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .nav-toggle {
        display: flex;
    }

    .navlinks {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100dvh - var(--header-h));
        max-height: calc(100vh - var(--header-h));
        background: var(--surface);
        padding: 24px 20px 48px;
        flex-direction: column;
        gap: 10px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
        border-top: 1px solid var(--line);
        box-shadow: 0 24px 48px rgba(0,0,0,.25);
    }

    html[data-theme="dark"] .navlinks {
        background: rgba(7,23,43,.98);
        border-top-color: rgba(56,183,255,.2);
    }

    .navlinks.is-open {
        display: flex;
        animation: navSlideDown .22s ease-out;
    }

    @keyframes navSlideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .navlinks a {
        display: flex;
        align-items: center;
        padding: 13px 16px;
        font-size: 16px;
        font-weight: 700;
        border-radius: 10px;
        border-bottom: 1px solid var(--line);
        color: var(--navy);
        transition: background .15s ease;
    }

    .navlinks a:hover {
        background: var(--soft);
        color: var(--blue);
    }

    .navlinks .portal {
        background: var(--blue);
        color: #fff !important;
        text-align: center;
        justify-content: center;
        border-radius: 12px;
        padding: 14px;
        margin-top: 8px;
        border: none;
        box-shadow: 0 4px 14px rgba(8,127,245,.3);
    }

    .navlinks .btn-demo-nav {
        width: 100%;
        justify-content: center;
        padding: 14px;
        font-size: 14.5px;
        border-radius: 12px;
    }

    .grid3,.trust-grid,.split,.steps,.footer-grid {
        grid-template-columns: 1fr
    }

    .step {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .trust-item {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .form {
        grid-template-columns: 1fr
    }

    .field.full {
        grid-column: auto
    }

    .cta-inner {
        display: block
    }

    .cta .btn {
        margin-top: 18px
    }
}

@media(max-width: 560px) {
    :root {
        --header-h: 64px;
    }

    .wrap {
        width: calc(100% - 32px);
    }

    header {
        height: var(--header-h);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

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

    .nav-toggle {
        width: 36px;
        height: 36px;
    }

    .theme {
        width: 34px;
        height: 34px;
    }

    .hero {
        min-height: 400px;
        max-height: none;
    }

    .hero:after {
        background: linear-gradient(180deg, rgba(2,25,53,.85) 0%, rgba(2,35,69,.75) 50%, rgba(2,35,69,.90) 100%);
    }

    .hero-bg .hero-slide {
        object-position: center;
    }

    .hero-content {
        padding: 28px 0 24px;
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(24px, 7vw, 34px);
        margin: 8px 0 12px;
    }

    .hero p {
        font-size: 14px;
        line-height: 1.45;
    }

    .hero-dots {
        bottom: 10px;
    }

    section {
        padding: 50px 0;
    }
}

.hero-content {
    max-width: 580px
}

.hero h1 {
    max-width: 560px
}

.hero p {
    max-width: 520px
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,.22);
    border-bottom: 1px solid rgba(255,255,255,.22)
}

.proof-strip div {
    padding: 10px 12px;
    border-right: 1px solid rgba(255,255,255,.16);
    font-size: 10.5px;
    color: #d9e8f7
}

.proof-strip div:last-child {
    border: 0
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 22px;
    margin-top: 28px
}

.service-card {
    border: 1px solid #d4e4f7;
    padding: 28px 26px;
    background: linear-gradient(180deg,#eff6ff 0%,#ffffff 65%);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(7,43,92,.04);
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
    position: relative
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(8,127,245,.12);
    border-color: #087ff5
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px
}

.card-icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(8,127,245,.08);
    color: #087ff5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(8,127,245,.18)
}

html[data-theme="dark"] .card-icon-badge {
    background: rgba(34,184,255,.12);
    color: #22b8ff;
    border-color: rgba(34,184,255,.3)
}

.card-tag {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
    color: #087ff5;
    background: rgba(8,127,245,.07);
    padding: 5px 12px;
    border-radius: 999px
}

html[data-theme="dark"] .card-tag {
    color: #58bdff;
    background: rgba(56,183,255,.12)
}

.service-card h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 19px;
    line-height: 1.25
}

.service-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 16px;
    flex-grow: 1
}

.potencial-box {
    margin-top: auto;
    padding: 12px 14px;
    background: var(--soft);
    border-left: 3px solid #087ff5;
    border-radius: 0 8px 8px 0;
    font-size: 12.5px;
    color: var(--ink);
    line-height: 1.5
}

.potencial-box strong {
    color: var(--navy);
    font-weight: 800
}

.callout {
    border-left: 4px solid var(--blue);
    padding: 18px 22px;
    background: var(--soft);
    margin: 26px 0;
    color: var(--muted);
    font-size: 14px
}

@media(max-width: 850px) {
    .proof-strip,.service-grid {
        grid-template-columns:1fr
    }

    .proof-strip div {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.16)
    }
}

/* V6 — carrusel del hero: controles interactivos y accesibilidad */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(6,44,85,.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    padding: 0
}

.hero-arrow:hover {
    background: rgba(8,127,245,.85);
    border-color: #087ff5;
    transform: translateY(-50%) scale(1.08)
}

.hero-arrow:focus-visible {
    outline: 2px solid #58bdff;
    outline-offset: 2px
}

.hero-arrow--prev {
    left: 16px
}

.hero-arrow--next {
    right: 16px
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    align-items: center
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.5);
    background: rgba(255,255,255,.3);
    cursor: pointer;
    padding: 0;
    transition: all .3s ease
}

.hero-dot:hover {
    background: rgba(255,255,255,.75)
}

.hero-dot.is-active {
    width: 26px;
    background: #087ff5;
    border-color: #087ff5
}

.hero-dot:focus-visible {
    outline: 2px solid #58bdff;
    outline-offset: 2px
}

@media(max-width: 560px) {
    .hero-arrow {
        width:36px;
        height: 36px
    }

    .hero-arrow--prev {
        left: 8px
    }

    .hero-arrow--next {
        right: 8px
    }

    .hero-dots {
        bottom: 14px
    }
}

@media(prefers-reduced-motion:reduce) {
    .hero-bg .hero-slide {
        transition: none
    }
}

/* V6.1 — Retos, Resultados, Pilares Oscuros y Plataforma */
.grid4 {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
    margin-top: 32px
}

.card-reto {
    border-top: 3px solid var(--blue);
    background: var(--surface);
    position: relative;
    border-radius: 8px
}

.badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--soft);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px
}

.retos-callout {
    margin-top: 36px;
    padding: 20px 24px;
    background: linear-gradient(135deg,#eaf4ff,#f0f7ff);
    border: 1px solid #bfdbfe;
    border-left: 5px solid var(--blue);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy)
}

.section-resultados {
    background: var(--surface2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.card-resultado {
    border-radius: 8px;
    position: relative
}

.num-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 900;
    color: var(--blue);
    background: var(--soft);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
    letter-spacing: .05em
}

/* Sección Pilares Oscuros (Nuestra propuesta de valor) */
.dark-pillars {
    background: #041c38;
    color: #fff;
    padding: 88px 0
}

.dark-pillars h2 {
    color: #fff
}

.eyebrow-cyan {
    color: #18b9ea;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 850;
    margin-bottom: 12px
}

.lead-white {
    color: #d2e3f5;
    font-size: 16px;
    line-height: 1.6;
    margin: 16px 0 24px
}

.split-pillars {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center
}

.quote-box {
    border-left: 3px solid #18b9ea;
    padding: 16px 20px;
    background: rgba(255,255,255,.04);
    border-radius: 0 8px 8px 0;
    color: #e1edfa;
    font-style: italic;
    font-size: 14px;
    line-height: 1.65
}

.pillars-right {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.pcard {
    background: #0a294d;
    border: 1px solid rgba(24,185,234,.2);
    border-radius: 12px;
    padding: 22px 24px;
    transition: transform .2s ease,border-color .2s ease
}

.pcard:hover {
    transform: translateY(-2px);
    border-color: #18b9ea
}

.pcard-icon {
    color: #18b9ea;
    margin-bottom: 10px
}

.pcard h3 {
    color: #fff;
    font-size: 17px;
    margin: 0 0 6px;
    font-weight: 750
}

.pcard p {
    color: #b3cce6;
    font-size: 13px;
    line-height: 1.55;
    margin: 0
}

/* Sección Plataforma (ZeroBurocracIA) */
.section-platform {
    padding: 88px 0;
    background: var(--surface)
}

.eyebrow-blue {
    color: #087ff5;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 850;
    margin-bottom: 10px
}

.plat-title {
    font-size: clamp(36px,4.5vw,56px);
    color: var(--navy);
    margin: 0 0 8px;
    letter-spacing: -.04em
}

.ia-highlight {
    color: #087ff5
}

.plat-tag {
    color: #087ff5;
    font-weight: 750;
    font-size: 17px;
    margin: 0 0 14px
}

.plat-desc {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    max-width: 440px;
    margin-bottom: 24px
}

.btn-plat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border: 1.5px solid #087ff5;
    color: #087ff5;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    transition: .2s
}

.btn-plat:hover {
    background: #087ff5;
    color: #fff;
    transform: translateY(-2px)
}

.split-plat {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 48px;
    align-items: center
}

.plat-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px
}

.mod-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(6,43,92,.06);
    transition: transform .2s ease,box-shadow .2s ease
}

.mod-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(6,43,92,.12)
}

.mod-header {
    height: 76px;
    background: linear-gradient(135deg,#074a96,#087ff5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff
}

.mod-body {
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    min-height: 160px
}

.mod-body h3 {
    font-size: 16px;
    color: var(--navy);
    margin: 0 0 8px
}

.mod-body p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 16px;
    flex: 1
}

.mod-link {
    font-size: 12px;
    font-weight: 800;
    color: #087ff5;
    text-decoration: none
}

.mod-link:hover {
    text-decoration: underline
}

/* Sección Diagnóstico Unificada: Retos + Resultados Lado a Lado */
.section-diagnostico {
    padding: 80px 0;
    background: var(--surface)
}

.split-diag {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 44px;
    align-items: start
}

.retos-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 24px 0 20px
}

.card-reto {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid #d4e4f7;
    background: linear-gradient(180deg,#eff6ff 0%,#ffffff 70%)
}

.card-reto .badge-icon {
    flex-shrink: 0;
    margin: 0
}

.card-reto h3 {
    font-size: 16px;
    color: var(--navy);
    margin: 0 0 4px
}

.card-reto p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
    line-height: 1.5
}

/* Tarjeta destacada Resultados */
.card-box-resultados {
    background: linear-gradient(180deg,#eaf2fc 0%,#f5f9ff 100%);
    border: 1.5px solid #c2dbf7;
    border-radius: 18px;
    padding: 34px 28px;
    box-shadow: 0 14px 32px rgba(8,127,245,.06)
}

html[data-theme="dark"] .card-box-resultados {
    background: linear-gradient(180deg,#0e2749 0%,#0a1d35 100%);
    border-color: rgba(56,183,255,.3)
}

.card-box-resultados h3 {
    color: var(--navy);
    font-size: 22px;
    margin: 8px 0 8px
}

.diag-sub {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 22px;
    line-height: 1.5
}

.res-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-top: 1px solid rgba(8,127,245,.14)
}

.num-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #087ff5;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.res-item h4 {
    margin: 0 0 4px;
    font-size: 15px;
    color: var(--navy)
}

.res-item p {
    margin: 0;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.5
}

/* Navegación contextual entre páginas */
.page-nav-next {
    background: var(--surface2);
    border-top: 1px solid var(--line);
    padding: 36px 0
}

.next-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.next-bar span {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #087ff5;
    display: block;
    margin-bottom: 4px
}

.next-bar h4 {
    margin: 0;
    font-size: 19px;
    color: var(--navy)
}

@media(max-width: 960px) {
    .grid4 {
        grid-template-columns:repeat(2,1fr)
    }

    .split-pillars,.split-plat,.split-diag {
        grid-template-columns: 1fr
    }

    .plat-cards {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .next-bar {
        flex-direction: column;
        align-items: flex-start
    }
}

@media(max-width: 560px) {
    .grid4 {
        grid-template-columns:1fr
    }
}

/* Botón Demo en Navbar */
.btn-demo-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg,#087ff5,#065ec0);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 8px 15px;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 4px 12px rgba(8,127,245,.25)
}

.btn-demo-nav:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 6px 16px rgba(8,127,245,.35);
    filter: brightness(1.08)
}

.btn-plat--demo {
    background: linear-gradient(135deg,#087ff5,#065ec0);
    color: #fff;
    border: none;
    margin-top: 12px;
    cursor: pointer
}

.btn-plat--demo:hover {
    filter: brightness(1.1);
    transform: translateY(-2px)
}

.mod-link-demo {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    font-weight: 800;
    color: var(--blue);
    cursor: pointer;
    margin-top: 10px
}

.mod-link-demo:hover {
    text-decoration: underline
}

/* Modal de Acceso con Password */
.demo-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4,18,38,.72);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity .25s ease
}

.demo-overlay.is-open {
    display: flex;
    opacity: 1
}

.demo-modal {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0,0,0,.35);
    position: relative;
    overflow: hidden;
    animation: modalPop .28s cubic-bezier(.16,1,.3,1)
}

@keyframes modalPop {
    from {
        transform: scale(.94) translateY(10px);
        opacity: 0
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1
    }
}

html[data-theme="dark"] .demo-modal {
    background: #0a1c33;
    border-color: rgba(56,183,255,.25);
    box-shadow: 0 24px 60px rgba(0,0,0,.6),0 0 30px rgba(8,127,245,.15)
}

.demo-modal-header {
    padding: 24px 26px 18px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: flex-start;
    justify-content: space-between
}

html[data-theme="dark"] .demo-modal-header {
    border-bottom-color: rgba(56,183,255,.14)
}

.demo-modal-brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.demo-modal-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(8,127,245,.1);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(8,127,245,.2)
}

.demo-modal-title h3 {
    margin: 0;
    font-size: 16px;
    color: var(--navy);
    font-weight: 850
}

.demo-modal-title span {
    font-size: 11.5px;
    color: var(--muted);
    font-weight: 600
}

.demo-close {
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .15s
}

.demo-close:hover {
    color: var(--ink);
    background: var(--soft)
}

.demo-modal-body {
    padding: 22px 26px
}

.demo-modal-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
    margin: 0 0 18px
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.demo-form label {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: .02em
}

.demo-input-wrap {
    position: relative
}

.demo-input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    color: var(--ink);
    font-size: 14px;
    letter-spacing: .1em;
    transition: border-color .2s
}

.demo-input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(8,127,245,.15)
}

.demo-msg {
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    display: none;
    margin-top: 4px
}

.demo-msg.is-error {
    display: block;
    background: #fff1f2;
    color: #e11d48;
    border: 1px solid #fecdd3
}

.demo-msg.is-success {
    display: block;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0
}

html[data-theme="dark"] .demo-msg.is-error {
    background: rgba(225,29,72,.15);
    color: #fda4af;
    border-color: rgba(225,29,72,.3)
}

html[data-theme="dark"] .demo-msg.is-success {
    background: rgba(5,150,105,.15);
    color: #6ee7b7;
    border-color: rgba(5,150,105,.3)
}

.demo-btn-submit {
    background: linear-gradient(135deg,#087ff5,#065ec0);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-size: 13.5px;
    font-weight: 850;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 4px 12px rgba(8,127,245,.25);
    margin-top: 6px
}

.demo-btn-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.08)
}

.demo-modal-footer {
    padding: 14px 26px 20px;
    border-top: 1px solid var(--line);
    font-size: 11.5px;
    color: var(--muted);
    text-align: center
}

html[data-theme="dark"] .demo-modal-footer {
    border-top-color: rgba(56,183,255,.14)
}

.demo-modal-footer a {
    color: var(--blue);
    font-weight: 750;
    text-decoration: none
}

.demo-modal-footer a:hover {
    text-decoration: underline
}
