/* ==========================================================
VERIFICAR-CERTIFICADO.CSS

Página pública de información sobre verificación
de certificados.

Objetivo:
- compacta
- visual
- clara
- responsive
========================================================== */


/* ==========================================================
HERO
========================================================== */
.verify-hero {
    position: relative;

    padding:
        calc(var(--header-height) + 52px)
        0
        58px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 88% 16%,
            rgba(149, 183, 52, 0.13),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #f7faff 0%,
            #ffffff 52%,
            #edf4fb 100%
        );
}


.verify-hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(260px, 0.55fr);

    align-items: center;

    gap:
        clamp(
            45px,
            7vw,
            90px
        );
}


.verify-hero-copy {
    max-width: 790px;
}


.verify-eyebrow {
    display: inline-block;

    margin-bottom: 13px;

    color: var(--sea-green-800);

    font-size: 0.72rem;
    font-weight: 850;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


.verify-hero h1 {
    max-width: 800px;

    margin:
        0
        0
        18px;

    color: var(--sea-blue-950);

    font-size:
        clamp(
            2.45rem,
            4.4vw,
            3.9rem
        );

    line-height: 1.03;

    letter-spacing: -0.045em;
}


.verify-hero-lead {
    max-width: 700px;

    margin:
        0
        0
        24px;

    color: var(--sea-muted);

    font-size:
        clamp(
            1rem,
            1.6vw,
            1.14rem
        );

    line-height: 1.7;
}


.verify-hero-note {
    display: flex;

    max-width: 590px;

    align-items: center;

    gap: 11px;
}


.verify-hero-note > span {
    display: grid;

    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    color: var(--sea-blue-950);

    background: var(--sea-green-100);

    border-radius: 50%;

    place-items: center;

    font-size: 0.72rem;
    font-weight: 900;
}


.verify-hero-note p {
    margin: 0;

    color: var(--sea-muted);

    font-size: 0.83rem;
    font-weight: 650;

    line-height: 1.5;
}


/* ==========================================================
QR
========================================================== */

.verify-qr-panel {
    display: flex;

    justify-content: flex-end;
}


.verify-qr-card {
    width: min(100%, 310px);

    padding: 24px;

    text-align: center;

    background: rgba(255, 255, 255, 0.92);

    border:
        1px
        solid
        rgba(24, 70, 135, 0.10);

    border-radius: 22px;

    box-shadow:
        0
        18px
        45px
        rgba(18, 56, 109, 0.09);

    backdrop-filter: blur(10px);
}


.verify-qr-label {
    display: block;

    margin-bottom: 16px;

    color: var(--sea-green-800);

    font-size: 0.67rem;
    font-weight: 850;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}


.verify-qr-card img {
    display: block;

    width: min(100%, 190px);
    height: auto;

    margin:
        0
        auto
        16px;

    padding: 10px;

    background: #fff;

    border-radius: 14px;
}


.verify-qr-card strong {
    display: block;

    margin-bottom: 5px;

    color: var(--sea-blue-950);

    font-size: 0.86rem;

    line-height: 1.4;
}


.verify-qr-card p {
    margin: 0;

    color: var(--sea-muted);

    font-size: 0.72rem;
}



/* ==========================================================
SECCIONES
========================================================== */

.verify-section {
    padding: 62px 0;

    background: var(--sea-white);
}


.verify-section-soft {
    background: var(--sea-surface);
}


.verify-section-heading {
    max-width: 730px;

    margin-bottom: 28px;
}


.verify-section-heading-compact {
    margin-bottom: 26px;
}


.verify-section-heading h2,
.verify-detail-block h2,
.verify-support-main h2 {
    margin:
        0
        0
        12px;

    color: var(--sea-blue-950);

    font-size:
        clamp(
            1.7rem,
            3vw,
            2.45rem
        );

    line-height: 1.1;

    letter-spacing: -0.035em;
}


.verify-section-heading p,
.verify-detail-intro,
.verify-support-main p,
.verify-support-item p {
    color: var(--sea-muted);

    line-height: 1.7;
}


.verify-section-heading p {
    margin: 0;
}



/* ==========================================================
PASOS
========================================================== */

.verify-steps {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 18px;
}


.verify-step {
    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr);

    gap: 16px;

    align-items: start;

    padding: 22px;

    background: var(--sea-white);

    border:
        1px
        solid
        var(--sea-line);

    border-radius: 17px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}


.verify-step:hover {
    border-color:
        rgba(
            24,
            70,
            135,
            0.20
        );

    box-shadow:
        0
        12px
        30px
        rgba(18, 56, 109, 0.07);

    transform: translateY(-3px);
}


.verify-step-number {
    display: grid;

    width: 37px;
    height: 37px;

    color: var(--sea-blue-800);

    background: var(--sea-green-100);

    border-radius: 11px;

    place-items: center;

    font-size: 0.68rem;
    font-weight: 900;

    letter-spacing: 0.05em;
}


.verify-step h3 {
    margin:
        1px
        0
        6px;

    color: var(--sea-blue-950);

    font-size: 1rem;

    line-height: 1.3;
}


.verify-step p {
    margin: 0;

    color: var(--sea-muted);

    font-size: 0.80rem;

    line-height: 1.55;
}



/* ==========================================================
INFORMACIÓN + ESTADOS
========================================================== */

.verify-detail-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap:
        clamp(
            40px,
            6vw,
            74px
        );
}


.verify-detail-block {
    min-width: 0;
}


.verify-detail-intro {
    margin:
        0
        0
        24px;
}


.verify-info-card {
    padding: 24px;

    background: var(--sea-white);

    border:
        1px
        solid
        var(--sea-line);

    border-radius: 18px;

    box-shadow:
        0
        8px
        24px
        rgba(18, 56, 109, 0.045);
}


.verify-info-card ul {
    display: grid;

    gap: 12px;

    margin: 0;

    padding: 0;

    list-style: none;
}


.verify-info-card li {
    position: relative;

    padding-left: 27px;

    color: var(--sea-blue-950);

    font-size: 0.84rem;
    font-weight: 650;

    line-height: 1.5;
}


.verify-info-card li::before {
    position: absolute;

    top: 0.25em;
    left: 0;

    display: grid;

    width: 17px;
    height: 17px;

    content: "✓";

    color: var(--sea-blue-950);

    background: var(--sea-green-100);

    border-radius: 50%;

    place-items: center;

    font-size: 0.60rem;
    font-weight: 900;
}



/* ==========================================================
ESTADOS
========================================================== */

.verify-status-list {
    display: grid;

    gap: 11px;
}


.verify-status-row {
    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr);

    align-items: center;

    gap: 14px;

    padding: 15px 17px;

    background: var(--sea-white);

    border:
        1px
        solid
        var(--sea-line);

    border-radius: 15px;
}


.verify-status-icon {
    display: grid;

    width: 38px;
    height: 38px;

    color: var(--sea-blue-800);

    background: var(--sea-blue-100);

    border-radius: 11px;

    place-items: center;

    font-size: 0.9rem;
    font-weight: 900;
}


.verify-status-icon-current {
    color: var(--sea-green-900);

    background: var(--sea-green-100);
}


.verify-status-row h3 {
    margin:
        0
        0
        3px;

    color: var(--sea-blue-950);

    font-size: 0.92rem;

    line-height: 1.3;
}


.verify-status-row p {
    margin: 0;

    color: var(--sea-muted);

    font-size: 0.76rem;

    line-height: 1.45;
}



/* ==========================================================
IMPORTANTE / PRIVACIDAD / CONTACTO
========================================================== */

.verify-support-card {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(360px, 0.9fr);

    gap:
        clamp(
            40px,
            6vw,
            74px
        );

    padding:
        clamp(
            28px,
            4vw,
            42px
        );

    background:
        linear-gradient(
            135deg,
            #f7faff,
            #edf4fb
        );

    border:
        1px
        solid
        var(--sea-line);

    border-radius: 22px;
}


.verify-support-main {
    max-width: 640px;
}


.verify-support-main p {
    margin:
        0
        0
        13px;
}


.verify-support-main p:last-child {
    margin-bottom: 0;
}


.verify-support-side {
    display: grid;

    gap: 14px;
}


.verify-support-item {
    padding: 20px;

    background: var(--sea-white);

    border:
        1px
        solid
        var(--sea-line);

    border-radius: 15px;
}


.verify-support-item h3 {
    margin:
        0
        0
        7px;

    color: var(--sea-blue-950);

    font-size: 0.96rem;
}


.verify-support-item p {
    margin:
        0
        0
        12px;

    font-size: 0.80rem;
}


.verify-support-item a:not(.button) {
    color: var(--sea-blue-800);

    font-size: 0.82rem;
    font-weight: 750;

    text-decoration: underline;

    text-underline-offset: 3px;
}



/* ==========================================================
RESPONSIVE
========================================================== */

@media(max-width: 980px) {

    .verify-hero-grid {
        grid-template-columns:
            minmax(0, 1fr)
            260px;
    }


    .verify-detail-grid {
        gap: 34px;
    }

}



@media(max-width: 820px) {

    .verify-hero-grid,
    .verify-detail-grid,
    .verify-support-card {
        grid-template-columns: 1fr;
    }


    .verify-qr-panel {
        justify-content: flex-start;
    }


    .verify-qr-card {
        width: 100%;
        max-width: 340px;
    }


    .verify-steps {
        grid-template-columns: 1fr;
    }


    .verify-support-side {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}



@media(max-width: 580px) {

    .verify-hero {
        padding:
            calc(var(--header-height) + 42px)
            0
            48px;
    }


    .verify-hero h1 {
        font-size:
            clamp(
                2.25rem,
                12vw,
                3.1rem
            );
    }


    .verify-section {
        padding: 48px 0;
    }


    .verify-support-card {
        padding: 22px;
    }


    .verify-support-side {
        grid-template-columns: 1fr;
    }


    .verify-support-item .button {
        width: 100%;

        justify-content: center;
    }

}



/* ==========================================================
ACCESIBILIDAD
========================================================== */

@media(prefers-reduced-motion: reduce) {

    .verify-step {
        transition: none;
    }

}