/*Estilos generales de la sección*/
.services-container {
    width: 100%;
    background-color: #ffffff;
    padding: 45px 8%;
    box-sizing: border-box;
}

/*Estilos para los cuadros donde se listan los servicios*/
.grid-list-container {
    width: 100%;
    padding: 25px 0;
    box-sizing: border-box;
    background-color: #ffffff;

}

.grid-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    padding: 0;
    margin: 0;
}
/*Estilos por recuadro*/
.grid-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    padding: 30px 30px;
    box-sizing: border-box;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

.item-icon-round {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: #64748b solid 1px;
    overflow: hidden;
}

.item-icon-round img {
    width: 100%;
    object-fit: cover;
}

.item-content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.item-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #001932;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.item-description {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #000000;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

/* Media querys para el manejo de pantallas pequeñas */
@media (max-width: 1200px) {
    .grid-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 902px) {
    .grid-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-list, #services .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0px !important;  
        padding-right: 0px !important;
        box-sizing: border-box !important;
    }

    .service-card, .service-box, .services-item {
        display: flex !important;
        flex-direction: column !important; 
        width: 100% !important;            
        max-width: 100% !important;
        margin: 0 !important;              
        padding: 20px !important;          
        box-sizing: border-box !important; 
    }

    .service-card h3, .service-box h4, .item-title, .services-item h3 {
        font-size: 1.15rem !important;   
        line-height: 1.3 !important;
        margin-top: 1px !important;
        margin-bottom: 1px !important;
        word-break: break-word !important; 
        hyphens: auto !important;
    }

    .service-card .item-content, 
    .service-card .item-description,
    .item-content-right {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 576px) {
    .grid-list {
        grid-template-columns: 1fr !important;
        gap: 1.8rem;
    }

    .service-card h3, .service-box h4, .item-title, .services-item h3 {
        font-size: 1.1rem !important;
    }
}

/* Platform cards — text only */
.platform-list-container {
    width: 100%;
    padding: 25px 0;
    box-sizing: border-box;
}

.platform-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1rem;
}

.platform-card {
    padding: 20px 24px;
    border-left: 3px solid #ef6e00;
    background-color: #f8fafc;
    box-sizing: border-box;
}

.platform-name {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #001932;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.platform-desc {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #475569;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .platform-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .platform-list { grid-template-columns: 1fr; }
}