/* =====================================================
   RECURSOS - PYMEVI
===================================================== */


/* =====================================================
   HERO
===================================================== */

.recursos-hero {
    position: relative;
    overflow: hidden;
    padding: 160px 0 120px;
    background:
        linear-gradient(
            135deg,
            #f7fbff 0%,
            #ffffff 52%,
            #edf6ff 100%
        );
}


/* FONDOS */

.recursos-bg {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.recursos-bg.bg-one {
    width: 650px;
    height: 650px;
    top: -350px;
    right: -220px;
    background: rgba(13, 98, 173, 0.09);
}

.recursos-bg.bg-two {
    width: 450px;
    height: 450px;
    bottom: -260px;
    left: -180px;
    background: rgba(29, 155, 240, 0.07);
}


/* =====================================================
   HERO TEXTO
===================================================== */

.recursos-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: #0d62ad;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.recursos-tag span {
    width: 35px;
    height: 3px;
    border-radius: 20px;
    background: #0d62ad;
}

.recursos-hero h1 {
    margin-bottom: 25px;
    color: #172a3d;
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
}

.recursos-hero h1 strong {
    display: block;
    color: #0d62ad;
}

.recursos-description {
    max-width: 650px;
    margin-bottom: 32px;
    color: #64748b;
    font-size: 17px;
    line-height: 1.85;
}


/* =====================================================
   BUSCADOR
===================================================== */

.recursos-search {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 620px;
    padding: 7px 18px;
    margin-bottom: 20px;
    background: #ffffff;
    border: 1px solid #e5edf5;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.recursos-search i {
    color: #0d62ad;
    font-size: 17px;
}

.recursos-search input {
    width: 100%;
    height: 48px;
    border: none;
    outline: none;
    color: #1e293b;
    background: transparent;
    font-size: 14px;
}

.recursos-search input::placeholder {
    color: #94a3b8;
}


/* =====================================================
   TAGS
===================================================== */

.recursos-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.recursos-tags a {
    padding: 8px 14px;
    color: #64748b;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid #e7edf3;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recursos-tags a:hover {
    color: #ffffff;
    background: #0d62ad;
    border-color: #0d62ad;
}


/* =====================================================
   VISUAL HERO
===================================================== */

.recursos-visual {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-circle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 35% 30%,
            #1d9bf0,
            #0d62ad 65%,
            #083d70
        );
    box-shadow: 0 35px 80px rgba(13, 98, 173, 0.28);
}

.resource-circle::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(13, 98, 173, 0.15);
    border-radius: 50%;
}

.resource-circle::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border: 1px dashed rgba(13, 98, 173, 0.16);
    border-radius: 50%;
}

.resource-main-icon {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 90px;
}


/* =====================================================
   CARDS FLOTANTES
===================================================== */

.resource-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(13, 98, 173, 0.10);
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    animation: resourceFloat 4s ease-in-out infinite;
}

.resource-card > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    color: #0d62ad;
    background: rgba(13, 98, 173, 0.10);
    border-radius: 12px;
}

.resource-card strong,
.resource-card span {
    display: block;
}

.resource-card strong {
    color: #1e293b;
    font-size: 13px;
}

.resource-card span {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 10px;
}

.card-blog {
    top: 45px;
    left: -10px;
}

.card-ai {
    top: 190px;
    right: -25px;
    animation-delay: 1.2s;
}

.card-growth {
    bottom: 40px;
    left: 10px;
    animation-delay: 2.2s;
}

@keyframes resourceFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

}


/* =====================================================
   CATEGORIAS
===================================================== */

.resource-categories {
    padding: 120px 0;
    background: #ffffff;
}

.categories-header {
    max-width: 750px;
    margin: 0 auto 65px;
    text-align: center;
}

.categories-header > span {
    display: block;
    margin-bottom: 18px;
    color: #0d62ad;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.categories-header h2 {
    margin-bottom: 22px;
    color: #1e293b;
    font-size: clamp(2.3rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
}

.categories-header h2 strong {
    display: block;
    color: #0d62ad;
}

.categories-header p {
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.85;
}


/* =====================================================
   CARDS CATEGORIAS
===================================================== */

.category-card {
    position: relative;
    display: block;
    height: 100%;
    min-height: 290px;
    padding: 34px 28px;
    margin-bottom: 30px;
    color: inherit;
    background: #ffffff;
    border: 1px solid #eaf0f5;
    border-radius: 20px;
    text-decoration: none !important;
    overflow: hidden;
    transition: all 0.35s ease;
}

.category-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -100px;
    bottom: -100px;
    background: rgba(13, 98, 173, 0.05);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.category-card:hover {
    transform: translateY(-9px);
    border-color: rgba(13, 98, 173, 0.25);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.10);
}

.category-card:hover::after {
    transform: scale(1.8);
}

.category-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 28px;
    color: #0d62ad;
    background: rgba(13, 98, 173, 0.10);
    border-radius: 17px;
    font-size: 22px;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    color: #ffffff;
    background: #0d62ad;
}

.category-card h3,
.category-card p,
.category-arrow {
    position: relative;
    z-index: 2;
}

.category-card h3 {
    margin-bottom: 13px;
    color: #1e293b;
    font-size: 20px;
    font-weight: 700;
}

.category-card p {
    margin-bottom: 25px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
}

.category-arrow {
    display: inline-flex;
    color: #0d62ad;
    font-size: 25px;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.category-card:hover .category-arrow {
    transform: translateX(7px);
}


/* =====================================================
   CONTENIDO DESTACADO
===================================================== */

.featured-resources {
    padding: 120px 0;
    background: #f6f9fc;
}

.resources-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 55px;
}

.resources-section-header > div > span {
    display: block;
    margin-bottom: 16px;
    color: #0d62ad;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.resources-section-header h2 {
    margin: 0;
    color: #1e293b;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
}

.resources-section-header h2 strong {
    display: block;
    color: #0d62ad;
}

.view-blog {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding-bottom: 6px;
    color: #0d62ad;
    border-bottom: 2px solid #0d62ad;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.view-blog span {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.view-blog:hover span {
    transform: translateX(5px);
}


/* =====================================================
   ARTICULO DESTACADO PRINCIPAL
===================================================== */

.featured-main-card {
    display: block;
    height: 100%;
    color: inherit;
    background: #ffffff;
    border: 1px solid #e7edf3;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none !important;
    transition: all 0.35s ease;
}

.featured-main-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
}

.featured-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
    background:
        linear-gradient(
            135deg,
            #0d62ad,
            #083d70
        );
    overflow: hidden;
}

.featured-image::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    top: -160px;
    right: -80px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.featured-image-icon {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 75px;
}

.featured-badge {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 2;
    padding: 8px 13px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 50px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.featured-content {
    padding: 35px;
}

.featured-content > span {
    display: block;
    margin-bottom: 13px;
    color: #0d62ad;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.featured-content h3 {
    margin-bottom: 18px;
    color: #1e293b;
    font-size: 25px;
    font-weight: 750;
    line-height: 1.35;
}

.featured-content p {
    margin-bottom: 28px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.85;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0d62ad;
    font-size: 13px;
    font-weight: 800;
}

.article-link i {
    transition: transform 0.3s ease;
}

.featured-main-card:hover .article-link i {
    transform: translateX(6px);
}


/* =====================================================
   ARTICULOS LATERALES
===================================================== */

.resource-article {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 150px;
    padding: 25px;
    margin-bottom: 18px;
    color: inherit;
    background: #ffffff;
    border: 1px solid #e7edf3;
    border-radius: 18px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.resource-article:last-child {
    margin-bottom: 0;
}

.resource-article:hover {
    transform: translateX(7px);
    border-color: rgba(13, 98, 173, 0.25);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
}

.resource-article-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    color: #0d62ad;
    background: rgba(13, 98, 173, 0.09);
    border-radius: 15px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.resource-article:hover .resource-article-icon {
    color: #ffffff;
    background: #0d62ad;
}

.resource-article-content {
    flex: 1;
}

.resource-article-content span {
    display: block;
    margin-bottom: 7px;
    color: #0d62ad;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.resource-article-content h3 {
    margin-bottom: 7px;
    color: #1e293b;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.resource-article-content p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
}

.resource-arrow {
    color: #0d62ad;
    font-size: 23px;
    transition: transform 0.3s ease;
}

.resource-article:hover .resource-arrow {
    transform: translateX(5px);
}


/* =====================================================
   MAS RECURSOS
===================================================== */

.more-resources {
    padding: 120px 0;
    background: #ffffff;
}

.more-resources-header {
    max-width: 750px;
    margin-bottom: 60px;
}

.more-resources-header > span {
    display: block;
    margin-bottom: 18px;
    color: #0d62ad;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.more-resources-header h2 {
    margin: 0;
    color: #1e293b;
    font-size: clamp(2.3rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
}

.more-resources-header h2 strong {
    display: block;
    color: #0d62ad;
}


/* =====================================================
   CARDS SIMPLES
===================================================== */

.simple-resource-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
    min-height: 200px;
    padding: 32px 27px;
    margin-bottom: 30px;
    color: inherit;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    text-decoration: none !important;
    transition: all 0.35s ease;
}

.simple-resource-card:hover {
    transform: translateY(-7px);
    background: #ffffff;
    border-color: rgba(13, 98, 173, 0.22);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.09);
}

.simple-resource-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    color: #0d62ad;
    background: rgba(13, 98, 173, 0.10);
    border-radius: 15px;
    font-size: 19px;
    transition: all 0.3s ease;
}

.simple-resource-card:hover .simple-resource-icon {
    color: #ffffff;
    background: #0d62ad;
}

.simple-resource-card span {
    display: block;
    margin-bottom: 10px;
    color: #0d62ad;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.simple-resource-card h3 {
    margin: 0;
    color: #1e293b;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
}


/* =====================================================
   CTA FINAL
===================================================== */

.recursos-cta {
    padding: 90px 0;
    background: #ffffff;
}

.recursos-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    padding: 65px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #0d62ad,
            #083d70
        );
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(13, 98, 173, 0.25);
}

.recursos-cta-content > div {
    max-width: 720px;
}

.recursos-cta-content > div > span {
    display: block;
    margin-bottom: 15px;
    color: #9bd8ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.recursos-cta-content h2 {
    margin-bottom: 15px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
}

.recursos-cta-content h2 strong {
    display: block;
    color: #b6e5ff;
}

.recursos-cta-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.8;
}

.recursos-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-shrink: 0;
    padding: 17px 30px;
    color: #0d62ad !important;
    background: #ffffff;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.recursos-cta-button:hover {
    color: #0d62ad !important;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.recursos-cta-button span {
    font-size: 20px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .recursos-hero {
        padding: 140px 0 90px;
    }

    .recursos-visual {
        margin-top: 80px;
    }

    .resources-section-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .featured-main-card {
        margin-bottom: 30px;
    }

    .resource-categories,
    .featured-resources,
    .more-resources {
        padding: 90px 0;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .recursos-hero {
        padding: 120px 0 70px;
    }

    .recursos-hero h1 {
        font-size: 2.7rem;
        letter-spacing: -1px;
    }

    .recursos-description {
        font-size: 16px;
    }

    .recursos-search {
        padding: 6px 14px;
    }

    .recursos-search input {
        font-size: 13px;
    }

    .recursos-visual {
        min-height: 460px;
        margin-top: 40px;
        transform: scale(0.88);
    }

    .resource-circle {
        width: 270px;
        height: 270px;
    }

    .resource-circle::before {
        width: 340px;
        height: 340px;
    }

    .resource-circle::after {
        width: 400px;
        height: 400px;
    }

    .resource-main-icon {
        font-size: 75px;
    }

    .resource-categories,
    .featured-resources,
    .more-resources {
        padding: 75px 0;
    }

    .categories-header,
    .sectors-header {
        margin-bottom: 45px;
    }

    .resources-section-header {
        margin-bottom: 40px;
    }

    .featured-content {
        padding: 27px;
    }

    .featured-content h3 {
        font-size: 22px;
    }

    .resource-article {
        align-items: flex-start;
    }

    .resource-article-content p {
        display: none;
    }

    .more-resources-header {
        margin-bottom: 40px;
    }

    .recursos-cta {
        padding: 60px 0;
    }

    .recursos-cta-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 25px;
        border-radius: 22px;
    }

    .recursos-cta-button {
        width: 100%;
    }

}


/* =====================================================
   MOBILE PEQUEÑO
===================================================== */

@media (max-width: 480px) {

    .recursos-visual {
        transform: scale(0.75);
        margin-right: -15%;
        margin-left: -15%;
    }

    .resource-card {
        padding: 10px 12px;
    }

    .resource-card strong {
        font-size: 11px;
    }

    .resource-card span {
        font-size: 9px;
    }

    .resource-card > i {
        width: 36px;
        height: 36px;
    }

    .resource-article {
        gap: 14px;
        padding: 20px;
    }

    .resource-article-icon {
        width: 48px;
        height: 48px;
        font-size: 17px;
    }

    .resource-arrow {
        display: none;
    }

    .simple-resource-card {
        min-height: 170px;
        padding: 25px 20px;
    }

}