
/* =================================
   SECCIÓN DE HABILIDADES
================================= */

.seccion-habilidades {
    width: 86%;
    max-width: 1250px;
    margin: 80px auto 60px;
}

/* SEPARADOR */

.separador-habilidades {
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        #BFA0FF,
        #FFFFFF,
        #BFA0FF,
        transparent
    );
    margin-bottom: 50px;
}

/* TÍTULO */

.titulo-habilidades {
    text-align: center;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 46px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 3px 15px rgba(191, 160, 255, 0.35);
}

.titulo-habilidades::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 10px;
    background: linear-gradient(
        to right,
        #8B5CF6,
        #D8B4FE
    );
}

/* SUBTÍTULO */

.subtitulo-habilidades {
    text-align: center;
    color: #D8D0E8;
    font-size: 16px;
    margin-bottom: 45px;
}

/* CONTENEDOR */

.contenedor-habilidades {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* TARJETAS */

.tarjeta-habilidad {
    padding: 30px;
    background: rgba(20, 16, 38, 0.85);
    border: 1px solid rgba(191, 160, 255, 0.3);
    border-radius: 15px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);

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

.tarjeta-habilidad:hover {
    transform: translateY(-5px);
    border-color: #BFA0FF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* ICONOS */

.icono-habilidad {
    font-size: 32px;
    margin-bottom: 15px;
}

/* TÍTULOS DE TARJETAS */

.tarjeta-habilidad h3 {
    color: #BFA0FF;
    font-family: 'Montserrat', sans-serif;
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* DESCRIPCIONES */

.descripcion-habilidad {
    color: #E5DFF0;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 22px;
}

/* ETIQUETAS DE TECNOLOGÍAS */

.lista-tecnologias {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lista-tecnologias span {
    padding: 9px 15px;
    color: #F5F0FF;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(191, 160, 255, 0.4);
    border-radius: 8px;

    font-size: 13px;
    font-weight: 600;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.lista-tecnologias span:hover {
    background: #8B5CF6;
    color: #FFFFFF;
    transform: translateY(-3px);
}

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

@media (max-width: 800px) {

    .seccion-habilidades {
        width: 92%;
        margin: 55px auto 40px;
    }

    .titulo-habilidades {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .subtitulo-habilidades {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .contenedor-habilidades {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .tarjeta-habilidad {
        padding: 22px;
    }

    .tarjeta-habilidad h3 {
        font-size: 21px;
    }

    .lista-tecnologias {
        gap: 8px;
    }

    .lista-tecnologias span {
        font-size: 12px;
        padding: 8px 12px;
    }
}
