/* ==========================================================
   dSoft · Estilos del sitio
   ========================================================== */
:root {
    --font: 'Poppins',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
    --hand: 'Caveat','Segoe Script',cursive;
    --blue: #006bc0;
    --green: #3aaf4a;
    --pink: #fc4ceb;
    --indigo: #1d00ff;
    --r: 20px;
    --nav-h: 60px;
    --container: 1320px;
    --gutter: 20px; /* margen lateral del contenido (cambia por tamaño de pantalla, ver abajo) */
}
/* Margen lateral según la pantalla.
   Desde 992px se ve la barra de redes (44px) a la izquierda: el contenido siempre queda a 64px o más del borde.
   En pantallas anchas el margen baja poco a poco a 40px, porque el espacio sobrante ya lo separa de la barra. */
@media (min-width:480px) {
    :root {
        --gutter: 24px
    }
}

@media (min-width:768px) {
    :root {
        --gutter: 40px
    }
}

@media (min-width:992px) {
    :root {
        --gutter: clamp(40px, calc(64px - (100vw - var(--container)) / 2), 64px)
    }
}

:root, :root[data-theme="light"] {
    color-scheme: light;
    --bg: #ffffff;
    --bg-alt: #f3f5f9;
    --surface: #ffffff;
    --text: #1c2430;
    --muted: #5b6675;
    --border: #e4e8ee;
    --link: #006bc0;
    --btn-primary: #006bc0;
    --nav-bg: rgba(255,255,255,.78);
    --shadow: 0 1px 2px rgba(16,24,40,.06),0 8px 24px rgba(16,24,40,.07);
    --shadow-lg: 0 20px 50px -12px rgba(16,24,40,.25);
    --hero-from: #e9ecf0;
    --hero-to: #d5d8dd;
    --band: rgba(255,255,255,.55);
    --dots: rgba(0,0,0,.55);
    --soft: rgba(0,107,192,.09);
    --spot: rgba(0,107,192,.10);
    --grid-dot: rgba(16,24,40,.07);
    --footer-bg: #393939;
    --stat-overlay: rgba(0,0,0,0);
}

    :root[data-theme="dark"] {
        color-scheme: dark;
        --bg: #0d1117;
        --bg-alt: #11161e;
        --surface: #161c26;
        --text: #e7ebf1;
        --muted: #9aa6b6;
        --border: #273040;
        --link: #5db0ff;
        --btn-primary: #0b78cf;
        --nav-bg: rgba(13,17,23,.78);
        --shadow: 0 1px 2px rgba(0,0,0,.4),0 8px 24px rgba(0,0,0,.35);
        --shadow-lg: 0 24px 56px -12px rgba(0,0,0,.7);
        --hero-from: #182030;
        --hero-to: #0d1117;
        --band: rgba(255,255,255,.07);
        --dots: rgba(255,255,255,.55);
        --soft: rgba(93,176,255,.12);
        --spot: rgba(93,176,255,.14);
        --grid-dot: rgba(255,255,255,.06);
        --footer-bg: #0a0d12;
        --stat-overlay: rgba(0,0,0,.28);
    }

@media (prefers-color-scheme:dark) {
    :root:not([data-theme]) {
        color-scheme: dark;
        --bg: #0d1117;
        --bg-alt: #11161e;
        --surface: #161c26;
        --text: #e7ebf1;
        --muted: #9aa6b6;
        --border: #273040;
        --link: #5db0ff;
        --btn-primary: #0b78cf;
        --nav-bg: rgba(13,17,23,.78);
        --shadow: 0 1px 2px rgba(0,0,0,.4),0 8px 24px rgba(0,0,0,.35);
        --shadow-lg: 0 24px 56px -12px rgba(0,0,0,.7);
        --hero-from: #182030;
        --hero-to: #0d1117;
        --band: rgba(255,255,255,.07);
        --dots: rgba(255,255,255,.55);
        --soft: rgba(93,176,255,.12);
        --spot: rgba(93,176,255,.14);
        --grid-dot: rgba(255,255,255,.06);
        --footer-bg: #0a0d12;
        --stat-overlay: rgba(0,0,0,.28);
    }
}

*, *::before, *::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background .35s,color .35s;
    -webkit-font-smoothing: antialiased
}

main {
    flex: 1;
    overflow: hidden;
    overflow: clip
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

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

h1, h2, h3, h4, h5, p {
    margin: 0
}

ul {
    margin: 0;
    padding: 0;
    list-style: none
}

button {
    font-family: inherit
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    /*padding: 0 20px →*/
    padding: 0 var(--gutter)
}

.skip {
    position: fixed;
    left: 12px;
    top: -60px;
    z-index: 300;
    background: var(--blue);
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    transition: top .2s
}

    .skip:focus {
        top: 12px
    }

:focus-visible {
    outline: 3px solid var(--link);
    outline-offset: 3px;
    border-radius: 6px
}

[data-feather], .feather {
    width: 20px;
    height: 20px;
    stroke-width: 2
}

/* Barra de progreso de lectura */
.progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 200;
    transform-origin: left;
    transform: scaleX(var(--p,0));
    background: linear-gradient(90deg,var(--blue),var(--green),var(--pink));
    pointer-events: none
}

/* Revelado al hacer scroll */
.js [data-reveal] {
    opacity: 0;
    translate: 0 24px;
    transition: opacity .8s ease var(--d,0s),translate .8s cubic-bezier(.2,.7,.2,1) var(--d,0s),scale .8s ease var(--d,0s),transform .3s ease,box-shadow .3s ease,border-color .3s ease
}

.hand svg path {
    stroke-dashoffset: 0;
    transition: none
}

.js [data-reveal=left] {
    translate: -32px 0
}

.js [data-reveal=right] {
    translate: 32px 0
}

.js [data-reveal=down] {
    translate: 0 -24px
}

.js [data-reveal=zoom] {
    translate: 0 0;
    scale: .94
}

.js [data-reveal].in {
    opacity: 1;
    translate: 0 0;
    scale: 1
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.4rem;
    border-radius: 999px;
    font: 600 .78rem/1 var(--font);
    letter-spacing: .05em;
    text-transform: uppercase;
    border: 2px solid transparent;
    cursor: pointer;
    color: #fff;
    transition: transform .2s,box-shadow .2s,background .2s,color .2s,border-color .2s;
    white-space: nowrap
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 24px -10px var(--c,rgba(0,0,0,.5))
    }

.btn-primary {
    background: linear-gradient(135deg,#0a80e6,var(--btn-primary));
    --c: var(--btn-primary)
}

.btn-danger {
    background: linear-gradient(135deg,#ee4a4f,#d9363b);
    --c: #d9363b
}

.btn-success {
    background: linear-gradient(135deg,#38b24a,#2c9a3c);
    --c: #2c9a3c
}

.btn-warning {
    background: linear-gradient(135deg,#e88a0a,#d27a00);
    --c: #d27a00
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border)
}

    .btn-outline:hover {
        background: var(--blue);
        border-color: var(--blue);
        color: #fff;
        --c: var(--blue)
    }

.btn-sm {
    padding: .6rem 1rem;
    font-size: .72rem
}

.btn svg {
    transition: transform .25s
}

.btn:hover svg {
    transform: translateX(3px)
}

/* ============ Navegación flotante ============ */
.nav {
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
    z-index: 100;
    /*padding: 0 12px;*/
    padding: 0 max(12px, calc(var(--gutter) - 20px)); /* el logo queda alineado con el contenido */
    pointer-events: none
}

.nav-inner {
    pointer-events: auto;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    /*max-width: var(--container);*/
    max-width: calc(var(--container) - 2 * max(0px, var(--gutter) - 20px)); /* mismo ancho útil que .container */
    margin: 0 auto;
    padding: 0 12px 0 20px;
    background: var(--nav-bg);
    -webkit-backdrop-filter: saturate(1.6) blur(18px);
    backdrop-filter: saturate(1.6) blur(18px);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: box-shadow .3s,background .35s
}

.nav.scrolled .nav-inner {
    box-shadow: var(--shadow-lg)
}

.brand {
    flex: none;
    display: flex;
    align-items: center;
    margin-right: 10px;
    transition: transform .3s
}

    .brand:hover {
        transform: scale(1.04)
    }

    .brand img {
        height: 36px;
        width: auto;
        max-width: 170px;
        object-fit: contain
    }

    .brand .logo-dark {
        display: none
    }

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

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

.menu {
    display: none;
    margin-left: auto;
    height: 100%;
    align-items: stretch;
    gap: 2px
}

    .menu > li {
        display: flex;
        align-items: stretch
    }

        .menu > li > a, .menu > li > button {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 0 13px;
            font: 500 .9rem var(--font);
            color: var(--text);
            background: none;
            border: 0;
            cursor: pointer;
            position: relative
        }

            .menu > li > a::after, .menu > li > button::after {
                content: "";
                position: absolute;
                left: 13px;
                right: 13px;
                bottom: 10px;
                height: 2px;
                border-radius: 2px;
                background: linear-gradient(90deg,var(--blue),var(--green));
                transform: scaleX(0);
                transform-origin: left;
                transition: transform .3s
            }

            .menu > li:hover > a::after, .menu > li:hover > button::after, .menu > li > a.active::after, .menu > li.open > button::after {
                transform: scaleX(1)
            }

.chev {
    transition: transform .25s
}

.has-dd:hover .chev, .has-dd.open .chev {
    transform: rotate(180deg)
}

.btn-ticket {
    display: none;
    background: #6b7280;
    padding: .55rem .95rem;
    text-transform: none;
    letter-spacing: 0;
    font-size: .84rem;
    font-weight: 500;
    --c: #6b7280;
    margin-left: 6px
}

    .btn-ticket .short {
        display: none
    }

.theme-toggle {
    margin-left: auto;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .3s,background .3s,border-color .3s
}

    .theme-toggle:hover {
        transform: rotate(18deg);
        border-color: var(--blue)
    }

    .theme-toggle svg {
        grid-area: 1/1;
        transition: opacity .3s,transform .4s
    }

    .theme-toggle .sun {
        opacity: 0;
        transform: rotate(-90deg) scale(.5)
    }

[data-theme=dark] .theme-toggle .sun {
    opacity: 1;
    transform: none
}

[data-theme=dark] .theme-toggle .moon {
    opacity: 0;
    transform: rotate(90deg) scale(.5)
}

.burger {
    flex: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 12px;
    display: grid;
    place-content: center;
    gap: 5px;
    cursor: pointer
}

    .burger span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: var(--text);
        transition: transform .3s,opacity .3s
    }

    .burger[aria-expanded=true] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg)
    }

    .burger[aria-expanded=true] span:nth-child(2) {
        opacity: 0
    }

    .burger[aria-expanded=true] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg)
    }

.dd {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--shadow-lg);
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .22s,transform .22s,visibility .22s;
    z-index: 5
}

    .dd::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -12px;
        height: 12px
    }

.has-dd {
    position: relative
}

    .has-dd.mega {
        position: static
    }

    .has-dd:hover > .dd, .has-dd:focus-within > .dd, .has-dd.open > .dd {
        opacity: 1;
        visibility: visible;
        transform: none
    }

.dd-sm {
    width: 350px
}

.dd.right {
    left: auto;
    right: 0
}

.mega > .dd {
    left: 50%;
    width: min(1100px,calc(100vw - 32px));
    transform: translate(-50%,8px);
    max-height: calc(100vh - var(--nav-h) - 40px);
    overflow: auto
}

.mega:hover > .dd, .mega:focus-within > .dd, .mega.open > .dd {
    transform: translate(-50%,0)
}

.dd-lead {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--bg-alt);
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.5;
    transition: background .2s
}

a.dd-lead:hover {
    background: var(--soft)
}

.dd-lead svg {
    flex: none;
    color: var(--link);
    margin-top: 2px;
    width: 24px;
    height: 24px
}

.dd-lead strong {
    color: var(--text);
    font-weight: 600
}

.dd-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 0 10px;
    margin-top: 10px
}

.dd-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 14px;
    transition: background .2s,transform .2s
}

    .dd-item:hover {
        background: var(--bg-alt);
        transform: translateX(3px)
    }

    .dd-item .lt {
        flex: none;
        width: 56px;
        height: 56px;
        display: grid;
        place-items: center
    }

        .dd-item .lt img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform .3s
        }

    .dd-item:hover .lt img {
        transform: scale(1.1)
    }

    .dd-item strong {
        display: block;
        font-size: .9rem;
        font-weight: 600;
        line-height: 1.25
    }

    .dd-item small {
        display: block;
        font-size: .74rem;
        color: var(--muted);
        line-height: 1.35;
        margin-top: 2px
    }

.dd-foot {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
    padding: 10px 14px;
    border-top: 1px solid var(--border);
    font-weight: 500;
    font-size: .9rem
}

    .dd-foot img {
        width: 44px;
        flex: none
    }

    .dd-foot:hover {
        color: var(--link)
    }

.mpanel {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    pointer-events: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--nav-h) - 40px);
    overflow: auto;
    padding: 8px 18px 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s,transform .25s,visibility .25s
}

    .mpanel.open {
        opacity: 1;
        visibility: visible;
        transform: none
    }

    .mpanel h4 {
        font-size: .72rem;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--muted);
        font-weight: 600;
        margin: 16px 0 6px
    }

.mlinks a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 4px;
    font-weight: 500;
    border-bottom: 1px solid var(--border)
}

.mlinks svg {
    color: var(--link)
}

.msol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px
}

    .msol a {
        padding: 8px 4px;
        font-size: .9rem;
        color: var(--text);
        border-radius: 8px
    }

        .msol a:hover {
            color: var(--link)
        }

.msocial {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px
}

    .msocial a, .soc a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        border: 1px solid var(--border);
        transition: background .2s,color .2s,transform .2s
    }

        .msocial a:hover {
            background: var(--hc);
            color: #fff;
            border-color: var(--hc);
            transform: translateY(-3px)
        }

.mpanel .btn {
    width: 100%;
    margin-top: 16px
}

@media (min-width:992px) {
    .menu {
        display: flex
    }

    .btn-ticket {
        display: inline-flex
    }

    .theme-toggle {
        margin-left: 6px
    }

    .burger, .mpanel {
        display: none
    }
}

@media (min-width:992px) and (max-width:1199px) {
    .btn-ticket .long {
        display: none
    }

    .btn-ticket .short {
        display: inline
    }

    .menu > li > a, .menu > li > button {
        padding: 0 9px
    }

        .menu > li > a::after, .menu > li > button::after {
            left: 9px;
            right: 9px
        }
}

/* Barra social flotante */
.rail {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    display: none;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 0;
    border-radius: 0 16px 16px 0;
    box-shadow: var(--shadow);
    overflow: hidden
}

    .rail a {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        color: var(--muted);
        transition: background .2s,color .2s,width .2s
    }

        .rail a:hover {
            background: var(--hc);
            color: #fff;
            width: 52px
        }

/*@media (min-width:1400px) {*/
@media (min-width:992px) {
    .rail {
        display: flex
    }
}

/* ============ Hero ============ */
.hero {
    position: relative;
    padding: calc(var(--nav-h) + 10px + 34px) 0 60px;
    background: var(--hero-bg,linear-gradient(135deg,var(--hero-from),var(--hero-to)));
    color: var(--hero-text,inherit);
    border-radius: 0 0 40px 40px;
    isolation: isolate;
    overflow: hidden;
    transition: background .35s
}

.shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .55;
    animation: float 16s ease-in-out infinite
}

    .blob.a {
        width: 420px;
        height: 420px;
        left: -120px;
        top: -100px;
        background: radial-gradient(circle,var(--sh-blob-a,rgba(0,107,192,.55)),transparent 70%)
    }

    .blob.b {
        width: 460px;
        height: 460px;
        right: -120px;
        bottom: -160px;
        background: radial-gradient(circle,var(--sh-blob-b,rgba(252,76,235,.45)),transparent 70%);
        animation-delay: -6s
    }

@keyframes float {
    0%,100% {
        translate: 0 0
    }

    50% {
        translate: 30px -26px
    }
}

.band {
    position: absolute;
    top: -10%;
    height: 130%;
    transform: skewX(-18deg);
    background: linear-gradient(180deg,var(--sh-band,var(--band)),transparent);
    opacity: 0;
    animation: bandIn 1.4s ease forwards
}

.b1 {
    right: 8%;
    width: 90px;
    animation-delay: .1s
}

.b2 {
    right: 20%;
    width: 50px;
    animation-delay: .3s
}

.b3 {
    right: 34%;
    width: 130px;
    animation-delay: .5s
}

.b4 {
    right: -2%;
    width: 170px;
    animation-delay: .7s
}

@keyframes bandIn {
    from {
        opacity: 0;
        translate: 0 -50px
    }

    to {
        opacity: 1;
        translate: 0 0
    }
}

@keyframes spin {
    to {
        rotate: 360deg
    }
}

@keyframes spinr {
    to {
        rotate: -360deg
    }
}

.tri {
    position: absolute;
    left: 57%;
    top: 18%;
    width: 38px;
    color: var(--sh-tri,var(--blue));
    opacity: .55;
    animation: spin 18s linear infinite
}

.cross {
    position: absolute;
    left: 6%;
    bottom: 14%;
    width: 32px;
    color: var(--sh-cross,var(--pink));
    opacity: .7;
    animation: spin 14s linear infinite
}

.ring {
    position: absolute;
    border-radius: 50%
}

.r1 {
    width: 220px;
    height: 220px;
    left: -70px;
    top: 30%;
    border: 2px dashed var(--sh-ring-1,rgba(0,107,192,.4));
    animation: spin 70s linear infinite
}

.r2 {
    width: 140px;
    height: 140px;
    right: 5%;
    bottom: 8%;
    border: 12px solid var(--sh-ring-2,rgba(58,175,74,.3));
    border-right-color: transparent;
    animation: spinr 28s linear infinite
}

.dots {
    position: absolute;
    width: 140px;
    height: 140px;
    background-image: radial-gradient(var(--sh-dots,var(--dots)) 2px,transparent 2px);
    background-size: 18px 18px;
    opacity: .5
}

.d1 {
    left: 3%;
    top: 90px
}

.d2 {
    right: 2%;
    bottom: 30px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2
}

.hero-title {
    font-size: clamp(2rem,4vw,3.3rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.03em
}

    .hero-title .big {
        display: inline-block;
        font-size: 1.42em;
        line-height: 1.05;
        background: linear-gradient(90deg,var(--hero-acc-1,var(--blue)),var(--hero-acc-2,var(--green)));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        padding-bottom: .05em
    }

.hand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font: 700 1.6rem/1.1 var(--hand);
    color: var(--hero-text,var(--text));
    opacity: .9
}

    .hand svg {
        flex: none;
        width: 58px;
        height: 36px;
        color: var(--hero-acc-1,var(--link));
        overflow: visible;
        translate: 0 4px
    }

        .hand svg path {
            stroke-dasharray: 1;
            stroke-dashoffset: 1;
            transition: stroke-dashoffset .8s ease calc(var(--d,0s) + .4s)
        }

            .hand svg path + path {
                transition-duration: .25s;
                transition-delay: calc(var(--d,0s) + 1.15s)
            }

    .hand.in svg path, .demo .hand svg path {
        stroke-dashoffset: 0
    }

.hero-cta {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
    margin-top: 22px;
    max-width: 440px
}

    .hero-cta .btn {
        padding: .75rem 1rem;
        font-size: .72rem;
        white-space: normal;
        line-height: 1.2;
        text-align: center
    }

@media (max-width:480px) {
    .hero-cta .btn {
        padding: .75rem .5rem;
        font-size: .66rem;
        letter-spacing: .02em
    }
}

@media (max-width:991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .hero-copy {
        text-align: center
    }

    .hand {
        justify-content: center
    }

    .hero-cta {
        margin-left: auto;
        margin-right: auto
    }
}

.slider {
    position: relative;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    background: var(--surface);
    overflow: hidden;
    touch-action: pan-y;
    border: 1px solid rgba(255,255,255,.5)
}

[data-theme=dark] .slider {
    border-color: var(--border)
}

.slides {
    display: flex;
    align-items: center;
    transition: transform .7s cubic-bezier(.65,0,.35,1)
}

.slide {
    flex: 0 0 100%;
    min-width: 0
}

    .slide a {
        display: block
    }

    .slide img {
        width: 100%;
        height: auto;
        transition: transform 6s ease
    }

    .slide.on img {
        transform: scale(1.03)
    }

.s-nav {
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.92);
    color: #111;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    opacity: 0;
    transition: opacity .25s,transform .2s
}

    .s-nav:hover {
        transform: scale(1.1)
    }

.s-prev {
    left: 10px
}

.s-next {
    right: 10px
}

.slider:hover .s-nav, .s-nav:focus-visible {
    opacity: 1
}

@media (hover:none) {
    .s-nav {
        opacity: 1
    }
}

.s-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 8px
}

    .s-dots button {
        width: 9px;
        height: 9px;
        border-radius: 99px;
        border: 0;
        padding: 0;
        background: rgba(255,255,255,.65);
        box-shadow: 0 0 0 1px rgba(0,0,0,.3);
        cursor: pointer;
        transition: width .3s,background .3s
    }

        .s-dots button.active {
            width: 28px;
            background: #fff
        }

/* ============ Secciones ============ */
.section {
    position: relative;
    padding: 56px 0
}

.sec-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 20px
}

    .sec-head h2, .h2 {
        font-size: clamp(1.6rem,2.8vw,2.25rem);
        font-weight: 800;
        letter-spacing: -.025em;
        line-height: 1.2
    }

    .sec-head p {
        color: var(--muted);
        margin-top: 8px;
        font-size: 1rem
    }

.deco {
    position: absolute;
    pointer-events: none;
    z-index: 0
}

.sq {
    left: -90px;
    top: 40px;
    width: 220px;
    height: 220px;
    border: 30px solid var(--green);
    opacity: .14;
    rotate: 20deg;
    animation: spin 90s linear infinite
}

.rg {
    right: -70px;
    top: 30%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 2px dashed var(--blue);
    opacity: .25;
    animation: spinr 80s linear infinite
}

#software {
    background-image: radial-gradient(var(--grid-dot) 1.2px,transparent 1.2px);
    background-size: 24px 24px
}

.grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px
}

/*@media (max-width:991px) {*/
@media (max-width:1199px) {
    .grid {
        grid-template-columns: repeat(2,1fr)
    }
}

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

    .section {
        padding: 40px 0
    }
}

.card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 20px 22px 18px;
    position: relative;
    isolation: isolate;
    overflow: hidden
}

    .card::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: radial-gradient(380px circle at var(--mx,50%) var(--my,0%),var(--spot),transparent 62%);
        opacity: 0;
        transition: opacity .35s;
        pointer-events: none;
        z-index: -1
    }

    .card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: color-mix(in srgb,var(--blue) 45%,var(--border))
    }

        .card:hover::after {
            opacity: 1
        }

.logo-tile {
    display: flex;
    align-items: center;
    height: 96px;
    max-width: 100%
}

    .logo-tile img {
        height: 96px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        object-position: left center;
        transform-origin: left center;
        transition: transform .35s
    }

.card:hover .logo-tile img {
    transform: scale(1.06)
}

[data-theme=dark] .logo-tile img, [data-theme=dark] .dd-item .lt img {
    filter: drop-shadow(0 0 .6px rgba(255,255,255,.9)) drop-shadow(0 0 10px rgba(255,255,255,.14))
}

.card h3 {
    font-size: 1.18rem;
    font-weight: 700;
    margin-top: 10px;
    letter-spacing: -.01em
}

.card .resumen {
    color: var(--muted);
    font-size: .9rem;
    margin-top: 6px;
    flex: 1
}


.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    margin-top: 14px
}

    .card-foot .btn {
        flex: none
    }

.price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--soft);
    font-size: .8rem;
    white-space: nowrap;
    min-width: 0
}

    .price .from {
        color: var(--muted)
    }

    .price strong {
        color: var(--link);
        font-weight: 700
    }



@media (max-width:640px) {
    .card {
        align-items: center;
        text-align: center
    }

    .logo-tile {
        justify-content: center
    }

        .logo-tile img {
            object-position: center
        }

    .card-foot {
        justify-content: center
    }
}

/* ============ Cifras ============ */
.stats {
    position: relative;
    padding: 52px 0;
    color: #fff;
    text-align: center;
    background: linear-gradient(120deg,rgb(252,76,235),rgb(29,0,255),rgb(252,76,235));
    background-size: 220% 220%;
    animation: gradMove 16s ease infinite;
    isolation: isolate
}

    .stats::before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--stat-overlay);
        z-index: -1
    }

@keyframes gradMove {
    0%,100% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }
}

.stat-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px
}

    .stat-main svg {
        width: 48px;
        height: 48px
    }

.num {
    font-weight: 800;
    font-variant-numeric: tabular-nums
}

.stat-main .num {
    font-size: clamp(2.8rem,7vw,4.6rem);
    line-height: 1;
    letter-spacing: -.02em
}

.stats h2 {
    font-size: clamp(1.1rem,2.2vw,1.5rem);
    font-weight: 500;
    margin-top: 8px;
    opacity: .95
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
    margin-top: 28px
}

.stat {
    padding: 18px 12px;
    border-radius: var(--r);
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: transform .3s,background .3s
}

    .stat:hover {
        transform: translateY(-5px);
        background: rgba(255,255,255,.2)
    }

    .stat .row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px
    }

        .stat .row svg {
            width: 28px;
            height: 28px
        }

    .stat .num {
        font-size: clamp(1.5rem,2.8vw,2rem)
    }

    .stat p {
        margin-top: 4px;
        opacity: .92;
        font-size: .92rem
    }

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

    .stat-main svg {
        width: 36px;
        height: 36px
    }
}

/* ============ Somos ============ */
.somos-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 36px;
    align-items: center
}

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

.somos .lead {
    color: var(--muted);
    font-size: 1.04rem;
    margin-top: 12px
}

.feat {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px
}

    .feat .ic {
        flex: none;
        width: 52px;
        height: 52px;
        border-radius: 15px;
        background: var(--soft);
        color: var(--link);
        display: grid;
        place-items: center;
        transition: transform .3s,background .3s,color .3s
    }

        .feat .ic svg {
            width: 28px;
            height: 28px
        }

    .feat:hover .ic {
        transform: rotate(-6deg) scale(1.08);
        background: var(--blue);
        color: #fff
    }

    .feat h5 {
        font-size: 1.08rem;
        font-weight: 600
    }

.imgs {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
    align-items: center
}

    .imgs figure {
        margin: 0;
        border-radius: var(--r);
        overflow: hidden;
        border: 1px solid var(--border);
        box-shadow: var(--shadow-lg)
    }

        .imgs figure img {
            width: 100%;
            transition: transform .6s
        }

        .imgs figure:hover img {
            transform: scale(1.07)
        }

@media (min-width:768px) {
    .imgs .i1 {
        margin-top: 36px
    }

    .imgs .i3 {
        margin-top: -36px
    }
}

.somos .pat {
    right: 4%;
    top: 24px;
    width: 140px;
    height: 140px;
    background-image: radial-gradient(var(--dots) 2px,transparent 2px);
    background-size: 18px 18px;
    opacity: .22
}

.somos .circ {
    left: -110px;
    bottom: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--soft)
}

/* ============ Testimonios ============ */
.testi {
    background: var(--bg-alt)
}

.t-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
    overflow: hidden
}

.t-media {
    position: relative;
    min-height: 300px;
    background: var(--bg-alt)
}

    .t-media figure {
        position: absolute;
        inset: 0;
        margin: 0;
        opacity: 0;
        transition: opacity .9s ease
    }

        .t-media figure.active {
            opacity: 1
        }

    .t-media img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

[data-theme=dark] .t-media img {
    filter: brightness(.9)
}

.t-body {
    padding: 30px 32px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.qmark {
    width: 40px;
    height: 40px;
    color: var(--blue);
    opacity: .35
}

.quotes {
    display: grid;
    margin-top: 8px
}

    .quotes blockquote {
        grid-area: 1/1;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        translate: 0 12px;
        transition: opacity .6s,translate .6s,visibility .6s;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center
    }

        .quotes blockquote.active {
            opacity: 1;
            visibility: visible;
            translate: 0 0
        }

    .quotes p {
        font-size: 1rem;
        line-height: 1.7;
        color: var(--text)
    }

    .quotes footer {
        margin-top: 16px;
        font-size: .8rem;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--link)
    }

.t-ctl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 20px
}

    .t-ctl > button {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 1px solid var(--border);
        background: var(--surface);
        color: var(--text);
        display: grid;
        place-items: center;
        cursor: pointer;
        box-shadow: var(--shadow);
        transition: background .2s,color .2s,transform .2s
    }

        .t-ctl > button:hover {
            background: var(--blue);
            color: #fff;
            transform: scale(1.08)
        }

.t-dots {
    display: flex;
    gap: 8px
}

    .t-dots button {
        width: 9px;
        height: 9px;
        padding: 0;
        border-radius: 99px;
        border: 0;
        background: var(--border);
        cursor: pointer;
        transition: width .3s,background .3s
    }

        .t-dots button.active {
            width: 26px;
            background: var(--blue)
        }



@media (max-width:860px) {
    .t-card {
        grid-template-columns: 1fr
    }

    .t-media {
        min-height: 240px
    }

    .t-body {
        padding: 26px 20px 18px;
        justify-content: flex-start
    }

    .quotes {
        position: relative;
        transition: height .4s
    }

        .quotes blockquote:not(.active) {
            position: absolute;
            top: 0;
            left: 0;
            right: 0
        }

    .t-ctl {
        margin-top: 16px
    }
}

/* ============ Footer ============ */
.footer {
    background: var(--footer-bg);
    color: #fff;
    padding: 40px 0 28px;
    margin-top: auto;
    border-radius: 36px 36px 0 0
}

.f-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px
}

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

    .footer {
        border-radius: 28px 28px 0 0
    }
}

.f-logo {
    height: 48px;
    width: auto;
    margin-bottom: 16px
}

.f-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 8px;
    color: #fff;
    font-size: .94rem
}

    .f-row svg {
        flex: none;
        margin-top: 3px;
        opacity: .9
    }

    .f-row a:hover {
        text-decoration: underline
    }

    .f-row .d {
        display: block
    }

.soc {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px
}

    .soc a {
        border-color: rgba(255,255,255,.45);
        color: #fff
    }

        .soc a:hover {
            background: #fff;
            color: #222;
            transform: translateY(-3px)
        }

.footer h6 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 4px
}

.f-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    color: #fff;
    transition: transform .2s,opacity .2s
}

    .f-nav a:hover {
        transform: translateX(5px);
        opacity: .85
    }

/* ============ Lightbox ============ */
.lb {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: rgba(0,0,0,.82);
    display: none;
    place-items: center;
    padding: 20px
}

    .lb.open {
        display: grid
    }

.lb-box {
    position: relative;
    width: min(960px,100%);
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6)
}

    .lb-box iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 14px
    }

.lb-x {
    position: absolute;
    right: 0;
    top: -48px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: #111;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1
}

@media (prefers-reduced-motion:reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }

    .js [data-reveal] {
        opacity: 1;
        translate: 0 0;
        scale: 1
    }

    .band {
        opacity: 1
    }
}

/* ==========================================================
   Páginas interiores · componentes compartidos
   ========================================================== */
.menu > li > button.active::after {
    transform: scaleX(1)
}

.ic-sm {
    width: 16px;
    height: 16px
}

.muted {
    color: var(--muted)
}

.center {
    text-align: center
}

.sec-head .eyebrow, .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--link);
    margin-bottom: 8px
}

.sec-alt {
    background: var(--bg-alt)
}

.sec-dots {
    background-image: radial-gradient(var(--grid-dot) 1.2px,transparent 1.2px);
    background-size: 24px 24px
}

.btn-dark {
    background: linear-gradient(135deg,#2b3240,#161b24);
    --c: #161b24
}

.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border)
}

    .btn-ghost:hover {
        border-color: var(--blue);
        color: var(--link);
        --c: var(--blue)
    }

.btn-lg {
    padding: 1rem 1.6rem;
    font-size: .82rem
}

/* Chip / badge */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: .8rem;
    font-weight: 500;
    color: var(--text);
    box-shadow: var(--shadow)
}

    .chip .dot {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: linear-gradient(135deg,var(--green),#2c9a3c);
        color: #fff
    }

        .chip .dot svg {
            width: 13px;
            height: 13px
        }

    .chip.live {
        margin-bottom: 30px;
    }

        .chip.live .dot {
            position: relative
        }

            .chip.live .dot::after {
                content: "";
                position: absolute;
                inset: -4px;
                border-radius: 50%;
                border: 2px solid var(--green);
                opacity: .6;
                animation: pulse 2s ease-out infinite
            }

@keyframes pulse {
    from {
        transform: scale(.7);
        opacity: .7
    }

    to {
        transform: scale(1.5);
        opacity: 0
    }
}

/* ============ Encabezado de página interior ============ */
.page-hero {
    position: relative;
    padding: calc(var(--nav-h) + 10px + 40px) 0 46px;
    background: var(--hero-bg,linear-gradient(135deg,var(--hero-from),var(--hero-to)));
    color: var(--hero-text,inherit);
    border-radius: 0 0 40px 40px;
    isolation: isolate;
    overflow: hidden;
    transition: background .35s
}

    .page-hero .container {
        position: relative;
        z-index: 2
    }

    .page-hero h1 {
        font-size: clamp(2rem,4.2vw,3.1rem);
        line-height: 1.1;
        font-weight: 800;
        letter-spacing: -.03em
    }

.grad {
    background: linear-gradient(90deg,var(--hero-acc-1,var(--blue)),var(--hero-acc-2,var(--green)));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.page-hero .lead {
    color: var(--hero-muted,var(--muted));
    font-size: 1.05rem;
    margin-top: 12px;
    max-width: 720px
}

.page-hero.centered {
    text-align: center
}

    .page-hero.centered .lead {
        margin-left: auto;
        margin-right: auto
    }

.page-hero .crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    color: var(--hero-muted,var(--muted));
    margin-bottom: 14px
}

.page-hero.centered .crumbs {
    justify-content: center
}

.crumbs a:hover {
    color: var(--link)
}

.crumbs svg {
    width: 14px;
    height: 14px;
    opacity: .6
}

.ph-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center
}

@media (max-width:991px) {
    .ph-grid {
        grid-template-columns: 1fr;
        gap: 28px
    }
}

/* Miniatura de video con botón de reproducción */
.vthumb {
    position: relative;
    display: block;
    border-radius: 24px;
    overflow: hidden;
    /* box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,.5);
    background: var(--surface)*/
}

[data-theme=dark] .vthumb {
    border-color: var(--border)
}

.vthumb img {
    width: 100%;
    transition: transform .6s;
    padding: 40px;
}

.vthumb:hover img {
    transform: scale(1.09)
}

.vthumb .play {
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.95);
    color: var(--blue);
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    transition: transform .3s
}

    .vthumb .play::before {
        content: "";
        position: absolute;
        inset: -10px;
        border-radius: 50%;
        border: 2px solid rgba(255,255,255,.7);
        animation: pulse 2.2s ease-out infinite
    }

    .vthumb .play svg {
        width: 30px;
        height: 30px;
        margin-left: 4px;
        fill: currentColor
    }

.vthumb:hover .play {
    transform: scale(1.1)
}

/* ============ Encabezado de producto ============ */
.prod-hero .ph-grid {
    grid-template-columns: 1.05fr .95fr
}

@media (max-width:991px) {
    .prod-hero .ph-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width:600px) {
    .prod-cta .btn {
        flex: 1 1 100%
    }

    .demo {
        justify-content: center;
        text-align: center
    }

    .page-hero .crumbs {
        flex-wrap: wrap
    }
}

.prod-logo {
    height: 84px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    object-position: left center;
    margin: 16px 0 4px
}

[data-theme=dark] .prod-logo {
    filter: drop-shadow(0 0 .6px rgba(255,255,255,.9)) drop-shadow(0 0 10px rgba(255,255,255,.14))
}

.prod-hero h1 {
    margin-top: 4px
}

.prod-hero .lead strong {
    color: var(--text)
}

.prod-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px
}

.demo {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1.5px dashed color-mix(in srgb,var(--blue) 45%,var(--border));
    background: color-mix(in srgb,var(--surface) 70%,transparent);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px)
}

    .demo .hand {
        margin: 0;
        font-size: 1.55rem
    }

        .demo .hand svg {
            width: 42px;
            height: 30px
        }

    .demo small {
        flex-basis: 100%;
        color: var(--muted);
        font-size: .82rem
    }

.hero-logo-big {
    display: grid;
    place-items: center;
    padding: 30px;
    /*  border-radius: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg)*/
}

    .hero-logo-big img {
        width: min(320px,80%)
    }

@media (max-width:991px) {
    .prod-hero .ph-copy {
        text-align: center
    }

    .prod-logo {
        object-position: center;
        margin-left: auto;
        margin-right: auto
    }

    .prod-cta, .demo, .page-hero .crumbs {
        justify-content: center
    }

    .prod-hero .lead {
        margin-left: auto;
        margin-right: auto
    }
}

/* Banda micrositio */
.micro {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 30px;
    align-items: center;
    padding: 34px 36px;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(120deg,#0a6fc4,#1d00ff 55%,#9c2ee0);
    overflow: hidden;
    isolation: isolate;
    box-shadow: var(--shadow-lg)
}

    .micro.green {
        background: linear-gradient(120deg,#2c9a3c,#0b8f86 50%,#006bc0)
    }

    .micro::before {
        content: "";
        position: absolute;
        right: -80px;
        top: -80px;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        border: 40px solid rgba(255,255,255,.08);
        z-index: -1
    }

    .micro::after {
        content: "";
        position: absolute;
        left: 30%;
        bottom: -120px;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        background: rgba(255,255,255,.07);
        z-index: -1
    }

    .micro h2 {
        font-size: clamp(1.3rem,2.4vw,1.75rem);
        font-weight: 800;
        letter-spacing: -.02em;
        line-height: 1.25
    }

        .micro h2 small {
            display: block;
            font-size: .95rem;
            font-weight: 500;
            opacity: .9;
            margin-top: 8px;
            letter-spacing: 0
        }

    .micro .btn {
        margin-top: 18px;
        background: #fff;
        color: #1c2430
    }

    .micro ul li {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        padding: 7px 0;
        font-size: .95rem;
        border-bottom: 1px solid rgba(255,255,255,.15)
    }

        .micro ul li:last-child {
            border-bottom: 0
        }

    .micro ul svg {
        flex: none;
        width: 18px;
        height: 18px;
        margin-top: 3px;
        opacity: .9
    }

@media (max-width:860px) {
    .micro {
        grid-template-columns: 1fr;
        padding: 28px 22px
    }
}

/* ============ Beneficios ============ */
.bene {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 26px;
    align-items: start;
    position: relative;
    z-index: 1
}

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

.bene-aside {
    position: sticky;
    top: calc(var(--nav-h) + 26px);
    padding: 24px;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow)
}

@media (max-width:991px) {
    .bene-aside {
        position: static
    }
}

.bene-aside h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2
}

.bene-aside p {
    color: var(--muted);
    font-size: .9rem;
    margin-top: 8px
}

.bene-plans {
    display: grid;
    gap: 10px;
    margin-top: 16px
}

.bene-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--bg-alt)
}

    .bene-plan b {
        font-size: .8rem;
        letter-spacing: .08em
    }

    .bene-plan span {
        color: var(--link);
        font-weight: 700
    }

.bene-aside .btn {
    width: 100%;
    margin-top: 16px
}

.legend {
    display: flex;
    gap: 14px;
    margin-top: 14px;
    font-size: .78rem;
    color: var(--muted)
}

    .legend span {
        display: inline-flex;
        align-items: center;
        gap: 6px
    }

/* Acordeón */
.acc {
    display: grid;
    gap: 10px
}

.acc-item {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    overflow: hidden;
    transition: border-color .25s,box-shadow .25s
}

    .acc-item.open {
        border-color: color-mix(in srgb,var(--blue) 40%,var(--border));
        box-shadow: var(--shadow)
    }

.acc-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--text);
    text-align: left;
    font: 600 .98rem/1.35 var(--font)
}

    .acc-btn .n {
        flex: none;
        width: 34px;
        height: 34px;
        border-radius: 11px;
        display: grid;
        place-items: center;
        background: var(--soft);
        color: var(--link);
        font-size: .8rem;
        font-weight: 700;
        transition: background .25s,color .25s
    }

.acc-item.open .acc-btn .n {
    background: var(--blue);
    color: #fff
}

.acc-btn .t {
    flex: 1
}

    .acc-btn .t small {
        display: block;
        font-weight: 500;
        font-size: .78rem;
        color: #d9363b;
        margin-top: 3px
    }

.acc-btn .cnt {
    flex: none;
    font-size: .74rem;
    font-weight: 600;
    color: var(--muted);
    padding: 3px 9px;
    border-radius: 99px;
    background: var(--bg-alt)
}

.acc-btn .pm {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    transition: transform .3s,background .25s,color .25s
}

.acc-item.open .acc-btn .pm {
    transform: rotate(45deg);
    background: var(--blue);
    border-color: var(--blue);
    color: #fff
}

.acc-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease
}

.acc-item.open .acc-panel {
    grid-template-rows: 1fr
}

.acc-panel > div {
    overflow: hidden
}

.acc-body {
    padding: 0 18px 18px 66px;
    color: var(--muted);
    font-size: .93rem
}

@media (max-width:640px) {
    .acc-body {
        padding: 0 16px 16px
    }
}

.acc-body p + p {
    margin-top: 8px
}

.blist li {
    position: relative;
    padding: 8px 0 8px 28px;
    border-top: 1px solid var(--border);
    color: var(--text)
}

    .blist li:first-child {
        border-top: 0
    }

    .blist li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 12px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006bc0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat
    }

[data-theme=dark] .blist li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235db0ff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E")
}

.blist ul, .blist ol, .prose ul, .prose ol {
    margin: 6px 0 2px 18px;
    padding: 0
}

    .blist ul li, .blist ol li {
        border: 0;
        padding: 3px 0 3px 4px;
        color: var(--muted)
    }

        .blist ul li::before, .blist ol li::before {
            display: none
        }

.blist ul {
    list-style: disc
}

.blist ol {
    list-style: decimal
}

.blist .sub {
    list-style: none;
    padding: 14px 0 6px !important;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--link) !important;
    border-top: 0 !important
}

    .blist .sub::before {
        display: none
    }

.blist a {
    color: var(--link);
    text-decoration: underline
}

/* Comparativa por plan */
.cmp li {
    display: flex;
    align-items: flex-start;
    gap: 14px
}

.cmp .txt {
    flex: 1
}

.cmp .marks {
    flex: none;
    display: flex;
    gap: 6px
}

.mark {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 99px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap
}

    .mark svg {
        width: 12px;
        height: 12px
    }

    .mark.y {
        background: rgba(58,175,74,.13);
        color: #23853a
    }

    .mark.n {
        background: var(--bg-alt);
        color: var(--muted);
        text-decoration: line-through;
        opacity: .8
    }

[data-theme=dark] .mark.y {
    color: #6fd27e
}

.note-red, .blist a.note-red {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: .78rem;
    font-weight: 600;
    color: #d9363b;
    text-decoration: none
}

    .blist a.note-red:hover {
        text-decoration: underline
    }

    .note-red svg {
        width: 14px;
        height: 14px
    }

.note-blue {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 99px;
    font-size: .7rem;
    font-weight: 700;
    color: var(--link);
    background: var(--soft);
    vertical-align: 1px
}

@media (max-width:640px) {
    .cmp li {
        flex-direction: column;
        gap: 6px
    }
}

/* ============ Precios ============ */
.pricing {
    position: relative
}

.p-group + .p-group {
    margin-top: 44px
}

.p-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px 20px;
    margin-bottom: 18px
}

    .p-head h3 {
        font-size: clamp(1.3rem,2.4vw,1.7rem);
        font-weight: 800;
        letter-spacing: -.02em
    }

    .p-head p {
        color: var(--muted);
        margin-top: 4px
    }

.p-wrap {
    display: grid;
    gap: 16px
}

.p-split {
    display: grid;
    grid-template-columns: minmax(0,360px) 1fr;
    gap: 20px;
    align-items: start
}

@media (max-width:991px) {
    .p-split {
        grid-template-columns: 1fr
    }
}

.p-wrap .p-notes .blist {
    columns: 2;
    column-gap: 32px
}

    .p-wrap .p-notes .blist li {
        break-inside: avoid;
        border-top: 0;
        border-bottom: 1px solid var(--border)
    }

@media (max-width:767px) {
    .p-wrap .p-notes .blist {
        columns: 1
    }
}

.p-notes {
    padding: 20px 22px;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid var(--border)
}

    .p-notes h4 {
        font-size: .95rem;
        font-weight: 700;
        margin-bottom: 6px
    }

    .p-notes .blist li {
        font-size: .88rem;
        color: var(--muted)
    }

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
    gap: 14px
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 22px 14px 18px;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform .3s,box-shadow .3s,border-color .3s;
    isolation: isolate;
    overflow: hidden
}

    .plan:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: color-mix(in srgb,var(--blue) 45%,var(--border))
    }

    .plan .pn {
        font-size: .78rem;
        font-weight: 700;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--muted)
    }

        .plan .pn.long {
            letter-spacing: .02em;
            text-transform: none;
            font-size: .86rem;
            line-height: 1.3;
            color: var(--text)
        }

    .plan .amt {
        display: flex;
        align-items: flex-start;
        gap: 2px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -.03em;
        color: var(--text)
    }

        .plan .amt .cur {
            font-size: 1rem;
            margin-top: 6px;
            color: var(--muted)
        }

        .plan .amt .v {
            font-size: clamp(1.9rem,3vw,2.3rem)
        }

    .plan .iva {
        font-size: .7rem;
        color: var(--muted);
        font-weight: 600;
        letter-spacing: .06em
    }

    .plan .unit {
        margin-top: 6px;
        padding: 5px 12px;
        border-radius: 99px;
        background: var(--soft);
        color: var(--link);
        font-size: .78rem;
        font-weight: 600
    }

    .plan img {
        height: 54px;
        width: auto;
        margin-bottom: 4px
    }

    .plan ul {
        margin-top: 8px;
        font-size: .85rem;
        color: var(--muted)
    }

        .plan ul li {
            padding: 2px 0
        }

    .plan .fine {
        font-size: .74rem;
        color: var(--muted);
        margin-top: auto;
        padding-top: 10px;
        line-height: 1.4
    }

    .plan.free .amt .v {
        color: var(--green)
    }

.terms {
    display: flex;
    justify-content: center;
    margin-top: 16px
}

    .terms a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: .85rem;
        font-weight: 600;
        color: var(--link)
    }

        .terms a:hover {
            text-decoration: underline
        }

.tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
    gap: 12px
}

.tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 18px 14px;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    text-align: center;
    transition: transform .3s,box-shadow .3s
}

    .tier:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg)
    }

    .tier .lbl {
        display: block;
        font-size: .8rem;
        color: var(--muted)
    }

        .tier .lbl strong {
            display: block;
            font-size: 1.15rem;
            color: var(--text);
            letter-spacing: -.01em
        }

    .tier .amt {
        justify-content: center;
        display: flex;
        align-items: flex-start;
        gap: 2px;
        font-weight: 800;
        margin-top: 10px;
        letter-spacing: -.02em
    }

        .tier .amt .cur {
            font-size: .9rem;
            margin-top: 4px;
            color: var(--muted)
        }

        .tier .amt .v {
            font-size: 1.6rem
        }

    .tier .btn {
        margin-top: 10px
    }

.tier-cap {
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center
}

.impl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    padding: 16px 20px;
    border-radius: 18px;
    background: var(--soft)
}

    .impl b {
        font-size: .95rem
    }

    .impl .amt {
        display: flex;
        align-items: flex-start;
        gap: 2px;
        font-weight: 800;
        font-size: 1.5rem
    }

        .impl .amt .cur {
            font-size: .85rem;
            margin-top: 4px;
            color: var(--muted)
        }

        .impl .amt small {
            font-size: .7rem;
            color: var(--muted);
            margin: 10px 0 0 6px;
            font-weight: 600
        }

.ptable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    background: var(--surface);
    font-size: .92rem
}

    .ptable th {
        background: var(--bg-alt);
        text-align: left;
        padding: 12px 16px;
        font-size: .75rem;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--muted)
    }

    .ptable td {
        padding: 11px 16px;
        border-top: 1px solid var(--border)
    }

        .ptable td:last-child, .ptable th:last-child {
            text-align: right;
            font-weight: 600
        }

    .ptable tr:hover td {
        background: var(--soft)
    }

.svc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px
}

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

.svc-card {
    padding: 24px;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--border)
}

    .svc-card h4 {
        font-size: 1.15rem;
        font-weight: 700
    }

    .svc-card > p {
        color: var(--muted);
        font-size: .9rem;
        margin-top: 6px
    }

.sess {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
    margin-top: 16px
}

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

.sess div {
    padding: 12px 8px;
    border-radius: 16px;
    background: var(--bg-alt);
    text-align: center
}

.sess b {
    display: block;
    font-size: .8rem;
    color: var(--muted);
    font-weight: 600
}

.sess span {
    display: block;
    font-weight: 800;
    font-size: 1.15rem;
    margin-top: 4px
}

.areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px
}

    .areas span {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        border-radius: 14px;
        background: var(--bg-alt);
        font-size: .88rem;
        font-weight: 500
    }

    .areas svg {
        color: var(--link);
        flex: none
    }

/* ============ Galería ============ */
.gal {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(230px,1fr));
    gap: 16px;
    position: relative;
    z-index: 1
}

    .gal a {
        display: flex;
        flex-direction: column;
        border-radius: 20px;
        overflow: hidden;
        background: var(--surface);
        border: 1px solid var(--border);
        transition: transform .3s,box-shadow .3s
    }

        .gal a:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg)
        }

    .gal .im {
        position: relative;
        aspect-ratio: 16/10;
        overflow: hidden;
        background: var(--bg-alt)
    }

        .gal .im img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top;
            transition: transform .6s
        }

    .gal a:hover .im img {
        transform: scale(1.06)
    }

    .gal .im::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,transparent 50%,rgba(0,0,0,.35));
        opacity: 0;
        transition: opacity .3s
    }

    .gal a:hover .im::after {
        opacity: 1
    }

    .gal .zoom {
        position: absolute;
        right: 10px;
        bottom: 10px;
        z-index: 1;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: rgba(255,255,255,.95);
        color: #111;
        opacity: 0;
        transform: scale(.8);
        transition: opacity .3s,transform .3s
    }

    .gal a:hover .zoom {
        opacity: 1;
        transform: none
    }

    .gal .cap {
        padding: 12px 14px 14px;
        font-size: .9rem;
        font-weight: 600;
        line-height: 1.35
    }

.stores {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px
}

    .stores .btn {
        text-transform: none;
        letter-spacing: 0;
        font-size: .88rem
    }

    .stores i {
        font-size: 1.2rem
    }

/* ============ Carrusel horizontal (videos y artículos) ============ */
.rx {
    position: relative;
    z-index: 1
}

.rx-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 32px)/3);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 6px 2px 16px;
    scrollbar-width: none
}

    .rx-track::-webkit-scrollbar {
        display: none
    }

@media (max-width:991px) {
    .rx-track {
        grid-auto-columns: calc((100% - 16px)/2)
    }
}

@media (max-width:600px) {
    .rx-track {
        grid-auto-columns: 84%
    }
}

.rx-item {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform .3s,box-shadow .3s
}

    .rx-item:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg)
    }

    .rx-item .im {
        position: relative;
        aspect-ratio: 16/9;
        background: var(--bg-alt);
        overflow: hidden
    }

        .rx-item .im img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .6s
        }

    .rx-item:hover .im img {
        transform: scale(1.05)
    }

    .rx-item .play {
        position: absolute;
        left: 50%;
        top: 50%;
        translate: -50% -50%;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: rgba(255,255,255,.95);
        color: #e11;
        box-shadow: 0 8px 20px rgba(0,0,0,.3);
        transition: transform .3s
    }

        .rx-item .play svg {
            width: 20px;
            height: 20px;
            margin-left: 3px;
            fill: currentColor
        }

    .rx-item:hover .play {
        transform: scale(1.12)
    }

    .rx-item .cap {
        padding: 12px 14px 16px;
        font-size: .92rem;
        font-weight: 600;
        line-height: 1.4
    }

    .rx-item .date {
        display: block;
        font-size: .74rem;
        color: var(--muted);
        font-weight: 500;
        margin-bottom: 4px
    }

.rx-ctl {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: -6px;
    margin-bottom: 12px
}

    .rx-ctl button {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid var(--border);
        background: var(--surface);
        color: var(--text);
        display: grid;
        place-items: center;
        cursor: pointer;
        transition: background .2s,color .2s,transform .2s,opacity .2s
    }

        .rx-ctl button:hover {
            background: var(--blue);
            color: #fff;
            transform: scale(1.06)
        }

        .rx-ctl button:disabled {
            opacity: .35;
            pointer-events: none
        }

.head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1
}

    .head-row h2 {
        font-size: clamp(1.4rem,2.5vw,1.9rem);
        font-weight: 800;
        letter-spacing: -.02em
    }

    .head-row .rx-ctl {
        margin: 0
    }

.rx-empty {
    padding: 28px;
    border-radius: 20px;
    border: 1px dashed var(--border);
    text-align: center;
    color: var(--muted);
    font-size: .9rem
}

.skel {
    background: linear-gradient(90deg,var(--bg-alt),var(--border),var(--bg-alt));
    background-size: 200% 100%;
    animation: skel 1.3s linear infinite
}

@keyframes skel {
    to {
        background-position: -200% 0
    }
}

/* ============ Contacto y formularios ============ */
.contact {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 30px;
    align-items: start;
    position: relative;
    z-index: 1
}

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

.c-info h2 {
    font-size: clamp(1.6rem,2.8vw,2.2rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.2
}

.c-info > p {
    color: var(--muted);
    margin-top: 10px
}

.c-list {
    display: grid;
    gap: 10px;
    margin-top: 20px
}

.c-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform .25s,border-color .25s
}

a.c-row:hover {
    transform: translateX(4px);
    border-color: var(--blue)
}

.c-row .ic {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--soft);
    color: var(--link)
}

.c-row small {
    display: block;
    font-size: .74rem;
    color: var(--muted)
}

.c-row strong {
    font-weight: 600
}

.eticket {
    margin-top: 16px;
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(135deg,var(--soft),transparent);
    border: 1px solid var(--border)
}

    .eticket img {
        height: 40px;
        width: auto;
        margin-bottom: 10px
    }

[data-theme=dark] .eticket img {
    background: #fff;
    border-radius: 10px;
    padding: 4px 8px
}

.eticket p {
    font-size: .92rem;
    font-weight: 600
}

.eticket .btn {
    margin-top: 12px
}

.f-card {
    position: relative;
    padding: 28px;
    border-radius: 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg)
}

@media (max-width:640px) {
    .f-card {
        padding: 20px 16px
    }
}

.f-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 4px
}

.f-card .sub {
    color: var(--muted);
    font-size: .88rem;
    margin-bottom: 16px
}

.fgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

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

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

.field label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 6px
}

    .field label .req {
        color: #d9363b;
        margin-left: 2px
    }

.field input, .field select, .field textarea {
    width: 100%;
    font: 400 .95rem var(--font);
    color: var(--text);
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: .75rem .9rem;
    transition: border-color .2s,box-shadow .2s,background .2s;
    -webkit-appearance: none;
    appearance: none
}

.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238893a3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .8rem center;
    background-size: 16px;
    padding-right: 2.4rem
}

.field textarea {
    min-height: 96px;
    resize: vertical
}

    .field input:focus, .field select:focus, .field textarea:focus {
        outline: 0;
        border-color: var(--blue);
        box-shadow: 0 0 0 4px var(--soft)
    }

.field input:user-invalid, .field select:user-invalid {
    border-color: #d9363b
}

.seg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 5px;
    border-radius: 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border)
}

    .seg label {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: .7rem .6rem;
        margin: 0;
        border-radius: 12px;
        font-size: .88rem;
        font-weight: 600;
        color: var(--muted);
        cursor: pointer;
        transition: background .25s,color .25s,box-shadow .25s
    }

    .seg input {
        position: absolute;
        opacity: 0;
        pointer-events: none
    }

    .seg label:has(input:checked) {
        background: var(--surface);
        color: var(--link);
        box-shadow: var(--shadow)
    }

    .seg label:has(input:focus-visible) {
        outline: 3px solid var(--link);
        outline-offset: 2px
    }

#msg:empty {
    display: none
}

.alert {
    display: none;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(217,54,59,.1);
    color: #d9363b;
    font-size: .85rem;
    font-weight: 500
}

    .alert.mostrar {
        display: block
    }

.ocultar {
    display: none
}

.mostrar {
    display: block
}

.g-recaptcha {
    min-height: 78px
}

.f-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 4px
}

    .f-foot .btn {
        min-width: 180px
    }

.btn[disabled] {
    opacity: .65;
    pointer-events: none
}

.btn .spin {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .8s linear infinite
}

.btn.loading .spin {
    display: inline-block
}

.f-ok {
    display: none;
    text-align: center;
    padding: 40px 10px
}

    .f-ok.show {
        display: block
    }

    .f-ok .ok-ic {
        width: 72px;
        height: 72px;
        margin: 0 auto 14px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: rgba(58,175,74,.14);
        color: var(--green)
    }

        .f-ok .ok-ic svg {
            width: 36px;
            height: 36px
        }

    .f-ok p {
        font-size: 1.05rem;
        font-weight: 600
    }

.f-err {
    display: none;
    margin-top: 10px
}

    .f-err.mostrar {
        display: block
    }

/* Mapa */
.map {
    position: relative;
    z-index: 1;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 21/8;
    min-height: 300px
}

    .map iframe {
        width: 100%;
        height: 100%;
        border: 0;
        display: block
    }

[data-theme=dark] .map iframe {
    filter: invert(.9) hue-rotate(180deg) brightness(.95) contrast(.9)
}

/* Banda de llamada a la acción */
.cta-band {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 28px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg)
}

    .cta-band .txt {
        padding: 36px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 16px
    }

        .cta-band .txt p {
            font: 700 clamp(1.6rem,3vw,2.2rem)/1.15 var(--hand);
            color: var(--text)
        }

            .cta-band .txt p .grad {
                font-family: var(--font);
                font-size: .6em;
                display: block;
                font-weight: 800;
                letter-spacing: -.02em;
                margin-top: 6px
            }

    .cta-band .btn {
        align-self: flex-start
    }

    .cta-band figure {
        margin: 0;
        min-height: 240px
    }

        .cta-band figure img {
            width: 100%;
            height: 100%;
            object-fit: cover
        }

@media (max-width:767px) {
    .cta-band {
        grid-template-columns: 1fr
    }

        .cta-band .txt {
            padding: 26px 22px;
            text-align: center
        }

        .cta-band .btn {
            align-self: center
        }
}

/* ============ Nosotros ============ */
.spec {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    position: relative;
    z-index: 1
}

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

.spec .card {
    align-items: center;
    text-align: center;
    padding: 28px 20px
}

.spec .ic {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: var(--soft);
    color: var(--link);
    transition: transform .35s,background .3s,color .3s
}

    .spec .ic svg {
        width: 30px;
        height: 30px
    }

.spec .card:hover .ic {
    transform: rotate(-8deg) scale(1.08);
    background: var(--blue);
    color: #fff
}

.mv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
    z-index: 1
}

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

.mv .card {
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    padding: 26px
}

    .mv .card img {
        flex: none;
        width: 84px;
        height: 84px;
        object-fit: contain
    }

    .mv .card h3 {
        margin-top: 0;
        font-size: 1.3rem
    }

    .mv .card p {
        color: var(--muted);
        margin-top: 6px;
        font-size: .95rem
    }

@media (max-width:480px) {
    .mv .card {
        flex-direction: column;
        align-items: center;
        text-align: center
    }
}

.vals {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
    margin-top: 16px
}

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

.vals .card {
    padding: 26px 24px
}

    .vals .card .ic {
        width: 52px;
        height: 52px;
        border-radius: 16px;
        display: grid;
        place-items: center;
        background: var(--soft);
        color: var(--link)
    }

    .vals .card:nth-child(2) .ic {
        background: rgba(58,175,74,.12);
        color: var(--green)
    }

    .vals .card:nth-child(3) .ic {
        background: rgba(252,76,235,.12);
        color: var(--pink)
    }

    .vals .card p {
        color: var(--muted);
        margin-top: 8px;
        font-size: .93rem
    }

.sub-head {
    text-align: center;
    margin: 40px 0 4px;
    font-size: clamp(1.3rem,2.3vw,1.7rem);
    font-weight: 800;
    letter-spacing: -.02em;
    position: relative;
    z-index: 1
}

/* ============ Texto legal ============ */
.legal {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 34px;
    align-items: start;
    position: relative;
    z-index: 1
}

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

.toc {
    position: sticky;
    top: calc(var(--nav-h) + 26px);
    padding: 18px;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    max-height: calc(100vh - var(--nav-h) - 50px);
    overflow: auto
}



    .toc h4 {
        font-size: .72rem;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 8px
    }

    .toc a {
        display: block;
        padding: 7px 10px;
        border-radius: 10px;
        font-size: .86rem;
        color: var(--muted);
        border-left: 2px solid transparent;
        transition: background .2s,color .2s,border-color .2s
    }

        .toc a:hover {
            background: var(--bg-alt);
            color: var(--text)
        }

        .toc a.on {
            color: var(--link);
            background: var(--soft);
            border-left-color: var(--blue);
            font-weight: 600
        }

.prose {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text)
}

    .prose > * + * {
        margin-top: 12px
    }

    .prose h2 {
        font-size: 1.3rem;
        font-weight: 700;
        letter-spacing: -.01em;
        margin-top: 34px;
        padding-top: 6px;
        scroll-margin-top: calc(var(--nav-h) + 30px);
        display: flex;
        align-items: center;
        gap: 12px
    }

        .prose h2 .n {
            flex: none;
            width: 32px;
            height: 32px;
            border-radius: 10px;
            display: grid;
            place-items: center;
            background: var(--soft);
            color: var(--link);
            font-size: .8rem
        }

    .prose ul {
        list-style: none;
        margin-left: 0
    }

        .prose ul li {
            position: relative;
            padding-left: 22px;
            margin-top: 6px
        }

            .prose ul li::before {
                content: "";
                position: absolute;
                left: 4px;
                top: .72em;
                width: 7px;
                height: 7px;
                border-radius: 50%;
                background: var(--blue)
            }

    .prose a {
        color: var(--link);
        text-decoration: underline;
        word-break: break-word
    }

    .prose .intro {
        padding: 20px 22px;
        border-radius: 20px;
        background: var(--soft);
        font-weight: 500
    }

/* ============ Pestañas (Recursos) ============ */
.tabs {
    position: relative;
    z-index: 1
}

.tab-list {
    display: flex;
    gap: 6px;
    padding: 6px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow-x: auto;
    scrollbar-width: none;
    position: sticky;
    top: calc(var(--nav-h) + 20px);
    z-index: 20
}

    .tab-list::-webkit-scrollbar {
        display: none
    }

    .tab-list button {
        flex: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: .7rem 1rem;
        border: 0;
        border-radius: 13px;
        background: none;
        color: var(--muted);
        font: 600 .86rem var(--font);
        cursor: pointer;
        white-space: nowrap;
        transition: background .25s,color .25s
    }

        .tab-list button:hover {
            color: var(--text);
            background: var(--bg-alt)
        }

        .tab-list button[aria-selected=true] {
            background: linear-gradient(135deg,#0a80e6,var(--btn-primary));
            color: #fff;
            box-shadow: 0 8px 18px -8px var(--btn-primary)
        }

    .tab-list svg {
        width: 16px;
        height: 16px
    }

.tab-panel {
    margin-top: 22px;
    animation: fadeUp .45s ease
}

    .tab-panel[hidden] {
        display: none
    }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.panel-card {
    padding: 28px;
    border-radius: 26px;
    background: var(--surface);
    border: 1px solid var(--border)
}

@media (max-width:640px) {
    .panel-card {
        padding: 20px 16px
    }
}

.panel-card > h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 14px
}

.panel-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 22px 0 8px;
    display: flex;
    align-items: center;
    gap: 10px
}

    .panel-card h3:first-of-type {
        margin-top: 6px
    }

    .panel-card h3 .tag {
        font-size: .7rem;
        padding: 3px 10px;
        border-radius: 99px;
        background: var(--soft);
        color: var(--link);
        letter-spacing: .06em
    }

.stars li {
    position: relative;
    padding: 8px 0 8px 30px;
    border-top: 1px solid var(--border);
    font-size: .93rem
}

    .stars li:first-child {
        border-top: 0
    }

    .stars li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 11px;
        width: 18px;
        height: 18px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f5b301'%3E%3Cpath d='m12 2 3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E") center/contain no-repeat
    }

.stars ol {
    list-style: decimal;
    margin: 6px 0 0 18px;
    color: var(--muted)
}

    .stars ol li {
        border: 0;
        padding: 2px 0 2px 4px
    }

        .stars ol li::before {
            display: none
        }

.note-box {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--bg-alt);
    border-left: 4px solid var(--blue);
    font-size: .9rem;
    color: var(--muted)
}

    .note-box strong {
        color: var(--text)
    }

.dl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(160px,1fr));
    gap: 14px;
    margin-top: 16px
}

.dl {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 14px;
    border-radius: 20px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    text-align: center;
    font-weight: 600;
    font-size: .92rem;
    transition: transform .3s,box-shadow .3s,border-color .3s
}

    .dl:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
        border-color: var(--blue)
    }

    .dl img {
        height: 56px;
        width: auto
    }

    .dl small {
        font-weight: 500;
        font-size: .74rem;
        color: var(--link);
        display: inline-flex;
        align-items: center;
        gap: 4px
    }

.reqs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

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

.reqs > div {
    padding: 20px;
    border-radius: 20px;
    background: var(--bg-alt)
}

.reqs h3 {
    margin-top: 0 !important
}

.reqs ul {
    font-size: .9rem
}

.reqs > div > ul:not(.plain) > li {
    padding: 6px 0;
    font-weight: 600
}

.reqs ol {
    list-style: decimal;
    margin: 4px 0 4px 20px;
    font-weight: 400;
    color: var(--muted)
}

    .reqs ol li {
        padding: 2px 0
    }

.reqs .plain li {
    font-weight: 400 !important;
    color: var(--muted)
}

.urls {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(320px,1fr));
    gap: 6px;
    margin-top: 10px
}

    .urls code {
        display: block;
        padding: 8px 12px;
        border-radius: 10px;
        background: var(--bg-alt);
        font-size: .78rem;
        word-break: break-all;
        color: var(--text)
    }

.log {
    position: relative;
    margin-left: 8px;
    padding-left: 24px;
    border-left: 2px solid var(--border)
}

.log-item {
    position: relative;
    padding: 4px 0 18px
}

    .log-item::before {
        content: "";
        position: absolute;
        left: -32px;
        top: 8px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: var(--surface);
        border: 3px solid var(--blue)
    }

    .log-item:first-child::before {
        background: var(--blue);
        box-shadow: 0 0 0 5px var(--soft)
    }

    .log-item .ver {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        font-weight: 700
    }

        .log-item .ver time {
            font-size: .74rem;
            font-weight: 600;
            color: var(--muted);
            padding: 2px 8px;
            border-radius: 99px;
            background: var(--bg-alt)
        }

        .log-item .ver .new {
            font-size: .66rem;
            font-weight: 700;
            color: #fff;
            background: var(--green);
            padding: 2px 8px;
            border-radius: 99px;
            letter-spacing: .06em
        }

    .log-item ul {
        margin-top: 6px;
        font-size: .9rem;
        color: var(--muted)
    }

        .log-item ul li {
            position: relative;
            padding: 3px 0 3px 16px
        }

            .log-item ul li::before {
                content: "";
                position: absolute;
                left: 2px;
                top: .85em;
                width: 5px;
                height: 5px;
                border-radius: 50%;
                background: var(--muted)
            }

        .log-item ul ul {
            margin: 2px 0 0 4px
        }

.log-more {
    margin-top: 6px
}

.log.collapsed .log-item:nth-child(n+9) {
    display: none
}

/* Lightbox de imágenes */
.lb-box.img {
    aspect-ratio: auto;
    width: auto;
    max-width: min(1100px,100%);
    background: transparent;
    box-shadow: none
}

    .lb-box.img img {
        max-height: 82vh;
        width: auto;
        max-width: 100%;
        border-radius: 14px;
        box-shadow: 0 30px 80px rgba(0,0,0,.6);
        background: #fff
    }

.lb-cap {
    color: #fff;
    text-align: center;
    font-size: .9rem;
    margin-top: 12px;
    opacity: .9;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto
}

.lb-nav {
    position: fixed;
    top: 50%;
    translate: 0 -50%;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.92);
    color: #111;
    display: none;
    place-items: center;
    cursor: pointer
}

.lb.gal .lb-nav {
    display: grid
}

.lb-prev {
    left: 16px
}

.lb-next {
    right: 16px
}

/* ============ Componentes de páginas de campaña ============
   Toman los colores del tema del encabezado (data/temas.php). */
.page-hero .lead strong {
    color: var(--hero-text,var(--text))
}

.page-hero.has-overlap {
    padding-bottom: 110px
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: color-mix(in srgb,var(--sh-blob-a,var(--blue)) 50%,transparent);
    border: 1px solid rgba(255,255,255,.22);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--hero-acc-1,var(--link));
    font-weight: 600;
    font-size: .85rem;
    margin-bottom: 14px
}

.hero-list {
    margin-top: 18px;
    display: grid;
    gap: 8px
}

    .hero-list li {
        position: relative;
        padding-left: 32px;
        font-size: .98rem
    }

        .hero-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 2px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: color-mix(in srgb,var(--sh-tri,var(--blue)) 20%,transparent)
        }

        .hero-list li::after {
            content: "";
            position: absolute;
            left: 8.5px;
            top: 7px;
            width: 5px;
            height: 9px;
            border: solid var(--sh-tri,var(--blue));
            border-width: 0 2.5px 2.5px 0;
            transform: rotate(45deg)
        }

    .hero-list strong {
        color: var(--hero-text,var(--text));
        background: linear-gradient(90deg,var(--sh-blob-a,var(--soft)),transparent);
        padding: 0 6px;
        border-radius: 6px
    }

.hero-note {
    display: block;
    margin-top: 14px;
    font-size: .8rem;
    opacity: .8
}

.hero-img {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.15);
    transform: rotate(1.5deg);
    transition: transform .5s
}

    .hero-img:hover {
        transform: rotate(0) scale(1.02)
    }

.overlap {
    margin-top: -80px;
    position: relative;
    z-index: 5;
    padding-top: 0
}

.f-card .f-head {
    margin: -28px -28px 20px;
    padding: 18px 28px;
    border-radius: 26px 26px 0 0;
    background: linear-gradient(90deg,#006bc0,#005296);
    color: #fff
}

    .f-card .f-head h3 {
        margin: 0;
        color: #fff
    }

    .f-card .f-head p {
        font-size: .85rem;
        opacity: .9
    }

@media (max-width:640px) {
    .f-card .f-head {
        margin: -20px -16px 18px;
        padding: 16px
    }
}

.side-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    height: 100%;
    padding: 30px 24px;
    border-radius: 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow)
}

    .side-card img {
        height: 46px;
        width: auto
    }

[data-theme=dark] .side-card img {
    background: #fff;
    border-radius: 10px;
    padding: 4px 8px
}

.side-card h4 {
    font-size: 1.15rem;
    font-weight: 700
}

.side-card p {
    color: var(--muted);
    font-size: .92rem
}

.split-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    align-items: stretch
}

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

.slider [hidden] {
    display: none !important
}


/*[hidden] {
    display: none !important
}*/

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: .85rem;
    color: var(--hero-muted,var(--muted))
}

    .hero-meta a {
        color: var(--link);
        font-weight: 600
    }

        .hero-meta a:hover {
            text-decoration: underline
        }

@media (max-width:991px) {
    .hero-soporte .ph-copy, .hero-comunicado .ph-copy, .hero-comun .ph-copy {
        text-align: center
    }

    .hero-meta {
        justify-content: center
    }

    .hero-soporte .prod-cta, .hero-comunicado .prod-cta, .hero-comun .prod-cta {
        justify-content: center
    }

    .hero-list {
        text-align: left;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto
    }
}

/* ==========================================================
   dSoft · Página Nosotros  (prefijo .ns-)
   Pegar al final de dsoft.css o cargar después de él.
   ========================================================== */

/* ---------- Lo que hacemos ---------- */
.ns-what {
    padding: 48px 0
}

.ns-what-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center
}

.ns-lead {
    color: var(--muted);
    font-size: 1.05rem;
    margin-top: 12px;
    max-width: 520px
}

.ns-dots {
    right: 3%;
    top: 30px;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(var(--dots) 2px,transparent 2px);
    background-size: 18px 18px;
    opacity: .2
}

.ns-glow {
    left: -160px;
    top: 40%;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(0,107,192,.16),transparent 70%)
}

.ns-svc {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: grid;
    gap: 14px
}

    .ns-svc li {
        position: relative;
        display: flex;
        align-items: center;
        gap: 18px;
        padding: 18px 22px;
        border-radius: 20px;
        background: var(--surface);
        border: 1px solid var(--border);
        box-shadow: var(--shadow);
        overflow: hidden;
        isolation: isolate;
        transition: transform .35s,box-shadow .35s,border-color .35s
    }

        .ns-svc li::before {
            content: "";
            position: absolute;
            inset: 0 auto 0 0;
            width: 4px;
            background: linear-gradient(180deg,var(--blue),var(--green));
            transform: scaleY(0);
            transform-origin: top;
            transition: transform .4s
        }

        .ns-svc li:hover {
            transform: translateX(6px);
            box-shadow: var(--shadow-lg);
            border-color: transparent
        }

            .ns-svc li:hover::before {
                transform: scaleY(1)
            }

.ns-svc-ic {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg,#0a80e6,var(--blue));
    box-shadow: 0 10px 20px -8px rgba(0,107,192,.6);
    transition: transform .35s
}

.ns-svc li:nth-child(2) .ns-svc-ic {
    background: linear-gradient(135deg,#4cc65b,#2c9a3c);
    box-shadow: 0 10px 20px -8px rgba(44,154,60,.6)
}

.ns-svc li:nth-child(3) .ns-svc-ic {
    background: linear-gradient(135deg,#fc4ceb,#8a2be2);
    box-shadow: 0 10px 20px -8px rgba(252,76,235,.55)
}

.ns-svc li:hover .ns-svc-ic {
    transform: rotate(-8deg) scale(1.08)
}

.ns-svc-ic svg {
    width: 26px;
    height: 26px
}

.ns-svc h3 {
    font-size: 1.1rem;
    font-weight: 700
}

.ns-svc p {
    color: var(--muted);
    font-size: .9rem;
    margin-top: 2px;
    line-height: 1.5
}

.ns-svc-n {
    position: absolute;
    right: 16px;
    top: 50%;
    translate: 0 -50%;
    z-index: -1;
    font-size: 3.6rem;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--text);
    opacity: .06;
    transition: opacity .35s
}

.ns-svc li:hover .ns-svc-n {
    opacity: .12
}

.ns-mosaic {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: repeat(2,minmax(0,1fr));
    gap: 16px;
    aspect-ratio: 1/0.92
}

    .ns-mosaic figure {
        margin: 0;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border)
    }

    .ns-mosaic img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .7s
    }

    .ns-mosaic figure:hover img {
        transform: scale(1.07)
    }

    .ns-mosaic .m1 {
        grid-row: 1/3
    }


@keyframes nsFloat {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

/* ---------- Misión / Visión ---------- */
.ns-mv-sec {
    padding: 42px 0
}

.ns-mv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.ns-mv-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 34px 32px 36px;
    border-radius: 28px;
    color: #fff;
    box-shadow: var(--shadow-lg);
    transition: transform .4s
}

    .ns-mv-card:hover {
        transform: translateY(-6px)
    }

    .ns-mv-card.mision {
        background: linear-gradient(135deg,#0a80e6 0%,#1d00ff 100%)
    }

    .ns-mv-card.vision {
        background: linear-gradient(135deg,#3aaf4a 0%,#007a8a 100%)
    }

    .ns-mv-card::after {
        content: "";
        position: absolute;
        z-index: -1;
        right: -70px;
        top: -70px;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        border: 34px solid rgba(255,255,255,.1)
    }

.ns-mv-ghost {
    position: absolute;
    z-index: -1;
    right: 18px;
    bottom: -22px;
    font-size: clamp(3.6rem,8vw,5.6rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1;
    color: rgba(255,255,255,.08);
    pointer-events: none
}

.ns-mv-ic {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 26px -10px rgba(0,0,0,.4)
}

    .ns-mv-ic img {
        width: 54px;
        height: 54px;
        object-fit: contain
    }

.ns-mv-card h3 {
    margin-top: 20px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -.02em
}

.ns-mv-card p {
    margin-top: 8px;
    font-size: .98rem;
    line-height: 1.7;
    opacity: .93;
    max-width: 520px
}

/* ---------- Valores ---------- */
.ns-vals-sec {
    padding: 72px 0
}

.ns-ring {
    right: -120px;
    top: -120px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 44px solid var(--soft)
}

.ns-vals {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px
}

.ns-val {
    position: relative;
    overflow: hidden;
    padding: 28px 26px 30px;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform .35s,box-shadow .35s
}

    .ns-val::before {
        content: "";
        position: absolute;
        inset: 0 0 auto;
        height: 5px;
        background: var(--c)
    }

    .ns-val::after {
        content: "";
        position: absolute;
        right: -60px;
        bottom: -60px;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: var(--c);
        opacity: .06;
        transition: transform .5s,opacity .35s
    }

    .ns-val:hover {
        transform: translateY(-8px);
        box-shadow: 0 26px 50px -18px color-mix(in srgb,var(--c) 55%,transparent)
    }

        .ns-val:hover::after {
            transform: scale(1.5);
            opacity: .1
        }

.ns-val-top {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.ns-val-ic {
    width: 56px;
    height: 56px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--c);
    box-shadow: 0 10px 22px -8px var(--c);
    transition: transform .35s
}

.ns-val:hover .ns-val-ic {
    transform: rotate(-8deg) scale(1.08)
}

.ns-val-ic svg {
    width: 26px;
    height: 26px
}

.ns-val-n {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--c);
    opacity: .25
}

.ns-val h3 {
    margin-top: 18px;
    font-size: 1.3rem;
    font-weight: 800
}

.ns-val p {
    position: relative;
    margin-top: 8px;
    color: var(--muted);
    font-size: .93rem;
    line-height: 1.65
}

/* ---------- Café ---------- */
.ns-cafe {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    border-radius: 32px;
    color: #fff;
    background: linear-gradient(120deg,rgb(252,76,235),rgb(29,0,255),rgb(0,107,192));
    background-size: 200% 200%;
    animation: gradMove 14s ease infinite;
    box-shadow: var(--shadow-lg)
}

.ns-cafe-shape {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none
}

    .ns-cafe-shape.s1 {
        left: -60px;
        bottom: -90px;
        width: 240px;
        height: 240px;
        border: 36px solid rgba(255,255,255,.1)
    }

    .ns-cafe-shape.s2 {
        left: 42%;
        top: -40px;
        width: 110px;
        height: 110px;
        background: rgba(255,255,255,.08)
    }

.ns-cafe-txt {
    padding: 44px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start
}

.ns-cafe-ic {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 17px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.3);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px)
}

    .ns-cafe-ic svg {
        width: 28px;
        height: 28px
    }

.ns-cafe-hand {
    margin-top: 16px;
    font: 700 clamp(2.2rem,4.6vw,3.3rem)/1.05 var(--hand)
}

.ns-cafe-sub {
    margin-top: 8px;
    font-size: 1.08rem;
    opacity: .92
}

.ns-cafe-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px
}

.btn-light {
    background: #fff;
    color: #1d00ff;
    --c: rgba(0,0,0,.45)
}

.btn-glass {
    background: rgba(255,255,255,.14);
    color: #fff;
    border-color: rgba(255,255,255,.45);
    --c: rgba(0,0,0,.35)
}

    .btn-glass:hover {
        background: rgba(255,255,255,.24)
    }

.ns-cafe-img {
    margin: 0;
    position: relative;
    min-height: 320px;
    clip-path: polygon(12% 0,100% 0,100% 100%,0 100%)
}

    .ns-cafe-img img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .8s
    }

.ns-cafe:hover .ns-cafe-img img {
    transform: scale(1.05)
}

/* ---------- Responsivo ---------- */
@media (max-width:991px) {
    .ns-what-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .ns-what-copy {
        text-align: center
    }

    .ns-lead {
        margin-left: auto;
        margin-right: auto
    }

    .ns-svc {
        text-align: left
    }

    .ns-mosaic {
        max-width: 560px;
        margin: 0 auto;
        width: 100%
    }



    .ns-vals {
        grid-template-columns: 1fr 1fr
    }

        .ns-vals .ns-val:last-child {
            grid-column: 1/-1
        }
}

@media (max-width:767px) {
    .ns-what, .ns-mv-sec, .ns-vals-sec {
        padding: 28px 0
    }

    .ns-mv, .ns-vals {
        grid-template-columns: 1fr
    }

    .ns-mv-card {
        padding: 28px 24px 32px;
        text-align: center
    }

    .ns-mv-ic {
        margin: 0 auto
    }

    .ns-mv-card p {
        margin-left: auto;
        margin-right: auto
    }

    .ns-cafe {
        grid-template-columns: 1fr
    }

    .ns-cafe-txt {
        padding: 34px 24px;
        align-items: center;
        text-align: center
    }

    .ns-cafe-cta {
        justify-content: center
    }

    .ns-cafe-img {
        min-height: 220px;
        clip-path: polygon(0 12%,100% 0,100% 100%,0 100%)
    }
}

@media (max-width:480px) {
    .ns-svc li {
        padding: 16px;
        gap: 14px
    }

    .ns-svc-n {
        display: none
    }
}

@media (prefers-reduced-motion:reduce) {
    .ns-cafe {
        animation: none
    }
}


/* ========================================
   BOTÓN VOLVER ARRIBA
======================================== */

.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    background: #172554;
    color: #ffffff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(.92);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .2s ease, box-shadow .2s ease;
}

    .back-to-top.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .back-to-top svg {
        width: 23px;
        height: 23px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .back-to-top:hover {
        background: #2563eb;
        box-shadow: 0 6px 20px rgba(37, 99, 235, .25);
        transform: translateY(-3px);
    }

    .back-to-top:focus-visible {
        outline: 3px solid #60a5fa;
        outline-offset: 4px;
    }

@media (max-width: 600px) {
    .back-to-top {
        right: 18px;
        bottom: 18px;
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: none;
    }
}

/* ========================================
   SCROLLBAR 
======================================== */

/* Chrome, Edge y Safari */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, .35);
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(37, 99, 235, .65);
    }

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, .35) transparent;
}

@media (max-width:991px) {
    .toc {
        position: sticky;
        top: calc(var(--nav-h) + 18px);
        z-index: 20;
        display: flex;
        gap: 8px;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 8px;
        border-radius: 999px;
        background: var(--nav-bg);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        box-shadow: var(--shadow);
        scrollbar-width: none;
        scroll-behavior: smooth
    }

        .toc::-webkit-scrollbar {
            display: none
        }

        .toc h4 {
            display: none
        }

        .toc a {
            flex: none;
            max-width: 230px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            padding: 8px 14px;
            border-left: 0;
            border-radius: 999px;
            background: var(--bg-alt);
            font-size: .8rem
        }

            .toc a.on {
                background: var(--blue);
                color: #fff
            }

    .prose h2 {
        scroll-margin-top: calc(var(--nav-h) + 90px)
    }
}

/* Las imágenes con width/height en el HTML conservan su proporción aunque el CSS use height:auto */
@supports (aspect-ratio: attr(width type(<number>)) / attr(height type(<number>))) {
    img[width][height] {
        aspect-ratio: attr(width type(<number>)) / attr(height type(<number>))
    }
}

/* ---------- Formulario de contacto: campo con error, campo trampa y orden en Contacto ---------- */
.field.invalid input, .field.invalid select, .field.invalid textarea {
    border-color: #d9363b;
    box-shadow: 0 0 0 4px rgba(217,54,59,.14)
}

.field.invalid label {
    color: #d9363b
}

.hp {
    position: absolute !important;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.contact.form-izq {
    grid-template-columns: 1.15fr .85fr
}

@media (max-width:991px) {
    .contact.form-izq {
        grid-template-columns: 1fr
    }
}


/* ---------- ENCABEZADO DE SISTEMA ---------- */

.hero-sistema .ph-media-movil {
    display: none
}

.hero-soporte .ph-media-movil {
    display: none
}

@media (max-width:991px) {
    .hero-sistema .ph-media-movil {
        display: block;
        margin: auto;
        width: 300px;
    }

    .hero-sistema .ph-media {
        display: none
    }

    .hero-soporte .ph-media-movil {
        display: block;
        margin: auto;
        width: 300px;
    }

    .hero-soporte .ph-media {
        display: none
    }

    .chip.live {
        margin-bottom: 5px;
    }
}

.page-hero.centered .prod-cta {
    justify-content: center
}


/* ---------- Catálogo: buscador inteligente y categorías ---------- */
.finder {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 0 auto 28px
}

/* Buscador */
.finder-box {
    position: relative;
    width: 100%;
    max-width: 560px
}

.finder-ic {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    color: var(--muted);
    pointer-events: none;
    transition: color .2s
}

    .finder-ic svg {
        width: 18px;
        height: 18px
    }

.finder-box input {
    width: 100%;
    height: 48px;
    padding: 0 48px 0 46px;
    font: 400 .92rem var(--font);
    color: var(--text);
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow);
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .2s, box-shadow .2s
}

    .finder-box input::placeholder {
        color: var(--muted);
        opacity: .85
    }

    .finder-box input:focus {
        outline: none;
        border-color: var(--link);
        box-shadow: 0 0 0 4px var(--soft)
    }

.finder-box:focus-within .finder-ic {
    color: var(--link)
}

.finder-kbd {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    min-width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    font: 600 .72rem/1 var(--font);
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 6px
}

.finder-box input:focus ~ .finder-kbd,
.finder-box input:not(:placeholder-shown) ~ .finder-kbd {
    display: none
}

/* Resumen y búsquedas sugeridas: una sola línea discreta */
.finder-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 14px;
    font-size: .8rem;
    color: var(--muted);
    text-align: center
}

.finder-res {
    margin: 0
}

    .finder-res b {
        color: var(--text);
        font-weight: 600
    }

.finder-sug {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 6px
}

    .finder-sug button {
        padding: 2px 4px;
        border: 0;
        background: none;
        font: 500 .8rem var(--font);
        color: var(--link);
        cursor: pointer;
        text-decoration: underline;
        text-decoration-color: transparent;
        text-underline-offset: 3px;
        transition: text-decoration-color .2s
    }

        .finder-sug button:hover {
            text-decoration-color: currentColor
        }

/* Con búsqueda escrita se ocultan las sugerencias */
.finder:has(input:not(:placeholder-shown)) .finder-sug {
    display: none
}

/* Categorías */
.cat-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px
}

.cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 6px 0 14px;
    font: 600 .8rem var(--font);
    color: var(--text);
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, color .2s, border-color .2s, opacity .2s
}

    .cat-chip svg {
        width: 15px;
        height: 15px;
        color: var(--muted)
    }

    .cat-chip span {
        min-width: 24px;
        height: 24px;
        padding: 0 6px;
        display: grid;
        place-items: center;
        font-size: .72rem;
        font-weight: 700;
        color: var(--link);
        background: var(--soft);
        border-radius: 999px
    }

    .cat-chip:hover {
        border-color: var(--link)
    }

    .cat-chip[aria-pressed=true] {
        color: #fff;
        background: var(--btn-primary);
        border-color: var(--btn-primary)
    }

        .cat-chip[aria-pressed=true] svg {
            color: #fff
        }

        .cat-chip[aria-pressed=true] span {
            color: #fff;
            background: rgba(255,255,255,.2)
        }

    .cat-chip.vacio {
        opacity: .45
    }

/* Coincidencias dentro de la tarjeta */
#grid-software .card[hidden] {
    display: none
}

#grid-software mark {
    padding: 0 1px;
    color: var(--link);
    font-weight: 600;
    background: var(--soft);
    border-radius: 3px
}

.cat-match {
    width: 100%;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
    text-align: left;
    animation: catIn .25s ease
}

    .cat-match p {
        margin: 0 0 6px;
        font-size: .68rem;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--muted)
    }

        .cat-match p b {
            color: var(--link);
            font-weight: 700
        }

    .cat-match ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: grid;
        gap: 4px
    }

    .cat-match li {
        position: relative;
        padding-left: 12px;
        font-size: .82rem;
        line-height: 1.45;
        color: var(--muted);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden
    }

        .cat-match li::before {
            content: "";
            position: absolute;
            left: 0;
            top: .6em;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--link)
        }

    .cat-match a {
        display: inline-block;
        margin-top: 6px;
        font-size: .76rem;
        font-weight: 600;
        color: var(--link)
    }

        .cat-match a::after {
            content: " \2192"
        }

@keyframes catIn {
    from {
        opacity: 0
    }
}

/* Sin resultados */
.cat-vacio {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
    padding: 32px 20px;
    text-align: center;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--shadow)
}

    .cat-vacio p {
        margin: 0 0 14px;
        font-size: .92rem
    }

    .cat-vacio b {
        color: var(--text)
    }

    .cat-vacio div {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px
    }

/* Tablet y celular */
@media (max-width:991px) {
    .finder-kbd {
        display: none
    }
}

@media (max-width:767px) {
    .finder {
        gap: 12px;
        margin-bottom: 22px
    }

    .finder-box {
        max-width: none
    }

        .finder-box input {
            height: 46px;
            padding-right: 18px;
            font-size: 16px /* evita el zoom automático de iPhone */
        }

    .finder-sug {
        display: none
    }

    /* Categorías en una fila que se desliza, de borde a borde */
    .cat-chips {
        align-self: stretch;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        margin: 0 calc(-1 * var(--gutter));
        padding: 2px var(--gutter);
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none
    }

        .cat-chips::-webkit-scrollbar {
            display: none
        }

    .cat-chip {
        flex: none
    }

    .cat-match {
        text-align: left
    }
}
