/* ===== BENEFITS OF OZONE SECTION ===== */


.benefit-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 115, 174, 0.1);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0073ae, #00a859);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 115, 174, 0.15);
    border-color: rgba(0, 115, 174, 0.2);
}

/* Contenedor de imagen e icono */
.benefit-icon-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.4s ease;
}

.benefit-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.benefit-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.benefit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 115, 174, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.benefit-card:hover .benefit-overlay {
    opacity: 1;
}

.benefit-card:hover .benefit-image {
    transform: scale(1.1);
}

/* Colores específicos por tipo */
.bactericida .benefit-overlay {
    background: rgba(220, 38, 38, 0.85);
}

.viricida .benefit-overlay {
    background: rgba(0, 115, 174, 0.85);
}

.fungicida .benefit-overlay {
    background: rgba(0, 168, 89, 0.85);
}

.esporicida .benefit-overlay {
    background: rgba(168, 85, 247, 0.85);
}

/* Contenido de la tarjeta */
.benefit-content {
    text-align: center;
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.benefit-subtitle {
    color: #0073ae;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.benefit-description {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-align: left;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.benefit-list li {
    padding: 0.25rem 0;
    font-size: 0.85rem;
    position: relative;
    padding-left: 1rem;
}

.benefit-list li::before {
    content: '•';
    color: #0073ae;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Barra de eficiencia */
.benefit-efficiency {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.efficiency-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    min-width: 50px;
}

.efficiency-bar {
    flex: 1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.efficiency-fill {
    height: 100%;
    background: linear-gradient(90deg, #0073ae, #00a859);
    border-radius: 3px;
    width: 0;
    transition: width 2s ease-in-out;
    position: relative;
}

.efficiency-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, white, transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.efficiency-number {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0073ae;
    min-width: 40px;
    text-align: right;
}

/* Tarjetas de ventajas adicionales */
.advantage-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    background: white;
}

.advantage-card:hover {
    border-color: #0073ae;
    box-shadow: 0 10px 25px rgba(0, 115, 174, 0.1);
    transform: translateY(-5px);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.advantage-icon.eco {
    background: linear-gradient(135deg, #00a859, #34d399);
}

.advantage-icon.speed {
    background: linear-gradient(135deg, #0073ae, #3b82f6);
}

.advantage-icon.versatile {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.advantage-icon i {
    color: white;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(10deg);
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.advantage-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.advantage-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}



/* Animación de entrada para las barras de eficiencia */
.benefit-card.aos-animate .efficiency-fill {
    animation: fillBar 2s ease-in-out forwards;
}

@keyframes fillBar {
    from {
        width: 0;
    }

    to {
        width: var(--percentage);
    }
}


.efficiency-fill[data-percentage="99"] {
    --percentage: 99%;
}

.efficiency-fill[data-percentage="98"] {
    --percentage: 98%;
}

.efficiency-fill[data-percentage="97"] {
    --percentage: 97%;
}

.efficiency-fill[data-percentage="95"] {
    --percentage: 95%;
}

/* Responsive */
@media (max-width: 768px) {
    .benefit-card {
        padding: 1.25rem;
    }

    .benefit-icon-container {
        width: 100px;
        height: 100px;
    }

    .benefit-title {
        font-size: 1.25rem;
    }

    .advantage-card {
        padding: 1.5rem 1rem;
    }

    .advantage-icon {
        width: 60px;
        height: 60px;
    }

    .certification-badge {
        padding: 0.5rem;
        margin: 0.25rem;
    }
}

@media (max-width: 480px) {
    .benefit-efficiency {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }

    .efficiency-number {
        text-align: center;
    }
}