* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.service-box {
    background-color: #F3F4F6;
    border: none;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
}

.service-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 8px;
    background-color: #f3f4f6;
    transition: all 0.3s ease;
}

.icon svg {
    width: 24px;
    height: 24px;
    color: #6366F1;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-box {
    display: flex !important;
    padding: 20px;
}

.service-box h3 {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #111827;
    transition: all 0.3s ease;
}

.service-box p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #6B7280;
    transition: all 0.3s ease;
}

/* Hover states */
.service-box:hover {
    background-color: #6366F1;
}

.service-box:hover .icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.service-box:hover .icon svg {
    color: #FFFFFF;
}

.service-box:hover h3,
.service-box:hover p {
    color: #FFFFFF;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .service-box {
        padding: 24px;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-box {
        padding: 16px 20px;
        gap: 12px;
    }

    .icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .icon svg {
        width: 20px;
        height: 20px;
    }

    .content-wrapper {
        gap: 4px;
    }

    .service-box h3 {
        font-size: 16px;
        font-weight: 500;
        color: #111827;
    }

    .service-box p {
        font-size: 14px;
        color: #9CA3AF;
        line-height: 1.5;
    }
}

/* Reset Elementor containers */
.elementor-widget-custom-icon-box .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
}

/* Grid principal */
.elementor-widget-custom-icon-box .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

/* Box individual */
.elementor-widget-custom-icon-box .service-box {
    background-color: #F3F4F6;
    border: none;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
    display: flex !important;
    gap: 16px;
    align-items: flex-start;
}

/* Icono */
.elementor-widget-custom-icon-box .service-box .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 8px;
    background-color: #f3f4f6;
    transition: all 0.3s ease;
}

.elementor-widget-custom-icon-box .service-box .icon svg {
    width: 24px;
    height: 24px;
    color: #6366F1;
}

/* Contenido */
.elementor-widget-custom-icon-box .service-box .content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.elementor-widget-custom-icon-box .service-box h3 {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #111827;
    transition: all 0.3s ease;
}

.elementor-widget-custom-icon-box .service-box p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #6B7280;
    transition: all 0.3s ease;
}

/* Hover states */
.elementor-widget-custom-icon-box .service-box:hover {
    background-color: #6366F1;
}

.elementor-widget-custom-icon-box .service-box:hover .icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.elementor-widget-custom-icon-box .service-box:hover .icon svg {
    color: #FFFFFF;
}

.elementor-widget-custom-icon-box .service-box:hover h3,
.elementor-widget-custom-icon-box .service-box:hover p {
    color: #FFFFFF;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .elementor-widget-custom-icon-box .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .elementor-widget-custom-icon-box .service-box {
        padding: 24px;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .elementor-widget-custom-icon-box .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .elementor-widget-custom-icon-box .service-box {
        padding: 16px 20px;
        gap: 12px;
    }

    .elementor-widget-custom-icon-box .service-box .icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .elementor-widget-custom-icon-box .service-box .icon svg {
        width: 20px;
        height: 20px;
    }

    .elementor-widget-custom-icon-box .service-box .content-wrapper {
        gap: 4px;
    }

    .elementor-widget-custom-icon-box .service-box h3 {
        font-size: 16px;
        font-weight: 500;
        color: #111827;
    }

    .elementor-widget-custom-icon-box .service-box p {
        font-size: 14px;
        color: #9CA3AF;
        line-height: 1.5;
    }
}
