/* ===================================
   Sección de Herramientas - Layout Intercalado con Tarjetas
   =================================== */

/* Tarjeta contenedora de cada herramienta */
.herramienta-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: all 0.3s ease;
}

.herramienta-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Contenedor de texto */
.herramienta-texto {
    padding: 1rem;
}

.herramienta-texto h4 {
    color: var(--dark-purple);
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.herramienta-texto p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--body-text-purple);
    text-align: justify;
    margin-bottom: 0;
}

/* Contenedor de imagen */
.herramienta-imagen {
    padding: 1rem;
}

.herramienta-imagen img {
    max-width: 100%;
    height: auto;
    width: 300px;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.herramienta-card:hover .herramienta-imagen img {
    transform: scale(1.05);
}

/* Espaciado entre herramientas */
.modern_ui_section .herramienta-card:last-child {
    margin-bottom: 0 !important;
}

/* Responsive */
@media (max-width: 991px) {
    .herramienta-card {
        padding: 1.5rem;
    }

    .herramienta-texto {
        padding: 1rem 0.5rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .herramienta-texto p {
        text-align: center;
    }

    .herramienta-imagen {
        padding: 0.5rem;
        margin-bottom: 1rem;
    }

    .herramienta-imagen img {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .herramienta-card {
        padding: 1.2rem;
    }

    .herramienta-texto h4 {
        font-size: 1.5rem;
    }

    .herramienta-texto p {
        font-size: 1rem;
    }

    .herramienta-imagen img {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .herramienta-card {
        padding: 1rem;
    }

    .herramienta-texto h4 {
        font-size: 1.3rem;
    }

    .herramienta-texto p {
        font-size: 0.95rem;
    }

    .herramienta-imagen img {
        width: 100%;
        max-width: 250px;
    }
}
