@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/*
Propuesta tipografica 1 (documentada, no eliminada): Nunito
Uso: reglas base de esta seccion.

Propuesta tipografica 2 (activa por clase): Plus Jakarta Sans
Uso: agregar .tipografia-propuesta-2 al section .parrafos-destacados.
*/

.animated-fade-down {
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity 0.7s cubic-bezier(.68,-0.2,.32,1.2), transform 0.7s cubic-bezier(.68,-0.2,.32,1.2);
}
.animated-fade-down.visible {
    opacity: 1;
    transform: translateY(0);
}

.parrafos-destacados {
    width: 100vw;
    position: relative;
    overflow: hidden;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 3.8rem 0;
    color: var(--color-secondary-3);
    background:
        radial-gradient(130% 120% at 8% 0%, rgba(69, 192, 240, 0.16) 0%, rgba(69, 192, 240, 0) 58%),
        radial-gradient(90% 80% at 88% 105%, rgba(1, 0, 128, 0.15) 0%, rgba(1, 0, 128, 0) 62%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: none;
    clip-path: polygon(0 0, 100% 0, 100% 95.5%, 0 100%);
}

.parrafos-destacados::before,
.parrafos-destacados::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.parrafos-destacados::before {
    inset: 0;
    background:
        linear-gradient(120deg, rgba(1, 0, 128, 0.08) 0%, rgba(1, 0, 128, 0) 34%),
        linear-gradient(300deg, rgba(69, 192, 240, 0.16) 0%, rgba(69, 192, 240, 0) 40%);
    mix-blend-mode: multiply;
}

.parrafos-destacados::after {
    left: 50%;
    bottom: 0.3rem;
    transform: translateX(-50%);
    width: min(1080px, 92vw);
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(1, 0, 128, 0.22) 0%, rgba(1, 0, 128, 0) 72%);
    filter: blur(9px);
    opacity: 0.45;
}

.parrafos-destacados-texto {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 2.4rem 1.55rem;
    text-align: center;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(244, 249, 255, 0.78) 100%);
    border: 1px solid rgba(1, 0, 128, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        inset 0 -10px 20px rgba(1, 0, 128, 0.05),
        0 14px 32px rgba(1, 0, 128, 0.12);
}

.parrafos-destacados-eyebrow {
    margin: 0;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(69, 192, 240, 0.14);
    border: 1px solid rgba(69, 192, 240, 0.35);
    color: var(--color-primary);
    font-family: 'Nunito', 'Montserrat', 'Arial', sans-serif;
    font-size: 0.74rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.parrafos-destacados-title {
    color: var(--color-primary);
    font-size: clamp(2rem, 3.3vw, 3.1rem);
    line-height: 1.14;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.01em;
    max-width: 20ch;
    font-family: 'Nunito', 'Montserrat', 'Arial', sans-serif;
    text-align: center;
}

.parrafos-destacados-title .linea-animada {
    display: block;
}

.parrafos-destacados-title .linea-animada:first-child {
    color: var(--color-secondary);
}

.parrafos-destacados-title .linea-animada:last-child {
    margin-top: 0.28rem;
    color: rgba(1, 0, 128, 0.88);
    font-size: clamp(1.15rem, 1.65vw, 1.55rem);
    font-weight: 600;
    line-height: 1.35;
    max-width: 34ch;
    margin-left: auto;
    margin-right: auto;
}

.parrafos-destacados-title .texto-acento {
    color: var(--color-accent);
    font-weight: 700;
}

.parrafos-destacados-subtitle {
    color: var(--color-secondary-4);
    font-size: clamp(1.07rem, 1.35vw, 1.3rem);
    line-height: 1.58;
    font-weight: 600;
    margin: 0;
    max-width: 70ch;
    font-family: 'Nunito', 'Montserrat', 'Arial', sans-serif;
    text-align: center;
}

.parrafos-destacados-desc {
    color: var(--color-text);
    font-size: clamp(0.98rem, 1.12vw, 1.1rem);
    line-height: 1.78;
    font-weight: 400;
    margin: 0;
    max-width: 74ch;
    font-family: 'Nunito', 'Montserrat', 'Arial', sans-serif;
    text-align: center;
}

.parrafos-destacados-subtitle strong,
.parrafos-destacados-desc strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* Propuesta 2: alegre-profesional con trazos mas limpios y modernos */
.parrafos-destacados.tipografia-propuesta-2 .parrafos-destacados-eyebrow,
.parrafos-destacados.tipografia-propuesta-2 .parrafos-destacados-title,
.parrafos-destacados.tipografia-propuesta-2 .parrafos-destacados-subtitle,
.parrafos-destacados.tipografia-propuesta-2 .parrafos-destacados-desc {
    font-family: 'Plus Jakarta Sans', 'Nunito', 'Montserrat', 'Arial', sans-serif;
}

.parrafos-destacados.tipografia-propuesta-2 .parrafos-destacados-title {
    letter-spacing: 0;
    line-height: 1.12;
}

.parrafos-destacados.tipografia-propuesta-2 .parrafos-destacados-subtitle {
    font-weight: 600;
}

.parrafos-destacados.tipografia-propuesta-2 .parrafos-destacados-desc {
    font-weight: 500;
}

@media (max-width: 900px) {
    .parrafos-destacados {
        padding: 3rem 0;
        clip-path: polygon(0 0, 100% 0, 100% 96.3%, 0 100%);
    }

    .parrafos-destacados-texto {
        max-width: 100%;
        padding: 1.15rem 1.35rem 1.35rem;
        gap: 0.8rem;
    }

    .parrafos-destacados-title,
    .parrafos-destacados-subtitle,
    .parrafos-destacados-desc {
        text-align: center;
    }
}

@media (max-width: 700px) {
    .parrafos-destacados {
        padding: 2.3rem 0.8rem;
        background-color: #ffffff;
        border-top: none;
        border-bottom: none;
        clip-path: polygon(0 0, 100% 0, 100% 97.2%, 0 100%);
    }

    .parrafos-destacados::after {
        opacity: 0.32;
        bottom: 0.1rem;
    }

    .parrafos-destacados-texto {
        max-width: 560px;
        padding: 1.25rem 1rem;
        gap: 0.78rem;
        align-items: center;
        text-align: center;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(69, 192, 240, 0.34);
        border-radius: 22px;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.7),
            inset 0 -8px 16px rgba(1, 0, 128, 0.05),
            0 14px 32px rgba(4, 18, 64, 0.22);
    }


    .parrafos-destacados-title {
        max-width: 100%;
        font-size: clamp(1.62rem, 8vw, 2.1rem) !important;
        line-height: 1.2;
        text-align: center;
    }

    .parrafos-destacados-title .titulo-linea-principal {
        font-size: clamp(2.05rem, 10vw, 2.55rem);
        line-height: 1.08;
        font-weight: 800;
    }

    .parrafos-destacados-title .linea-animada:last-child {
        font-size: 1.02rem;
        max-width: 100%;
        color: var(--color-secondary-4);
    }

    .parrafos-destacados-subtitle {
        font-size: 0.99rem;
        line-height: 1.62;
        text-align: center;
    }

    .parrafos-destacados-desc {
        font-size: 0.94rem;
        line-height: 1.66;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .parrafos-destacados {
        padding: 1.9rem 0.55rem;
        clip-path: polygon(0 0, 100% 0, 100% 97.2%, 0 100%);
    }

    .parrafos-destacados-texto {
        padding: 1.05rem 0.82rem;
        border-radius: 18px;
        box-shadow: 0 10px 26px rgba(4, 18, 64, 0.23);
    }

    .parrafos-destacados-title {
        font-size: clamp(1.42rem, 7.8vw, 1.8rem);
    }

    .parrafos-destacados-title .titulo-linea-principal {
        font-size: clamp(1.78rem, 9.5vw, 2.15rem);
    }

    .parrafos-destacados-title .linea-animada:last-child {
        font-size: 0.95rem;
    }

    .parrafos-destacados-subtitle {
        font-size: 0.92rem;
    }

    .parrafos-destacados-desc {
        font-size: 0.89rem;
    }
}
