/* ==================================================
   CURSOS GRATIS - PORTAL
================================================== */

.cl-page{
    background:#f5f6f8;
}

.cl-container{
    max-width:1200px;
    margin:0 auto;
    padding:0 18px;
}


/* ==================================================
   HERO
================================================== */

.cl-hero{

    padding:70px 0;

    background:
        linear-gradient(
            180deg,
            #f8fff9 0%,
            #ffffff 100%
        );

}

.cl-kicker{

    display:inline-flex;

    padding:8px 16px;

    border-radius:999px;

    background:#e8f8ec;

    color:#16a34a;

    font-size:13px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.5px;

}

.cl-title{

    max-width:900px;

    margin:22px 0 18px;

    font-size:56px;

    line-height:1.1;

    color:#111827;

}

.cl-description{

    max-width:760px;

    font-size:20px;

    line-height:1.8;

    color:#4b5563;

}

.cl-stats{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));

    gap:20px;

    margin-top:50px;

}

.cl-stat{

    background:#ffffff;

    padding:24px;

    border-radius:18px;

    box-shadow:0 8px 24px rgba(0,0,0,.05);

    text-align:center;

}

.cl-stat strong{

    display:block;

    margin-bottom:10px;

    font-size:24px;

    color:#16a34a;

}

.cl-stat span{

    color:#64748b;

    font-size:15px;

}

/* ==================================================
   PLATAFORMAS
================================================== */

.cl-platforms{

    padding:70px 0;

    background:#ffffff;

}

.cl-section-heading{

    text-align:center;

    max-width:700px;

    margin:0 auto 45px;

}

.cl-section-heading h2{

    margin:0 0 15px;

    font-size:38px;

    color:#111827;

}

.cl-section-heading p{

    margin:0;

    font-size:18px;

    line-height:1.8;

    color:#64748b;

}

.cl-platform-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));

    gap:20px;

}

.cl-platform-card{

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:90px;

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:18px;

    text-decoration:none;

    font-size:18px;

    font-weight:700;

    color:#111827;

    transition:.25s;

    box-shadow:0 8px 20px rgba(0,0,0,.04);

}

.cl-platform-card:hover{

    transform:translateY(-5px);

    border-color:#16a34a;

    color:#16a34a;

    box-shadow:0 15px 35px rgba(22,163,74,.12);

}

/* ==================================================
   CURSOS RECIENTES
================================================== */

.cl-recent-courses{

    padding:80px 0;

    background:#f8fafc;

}

.cl-course-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

}

.cl-course-card{

    display:flex;

    flex-direction:column;

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 6px 18px rgba(15,23,42,.06);

    transition:.30s;

}

.cl-course-card:hover{

    transform:translateY(-6px);

    box-shadow:0 14px 30px rgba(15,23,42,.10);

}

.cl-course-image{

    position:relative;

}

.cl-course-image img{

    width:100%;

    aspect-ratio:16/9;

    object-fit:cover;

    display:block;

}

.cl-platform-badge{

    position:absolute;

    top:12px;

    right:12px;

    padding:6px 12px;

    border-radius:999px;

    color:#fff;

    font-size:12px;

    font-weight:700;

    z-index:10;

    box-shadow:0 4px 14px rgba(0,0,0,.15);

}

.cl-course-content{

    display:flex;

    flex-direction:column;

    flex:1;

    padding:24px;

    text-align:center;

}

.cl-course-content h3{

    margin:0 0 28px;

    font-size:20px;

    font-weight:700;

    line-height:1.45;

    min-height:88px;

}

.cl-course-content h3 a{

    color:#111827;

    text-decoration:none;

}

.cl-course-content h3 a:hover{

    color:#16a34a;

}

.cl-course-button{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    margin-top:auto;

    padding:11px 24px;

    border-radius:999px;

    background:#16a34a;

    color:#fff;

    font-weight:700;

    text-decoration:none;

    transition:.25s;
    
    font-size:15px;

}

.cl-course-button:hover{

    background:#15803d;

    color:#fff;

}

/* ==================================================
   CATEGORÍAS
================================================== */

.cl-categories{

    padding:80px 0;

    background:#ffffff;

}

.cl-category-grid{

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:24px;

}

.cl-category-card{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:12px;

    padding:32px 20px;

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:20px;

    text-align:center;

    text-decoration:none;

    transition:.25s;

}

.cl-category-card:hover{

    transform:translateY(-6px);

    border-color:#16a34a;

    box-shadow:0 12px 28px rgba(15,23,42,.08);

}

.cl-category-icon{

    display:flex;

    align-items:center;

    justify-content:center;

    width:72px;

    height:72px;

    border-radius:18px;

    background:#ecfdf5;

    font-size:34px;

}

.cl-category-card h3{

    margin:0;

    font-size:22px;

    font-weight:700;

    color:#111827;

    line-height:1.3;

}

.cl-category-card p{

    margin:0;

    font-size:15px;

    color:#64748b;

}

.cl-category-icon img{

    width:42px;

    height:42px;

    object-fit:contain;

}

/* ==================================================
   ¿QUÉ HACE DIFERENTE A CURSOTECAPLUS?
================================================== */

.cl-about{

    padding:80px 0;

    background:#f8fafc;

}

.cl-about-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:24px;

}

.cl-about-card{

    background:#ffffff;

    border-radius:22px;

    padding:34px 28px;

    border:1px solid #e5e7eb;

    text-align:center;

    transition:.30s;

}

.cl-about-card:hover{

    transform:translateY(-6px);

    border-color:#16a34a;

    box-shadow:0 14px 34px rgba(15,23,42,.08);

}

.cl-about-icon{

    display:flex;

    justify-content:center;

    align-items:center;

    width:84px;

    height:84px;

    margin:0 auto 24px;

    border-radius:20px;

    background:#ecfdf5;

}

.cl-about-icon img{

    width:44px;

    height:44px;

    object-fit:contain;

}

.cl-about-card h3{

    margin:0 0 18px;

    font-size:22px;

    font-weight:700;

    line-height:1.3;

    color:#111827;

}

.cl-about-card p{

    margin:0;

    font-size:16px;

    line-height:1.8;

    color:#64748b;

}

/* ==========================================
   TABLET
========================================== */

@media (max-width:1024px){

    .cl-about-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

/* ==========================================
   MOBILE
========================================== */

@media (max-width:768px){

    .cl-about{

        padding:50px 0;

    }

    .cl-about-grid{

        grid-template-columns:1fr;

        gap:18px;

    }

    .cl-about-card{

        padding:28px 22px;

    }

    .cl-about-icon{

        width:70px;

        height:70px;

        border-radius:18px;

        margin-bottom:20px;

    }

    .cl-about-icon img{

        width:38px;

        height:38px;

    }

    .cl-about-card h3{

        font-size:20px;

    }

    .cl-about-card p{

        font-size:15px;

        line-height:1.7;

    }

}
/* ==========================================
   TABLET
========================================== */

@media (max-width:1024px){

    .cl-category-grid{

        grid-template-columns:repeat(3,1fr);

    }

}

/* ==========================================
   MOBILE
========================================== */

@media (max-width:768px){

    .cl-categories{

        padding:50px 0;

    }

    .cl-category-grid{

        grid-template-columns:repeat(2,1fr);

        gap:16px;

    }

    .cl-category-card{

        padding:24px 16px;

    }

    .cl-category-icon{

        width:56px;

        height:56px;

        font-size:28px;

        border-radius:14px;

    }

    .cl-category-card h3{

        font-size:18px;

    }

    .cl-category-card p{

        font-size:14px;

    }

}

/* ==========================================
   TABLET
========================================== */

@media (max-width:1024px){

    .cl-course-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

/* ==========================================
   MOBILE
========================================== */

@media (max-width:768px){

    .cl-recent-courses{

        padding:50px 0;

    }

    .cl-course-grid{

        grid-template-columns:1fr;

        gap:20px;

    }

    .cl-course-content{

        padding:20px;

    }

    .cl-course-content h3{

        min-height:auto;

        font-size:18px;

    }

}

/* ==========================================
   MOBILE
========================================== */

@media (max-width:768px){

    .cl-platforms{

        padding:50px 0;

    }

    .cl-section-heading{

        margin-bottom:55px;

    }

    .cl-section-heading h2{

        font-size:30px;

    }

    .cl-section-heading p{

        font-size:16px;

    }

    .cl-platform-grid{

        grid-template-columns:repeat(2,1fr);

        gap:14px;

    }

    .cl-platform-card{

        min-height:70px;

        font-size:16px;

        border-radius:14px;

    }

}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px){

    .cl-hero{
        padding:40px 0;
        text-align:center;
    }

    .cl-kicker{
        margin:0 auto;
    }

    .cl-title{
        font-size:36px;
        line-height:1.15;
        margin:18px auto 16px;
    }

    .cl-description{
        font-size:17px;
        line-height:1.8;
        margin:0 auto;
    }

    .cl-stats{
        display:flex !important;
        flex-direction:column !important;
        gap:16px;
    }

    .cl-stat{
        padding:18px 14px;
        border-radius:14px;
    }

    .cl-stat strong{
        font-size:22px;
        margin-bottom:6px;
    }

    .cl-stat span{
        font-size:13px;
        line-height:1.4;
    }

}