﻿/* Notas — índice y artículo */
.nt-hero, .nt-art-hero {
    background: var(--navy);
    color: #fff;
    position: relative;
    overflow: hidden
}

    .nt-hero::before, .nt-art-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(60% 90% at 85% 0%,rgba(46,123,240,.28),transparent 70%);
        pointer-events: none
    }

.nt-hero-in, .nt-art-hero-in {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 64px
}

.nt-hero h1, .nt-art-hero h1 {
    font-family: var(--display);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 16px;
    color: #fff
}

.nt-hero h1 {
    font-size: clamp(2rem,4.2vw,3.1rem)
}

.nt-art-hero h1 {
    font-size: clamp(1.7rem,3.4vw,2.6rem)
}

.nt-hero p {
    max-width: 52ch;
    color: rgba(255,255,255,.8);
    font-size: 1.08rem;
    line-height: 1.6;
    margin: 0
}

.nt-stats {
    display: flex;
    gap: 28px;
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    color: rgba(255,255,255,.7);
    font-size: .92rem
}

    .nt-stats b {
        display: block;
        font-family: var(--display);
        font-size: 1.7rem;
        color: #fff;
        line-height: 1.1
    }

.nt-hero-art svg {
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    display: block
}

.nt-body {
    background: var(--mist);
    padding: 56px 0 72px
}

.nt-feat {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    margin-top: -96px;
    position: relative;
    box-shadow: 0 18px 44px rgba(6,27,72,.14);
    color: inherit;
    text-decoration: none;
    transition: transform .2s,box-shadow .2s
}

    .nt-feat:hover {
        transform: translateY(-2px);
        box-shadow: 0 22px 52px rgba(6,27,72,.2)
    }

.nt-feat-art svg, .nt-card-art svg, .nt-art-hero-art svg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.nt-feat-txt {
    padding: 36px 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center
}

    .nt-feat-txt h2 {
        font-family: var(--display);
        font-size: clamp(1.4rem,2.3vw,1.85rem);
        line-height: 1.2;
        color: var(--navy);
        margin: 0
    }

    .nt-feat-txt p {
        margin: 0;
        color: var(--ink-soft);
        line-height: 1.6
    }

.nt-chip-lbl {
    font-size: .85rem;
    font-weight: 600;
    color: var(--gold)
}

.nt-feat-meta, .nt-card-meta {
    font-size: .85rem;
    color: var(--ink-soft)
}

.nt-feat-go {
    align-self: flex-start;
    margin-top: 6px;
    font-weight: 600;
    color: var(--blue-2);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px
}

.nt-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 48px 0 24px
}

.nt-chip {
    font: inherit;
    font-size: .92rem;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--graphite);
    cursor: pointer;
    transition: background .15s,color .15s,border-color .15s
}

    .nt-chip:hover {
        border-color: var(--blue-2)
    }

    .nt-chip.is-on {
        background: var(--navy);
        border-color: var(--navy);
        color: #fff
    }

    .nt-chip:focus-visible, .nt-copiar:focus-visible {
        outline: 3px solid var(--spark);
        outline-offset: 2px
    }

.nt-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px
}

.nt-grid-3 {
    grid-template-columns: repeat(3,1fr)
}

.nt-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: transform .2s,box-shadow .2s,border-color .2s
}

    .nt-card:hover {
        transform: translateY(-3px);
        border-color: var(--blue-2);
        box-shadow: 0 14px 32px rgba(6,27,72,.14)
    }

    .nt-card[hidden] {
        display: none
    }

.nt-card-art {
    aspect-ratio: 3/2;
    overflow: hidden;
    background: var(--navy-2)
}

    .nt-card-art svg {
        transition: transform .5s
    }

.nt-card:hover .nt-card-art svg {
    transform: scale(1.04)
}

.nt-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1
}

    .nt-card-body h3 {
        font-family: var(--display);
        font-size: 1.08rem;
        line-height: 1.3;
        color: var(--navy);
        margin: 0
    }

    .nt-card-body p {
        margin: 0;
        font-size: .93rem;
        line-height: 1.55;
        color: var(--ink-soft)
    }

.nt-card-meta {
    margin-top: auto;
    padding-top: 6px
}

.nt-tag {
    align-self: flex-start;
    font-size: .78rem;
    font-weight: 600;
    color: var(--blue-2);
    background: var(--mist-2);
    padding: 3px 10px;
    border-radius: 999px
}

.nt-tag-claro {
    background: rgba(255,255,255,.12);
    color: #fff;
    display: inline-block;
    margin-bottom: 14px
}

.nt-vacio {
    color: var(--ink-soft);
    text-align: center;
    padding: 24px 0
}

.nt-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 56px;
    padding: 28px 32px;
    border-radius: 10px;
    background: var(--navy);
    color: #fff
}

    .nt-cta div {
        display: flex;
        flex-direction: column;
        gap: 4px
    }

    .nt-cta strong {
        font-family: var(--display);
        font-size: 1.15rem
    }

    .nt-cta span {
        color: rgba(255,255,255,.75)
    }

/* Artículo */
.nt-progreso {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 60;
    background: transparent
}

    .nt-progreso i {
        display: block;
        height: 100%;
        width: 0;
        background: var(--gold);
        transition: width .1s linear
    }

.nt-volver {
    display: block;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    font-size: .92rem;
    margin-bottom: 22px
}

    .nt-volver::before {
        content: "\2190  "
    }

    .nt-volver:hover {
        color: #fff
    }

.nt-art-meta {
    color: rgba(255,255,255,.7);
    font-size: .92rem;
    margin: 0
}

.nt-art-hero-art {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(143,180,240,.25);
    box-shadow: 0 18px 44px rgba(0,0,0,.3)
}

.nt-layout {
    display: grid;
    grid-template-columns: 230px minmax(0,700px);
    gap: 56px;
    padding-top: 48px;
    padding-bottom: 56px;
    justify-content: center
}

.nt-lateral {
    position: relative
}

.nt-toc {
    position: sticky;
    top: 104px;
    font-size: .92rem
}

    .nt-toc strong {
        display: block;
        font-family: var(--display);
        color: var(--navy);
        margin-bottom: 12px
    }

    .nt-toc ol {
        list-style: none;
        margin: 0;
        padding: 0;
        border-left: 2px solid var(--line)
    }

    .nt-toc a {
        display: block;
        padding: 7px 0 7px 14px;
        margin-left: -2px;
        border-left: 2px solid transparent;
        color: var(--ink-soft);
        text-decoration: none;
        line-height: 1.35
    }

        .nt-toc a:hover {
            color: var(--navy)
        }

        .nt-toc a.is-on {
            color: var(--navy);
            font-weight: 600;
            border-left-color: var(--gold)
        }

.nt-copiar {
    position: sticky;
    top: calc(104px + var(--toc-h,0px) + 20px);
    margin-top: 20px;
    font: inherit;
    font-size: .88rem;
    background: none;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 7px 12px;
    color: var(--graphite);
    cursor: pointer
}

    .nt-copiar:hover {
        border-color: var(--blue-2);
        color: var(--navy)
    }

.nt-art {
    font-size: 1.06rem;
    line-height: 1.75;
    color: var(--ink)
}

    .nt-art p {
        margin: 0 0 1.2em
    }

    .nt-art h2 {
        font-family: var(--display);
        font-size: 1.45rem;
        line-height: 1.25;
        color: var(--navy);
        margin: 2.2em 0 .6em;
        scroll-margin-top: 100px
    }

.nt-30 {
    background: var(--mist);
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 2em
}

    .nt-30 strong {
        font-family: var(--display);
        color: var(--navy);
        display: block;
        margin-bottom: 8px
    }

    .nt-30 ul {
        margin: 0;
        padding-left: 1.2em;
        line-height: 1.6;
        list-style: disc
    }

    .nt-30 li + li {
        margin-top: 6px
    }

.nt-ul {
    list-style: disc;
    padding-left: 1.2em;
    margin: 0 0 1.2em
}

.nt-dest {
    margin: 2em 0;
    padding: 22px 28px;
    border-radius: 8px;
    background: var(--navy);
    color: #fff;
    position: relative
}

    .nt-dest::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background: var(--gold);
        border-radius: 8px 0 0 8px
    }

    .nt-dest p {
        margin: 0;
        font-family: var(--display);
        font-size: 1.2rem;
        line-height: 1.45;
        font-weight: 500
    }

.nt-comp {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 1.8em 0
}

.nt-comp-col {
    border: 1px solid var(--line);
    border-top: 4px solid var(--blue-2);
    border-radius: 8px;
    padding: 20px 22px;
    background: #fff
}

.nt-comp-der {
    border-top-color: var(--gold);
    background: var(--mist)
}

.nt-comp h3 {
    font-family: var(--display);
    font-size: 1.02rem;
    color: var(--navy);
    margin: 0 0 12px
}

.nt-comp ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .97rem;
    line-height: 1.5
}

.nt-comp li {
    padding-left: 22px;
    position: relative
}

    .nt-comp li + li {
        margin-top: 10px
    }

    .nt-comp li::before {
        content: "";
        position: absolute;
        left: 0;
        top: .5em;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--blue-2)
    }

.nt-comp-der li::before {
    background: var(--gold)
}

.nt-pasos {
    list-style: none;
    counter-reset: p;
    margin: 1.6em 0;
    padding: 0;
    position: relative
}

    .nt-pasos li {
        counter-increment: p;
        position: relative;
        padding: 0 0 22px 56px;
        min-height: 44px
    }

        .nt-pasos li::before {
            content: counter(p);
            position: absolute;
            left: 0;
            top: 0;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: var(--navy);
            color: #fff;
            font-family: var(--display);
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center
        }

        .nt-pasos li:not(:last-child)::after {
            content: "";
            position: absolute;
            left: 18px;
            top: 42px;
            bottom: 4px;
            width: 2px;
            background: var(--line)
        }

.nt-check {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 24px 26px;
    margin: 2em 0;
    box-shadow: 0 6px 22px rgba(6,27,72,.07)
}

    .nt-check h3 {
        font-family: var(--display);
        font-size: 1.15rem;
        color: var(--navy);
        margin: 0 0 14px
    }

    .nt-check ul {
        list-style: none;
        margin: 0;
        padding: 0
    }

    .nt-check li + li {
        margin-top: 4px
    }

    .nt-check label {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        padding: 10px 12px;
        border-radius: 6px;
        cursor: pointer;
        line-height: 1.5;
        font-size: 1rem;
        transition: background .15s
    }

        .nt-check label:hover {
            background: var(--mist)
        }

    .nt-check input {
        appearance: none;
        -webkit-appearance: none;
        flex: none;
        width: 22px;
        height: 22px;
        margin-top: 2px;
        border: 2px solid var(--blue-2);
        border-radius: 5px;
        background: #fff;
        cursor: pointer;
        display: grid;
        place-content: center
    }

        .nt-check input::after {
            content: "";
            width: 11px;
            height: 6px;
            border-left: 3px solid #fff;
            border-bottom: 3px solid #fff;
            transform: rotate(-45deg) scale(0);
            margin-top: -2px;
            transition: transform .15s
        }

        .nt-check input:checked {
            background: var(--navy);
            border-color: var(--navy)
        }

            .nt-check input:checked::after {
                transform: rotate(-45deg) scale(1)
            }

            .nt-check input:checked + span {
                color: var(--ink-soft)
            }

        .nt-check input:focus-visible {
            outline: 3px solid var(--spark);
            outline-offset: 2px
        }

.nt-check-barra {
    height: 8px;
    border-radius: 999px;
    background: var(--mist-2);
    overflow: hidden;
    margin-top: 18px
}

    .nt-check-barra i {
        display: block;
        height: 100%;
        width: 0;
        background: var(--blue-2);
        transition: width .3s,background .3s
    }

.nt-check.is-ok .nt-check-barra i {
    background: var(--gold)
}

.nt-check-cnt {
    margin: 10px 0 0 !important;
    font-size: .9rem;
    color: var(--ink-soft)
}

.nt-check-msg {
    margin: 6px 0 0 !important;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.5
}

.nt-cta-art {
    margin-top: 3em
}

.nt-relac {
    background: var(--mist);
    padding: 56px 0 72px
}

    .nt-relac h2 {
        font-family: var(--display);
        color: var(--navy);
        margin: 0 0 24px
    }

@media (max-width:980px) {
    .nt-hero-in, .nt-art-hero-in {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 48px;
        padding-bottom: 48px
    }

    .nt-hero-art {
        display: none
    }

    .nt-feat {
        grid-template-columns: 1fr;
        margin-top: -64px
    }

    .nt-grid, .nt-grid-3 {
        grid-template-columns: repeat(2,1fr)
    }

    .nt-layout {
        grid-template-columns: minmax(0,1fr);
        gap: 0
    }

    .nt-lateral {
        display: none
    }
}

@media (max-width:640px) {
    .nt-grid, .nt-grid-3, .nt-comp {
        grid-template-columns: 1fr
    }

    .nt-cta {
        flex-direction: column;
        align-items: flex-start
    }

    .nt-feat-txt {
        padding: 24px
    }
}

@media (prefers-reduced-motion:reduce) {
    .nt-card, .nt-card-art svg, .nt-feat, .nt-progreso i, .nt-check-barra i {
        transition: none
    }

        .nt-card:hover, .nt-feat:hover {
            transform: none
        }
}

.a11y-motion .nt-card, .a11y-motion .nt-card-art svg, .a11y-motion .nt-feat {
    transition: none
}

    .a11y-motion .nt-card:hover, .a11y-motion .nt-feat:hover {
        transform: none
    }
